No documentation available.
More...
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.widget.Widget: |
| Enabled = True |
| Extras = None |
Detailed Description
Constructor & Destructor Documentation
def dialog.table.RowManager.__init__ |
( |
|
args | ) |
|
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 | ) |
|
def dialog.table.RowManager.__empty_value__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__get_children__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__get_controller__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__get_dialog__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__get_display__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__get_model__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__get_root__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__get_widget__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__getitem__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__getnopack__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__getparent__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__getrules__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__getvalid__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__pending__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__set_controller__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__set_model__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__set_widget__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__setnopack__ |
( |
|
args | ) |
|
def dialog.table.RowManager.__weakref__ |
( |
|
args | ) |
|
def dialog.table.RowManager.AddContext |
( |
|
args | ) |
|
def dialog.table.RowManager.AddRule |
( |
|
args | ) |
|
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 | ) |
|
def dialog.table.RowManager.child_removed |
( |
|
args | ) |
|
def dialog.table.RowManager.children |
( |
|
args | ) |
|
def dialog.table.RowManager.controller |
( |
|
args | ) |
|
def dialog.table.RowManager.default_color |
( |
|
args | ) |
|
def dialog.table.RowManager.Destroy |
( |
|
args | ) |
|
def dialog.table.RowManager.dialog |
( |
|
args | ) |
|
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 | ) |
|
def dialog.table.RowManager.DoState |
( |
|
args | ) |
|
def dialog.table.RowManager.Embed |
( |
|
args | ) |
|
def dialog.table.RowManager.EnableIf |
( |
|
args | ) |
|
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 | ) |
|
def dialog.table.RowManager.GetField |
( |
|
args | ) |
|
def dialog.table.RowManager.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 | ) |
|
def dialog.table.RowManager.HasContext |
( |
|
args | ) |
|
def dialog.table.RowManager.IsEnabled |
( |
|
args | ) |
|
def dialog.table.RowManager.IsInUse |
( |
|
args | ) |
|
def dialog.table.RowManager.IsValid |
( |
|
args | ) |
|
def dialog.table.RowManager.item_valid |
( |
|
args | ) |
|
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 | ) |
|
def dialog.table.RowManager.model |
( |
|
args | ) |
|
def dialog.table.RowManager.no_pack |
( |
|
args | ) |
|
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 | ) |
|
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 | ) |
|
def dialog.table.RowManager.Revert |
( |
|
args | ) |
|
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 | ) |
|
def dialog.table.RowManager.Set |
( |
|
args | ) |
|
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 | ) |
|
def dialog.table.RowManager.SetUnUsed |
( |
|
args | ) |
|
def dialog.table.RowManager.SetValid |
( |
|
args | ) |
|
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 | ) |
|
def dialog.table.RowManager.Store |
( |
|
args | ) |
|
def dialog.table.RowManager.UnEmbed |
( |
|
args | ) |
|
def dialog.table.RowManager.Update |
( |
|
args | ) |
|
def dialog.table.RowManager.valid |
( |
|
args | ) |
|
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 | ) |
|
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 |