These functions allow you to set ui-mirroring on specific widgets or the whole interface. More...
Functions | |
Eina_Bool | elm_object_mirrored_get (const Evas_Object *obj) |
Get the widget's mirrored mode. | |
void | elm_object_mirrored_set (Evas_Object *obj, Eina_Bool mirrored) |
Set the widget's mirrored mode. | |
Eina_Bool | elm_object_mirrored_automatic_get (const Evas_Object *obj) |
Returns the widget's mirrored mode setting. | |
void | elm_object_mirrored_automatic_set (Evas_Object *obj, Eina_Bool automatic) |
Sets the widget's mirrored mode setting. |
Detailed Description
These functions allow you to set ui-mirroring on specific widgets or the whole interface.
Widgets can be in one of two modes, automatic and manual. Automatic means they'll be changed according to the system mirroring mode and manual means only explicit changes will matter. You are not supposed to change mirroring state of a widget set to automatic, will mostly work, but the behavior is not really defined.
Function Documentation
Eina_Bool elm_object_mirrored_automatic_get | ( | const Evas_Object * | obj | ) |
Returns the widget's mirrored mode setting.
- Parameters:
-
obj The widget.
- Returns:
- mirrored mode setting of the object.
void elm_object_mirrored_automatic_set | ( | Evas_Object * | obj, |
Eina_Bool | automatic | ||
) |
Sets the widget's mirrored mode setting.
When widget in automatic mode, it follows the system mirrored mode set by elm_mirrored_set().
- Parameters:
-
obj The widget. automatic EINA_TRUE for auto mirrored mode. EINA_FALSE for manual.
Eina_Bool elm_object_mirrored_get | ( | const Evas_Object * | obj | ) |
Get the widget's mirrored mode.
- Parameters:
-
obj The widget.
- Returns:
- EINA_TRUE if mirrored is set, EINA_FALSE otherwise
void elm_object_mirrored_set | ( | Evas_Object * | obj, |
Eina_Bool | mirrored | ||
) |
Set the widget's mirrored mode.
- Parameters:
-
obj The widget. mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.