Options options from gnuradio import gr #if $generate_options.eval == 'wx_gui' from grc_gnuradio import wxgui as grc_wxgui import wx #end if Title title untitled string Author author unknown string Description description gnuradio flow graph string Window Size window_size 1280, 1024 int_vector part Generate Options generate_options wx_gui enum Category category Custom string $generate_options.hide_category len($window_size) == 2 300 <= $(window_size)[0] <= 2048 300 <= $(window_size)[1] <= 2048 The options block sets special parameters for the flow graph. \ Only one option block is allowed per flow graph. Title, author, and description parameters are for identification purposes. The window size controls the dimensions of the flow graph editor. \ The window size (width, height) must be between (300, 300) and (2048, 2048). The generate options controls the type of code generated. \ Non-graphical flow graphs should avoid using graphical sinks or graphical variable controls. The id of this block determines the name of the generated file and the name of the class. \ For example, an id of my_block will generate the file my_block.py and class my_block(gr.... The category parameter determines the placement of the block in the block selection window. \ The category only applies when creating hier blocks. \ To put hier blocks into the root category, enter / for the category.