Tizen Native API
5.0
|
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).
Functions | |
Eina_Bool | elm_object_style_set (Evas_Object *obj, const char *style) |
const char * | elm_object_style_get (const Evas_Object *obj) |
const char* elm_object_style_get | ( | const Evas_Object * | obj | ) |
Get the style used by the widget
This gets the style being used for that widget. Note that the string pointer is only valid as long as the object is valid and the style doesn't change.
obj | The Elementary widget to query for its style |
Eina_Bool elm_object_style_set | ( | Evas_Object * | obj, |
const char * | style | ||
) |
Set the style to used by a given widget
obj | The Elementary widget to style |
style | The name of the style to use on it |
EINA_TRUE
on success, EINA_FALSE
otherwiseThis sets the style (by name) that will define the appearance of a widget. Styles vary from widget to widget and may also be defined by other themes by means of extensions and overlays.