Combobox

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 :(

../_images/combobox-preview.png

Widget description

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.

Available styles

  • default a normal combobox.

Emitted signals

  • 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.

Inheritance diagram

class efl.elementary._Combobox(Object parent, *args, **kwargs)

Bases: efl.elementary.__init__.Object

callback_clicked_add

The combobox button has been clicked

callback_clicked_del
callback_dismissed_add

The combobox hover has been dismissed

callback_dismissed_del
callback_expanded_add

The combobox hover has been expanded

callback_expanded_del
callback_filter_done_add

Item filtering is done

callback_filter_done_del
callback_item_pressed_add

An item has been pressed

callback_item_pressed_del
callback_item_selected_add

An item has been selected

callback_item_selected_del
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.

class 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:
  • parent (efl.evas.Object) – The parent object
  • **kwargs – All the remaining keyword arguments are interpreted as properties of the instance