SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
dialog.field.Field Class Reference
Inheritance diagram for dialog.field.Field:
dialog.item.Item dialog.builder.Builder dialog.checkbox.Checkbox dialog.checkbox.CheckButtons dialog.combo_choose.ChooseColor dialog.combobox.BareCombobox dialog.entry.BareEntry dialog.hidden.Hidden dialog.listbox.ContentListbox dialog.listbox.Listbox dialog.lockablefield.LockableCheckbox dialog.radio.Radio dialog.table.TableColumn dialog.text.Text Layout3DEditor.Layout3DEditor

Methods defined here:

def func
def Changed
def Color
def DisableOtherIf
def EnableOtherIf
def func
def OnChange
def PopupValidate
def Set
def Update
def UpdateDisplay
def Validate
def ValidateRange
def foo
def __get_name__
def __getvalid__
def __getwidget_valid__
def __init__
def __model_set__
def foo
def __setwidget_valid__
def foo
def __show_affected__
def call
def __widget_state__
def nudge
def read

Data descriptors defined here:

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 defined here:

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

Additional Inherited Members

- Public Member Functions inherited from dialog.item.Item
- Public Member Functions inherited from dialog.builder.Builder
- 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

Detailed Description

Note
It's a good idea to call Field.__init__ after your setup. This is because the init routine may call some of the abstract methods.
remember to override all the abstract methods! some of them will get you down the road
it's up to the widget implementor to create sensible patterns for mixed and affects based on the way a widget is used. Ex: on an entry, it uses focusin/focusout to change a value it uses a key press to mark a mixed field not mixed it used focusin/focusout to show affects on a combobox, it uses the selection of an item to change a value it uses the selection of an item to mark a field not mixed it uses hover to show affects (Enter/Leave)

Method resolution order

Field
dialog.item.Item
dialog.builder.Builder
builtin.object

Constructor & Destructor Documentation

def dialog.field.Field.__init__ (   args)
 @param no_validation Set this to True to turn off the automatic Field validation
                      which provides user feedback if the given kind cannot
                      parse their input.
 @param default Add "default=None" as the last argument for your classes
                init and pass it to this.  This will make sure that
                users who aren't providing a model can give a starting
                value.

Reimplemented from dialog.builder.Builder.

Reimplemented in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.listbox.Listbox, dialog.lockablefield.DeletableEntry, dialog.checkbox.Checkbox, dialog.listbox.ContentListbox, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, dialog.radio.Radio, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.hidden.Hidden, dialog.text.Text, and dialog.checkbox.CheckButtons.

Member Function Documentation

def dialog.field.Field.__delitem__ (   args)
def dialog.field.Field.__dict__ (   args)
def dialog.field.Field.__get_children__ (   args)
def dialog.field.Field.__get_dialog__ (   args)
def dialog.field.Field.__get_name__ (   args)
def dialog.field.Field.__get_root__ (   args)
def dialog.field.Field.__getnopack__ (   args)
def dialog.field.Field.__getparent__ (   args)
def dialog.field.Field.__getrules__ (   args)
def dialog.field.Field.__getvalid__ (   args)
def dialog.field.Field.__getwidget_valid__ (   args)
def dialog.field.Field.__initialize_lbl_width__ (   args)
def dialog.field.Field.__model_set__ (   args)
 Override this if you're interested in sets while your value may be mixed.
 This is usually unecessary.  But it's needed for widgets like ContentListbox.
 
 This may not be called consistently, if you get a call to __set__
 consider that a __model_set__ on all model numbers.

Reimplemented in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.radio.Radio, dialog.text.Text, dialog.hidden.Hidden, dialog.checkbox.CheckButtons, and dialog.listbox.ContentListbox.

def dialog.field.Field.__pending__ (   args)
def dialog.field.Field.__recalculate_lbl_width__ (   args)
def dialog.field.Field.__setnopack__ (   args)
def dialog.field.Field.__setwidget_valid__ (   args)
def dialog.field.Field.__show_affected__ (   args)
def dialog.field.Field.__weakref__ (   args)
def dialog.field.Field.__widget_state__ (   args)
def dialog.field.Field.AddContext (   args)
def dialog.field.Field.AddRule (   args)
def dialog.field.Field.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.item.Item.

Reimplemented in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.radio.Radio, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.affected (   args)
def dialog.field.Field.button (   args)
def dialog.field.Field.call (   args)
def dialog.field.Field.Changed (   args)
def dialog.field.Field.check (   args)
def dialog.field.Field.checkbutton (   args)
def dialog.field.Field.child_added (   args)
def dialog.field.Field.child_removed (   args)
def dialog.field.Field.children (   args)
def dialog.field.Field.Color (   args)
def dialog.field.Field.column (   args)
def dialog.field.Field.column_group_begin (   args)
def dialog.field.Field.column_group_end (   args)
def dialog.field.Field.dialog (   args)
def dialog.field.Field.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.builder.Builder.

Reimplemented in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.radio.Radio, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.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.item.Item.

Reimplemented in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.radio.Radio, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.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 in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.radio.Radio, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.EnableIf (   args)
def dialog.field.Field.EnableOtherIf (   args)
def dialog.field.Field.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.builder.Builder.

Reimplemented in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.radio.Radio, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.EvaluateValid (   args)
def dialog.field.Field.file (   args)
def dialog.field.Field.file_save (   args)
def dialog.field.Field.Find (   args)
def dialog.field.Field.find_type (   args)
def dialog.field.Field.foo (   args)
 __get__ = foo(args)
def dialog.field.Field.foo (   args)
 __set__ = foo(args)
def dialog.field.Field.foo (   args)
 __show__ = foo(args)
def dialog.field.Field.frame (   args)
def dialog.field.Field.func (   args)
def dialog.field.Field.func (   args)
def dialog.field.Field.get_label_width (   args)
def dialog.field.Field.group (   args)
def dialog.field.Field.group_end (   args)
def dialog.field.Field.group_end (   args)
def dialog.field.Field.group_title (   args)
def dialog.field.Field.HasContext (   args)
def dialog.field.Field.image (   args)
def dialog.field.Field.IsEnabled (   args)
def dialog.field.Field.item_valid (   args)
def dialog.field.Field.kind (   args)
def dialog.field.Field.label (   args)
def dialog.field.Field.label_width (   args)
def dialog.field.Field.lframe (   args)
def dialog.field.Field.line (   args)
def dialog.field.Field.listbox (   args)
def dialog.field.Field.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.builder.Builder.

Reimplemented in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.radio.Radio, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.mixed (   args)
def dialog.field.Field.mtrl_browse (   args)
def dialog.field.Field.name (   args)
def dialog.field.Field.no_pack (   args)
def dialog.field.Field.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 in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.lockablefield.DeletableEntry, dialog.listbox.ContentListbox, dialog.radio.Radio, dialog.text.Text, dialog.hidden.Hidden, dialog.checkbox.CheckButtons, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, and dialog.entry.BareEntry.

def dialog.field.Field.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 in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.radio.Radio, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.parent (   args)
def dialog.field.Field.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 in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.radio.Radio, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.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.builder.Builder.

Reimplemented in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.radio.Radio, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.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 in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.radio.Radio, dialog.text.Text, dialog.hidden.Hidden, dialog.checkbox.CheckButtons, dialog.lockablefield.DeletableCombobox, and dialog.combobox.BareCombobox.

def dialog.field.Field.read_only (   args)
def dialog.field.Field.RemoveStateFunction (   args)
def dialog.field.Field.root (   args)
def dialog.field.Field.rules (   args)
def dialog.field.Field.screen_only (   args)
def dialog.field.Field.scrollbar (   args)
def dialog.field.Field.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 in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.radio.Radio, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.set_label_width (   args)
def dialog.field.Field.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.item.Item.

Reimplemented in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.radio.Radio, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.show_affects (   args)
def dialog.field.Field.tab (   args)
def dialog.field.Field.table (   args)
def dialog.field.Field.table_column (   args)
def dialog.field.Field.table_end (   args)
def dialog.field.Field.tabset_begin (   args)
def dialog.field.Field.tabset_end (   args)
def dialog.field.Field.text (   args)
def dialog.field.Field.Update (   args)
def dialog.field.Field.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 in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.radio.Radio, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.valid (   args)
def dialog.field.Field.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 in Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.listbox.ContentListbox, dialog.radio.Radio, dialog.text.Text, dialog.hidden.Hidden, and dialog.checkbox.CheckButtons.

def dialog.field.Field.ValidateRange (   args)
def dialog.field.Field.widget_state (   args)
def dialog.field.Field.widget_valid (   args)

Member Data Documentation

dialog.field.Field.__Load__ = None
staticprivate
dialog.field.Field.__Store__ = None
staticprivate
dialog.field.Field.Context = None
static
list dialog.field.Field.CurrentContainer = []
static
dialog.field.Field.CurrentlyEnabled = True
static
dialog.field.Field.InitializedLabelWidth = False
static
int dialog.field.Field.Label_width = 0
static
tuple dialog.field.Field.RuleRegistry = ((<function <lambda>>, <function <lambda>>), (<function <lambda>>, <function <lambda>>))
static
dialog.field.Field.Rules = None
static
dialog.field.Field.SB_Clear = False
static
dialog.field.Field.WatchChild = None
static