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

Class EditableComboBox

source code

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

Abstract base class for data that can be edited with combo boxes. This can be used for for instance enum types.

Requirement: get_editor_value must return an int, set_editor_value must take an int (this integer is the index in the list of keys).

Instance Methods [hide private]
 
get_editor_keys(self)
Tuple of strings, each string describing an item.
source code

Inherited from EditableBase: get_editor_value, set_editor_value

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

Properties [hide private]

Inherited from object: __class__