summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_hoversel_item_eo.legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_hoversel_item_eo.legacy.h')
-rw-r--r--src/lib/elementary/elm_hoversel_item_eo.legacy.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_hoversel_item_eo.legacy.h b/src/lib/elementary/elm_hoversel_item_eo.legacy.h
new file mode 100644
index 0000000..3e34757
--- /dev/null
+++ b/src/lib/elementary/elm_hoversel_item_eo.legacy.h
@@ -0,0 +1,51 @@
1#ifndef _ELM_HOVERSEL_ITEM_EO_LEGACY_H_
2#define _ELM_HOVERSEL_ITEM_EO_LEGACY_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
17/**
18 * @brief This controls the icon for the given hoversel item.
19 *
20 * The icon can be loaded from the standard set, from an image file, or from an
21 * edje file.
22 *
23 * @param[in] obj The object.
24 * @param[in] icon_file An image file path on disk to use for the icon or
25 * standard icon name
26 * @param[in] icon_group The edje group to use if @c icon_file is an edje file.
27 * Set this to NULL if the icon is not an edje file
28 * @param[in] icon_type The icon type
29 *
30 * @ingroup Elm_Hoversel_Item_Group
31 */
32EAPI void elm_hoversel_item_icon_set(Elm_Hoversel_Item *obj, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type);
33
34/**
35 * @brief This controls the icon for the given hoversel item.
36 *
37 * The icon can be loaded from the standard set, from an image file, or from an
38 * edje file.
39 *
40 * @param[in] obj The object.
41 * @param[out] icon_file An image file path on disk to use for the icon or
42 * standard icon name
43 * @param[out] icon_group The edje group to use if @c icon_file is an edje
44 * file. Set this to NULL if the icon is not an edje file
45 * @param[out] icon_type The icon type
46 *
47 * @ingroup Elm_Hoversel_Item_Group
48 */
49EAPI void elm_hoversel_item_icon_get(const Elm_Hoversel_Item *obj, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type);
50
51#endif