summaryrefslogtreecommitdiff
path: root/grc/gui/Param.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/Param.py')
-rw-r--r--grc/gui/Param.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/grc/gui/Param.py b/grc/gui/Param.py
index cb6c663e30..da76b6b82c 100644
--- a/grc/gui/Param.py
+++ b/grc/gui/Param.py
@@ -175,7 +175,9 @@ class Param(Element):
An enum requires and combo parameter.
A non-enum with options gets a combined entry/combo parameter.
All others get a standard entry parameter.
- @return gtk input class
+
+ Returns:
+ gtk input class
"""
if self.is_enum(): return EnumParam(self, *args, **kwargs)
if self.get_options(): return EnumEntryParam(self, *args, **kwargs)
@@ -184,6 +186,8 @@ class Param(Element):
def get_markup(self):
"""
Get the markup for this param.
- @return a pango markup string
+
+ Returns:
+ a pango markup string
"""
return Utils.parse_template(PARAM_MARKUP_TMPL, param=self)