No documentation available. More...
Methods defined here: | |
def | new |
def | run |
Methods inherited from dialog.rule.ValueRule: | |
def | __getdisplay__ |
def | __getname__ |
def | __getvalid__ |
def | __init__ |
def | delete |
def | get_storage |
def | set_storage |
Data descriptors inherited from dialog.rule.ValueRule: | |
def | display |
def | name |
def | valid |
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.ValueRule | |
def | foo |
def | foo |
Public Member Functions inherited from dialog.rule.Rule |
No documentation available.
Original
dialog.rule.ValueRule
dialog.rule.Rule
builtin.object
def dialog.rules.Original.__init__ | ( | args | ) |
The system will supply number, name and root.
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.__dict__ | ( | args | ) |
dictionary for instance variables (if defined)
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.__getdialog__ | ( | args | ) |
__getdialog__(args)
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.__getdisplay__ | ( | args | ) |
__getdisplay__(args)
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.__getenabled__ | ( | args | ) |
__getenabled__(args)
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.__getname__ | ( | args | ) |
__getname__(args)
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.__getobject__ | ( | args | ) |
__getobject__(args)
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.__getvalid__ | ( | args | ) |
__getvalid__(args)
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.__weakref__ | ( | args | ) |
list of weak references to the object (if defined)
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.delete | ( | args | ) |
You may override this function. This function is called when the rule is removed, often to be replaced by a quick call to new
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.dialog | ( | args | ) |
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.display | ( | args | ) |
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.enabled | ( | args | ) |
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.get_storage | ( | args | ) |
This is where you store your data if you need to store data between invocations of your rule. @param dat The item you're editing. @return a list. You can put things into this list and they'll be there the next time you call get_storage @note This is a constant time function.
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.name | ( | args | ) |
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.new | ( | args | ) |
new(args)
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.object | ( | args | ) |
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.run | ( | args | ) |
run(args)
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.set_storage | ( | args | ) |
You may prefer to override the default storage. Lists actually get pretty expensive, so if you modify your rule to use tuples (if you need to save multiple values) or the single value you need to save you'll save a lot of memory in multi edit. For the Change rule, this means 178 bytes per item instead of 242 bytes.
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.
def dialog.rules.Original.valid | ( | args | ) |
Reimplemented from dialog.rule.ValueRule.
Reimplemented in dialog.rules.NotOriginal.