SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
dialog.table.RowManager Class Reference

No documentation available. More...

Inheritance diagram for dialog.table.RowManager:
dialog.modelroot.ModelRoot dialog.widget.Widget dialog.item.Item

Methods defined here:

def Embed
def GetRow
def IsInUse
def IsValid
def Load
def PreserveInvalidAndLoad
def SetRow
def SetUnUsed
def SetValid
def Store
def UnEmbed
def __init__

Methods inherited from dialog.modelroot.ModelRoot:

def AddRule
def GetField
def Revert
def Set
def __empty_value__
def __get_controller__
def __get_display__
def __get_model__
def __get_root__
def __getitem__
def __set_controller__
def __set_model__
def foo
def run_pending
def size_info

Data descriptors inherited from dialog.modelroot.ModelRoot:

def controller
def display
def model
def root
 This actually searches up the tree for a model root because this can change as the dialog is being built.
def valid

Data and other attributes inherited from dialog.modelroot.ModelRoot:

 Controller = None
 Display = None
 DisplayModelFactory = None
 Model = None
 Root = None
 Setup = False
 Values = None

Methods inherited from dialog.item.Item:

def AddContext
def AddStateFunction
def DisableIf
def EnableIf
def EvaluateValid
def Find
def HasContext
def IsEnabled
def RemoveStateFunction
def Update
def __delitem__
def __get_children__
def __get_dialog__
def __getnopack__
def __getparent__
def __getrules__
def __getvalid__
def __pending__
def __setnopack__
def child_added
def child_removed
def find_type

Data descriptors inherited from dialog.item.Item:

def __dict__
 dictionary for instance variables (if defined)
def __weakref__
 list of weak references to the object (if defined)
def children
def dialog
def item_valid
def no_pack
def parent
def rules
 Returns a list of all of the current rule skeletons.

Data and other attributes inherited from dialog.item.Item:

 Context = None
 CurrentlyEnabled = True
tuple RuleRegistry = ()
 Rules = None
 WatchChild = None
 __Load__ = None
 __Store__ = None

Methods inherited from dialog.widget.Widget:

def Destroy
def DoState
def GetWidget
def Grid
def Pack
def PackForget
def PackInfo
def PackSlaves
def SetEnabled
def SetWidget
def WatchState
def WidgetExists
def __get_widget__
def __set_widget__
def list_widgets

Data descriptors inherited from dialog.widget.Widget:

def default_color
def widget
 The main Tkinter widget for this item.

Data and other attributes inherited from dialog.widget.Widget:

 Enabled = True
 Extras = None

Additional Inherited Members

- Public Member Functions inherited from dialog.modelroot.ModelRoot
- Public Member Functions inherited from dialog.item.Item
- Public Member Functions inherited from dialog.widget.Widget
- Static Public Attributes inherited from dialog.modelroot.ModelRoot
 Controller = None
 Display = None
 DisplayModelFactory = None
 Model = None
 Root = None
 Setup = False
 Values = None
 Context = None
 CurrentlyEnabled = True
tuple RuleRegistry = ()
 Rules = None
 WatchChild = None
- Static Public Attributes inherited from dialog.item.Item
 Context = None
 CurrentlyEnabled = True
tuple RuleRegistry = ()
 Rules = None
 WatchChild = None
- Static Public Attributes inherited from dialog.widget.Widget
 Enabled = True
 Extras = None
tuple RuleRegistry = ((<function <lambda>>, <function <lambda>>),)

Detailed Description

No documentation available.

Method resolution order

RowManager
dialog.modelroot.ModelRoot
dialog.item.Item
dialog.widget.Widget
builtin.object

Constructor & Destructor Documentation

def dialog.table.RowManager.__init__ (   args)
 __init__(args)

Reimplemented from dialog.modelroot.ModelRoot.

Member Function Documentation

def dialog.table.RowManager.__delitem__ (   args)
 This function actually destroys the child and all of its children.
 All tk widgets will be destroyed.  All items are removed from the tree
 and destroyed as soon as possible.

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__dict__ (   args)

dictionary for instance variables (if defined)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__empty_value__ (   args)
 __empty_value__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__get_children__ (   args)
 __get_children__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__get_controller__ (   args)
 __get_controller__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__get_dialog__ (   args)
 __get_dialog__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__get_display__ (   args)
 __get_display__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__get_model__ (   args)
 __get_model__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__get_root__ (   args)
 __get_root__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__get_widget__ (   args)
 __get_widget__(args)

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.__getitem__ (   args)
 __getitem__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__getnopack__ (   args)
 __getnopack__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__getparent__ (   args)
 __getparent__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__getrules__ (   args)
 __getrules__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__getvalid__ (   args)
 __getvalid__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__pending__ (   args)
 __pending__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__set_controller__ (   args)
 __set_controller__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__set_model__ (   args)
 __set_model__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__set_widget__ (   args)
 __set_widget__(args)

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.__setnopack__ (   args)
 __setnopack__(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.__weakref__ (   args)

list of weak references to the object (if defined)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.AddContext (   args)
 AddContext(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.AddRule (   args)
 AddRule(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.AddStateFunction (   args)
 Append a function to the list of functions used to evaluate
 the current state (enabled/disabled) of this widget.
 
 Functions will be passed no arguments and should return True if
 this Item should be enabled.  False if it should be disabled.

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.child_added (   args)
 child_added(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.child_removed (   args)
 child_removed(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.children (   args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.controller (   args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.default_color (   args)

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.Destroy (   args)
 Destroy(args)

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.dialog (   args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.DisableIf (   args)
 Disable this item if expression is True
 
 @param expression Must be a string representing a python
                   expression which returns True or False.  True
                   indicating that you should disable the item for now.
                   False indicating that you shouldn't.
                   You may use, as variable names, any field name 
                   within the model.
                   Example:
                   dlg = Dialog()
                   e = dlg.entry( 'name', 5 )
                   e2 = dlg.entry( 'other', 6 )
                   e2.DisableIf( 'other < 6 and name > 5', [e, e2] )
 @param depends a list of dialog fields that should trigger this to be re-evaluated.
                Generally, any name you use in your expression should be represented
                by the field object (such as Entry) that corresponds to that name in
                the depends list.  Failing to do so will cause this disabler to be re-evaluated
                less often than it should and it may not appear disabled/enabled at
                all of the appropriate times.

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.display (   args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.DoState (   args)
 DoState(args)

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.Embed (   args)
 Embed(args)
def dialog.table.RowManager.EnableIf (   args)
 Same as DisableIf, except that the result is reversed.

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.EvaluateValid (   args)
 override this to do something when your widget becomes invalid
 by proxy via an item under it which is invalid

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.Find (   args)
 This recursively searches the tree, from here down
 for things which match query.
 @param query A function which returns True or False
              It is passed on argument, which is an Item
 @note Example use is find_type

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.find_type (   args)
 This recursively searches the tree, from here down, for a type t.
 Example, to find all Fields:
 item.find_type( Field )

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.foo (   args)
 __setup__ = foo(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.GetField (   args)
 This is intended as an internal function for the simulator

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.GetRow (   args)
 GetRow(args)
def dialog.table.RowManager.GetWidget (   args)
 Use this function to retrive tk widgets created by
 this object with the name 'name'.
 Use `list_widgets` to get a list of names for
 this object.

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.Grid (   args)
 Grid(args)

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.HasContext (   args)
 HasContext(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.IsEnabled (   args)
 @return True if this Item is currently enabled.

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.IsInUse (   args)
 IsInUse(args)
def dialog.table.RowManager.IsValid (   args)
 IsValid(args)
def dialog.table.RowManager.item_valid (   args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.list_widgets (   args)
 For debugging, this function gives you a list
 of names to pass to GetWidget.

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.Load (   args)
 Load(args)
def dialog.table.RowManager.model (   args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.no_pack (   args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.Pack (   args)
 The same as ".widget.pack( ... )"
 Prefer using this function as it's compatibility with the no_pack
 option avoids breaking others use of grid with your widget.

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.PackForget (   args)
 The same as ".widget.pack_forget()"
 Prefer using this function as it's compatibility wi th the no_pack
 option avoids breaking others use of grid with your widget.

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.PackInfo (   args)
 The same as ".widget.pack_info()"
 Prefer using this function as it's compatibility wi th the no_pack
 option avoids breaking others use of grid with your widget.

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.PackSlaves (   args)
 The same as ".widget.pack_slaves()"
 Prefer using this function as it's compatibility wi th the no_pack
 option avoids breaking others use of grid with your widget.

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.parent (   args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.PreserveInvalidAndLoad (   args)
 Any field that has valid = False will be preserved
 through the load using read() and nudge().  This won't necessarily
 work on all widgets since it's not required but can be trivially
 fixed on any widget by simply fixing that!
 
 All other fields will get updated.
def dialog.table.RowManager.RemoveStateFunction (   args)
 Remove a function (by python reference) from the current list.

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.Revert (   args)
 Revert(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.root (   args)

This actually searches up the tree for a model root because this can change as the dialog is being built.

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.rules (   args)

Returns a list of all of the current rule skeletons.

These will be tuples of types and arguments intended for constructing each type. Generally intended for internal use.

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.run_pending (   args)
 run_pending(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.Set (   args)
 this is intended as an internal function for fields to use

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.SetEnabled (   args)
 Used to enable/disable these widgets.  This is for internal use.

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.SetRow (   args)
 SetRow(args)
def dialog.table.RowManager.SetUnUsed (   args)
 SetUnUsed(args)
def dialog.table.RowManager.SetValid (   args)
 SetValid(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.SetWidget (   args)
 This is really an internal function, but,
 if you're careful not to use already existing
 names you can use it to store widgets you've
 added to this object to customize it.
 
 Beware that future changes to SDS/2 could
 use the same name you've chosen.

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.size_info (   args)
 size_info(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.Store (   args)
 Store(args)
def dialog.table.RowManager.UnEmbed (   args)
 UnEmbed(args)
def dialog.table.RowManager.Update (   args)
 Update(args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.valid (   args)

Reimplemented from dialog.modelroot.ModelRoot.

def dialog.table.RowManager.WatchState (   args)
 Have this function called when this widget is enabled/disabled.
 @param foo This is a function which takes one argument, 'enabled'

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.widget (   args)

The main Tkinter widget for this item.

Reimplemented from dialog.widget.Widget.

def dialog.table.RowManager.WidgetExists (   args)
 This is useful if you're having problems with accessing widgets
 that have been deleted.  It's for debugging purposes.
 
 @return True if the widget (.widget) does exist in the interpreter.

Reimplemented from dialog.widget.Widget.

Member Data Documentation

dialog.table.RowManager.__Load__ = None
staticprivate
dialog.table.RowManager.__Store__ = None
staticprivate
dialog.table.RowManager.Context = None
static
dialog.table.RowManager.Controller = None
static
dialog.table.RowManager.CurrentlyEnabled = True
static
dialog.table.RowManager.Display = None
static
dialog.table.RowManager.DisplayModelFactory = None
static
dialog.table.RowManager.Enabled = True
static
dialog.table.RowManager.Extras = None
static
dialog.table.RowManager.Model = None
static
dialog.table.RowManager.Root = None
static
tuple dialog.table.RowManager.RuleRegistry = ()
static
dialog.table.RowManager.Rules = None
static
dialog.table.RowManager.Setup = False
static
dialog.table.RowManager.Values = None
static
dialog.table.RowManager.WatchChild = None
static