Package pyffi :: Package object_models :: Module editable :: Class EditableBoolComboBox
[hide private]
[frames] | no frames]

Class EditableBoolComboBox

source code

  object --+        
           |        
EditableBase --+    
               |    
EditableComboBox --+
                   |
                  EditableBoolComboBox
Known Subclasses:

Class for data that can be edited with a bool combo box.

Requirement: get_value must return a bool, set_value must take a bool.

Instance Methods [hide private]
 
get_editor_keys(self)
Tuple of strings, each string describing an item.
source code
 
set_editor_value(self, editorvalue)
Set data from the editor value.
source code
any (whatever is appropriate for the particular implementation of the editor)
get_editor_value(self)
Return data as a value to initialize an editor with.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_editor_keys(self)

source code 
Tuple of strings, each string describing an item.
Overrides: EditableComboBox.get_editor_keys
(inherited documentation)

set_editor_value(self, editorvalue)

source code 
Set data from the editor value. Override this method.
Parameters:
  • editorvalue - The value of the editor.
Overrides: EditableBase.set_editor_value
(inherited documentation)

get_editor_value(self)

source code 
Return data as a value to initialize an editor with. Override this method.
Returns: any (whatever is appropriate for the particular implementation of the editor)
A value for the editor.
Overrides: EditableBase.get_editor_value
(inherited documentation)