diff options
author | jblum | 2008-10-12 18:40:30 +0000 |
---|---|---|
committer | jblum | 2008-10-12 18:40:30 +0000 |
commit | 4e6d4d61e28f236c7210ee8584c434d393bea993 (patch) | |
tree | dcfdd25e7b2c7fe60f0f0a3876415aceddbe5726 /grc/data/platforms/python/blocks/variable_slider.xml | |
parent | bdc6be8f9dd7f591122078302607b01f3890ec23 (diff) | |
download | gnuradio-4e6d4d61e28f236c7210ee8584c434d393bea993.tar.gz gnuradio-4e6d4d61e28f236c7210ee8584c434d393bea993.tar.bz2 gnuradio-4e6d4d61e28f236c7210ee8584c434d393bea993.zip |
autohide grid pos and slider len, added slider len param
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9784 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/data/platforms/python/blocks/variable_slider.xml')
-rw-r--r-- | grc/data/platforms/python/blocks/variable_slider.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/grc/data/platforms/python/blocks/variable_slider.xml b/grc/data/platforms/python/blocks/variable_slider.xml index 2f6374b9a..27ac7ea5e 100644 --- a/grc/data/platforms/python/blocks/variable_slider.xml +++ b/grc/data/platforms/python/blocks/variable_slider.xml @@ -20,6 +20,7 @@ _$(id)_control = grc_wxgui.slider_$(slider_type)_control( min=$min, max=$max, num_steps=$num_steps, + slider_length=$slider_length, ) #set $grid_pos = $grid_pos.eval #if not grid_pos @@ -56,8 +57,16 @@ self.GridAdd(_$(id)_control, $grid_pos[0], $grid_pos[1], $grid_pos[2], $grid_pos <key>num_steps</key> <value>100</value> <type>int</type> + <hide>part</hide> </param> - <param> + <param> + <name>Slider Length (px)</name> + <key>slider_length</key> + <value>200</value> + <type>int</type> + <hide>part</hide> + </param> + <param> <name>Slider Type</name> <key>slider_type</key> <value>horizontal</value> |