summaryrefslogtreecommitdiff
path: root/src/lib/edje/efl_canvas_layout_eo.legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edje/efl_canvas_layout_eo.legacy.h')
-rw-r--r--src/lib/edje/efl_canvas_layout_eo.legacy.h115
1 files changed, 115 insertions, 0 deletions
diff --git a/src/lib/edje/efl_canvas_layout_eo.legacy.h b/src/lib/edje/efl_canvas_layout_eo.legacy.h
new file mode 100644
index 0000000..0155eb9
--- /dev/null
+++ b/src/lib/edje/efl_canvas_layout_eo.legacy.h
@@ -0,0 +1,115 @@
1#ifndef _EFL_CANVAS_LAYOUT_EO_LEGACY_H_
2#define _EFL_CANVAS_LAYOUT_EO_LEGACY_H_
3
4#ifndef _EFL_CANVAS_LAYOUT_EO_CLASS_TYPE
5#define _EFL_CANVAS_LAYOUT_EO_CLASS_TYPE
6
7typedef Eo Efl_Canvas_Layout;
8
9#endif
10
11#ifndef _EFL_CANVAS_LAYOUT_EO_TYPES
12#define _EFL_CANVAS_LAYOUT_EO_TYPES
13
14
15#endif
16
17/**
18 * @brief Whether this object is animating or not.
19 *
20 * This property indicates whether animations are stopped or not. Animations
21 * here refer to transitions between states.
22 *
23 * If animations are disabled, transitions between states (as defined in EDC)
24 * are then instantaneous. This is conceptually similar to setting the
25 * @ref Efl.Player.play_speed to an infinitely high value.
26 *
27 * Start or stop animating this object.
28 *
29 * @param[in] obj The object.
30 * @param[in] on The animation state, @c true by default.
31 *
32 * @ingroup Edje_Object_Group
33 */
34EAPI void edje_object_animation_set(Efl_Canvas_Layout *obj, Eina_Bool on);
35
36/**
37 * @brief Whether this object is animating or not.
38 *
39 * This property indicates whether animations are stopped or not. Animations
40 * here refer to transitions between states.
41 *
42 * If animations are disabled, transitions between states (as defined in EDC)
43 * are then instantaneous. This is conceptually similar to setting the
44 * @ref Efl.Player.play_speed to an infinitely high value.
45 *
46 * Get the current state of animation, @c true by default.
47 *
48 * @param[in] obj The object.
49 *
50 * @return The animation state, @c true by default.
51 *
52 * @ingroup Edje_Object_Group
53 */
54EAPI Eina_Bool edje_object_animation_get(const Efl_Canvas_Layout *obj);
55
56/**
57 * @brief Returns the seat device given its Edje's name.
58 *
59 * Edje references seats by a name that differs from Evas. Edje naming follows
60 * a incrementional convention: first registered name is "seat1", second is
61 * "seat2", differently from Evas.
62 *
63 * @param[in] obj The object.
64 * @param[in] name The name's character string.
65 *
66 * @return The seat device or @c null if not found.
67 *
68 * @since 1.19
69 *
70 * @ingroup Edje_Object_Group
71 */
72EAPI Efl_Input_Device *edje_object_seat_get(const Efl_Canvas_Layout *obj, Eina_Stringshare *name);
73
74/**
75 * @brief Gets the name given to a set by Edje.
76 *
77 * Edje references seats by a name that differs from Evas. Edje naming follows
78 * a incrementional convention: first registered name is "seat1", second is
79 * "seat2", differently from Evas.
80 *
81 * @param[in] obj The object.
82 * @param[in] device The seat device
83 *
84 * @return The name's character string or @c null if not found.
85 *
86 * @since 1.19
87 *
88 * @ingroup Edje_Object_Group
89 */
90EAPI Eina_Stringshare *edje_object_seat_name_get(const Efl_Canvas_Layout *obj, Efl_Input_Device *device);
91
92/**
93 * @brief Gets the (last) file loading error for a given object.
94 *
95 * @param[in] obj The object.
96 *
97 * @return The load error code.
98 *
99 * @ingroup Edje_Object_Group
100 */
101EAPI Eina_Error edje_object_layout_load_error_get(const Efl_Canvas_Layout *obj);
102
103/**
104 * @brief Unswallow an object from this Edje.
105 *
106 * @param[in] obj The object.
107 * @param[in] content To be removed content.
108 *
109 * @return @c false if @c content was not a child or can not be removed.
110 *
111 * @ingroup Edje_Object_Group
112 */
113EAPI Eina_Bool edje_object_content_remove(Efl_Canvas_Layout *obj, Efl_Gfx_Entity *content);
114
115#endif