Styles

Widgets can have different styles of look. More...


Functions

EAPI void elm_object_style_set (Evas_Object *obj, const char *style)
 Set the style.
EAPI const char * elm_object_style_get (const Evas_Object *obj)
 Get the style.
EAPI void elm_object_disabled_set (Evas_Object *obj, Eina_Bool disabled)
 Set the disable state.
EAPI Eina_Bool elm_object_disabled_get (const Evas_Object *obj)
 Get the disable state.


Detailed Description

Widgets can have different styles of look.

These generic API's set styles of widgets, if they support them (and if the theme(s) do).


Function Documentation

EAPI Eina_Bool elm_object_disabled_get ( const Evas_Object *  obj  ) 

Get the disable state.

This gets the disable state for the widget.

Parameters:
obj The object
Returns:
True, if the widget is disabled

EAPI void elm_object_disabled_set ( Evas_Object *  obj,
Eina_Bool  disabled 
)

Set the disable state.

This sets the disable state for the widget.

Parameters:
obj The object
disabled The state

EAPI const char* elm_object_style_get ( const Evas_Object *  obj  ) 

Get the style.

This gets the style being used for that widget. Note that the string pointer is only valid as longas the object is valid and the style doesn't change.

Parameters:
obj The object
Returns:
The style name

EAPI void elm_object_style_set ( Evas_Object *  obj,
const char *  style 
)

Set the style.

This sets the name of the style

Parameters:
obj The object
style The style name to use