summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_hoversel_item_eo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_hoversel_item_eo.h')
-rw-r--r--src/lib/elementary/elm_hoversel_item_eo.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_hoversel_item_eo.h b/src/lib/elementary/elm_hoversel_item_eo.h
new file mode 100644
index 0000000..13953ae
--- /dev/null
+++ b/src/lib/elementary/elm_hoversel_item_eo.h
@@ -0,0 +1,58 @@
1#ifndef _ELM_HOVERSEL_ITEM_EO_H_
2#define _ELM_HOVERSEL_ITEM_EO_H_
3
4#ifndef _ELM_HOVERSEL_ITEM_EO_CLASS_TYPE
5#define _ELM_HOVERSEL_ITEM_EO_CLASS_TYPE
6
7typedef Eo Elm_Hoversel_Item;
8
9#endif
10
11#ifndef _ELM_HOVERSEL_ITEM_EO_TYPES
12#define _ELM_HOVERSEL_ITEM_EO_TYPES
13
14
15#endif
16/** Elementary hoversel item class
17 *
18 * @ingroup Elm_Hoversel_Item
19 */
20#define ELM_HOVERSEL_ITEM_CLASS elm_hoversel_item_class_get()
21
22EWAPI const Efl_Class *elm_hoversel_item_class_get(void);
23
24/**
25 * @brief This controls the icon for the given hoversel item.
26 *
27 * The icon can be loaded from the standard set, from an image file, or from an
28 * edje file.
29 *
30 * @param[in] obj The object.
31 * @param[in] icon_file An image file path on disk to use for the icon or
32 * standard icon name
33 * @param[in] icon_group The edje group to use if @c icon_file is an edje file.
34 * Set this to NULL if the icon is not an edje file
35 * @param[in] icon_type The icon type
36 *
37 * @ingroup Elm_Hoversel_Item
38 */
39EOAPI void elm_obj_hoversel_item_icon_set(Eo *obj, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type);
40
41/**
42 * @brief This controls the icon for the given hoversel item.
43 *
44 * The icon can be loaded from the standard set, from an image file, or from an
45 * edje file.
46 *
47 * @param[in] obj The object.
48 * @param[out] icon_file An image file path on disk to use for the icon or
49 * standard icon name
50 * @param[out] icon_group The edje group to use if @c icon_file is an edje
51 * file. Set this to NULL if the icon is not an edje file
52 * @param[out] icon_type The icon type
53 *
54 * @ingroup Elm_Hoversel_Item
55 */
56EOAPI void elm_obj_hoversel_item_icon_get(const Eo *obj, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type);
57
58#endif