X-Git-Url: https://git.gag.com/?p=debian%2Fgnuradio;a=blobdiff_plain;f=grc%2Fblocks%2Foptions.xml;fp=grc%2Fblocks%2Foptions.xml;h=4d0dd28999f4bfbbc8c6c541cc8b6ffbb695553a;hp=18d6e2f0c99fc0818a5177950cc438672e6f55d0;hb=35e43e8d8c271e6842191cac3fc3f2f88a861183;hpb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378 diff --git a/grc/blocks/options.xml b/grc/blocks/options.xml index 18d6e2f0..4d0dd289 100644 --- a/grc/blocks/options.xml +++ b/grc/blocks/options.xml @@ -9,16 +9,17 @@ Options options - from gnuradio import gr -#if $generate_options() == 'wx_gui' + from gnuradio import gr + from gnuradio.gr import firdes + #if $generate_options() == 'wx_gui' from grc_gnuradio import wxgui as grc_wxgui import wx #end if #if $generate_options() != 'hb' from optparse import OptionParser from gnuradio.eng_option import eng_option -#end if - +from gnuradio import eng_notation +#end if if $run: self.start() else: self.stop(); self.wait() @@ -76,20 +77,37 @@ else: self.stop(); self.wait() string #if $generate_options() == 'hb' then 'none' else 'all'# + + Run Options + run_options + prompt + enum + #if $generate_options() == 'no_gui' then 'none' else 'all'# + + + Run run True bool - #if $generate_options() == 'wx_gui' - #if str($run) == 'True' -part#slurp + +#if $generate_options() == 'wx_gui' + #if $run() + part #else -none#slurp + none #end if #else -all#slurp -#end if + all +#end if +