Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_theme.c File Reference


Detailed Description


Functions

Etk_Bool etk_theme_widget_set_from_path (const char *theme_path)
 Sets the theme that will be used by new widgets, from its path.
Etk_Bool etk_theme_widget_set_from_name (const char *theme_name)
 Sets the theme that will be used by new widgets, from its name.
const char * etk_theme_widget_path_get (void)
 Gets the path of the current widget-theme file of Etk.
char * etk_theme_widget_name_get (void)
 Gets the name of the current widget-theme file of Etk.
Evas_List * etk_theme_widget_available_themes_get (void)
 Gets the list of the available widget-themes. The list contains the names of the themes, not the paths.
char * etk_theme_widget_find (const char *theme_name)
 Finds the path of a widget-theme file, from its name.
Etk_Bool etk_theme_icon_set_from_path (const char *theme_path)
 Sets the theme that will be used by new icons, from its path.
Etk_Bool etk_theme_icon_set_from_name (const char *theme_name)
 Sets the theme that will be used by new icons, from its name.
const char * etk_theme_icon_path_get (void)
 Gets the path of the current icon-theme file of Etk.
char * etk_theme_icon_name_get (void)
 Gets the name of the current icon-theme file of Etk.
Evas_List * etk_theme_icon_available_themes_get (void)
 Gets the list of the available icon-themes. The list contains the names of the themes, not the paths.
char * etk_theme_icon_find (const char *theme_name)
 Finds the path of a icon-theme file, from its name.
void etk_theme_available_themes_free (Evas_List *themes)
 A function used to free the list returned by etk_theme_widget_available_themes_get() or etk_theme_icon_available_themes_get().
Etk_Bool etk_theme_group_exists (const char *file, const char *group, const char *parent_group)
 Checks whether the given theme-group exists. The edje-group to check is named "etk/parent_group/group" if parent_group is not NULL, or "etk/group" if parent_group is NULL.
Etk_Bool etk_theme_edje_object_set (Evas_Object *object, const char *file, const char *group, const char *parent_group)
 Loads an edje-group from a theme-file and sets it to the object. The edje-group to load is named "etk/parent_group/group" if parent_group is not NULL, or "etk/group" if parent_group is NULL.
Etk_Bool etk_theme_edje_object_set_from_parent (Evas_Object *object, const char *group, Etk_Widget *parent)
 Loads an edje-group from a theme-file and sets it to the object. Equivalent to etk_theme_edje_object_set(object, etk_widget_theme_file_get(parent), group, etk_widget_theme_group_get(parent)).
Etk_Bool etk_theme_color_get (const char *file, Etk_Color_Type color_type, int *r, int *g, int *b, int *a)
 Gets the components of the given color. The color depends on the theme used.