summaryrefslogtreecommitdiff
path: root/gr-wxgui/src/python/forms/forms.py
diff options
context:
space:
mode:
authorTom Rondeau2012-04-13 18:36:53 -0400
committerTom Rondeau2012-04-13 18:36:53 -0400
commitf919f9dcbb54a08e6e26d6c229ce92fb784fa1b2 (patch)
tree7e846386b9eb1676f9a93fc4a1e55916b9accc97 /gr-wxgui/src/python/forms/forms.py
parent6a1e9783fec6ed827f49db27c171591d30f32933 (diff)
downloadgnuradio-f919f9dcbb54a08e6e26d6c229ce92fb784fa1b2.tar.gz
gnuradio-f919f9dcbb54a08e6e26d6c229ce92fb784fa1b2.tar.bz2
gnuradio-f919f9dcbb54a08e6e26d6c229ce92fb784fa1b2.zip
Removed whitespace and added dtools/bin/remove-whitespace as a tool to do this in the future.
The sed script was provided by Moritz Fischer.
Diffstat (limited to 'gr-wxgui/src/python/forms/forms.py')
-rw-r--r--gr-wxgui/src/python/forms/forms.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/gr-wxgui/src/python/forms/forms.py b/gr-wxgui/src/python/forms/forms.py
index 19b30ffb0..f1d0038ab 100644
--- a/gr-wxgui/src/python/forms/forms.py
+++ b/gr-wxgui/src/python/forms/forms.py
@@ -29,7 +29,7 @@ The forms follow a layered model:
* translation layer
* translates the between the external and internal layers
* handles parsing errors between layers
- * external layer
+ * external layer
* provided external access to the user
* set_value, get_value, and optional callback
* set and get through optional pubsub and key
@@ -511,9 +511,9 @@ from gnuradio.wxgui import gui
class app_gui (object):
def __init__(self, frame, panel, vbox, top_block, options, args):
-
+
def callback(v): print v
-
+
radio_buttons(
sizer=vbox,
parent=panel,
@@ -525,7 +525,7 @@ class app_gui (object):
callback=callback,
#major_dimension = 2,
)
-
+
radio_buttons(
sizer=vbox,
parent=panel,
@@ -537,7 +537,7 @@ class app_gui (object):
callback=callback,
#major_dimension = 2,
)
-
+
radio_buttons(
sizer=vbox,
parent=panel,
@@ -548,7 +548,7 @@ class app_gui (object):
callback=callback,
#major_dimension = 2,
)
-
+
button(
sizer=vbox,
parent=panel,
@@ -559,8 +559,8 @@ class app_gui (object):
callback=callback,
#width=100,
)
-
-
+
+
drop_down(
sizer=vbox,
parent=panel,
@@ -584,7 +584,7 @@ class app_gui (object):
callback=callback,
width=200,
)
-
+
static_text(
sizer=vbox,
parent=panel,
@@ -593,7 +593,7 @@ class app_gui (object):
width=-1,
bold=True,
)
-
+
slider(
sizer=vbox,
parent=panel,
@@ -601,7 +601,7 @@ class app_gui (object):
label='slider',
callback=callback,
)
-
+
log_slider(
sizer=vbox,
parent=panel,
@@ -609,7 +609,7 @@ class app_gui (object):
label='slider',
callback=callback,
)
-
+
slider(
sizer=vbox,
parent=panel,
@@ -619,7 +619,7 @@ class app_gui (object):
style=wx.SL_VERTICAL,
length=30,
)
-
+
toggle_button(
sizer=vbox,
parent=panel,
@@ -627,7 +627,7 @@ class app_gui (object):
label='toggle it',
callback=callback,
)
-
+
single_button(
sizer=vbox,
parent=panel,