Package pyforms :: Package gui :: Package Controls :: Module ControlCombo :: Class ControlCombo
[hide private]
[frames] | no frames]

Class ControlCombo

source code


This class represents a wrapper to the combo box

Instance Methods [hide private]
 
initForm(self)
Load Control and initiate the events
source code
 
currentIndexChanged(self, index)
Called when the user chooses an item in the combobox and the selected choice is different from the last one selected.
source code
 
_activated(self, index) source code
 
activated(self, index)
Called when the user chooses an item in the combobox.
source code
 
_highlighted(self, index)
Called when an item in the combobox popup list is highlighted by the user.
source code
 
highlighted(self, index) source code
 
addItem(self, label, value=None) source code
 
clearItems(self) source code
 
items(self) source code
 
value(self, value)
This property return and set what the control should manage or store.
source code
 
text(self, value) source code

Inherited from ControlBase.ControlBase: __init__, aboutToShowContextMenuEvent, addPopupMenuOption, addPopupSubMenuOption, changed, enabled, form, help, hide, label, load, name, parent, save, show

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

Class Variables [hide private]
  _items = None
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

initForm(self)

source code 

Load Control and initiate the events

Overrides: ControlBase.ControlBase.initForm
(inherited documentation)

activated(self, index)

source code 

Called when the user chooses an item in the combobox. Note that this signal happens even when the choice is not changed

items(self)

source code 
Decorators:
  • @property

value(self, value)

source code 

This property return and set what the control should manage or store.

Decorators:
  • @value.setter
Overrides: ControlBase.ControlBase.value
(inherited documentation)

text(self, value)

source code 
Decorators:
  • @text.setter