This listbox displays values in mixed mode. More...
Methods defined here: | |
def | Append |
def | Delete |
def | Get |
def | Select |
def | SelectClear |
def | Selected |
def | Values |
def | __get__ |
def | __init__ |
def | __len__ |
def | __model_set__ |
def | __set__ |
def | __show__ |
Methods inherited from dialog.field.Field: | |
def | func |
def | Changed |
def | Color |
def | DisableOtherIf |
def | EnableOtherIf |
def | OnChange |
def | PopupValidate |
def | Set |
def | Update |
def | UpdateDisplay |
def | Validate |
def | ValidateRange |
def | __get_name__ |
def | __getvalid__ |
def | __getwidget_valid__ |
def | __setwidget_valid__ |
def | __show_affected__ |
def | call |
def | __widget_state__ |
def | nudge |
def | read |
Data descriptors inherited from dialog.field.Field: | |
def | affected |
def | kind |
def | mixed |
def | name |
return the name inside the display model that this Field represents. | |
def | read_only |
def | screen_only |
def | show_affects |
def | valid |
def | widget_state |
The current Tkinter state for the widget. | |
def | widget_valid |
Data and other attributes inherited from dialog.field.Field: | |
tuple | RuleRegistry = ((<function <lambda>>, <function <lambda>>), (<function <lambda>>, <function <lambda>>)) |
Methods inherited from dialog.item.Item: | |
def | AddContext |
def | AddRule |
def | AddStateFunction |
def | DisableIf |
def | EnableIf |
def | EvaluateValid |
def | Find |
def | HasContext |
def | IsEnabled |
def | RemoveStateFunction |
def | SetValid |
def | __delitem__ |
def | __get_children__ |
def | __get_dialog__ |
def | __get_root__ |
def | __getnopack__ |
def | __getparent__ |
def | __getrules__ |
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 | root |
This actually searches up the tree for a model root because this can change as the dialog is being built. | |
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 | |
Rules = None | |
WatchChild = None | |
__Load__ = None | |
__Store__ = None |
Methods inherited from dialog.builder.Builder: | |
def | __initialize_lbl_width__ |
def | __recalculate_lbl_width__ |
def | button |
def | check |
def | checkbutton |
def | column |
def | column_group_begin |
def | column_group_end |
def | dim |
def | entry |
def | file |
def | file_save |
def | frame |
def | get_label_width |
def | group |
def | group_end |
def | group_title |
def | group_end |
def | image |
def | label |
def | lframe |
def | line |
def | listbox |
def | menu |
def | mtrl_browse |
def | radio |
def | scrollbar |
def | set_label_width |
def | tab |
def | table |
def | table_column |
def | table_end |
def | tabset_begin |
def | tabset_end |
def | text |
Data descriptors inherited from dialog.builder.Builder: | |
def | label_width |
Data and other attributes inherited from dialog.builder.Builder: | |
list | CurrentContainer = [] |
InitializedLabelWidth = False | |
int | Label_width = 0 |
SB_Clear = False |
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.field.Field | |
def | foo |
def | foo |
def | foo |
Public Member Functions inherited from dialog.item.Item | |
Public Member Functions inherited from dialog.builder.Builder | |
Public Member Functions inherited from dialog.widget.Widget | |
Static Public Attributes inherited from dialog.field.Field | |
tuple | RuleRegistry = ((<function <lambda>>, <function <lambda>>), (<function <lambda>>, <function <lambda>>)) |
Context = None | |
CurrentlyEnabled = True | |
Rules = None | |
WatchChild = None | |
list | CurrentContainer = [] |
InitializedLabelWidth = False | |
int | Label_width = 0 |
SB_Clear = False | |
Static Public Attributes inherited from dialog.item.Item | |
Context = None | |
CurrentlyEnabled = True | |
tuple | RuleRegistry = () |
Rules = None | |
WatchChild = None | |
Static Public Attributes inherited from dialog.builder.Builder | |
list | CurrentContainer = [] |
InitializedLabelWidth = False | |
int | Label_width = 0 |
SB_Clear = False | |
Static Public Attributes inherited from dialog.widget.Widget | |
Enabled = True | |
Extras = None | |
tuple | RuleRegistry = ((<function <lambda>>, <function <lambda>>),) |
This listbox displays values in mixed mode.
It will display all items in a list on the model. If there are multiple models, with different lists, it will mesh them together by displaying all common values and uncommon values in a mixed appearance. The mixed appearance is a lighter (more grey) font.
ContentListbox
dialog.field.Field
dialog.item.Item
dialog.builder.Builder
dialog.widget.Widget
builtin.object
def dialog.listbox.ContentListbox.__init__ | ( | args | ) |
@kind The kind, in the display model, is list. This kind you give here is the kind of each item within the list.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__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.field.Field.
def dialog.listbox.ContentListbox.__dict__ | ( | args | ) |
dictionary for instance variables (if defined)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__get__ | ( | args | ) |
__get__(args)
def dialog.listbox.ContentListbox.__get_children__ | ( | args | ) |
__get_children__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__get_dialog__ | ( | args | ) |
__get_dialog__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__get_name__ | ( | args | ) |
__get_name__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__get_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.field.Field.
def dialog.listbox.ContentListbox.__get_widget__ | ( | args | ) |
__get_widget__(args)
Reimplemented from dialog.widget.Widget.
def dialog.listbox.ContentListbox.__getnopack__ | ( | args | ) |
__getnopack__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__getparent__ | ( | args | ) |
__getparent__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__getrules__ | ( | args | ) |
__getrules__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__getvalid__ | ( | args | ) |
__getvalid__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__getwidget_valid__ | ( | args | ) |
__getwidget_valid__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__initialize_lbl_width__ | ( | args | ) |
__initialize_lbl_width__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__len__ | ( | args | ) |
The number of rows in the listbox.
def dialog.listbox.ContentListbox.__model_set__ | ( | args | ) |
__model_set__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__pending__ | ( | args | ) |
__pending__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__recalculate_lbl_width__ | ( | args | ) |
__recalculate_lbl_width__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__set__ | ( | args | ) |
__set__(args)
def dialog.listbox.ContentListbox.__set_widget__ | ( | args | ) |
__set_widget__(args)
Reimplemented from dialog.widget.Widget.
def dialog.listbox.ContentListbox.__setnopack__ | ( | args | ) |
__setnopack__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__setwidget_valid__ | ( | args | ) |
__setwidget_valid__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__show__ | ( | args | ) |
__show__(args)
def dialog.listbox.ContentListbox.__show_affected__ | ( | args | ) |
__show_affected__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__weakref__ | ( | args | ) |
list of weak references to the object (if defined)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.__widget_state__ | ( | args | ) |
__widget_state__(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.AddContext | ( | args | ) |
AddContext(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.AddRule | ( | args | ) |
AddRule(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.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.field.Field.
def dialog.listbox.ContentListbox.affected | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.Append | ( | args | ) |
appends this value to the list as non-mixed, so it's then added to all of the models being edited.
def dialog.listbox.ContentListbox.button | ( | args | ) |
Creates a button widget @param label The text on the button @param command A callable object taking no arguments which will be called when the button is clicked/activated @return the button.Button object
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.call | ( | args | ) |
__show_once__ = call(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.Changed | ( | args | ) |
Call this routine when your displayed representation (available through __get__) has changed in a way that would affect the value. @note This is mainly for class implementors.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.check | ( | args | ) |
check(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.checkbutton | ( | args | ) |
This method is deprecated It exists for compatibility with older code. You should look into the "check" method. It creates checkbuttons one at a time.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.child_added | ( | args | ) |
child_added(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.child_removed | ( | args | ) |
child_removed(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.children | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.Color | ( | args | ) |
@returns a hex color code (as a str) based on current Field attributes. This is the color your widget should appear as overall.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.column | ( | args | ) |
column(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.column_group_begin | ( | args | ) |
column_group_begin(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.column_group_end | ( | args | ) |
column_group_end(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.default_color | ( | args | ) |
Reimplemented from dialog.widget.Widget.
def dialog.listbox.ContentListbox.Delete | ( | args | ) |
deletes this index from the list, so that value is removed from all of the models it's contained on.
def dialog.listbox.ContentListbox.Destroy | ( | args | ) |
Destroy(args)
Reimplemented from dialog.widget.Widget.
def dialog.listbox.ContentListbox.dialog | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.dim | ( | args | ) |
Create a dimension field which is a label to the left of an entry widget and displays dimensions as strings and floats. @param name The name of this field @param initial_value This is the default value to start with if a model is not provided to the dialog. @param label a string to display in a label to the left of the entry box @param width @param length @param style The style of the dimension. @see dimension.DimensionStyled
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.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.field.Field.
def dialog.listbox.ContentListbox.DisableOtherIf | ( | args | ) |
Disable a different item if expression is true @warning This rule can be tricky in the sense that if the field being disabled is disabled because of a field other than this one this rule won't be run. So you'll need to attach your disable logic to any field which affects your disable logic. @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.DisableOtherIf( e, 'other < 6 and name > 5' )
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.DoState | ( | args | ) |
DoState(args)
Reimplemented from dialog.widget.Widget.
def dialog.listbox.ContentListbox.EnableIf | ( | args | ) |
Same as DisableIf, except that the result is reversed.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.EnableOtherIf | ( | args | ) |
Same as DisableOtherIf, except that the result is reversed.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.entry | ( | args | ) |
@param name The name of this field @param initial_value This is the default value to start with if a model is not provided to the dialog. @param label a string to display in a label to the left of the entry box @param width @param length @param kind If you do not provide an initial_value then you must provide this. @see kind module documentation @return the entry.Entry object
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.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.field.Field.
def dialog.listbox.ContentListbox.file | ( | args | ) |
file(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.file_save | ( | args | ) |
file_save(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.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.field.Field.
def dialog.listbox.ContentListbox.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.field.Field.
def dialog.listbox.ContentListbox.frame | ( | args | ) |
frame(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.func | ( | args | ) |
AddAffect = func(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.Get | ( | args | ) |
get's the value at index. @return an tuple, the value of the proper kind and a boolean which is True if this row is mixed (exists in only some models)
def dialog.listbox.ContentListbox.get_label_width | ( | args | ) |
get_label_width(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.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.listbox.ContentListbox.Grid | ( | args | ) |
Grid(args)
Reimplemented from dialog.widget.Widget.
def dialog.listbox.ContentListbox.group | ( | args | ) |
group(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.group_end | ( | args | ) |
group_end(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.group_end | ( | args | ) |
group_title_end = group_end(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.group_title | ( | args | ) |
group_title(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.HasContext | ( | args | ) |
HasContext(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.image | ( | args | ) |
Add an image object. @param path should be the path to an existing image in the filesystem. @return the image.Image object
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.IsEnabled | ( | args | ) |
@return True if this Item is currently enabled.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.item_valid | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.kind | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.label | ( | args | ) |
label(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.label_width | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.lframe | ( | args | ) |
lframe(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.line | ( | args | ) |
line(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.list_widgets | ( | args | ) |
For debugging, this function gives you a list of names to pass to GetWidget.
Reimplemented from dialog.widget.Widget.
def dialog.listbox.ContentListbox.listbox | ( | args | ) |
listbox(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.menu | ( | args | ) |
Creates a combobox widget @param name The name of this field @param values The list of items in the checkbox, these will be displayed to the user. @param initial_value This should be a list of strings or indexes to be checked on corresponding to the values list. @param label a string to display in a label to the left of the entry box @param editable If this is True the menu will allow the user to type in strings that do not match any strings in your list. @return the combobox.Combobox object
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.mixed | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.mtrl_browse | ( | args | ) |
mtrl_browse(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.name | ( | args | ) |
return the name inside the display model that this Field represents.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.no_pack | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.nudge | ( | args | ) |
This method is for testing. It is intended to be as similar as possible to the user interactively entering value. By default, it may be the same as set. value is probably a string, you need to override this to put this value into your widget as if it was typed in. This probably only makes sense for entries.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.OnChange | ( | args | ) |
Whenever an event occurs on this value we want to perform action. @param action This is a function which takes a dictionary. Expect the dictionary, when called, to contain a dictionary under key 'model'. That dictionary will contain values for each field by name. Most likely you'll want to use the assign function found in dialog.rules.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.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.listbox.ContentListbox.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.listbox.ContentListbox.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.listbox.ContentListbox.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.listbox.ContentListbox.parent | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.PopupValidate | ( | args | ) |
This validation gives a similar look and feel to other SDS/2 validation which uses a focus loop to require the user to immediately fix their entered value. When they enter something invalid an alert pops up after they attempt to leave the field. @param action A function which takes one argument. That argument will be the Field object. Use the "Get" method to get the current value of the field. Return False if you want the popup to occur. @param reason A string to be displayed to the user indicating why their value isn't valid.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.radio | ( | args | ) |
Creates a set of radio buttons. @param name The name of this field @param values The list of items in the radio button, these will be displayed to the user. @param initial_value This should be a list of strings or indexes to be checked on corresponding to the values list. @param label a string to display in a label to the left of the entry box @return the radio.Radio object
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.read | ( | args | ) |
This method is for testing. It is intended to be as similar as possible to reading the value directly off the widget. So don't bother typing stuff, just return a str or int or whatever is the native type for your widget. Or leave it undefined.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.read_only | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.RemoveStateFunction | ( | args | ) |
Remove a function (by python reference) from the current list.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.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.field.Field.
def dialog.listbox.ContentListbox.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.field.Field.
def dialog.listbox.ContentListbox.screen_only | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.scrollbar | ( | args | ) |
scrollbar(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.Select | ( | args | ) |
Select the given index within the listbox
def dialog.listbox.ContentListbox.SelectClear | ( | args | ) |
clear the current selection on the listbox, no items will be Selected when this is done.
def dialog.listbox.ContentListbox.Selected | ( | args | ) |
@return the list of numbers which are currently Selected.
def dialog.listbox.ContentListbox.Set | ( | args | ) |
Set the value associated with this field. Keep in mind that multiple fields could share one Value. Calling this on one field will cause all fields sharing the same name (with the exclusion of the special name None) to be set to the given value val. If you're looking to do this in a callback on Modified it is recommended that you reconsider what you're doing. You are likely to be breaking multi edit compatibility. The Always rule is likely what you need, and you should not be calling set from any ValueRule.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.set_label_width | ( | args | ) |
set_label_width(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.SetEnabled | ( | args | ) |
Used to enable/disable these widgets. This is for internal use.
Reimplemented from dialog.widget.Widget.
def dialog.listbox.ContentListbox.SetValid | ( | args | ) |
Call this to set invalid or valid this Item. It will keep count of valid=True and valid=False. So, if you call this 3 times with valid=False and 1 time with valid=True it will still be invalid. It is up to the caller to make sure they even those calls out. Consider your default state to be valid=True. Calling valid=True, then valid=False will yield valid. @param valid True or False "True" meaning that we are currently in a valid state. "False" meaning invalid. @warning This is intended for class implementors. There are Modified and Validate rules for dialog creators.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.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.listbox.ContentListbox.show_affects | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.tab | ( | args | ) |
tab(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.table | ( | args | ) |
table(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.table_column | ( | args | ) |
table_column(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.table_end | ( | args | ) |
table_end(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.tabset_begin | ( | args | ) |
tabset_begin(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.tabset_end | ( | args | ) |
tabset_end(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.text | ( | args | ) |
text(args)
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.Update | ( | args | ) |
Calling this will force the widget to update its representation of the current value. Useful if you believe the underlying value has changed but the widget hasn't shown the change yet.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.UpdateDisplay | ( | args | ) |
Calling this will force the widget to update its representation of the current value. Useful if you believe the underlying value has changed but the widget hasn't shown the change yet. @warning Generally only for class implementors. It's better to call Update.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.valid | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.Validate | ( | args | ) |
This is for telling a user when they've entered a value that your code will not accept, or simply does not make sense. The user will not be able to click okay on a dialog that contains any values which a Validate rule marks as invalid. @param expression A string expression (see DisableOtherIf) which is True if the field is valid. @param reason A string to be displayed to the user indicating why their value isn't valid.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.ValidateRange | ( | args | ) |
Similar to validate, but you simply give a minimum and maximum float value for any int, float, or DimensionStyled field.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.Values | ( | args | ) |
@see Get @return a list of all of the values in the listbox in the format given by Get.
def dialog.listbox.ContentListbox.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.listbox.ContentListbox.widget | ( | args | ) |
The main Tkinter widget for this item.
Reimplemented from dialog.widget.Widget.
def dialog.listbox.ContentListbox.widget_state | ( | args | ) |
The current Tkinter state for the widget.
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.widget_valid | ( | args | ) |
Reimplemented from dialog.field.Field.
def dialog.listbox.ContentListbox.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.
|
staticprivate |
|
staticprivate |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |