summaryrefslogtreecommitdiff
path: root/grc/blocks/options.xml
diff options
context:
space:
mode:
authorJosh Blum2009-10-06 17:36:25 -0700
committerJosh Blum2009-10-06 17:36:25 -0700
commite2612e3994ffaab720546d258f5e4546437262eb (patch)
treefab9a87e54fd291aff19a0b77c3ce2c81421be83 /grc/blocks/options.xml
parent69dd1eedb8f5139589695c921f13ac7d14897ff6 (diff)
parent2ba90eb8f05a35f1438d2654fb8ca3490ca4fbbd (diff)
downloadgnuradio-e2612e3994ffaab720546d258f5e4546437262eb.tar.gz
gnuradio-e2612e3994ffaab720546d258f5e4546437262eb.tar.bz2
gnuradio-e2612e3994ffaab720546d258f5e4546437262eb.zip
Merge branch 'sync' of http://gnuradio.org/git/matt into wip/examples
Diffstat (limited to 'grc/blocks/options.xml')
-rw-r--r--grc/blocks/options.xml29
1 files changed, 23 insertions, 6 deletions
diff --git a/grc/blocks/options.xml b/grc/blocks/options.xml
index 1798a69f8..4d0dd2899 100644
--- a/grc/blocks/options.xml
+++ b/grc/blocks/options.xml
@@ -78,19 +78,36 @@ else: self.stop(); self.wait()</callback>
<hide>#if $generate_options() == 'hb' then 'none' else 'all'#</hide>
</param>
<param>
+ <name>Run Options</name>
+ <key>run_options</key>
+ <value>prompt</value>
+ <type>enum</type>
+ <hide>#if $generate_options() == 'no_gui' then 'none' else 'all'#</hide>
+ <option>
+ <name>Run to Completion</name>
+ <key>run</key>
+ </option>
+ <option>
+ <name>Prompt for Exit</name>
+ <key>prompt</key>
+ </option>
+ </param>
+ <param>
<name>Run</name>
<key>run</key>
<value>True</value>
<type>bool</type>
- <hide>#if $generate_options() == 'wx_gui'
- #if str($run) == 'True'
-part#slurp
+ <hide>
+#if $generate_options() == 'wx_gui'
+ #if $run()
+ part
#else
-none#slurp
+ none
#end if
#else
-all#slurp
-#end if</hide>
+ all
+#end if
+ </hide>
<option>
<name>Autostart</name>
<key>True</key>