grc_gnuradio.wxgui.callback_controls.text_box_control Class Reference

Inheritance diagram for grc_gnuradio.wxgui.callback_controls.text_box_control:

Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def get_value

Public Attributes

 text_box

Private Member Functions

def _handle_enter

Private Attributes

 _value


Detailed Description

House a Text Box for variable control.

Definition at line 242 of file callback_controls.py.


Member Function Documentation

def grc_gnuradio.wxgui.callback_controls.text_box_control.__init__ (   self,
  window,
  callback,
  label = 'Label',
  value = 50 
)

Text box contructor. Create the text box, and label.

Parameters:
window the wx parent window
callback call the callback on changes
label the label title
value the default value

Definition at line 245 of file callback_controls.py.

def grc_gnuradio.wxgui.callback_controls.text_box_control.get_value (   self  ) 

Get the current set value.

Returns:
the value (float)

Reimplemented from grc_gnuradio.wxgui.callback_controls._control_base.

Definition at line 266 of file callback_controls.py.

def grc_gnuradio.wxgui.callback_controls.text_box_control._handle_enter (   self,
  event = None 
) [private]

An enter key was pressed. Read the text box, call the callback. If the text cannot be evaluated, do not try callback.

Definition at line 273 of file callback_controls.py.


Member Data Documentation

grc_gnuradio.wxgui.callback_controls.text_box_control.text_box

Definition at line 259 of file callback_controls.py.

grc_gnuradio.wxgui.callback_controls.text_box_control._value [private]

Definition at line 278 of file callback_controls.py.


The documentation for this class was generated from the following file:
Generated on Sat Aug 23 02:00:12 2008 for GNU Radio Companion by  doxygen 1.5.4