Configurator
Public Member Functions | List of all members
configurator.Application Class Reference

Container of top level Application. More...

Inheritance diagram for configurator.Application:

Public Member Functions

def __init__
 The constructor.
 
def append_button_click
 
def button_create
 
def button_highlight
 
def buttons_update
 
def call_button_click
 
def delete_button_click
 
def entry_create
 
def entry_highlight
 
def get_button_click
 
def label_create
 
def module_controls_update
 
def module_select
 
def modules_read
 
def open_button_click
 
def prepend_button_click
 
def project_read
 
def project_updated
 
def register_or_function_selected
 
def set_button_click
 
def tree_widget_create
 
def scrollable_canvas_create
 
def scrollable_list_box_create
 
def redo_button_click
 
def save_button_click
 
def undo_button_click
 
def warn
 
def widgets_create
 

Detailed Description

Container of top level Application.

The Application class is the main application window.

Constructor & Destructor Documentation

def configurator.Application.__init__ (   self,
  master = None 
)

The constructor.

The constructor initializes reads in the data and initializes the application window

Member Function Documentation

def configurator.Application.get_button_click (   self)
Application: This method will enable or disable *entry*
depending upon *enable*. 
def configurator.Application.register_or_function_selected (   self,
  event 
)
Application:  This method is invoked whenever the project
tree is updated. 

Member Data Documentation

tuple configurator.Application.button Button(frame, text = name, command = command)
static
Application: Create and return a button widget inside
of *frame* named *name* at (*row*, *column*).  *command*
is the function excecuted when the button is clicked. 
tuple configurator.Application.canvas
static
Initial value:
1 Canvas(frame, bg = "white", \
2  width = 300, height=300, scrollregion=(0, 0, 500, 500))
tuple configurator.Application.entry Entry(frame, text = text)
static
Application: Create and return an entry widget inside
of *frame* at grid position (*row*, *column*) that spans
*column_span* grid columsn.  The initial value of the
entry is *text*. 
tuple configurator.Application.is_register isinstance(register_or_function, Register)
static
Application: Update the highlighting of module controls. 
tuple configurator.Application.label Label(frame, text = text, foreground = "red")
static
Application: This method will create a *Label* widget
in *frame* at grid position (*row*, *column*) that
spans *column_span* grid locations.  The initial label
value is *text*. 
tuple configurator.Application.new_module_use_node
static
Initial value:
1 Module_Use(name_vendor_module,
2  [ module_node ], None, None, self.style)
configurator.Application.reg_and_func_list_box self.reg_and_func_list_box
static
Application: Mark that *module* is selected. 
Application: This method is invoked whenver a register or
function is selected in the registers/functions list box. 
configurator.Application.selections_root_tree \
static
Application: This method centralize the creation of all the
main window widgets. 
configurator.Application.selections_selected_item self.selections_selected_item
static
Application: This method is invoked whenever it is time to
update the button highlights. 
configurator.Application.why_not self.append_button.why_not
static
Application: This method is invoke when the [Append} button
is clicked.  It will insert a module on to the end of the
currently selected project item/node. 
Application: This method is called when it is time to
call a function from the currently selected modue. 
Application: This method is called when the [Delete] button
is clicked.  It deletes the currently selected module in
the project tree. 
Application: This method is called when it is time to
get a register value from the currently selected module. 
Application: This method is called when it is time to
set a register value from the currently selected modue. 

The documentation for this class was generated from the following file: