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

Allows you to attach a callback to focus in and focusout. More...

Inheritance diagram for dialog.widget.FocusRule:
dialog.rule.Rule dialog.widget.ValidatePopup

Methods defined here:

def __init__
def focusin
def focusout

Methods inherited from dialog.rule.Rule:

def __getdialog__
def __getenabled__
def __getobject__

Data descriptors inherited from dialog.rule.Rule:

def __dict__
 dictionary for instance variables (if defined)
def __weakref__
 list of weak references to the object (if defined)
def dialog
def enabled
def object

Additional Inherited Members

- Public Member Functions inherited from dialog.rule.Rule

Detailed Description

Allows you to attach a callback to focus in and focusout.

Will call your function on focusin and focusout for any widgets on the widget object that you add this to: e = Entry( dlg, ... ) e.AddRule( FocusRule, lambda widget,event: do_something() ) Node that "event" above will be either 'focusin' or 'focusout'.

Method resolution order

FocusRule
dialog.rule.Rule
builtin.object

Constructor & Destructor Documentation

def dialog.widget.FocusRule.__init__ (   args)
 __init__(args)

Reimplemented from dialog.rule.Rule.

Reimplemented in dialog.widget.ValidatePopup.

Member Function Documentation

def dialog.widget.FocusRule.__dict__ (   args)

dictionary for instance variables (if defined)

Reimplemented from dialog.rule.Rule.

Reimplemented in dialog.widget.ValidatePopup.

def dialog.widget.FocusRule.__getdialog__ (   args)
 __getdialog__(args)

Reimplemented from dialog.rule.Rule.

Reimplemented in dialog.widget.ValidatePopup.

def dialog.widget.FocusRule.__getenabled__ (   args)
 __getenabled__(args)

Reimplemented from dialog.rule.Rule.

Reimplemented in dialog.widget.ValidatePopup.

def dialog.widget.FocusRule.__getobject__ (   args)
 __getobject__(args)

Reimplemented from dialog.rule.Rule.

Reimplemented in dialog.widget.ValidatePopup.

def dialog.widget.FocusRule.__weakref__ (   args)

list of weak references to the object (if defined)

Reimplemented from dialog.rule.Rule.

Reimplemented in dialog.widget.ValidatePopup.

def dialog.widget.FocusRule.dialog (   args)

Reimplemented from dialog.rule.Rule.

Reimplemented in dialog.widget.ValidatePopup.

def dialog.widget.FocusRule.enabled (   args)

Reimplemented from dialog.rule.Rule.

Reimplemented in dialog.widget.ValidatePopup.

def dialog.widget.FocusRule.focusin (   args)
 focusin(args)

Reimplemented in dialog.widget.ValidatePopup.

def dialog.widget.FocusRule.focusout (   args)
 focusout(args)

Reimplemented in dialog.widget.ValidatePopup.

def dialog.widget.FocusRule.object (   args)

Reimplemented from dialog.rule.Rule.

Reimplemented in dialog.widget.ValidatePopup.