Functions
Button

Functions

Evas_Object * elm_button_add (Evas_Object *parent)
 Add a new button to the parent's canvas. More...
 

Detailed Description

button_inheritance_tree.png
preview-00.png
preview-01.png
preview-02.png

This is a push-button. Press it and run some function. It can contain a simple label and icon object and it also has an autorepeat feature.

This widget inherits from the Layout one, so that all the functions acting on it also work for button objects.

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

Also, defined in the default theme, the button has the following styles available:

Default content parts of the button widget that you can use for are:

Default text parts of the button widget that you can use for are:

Supported elm_object common APIs.

Here is some sample code using it:

Function Documentation

Evas_Object* elm_button_add ( Evas_Object *  parent)

Add a new button to the parent's canvas.

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

Referenced by elm_color_class_editor_add(), and elm_quicklaunch_seed().