Warning
THE COMBOBOX IS BROKEN AND DEPRECATED, DO NOT USE IN ANY CASE !!
The behaviour and the API of the Combobox will change in future release.
If you are already using this we really encourage you to switch to other widgets.
We are really sorry about this breakage, but there is nothing we can do to avoid this :(
This is a the classic combobox widget, it is the composition of a
Button
, an Entry
, a Genlist
and an Hover
.
Thus you can use all the functionality of the base classes on the
Combobox
itself.
default
a normal combobox.dismissed
: The combobox hover has been dismissed.expanded
: The combobox hover has been expanded.clicked
: The combobox button has been clicked.item,selected
: An item has been selected (highlighted).item,pressed
: An item has been pressed (clicked).filter,done
: Item filtering on genlist is completed.
efl.elementary.
_Combobox
(Object parent, *args, **kwargs)¶Bases: efl.elementary.__init__.Object
callback_clicked_add
(func, *args, **kwargs)¶The combobox button has been clicked
callback_clicked_del
(func)¶callback_dismissed_add
(func, *args, **kwargs)¶The combobox hover has been dismissed
callback_dismissed_del
(func)¶callback_expanded_add
(func, *args, **kwargs)¶The combobox hover has been expanded
callback_expanded_del
(func)¶callback_filter_done_add
(func, *args, **kwargs)¶Item filtering is done
callback_filter_done_del
(func)¶callback_item_pressed_add
(func, *args, **kwargs)¶An item has been pressed
callback_item_pressed_del
(func)¶callback_item_selected_add
(func, *args, **kwargs)¶An item has been selected
callback_item_selected_del
(func)¶expanded
¶Returns whether the combobox is expanded or not.
Type: | bool (readonly) |
---|
expanded_get
()¶hover_begin
()¶This triggers the combobox popup from code, the same as if the user had clicked the button.
hover_end
()¶This dismisses the combobox popup as if the user had clicked outside the hover.
efl.elementary.
Combobox
(self, Object parent, *args, **kwargs)¶Bases: efl.elementary.__init__._Combobox
, efl.elementary.__init__.Button
, efl.elementary.__init__.Entry
, efl.elementary.__init__.Genlist
, efl.elementary.__init__.Hover
Warning
THE COMBOBOX WIDGET IS BROKEN AND DEPRECATED, DO NOT USE IN ANY CASE !!
The behaviour and the API of the Combobox will change in future release.
If you are already using this we really encourage you to switch to other widgets.
We are really sorry about this breakage, but there is nothing we can do to avoid this :(
New in version 1.17.
Changed in version 1.18: The combobox widget has been deprecated. Don’t use it in ANY case.
Parameters: |
|
---|