Functions
Combobox

Functions

Evas_Objectelm_combobox_add (Evas_Object *parent)
 Add a new Combobox object. More...
 

Detailed Description

combobox_inheritance_tree.png
preview-00.png

A combobox is a button displaying an entry that pops up a list of items (automatically choosing the direction to display). It is a convenience widget to avoid the need to do all the piecing together yourself. It is intended for manipulating a large number of items in the combobox menu.

This widget inherits from the Button, Genlist and Entry one, so that all the functions acting on it also work for combobox objects.

This widget emits the following signals, besides the ones sent from Button:

Default content parts of the combobox widget that you can use are the the same that you use with the Button

Default text parts of the combobox widget that you can use are the the same that you use with the Entry

Supported elm_object common APIs.

Supported elm_object_item common APIs.

See Combobox example for an example.

Function Documentation

◆ elm_combobox_add()

Evas_Object* elm_combobox_add ( Evas_Object parent)

Add a new Combobox object.

Parameters
parentThe parent object
Returns
The new object or NULL if it cannot be created

References EINA_SAFETY_ON_NULL_RETURN_VAL.