summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_frame_eo.legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_frame_eo.legacy.h')
-rw-r--r--src/lib/elementary/efl_ui_frame_eo.legacy.h78
1 files changed, 78 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_frame_eo.legacy.h b/src/lib/elementary/efl_ui_frame_eo.legacy.h
new file mode 100644
index 0000000..b2ba76e
--- /dev/null
+++ b/src/lib/elementary/efl_ui_frame_eo.legacy.h
@@ -0,0 +1,78 @@
1#ifndef _EFL_UI_FRAME_EO_LEGACY_H_
2#define _EFL_UI_FRAME_EO_LEGACY_H_
3
4#ifndef _EFL_UI_FRAME_EO_CLASS_TYPE
5#define _EFL_UI_FRAME_EO_CLASS_TYPE
6
7typedef Eo Efl_Ui_Frame;
8
9#endif
10
11#ifndef _EFL_UI_FRAME_EO_TYPES
12#define _EFL_UI_FRAME_EO_TYPES
13
14
15#endif
16
17/**
18 * @brief Manually collapse a frame without animations Use this to toggle the
19 * collapsed state of a frame, bypassing animations.
20 *
21 * @param[in] obj The object.
22 * @param[in] collapse @c true to collapse, @c false to expand.
23 *
24 * @ingroup Elm_Frame_Group
25 */
26EAPI void elm_frame_collapse_set(Efl_Ui_Frame *obj, Eina_Bool collapse);
27
28/**
29 * @brief Determine the collapse state of a frame Use this to determine the
30 * collapse state of a frame.
31 *
32 * @param[in] obj The object.
33 *
34 * @return @c true to collapse, @c false to expand.
35 *
36 * @ingroup Elm_Frame_Group
37 */
38EAPI Eina_Bool elm_frame_collapse_get(const Efl_Ui_Frame *obj);
39
40/**
41 * @brief Toggle autocollapsing of a frame When @c enable is @c true, clicking
42 * a frame's label will collapse the frame vertically, shrinking it to the
43 * height of the label. By default, this is DISABLED.
44 *
45 * @param[in] obj The object.
46 * @param[in] autocollapse Whether to enable autocollapse.
47 *
48 * @ingroup Elm_Frame_Group
49 */
50EAPI void elm_frame_autocollapse_set(Efl_Ui_Frame *obj, Eina_Bool autocollapse);
51
52/**
53 * @brief Determine autocollapsing of a frame
54 *
55 * When this returns @c true, clicking a frame's label will collapse the frame
56 * vertically, shrinking it to the height of the label. By default, this is
57 * DISABLED.
58 *
59 * @param[in] obj The object.
60 *
61 * @return Whether to enable autocollapse.
62 *
63 * @ingroup Elm_Frame_Group
64 */
65EAPI Eina_Bool elm_frame_autocollapse_get(const Efl_Ui_Frame *obj);
66
67/**
68 * @brief Manually collapse a frame with animations Use this to toggle the
69 * collapsed state of a frame, triggering animations.
70 *
71 * @param[in] obj The object.
72 * @param[in] collapse @c true to collapse, @c false to expand.
73 *
74 * @ingroup Elm_Frame_Group
75 */
76EAPI void elm_frame_collapse_go(Efl_Ui_Frame *obj, Eina_Bool collapse);
77
78#endif