2 * @defgroup Mirroring Mirroring
4 * These functions allow you to set ui-mirroring on specific
5 * widgets or the whole interface. Widgets can be in one of two
6 * modes, automatic and manual. Automatic means they'll be changed
7 * according to the system mirroring mode and manual means only
8 * explicit changes will matter. You are not supposed to change
9 * mirroring state of a widget set to automatic, will mostly work,
10 * but the behavior is not really defined.
16 * Get the system mirrored mode. This determines the default mirrored mode
19 * @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
21 EAPI Eina_Bool elm_mirrored_get(void);
24 * Set the system mirrored mode. This determines the default mirrored mode
27 * @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
29 EAPI void elm_mirrored_set(Eina_Bool mirrored);
32 * Get the widget's mirrored mode.
34 * @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
36 EAPI Eina_Bool elm_object_mirrored_get(const Evas_Object *obj);
39 * Set the widget's mirrored mode.
41 * @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
43 EAPI void elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored);
46 * Returns the widget's mirrored mode setting.
48 * @param obj The widget.
49 * @return mirrored mode setting of the object.
52 EAPI Eina_Bool elm_object_mirrored_automatic_get(const Evas_Object *obj);
55 * Sets the widget's mirrored mode setting.
56 * When widget in automatic mode, it follows the system mirrored mode set by
58 * @param obj The widget.
59 * @param automatic EINA_TRUE for auto mirrored mode. EINA_FALSE for manual.
61 EAPI void elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic);