3 ###################################################
4 ##Variable Text Box: a grc variable with key, value
5 ###################################################
8 <name>Variable Text Box</name>
9 <key>variable_text_box</key>
11 _$(id)_control = grc_wxgui.text_box_control(
13 callback=self.set_$(id),
17 label="$id",
21 #set $grid_pos = $grid_pos.eval
23 self.Add(_$(id)_control)
25 self.GridAdd(_$(id)_control, $grid_pos[0], $grid_pos[1], $grid_pos[2], $grid_pos[3])
34 <name>Default Value</name>
40 <name>Grid Position</name>
46 This block creates a variable with a text box. \
47 Leave the label blank to use the variable id as the label.
49 Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.