summaryrefslogtreecommitdiff
path: root/gr-wxgui/grc/panel.py
diff options
context:
space:
mode:
authorBen Reynwar <ben@reynwar.net>2012-08-14 07:12:53 -0700
committerBen Reynwar <ben@reynwar.net>2012-08-14 07:22:43 -0700
commit3e46aef392ba9b2e63bbfefefdb7178cc87049ab (patch)
tree942e3a7a78344b638859b9f65ce37cacb070eb01 /gr-wxgui/grc/panel.py
parentfe96ee8d82b2666951cf3cef8f7f5d991396273f (diff)
docs: Changed arguments in python docstrings to new formatting style.
Diffstat (limited to 'gr-wxgui/grc/panel.py')
-rw-r--r--gr-wxgui/grc/panel.py16
1 files changed, 10 insertions, 6 deletions
diff --git a/gr-wxgui/grc/panel.py b/gr-wxgui/grc/panel.py
index e62133cac2..9bcb464701 100644
--- a/gr-wxgui/grc/panel.py
+++ b/gr-wxgui/grc/panel.py
@@ -33,17 +33,21 @@ class Panel(wx.Panel):
def Add(self, win):
"""
Add a window to the wx vbox.
- @param win the wx window
+
+ Args:
+ win: the wx window
"""
self._box.Add(win, 0, wx.EXPAND)
def GridAdd(self, win, row, col, row_span=1, col_span=1):
"""
Add a window to the wx grid at the given position.
- @param win the wx window
- @param row the row specification (integer >= 0)
- @param col the column specification (integer >= 0)
- @param row_span the row span specification (integer >= 1)
- @param col_span the column span specification (integer >= 1)
+
+ Args:
+ win: the wx window
+ row: the row specification (integer >= 0)
+ col: the column specification (integer >= 0)
+ row_span: the row span specification (integer >= 1)
+ col_span: the column span specification (integer >= 1)
"""
self._grid.Add(win, wx.GBPosition(row, col), wx.GBSpan(row_span, col_span), wx.EXPAND)