X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=grc%2Fblocks%2Foptions.xml;fp=grc%2Fblocks%2Foptions.xml;h=4d0dd28999f4bfbbc8c6c541cc8b6ffbb695553a;hb=8a9ddbb0675f9bfcc6e03b457fba6c79474a3693;hp=18d6e2f0c99fc0818a5177950cc438672e6f55d0;hpb=82d471b9b4a8b389b5da44b19c69c36420828382;p=debian%2Fgnuradio 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 +