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 * @param obj The widget.
35 * @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
37 EAPI Eina_Bool elm_object_mirrored_get(const Evas_Object *obj);
40 * Set the widget's mirrored mode.
42 * @param obj The widget.
43 * @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
45 EAPI void elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored);
48 * Returns the widget's mirrored mode setting.
50 * @param obj The widget.
51 * @return mirrored mode setting of the object.
54 EAPI Eina_Bool elm_object_mirrored_automatic_get(const Evas_Object *obj);
57 * Sets the widget's mirrored mode setting.
58 * When widget in automatic mode, it follows the system mirrored mode set by
60 * @param obj The widget.
61 * @param automatic EINA_TRUE for auto mirrored mode. EINA_FALSE for manual.
63 EAPI void elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic);