This is a FocusRule implemented to display a popup if your passed in function 'do' returns false. More...
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.widget.FocusRule | |
Public Member Functions inherited from dialog.rule.Rule |
This is a FocusRule implemented to display a popup if your passed in function 'do' returns false.
The popup will create a focus loop which will require the user to make your function 'do' return true before they can move the cursor focus elsewhere.
ValidatePopup
FocusRule
dialog.rule.Rule
builtin.object
| def dialog.widget.ValidatePopup.__init__ | ( | args | ) |
@param do a function which returns True or False, False indicating
that a focus loop with a popup message should be started/continued.
Note that you cannot use helpers like expr here because this
is not a ValueRule. Please go ahead and use your own custom
function and use the .Get() routines on fields to Get the
current value.
@param reason The message displayed in the popup.
Reimplemented from dialog.widget.FocusRule.
| def dialog.widget.ValidatePopup.__dict__ | ( | args | ) |
dictionary for instance variables (if defined)
Reimplemented from dialog.widget.FocusRule.
| def dialog.widget.ValidatePopup.__getdialog__ | ( | args | ) |
__getdialog__(args)
Reimplemented from dialog.widget.FocusRule.
| def dialog.widget.ValidatePopup.__getenabled__ | ( | args | ) |
__getenabled__(args)
Reimplemented from dialog.widget.FocusRule.
| def dialog.widget.ValidatePopup.__getobject__ | ( | args | ) |
__getobject__(args)
Reimplemented from dialog.widget.FocusRule.
| def dialog.widget.ValidatePopup.__weakref__ | ( | args | ) |
list of weak references to the object (if defined)
Reimplemented from dialog.widget.FocusRule.
| def dialog.widget.ValidatePopup.dialog | ( | args | ) |
Reimplemented from dialog.widget.FocusRule.
| def dialog.widget.ValidatePopup.enabled | ( | args | ) |
Reimplemented from dialog.widget.FocusRule.
| def dialog.widget.ValidatePopup.focusin | ( | args | ) |
focusin(args)
Reimplemented from dialog.widget.FocusRule.
| def dialog.widget.ValidatePopup.focusout | ( | args | ) |
focusout(args)
Reimplemented from dialog.widget.FocusRule.
| def dialog.widget.ValidatePopup.object | ( | args | ) |
Reimplemented from dialog.widget.FocusRule.
1.8.1.2