Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Control
Key
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Event ComboBox.Click (gb.qt4)

Event Click ( )

Raised when an element is selected in the popup list box.

The Click event is raised:
  • When the user select an item in the list.

  • When the Index property is set.

  • When the Text property is set.

Important notes

  1. The Click event is raised when the Index or the Text property is set even if the new value is the same as the old one!

  2. The Click event is not raised if you set Index to -1, or if you set the Text property with something that is not present in the list contents.

  3. Apparently with gb.qt4, the Click event is raised when the user selects the same item as the previously selected one. But not with gb.gtk! I'd like to force gb.gtk to behave the same, but didn't succeed.

  4. The Click event is never raised when the list contents is modified, by Add, Remove, Clear, or by setting the List property.