Tizen Native API
|
These functions allow you to set UI-mirroring on specific widgets or the whole interface. Widgets can be in one of the following two modes, automatic and manual. Automatic means they are changed according to the system mirroring mode and manual means only explicit changes matter. You are not supposed to change the mirroring state of a widget set to automatic, that mostly works, but the behavior is not really defined.
Functions | |
Eina_Bool | elm_config_mirrored_get (void) |
Gets the system mirrored mode. This determines the default mirrored mode of widgets. | |
void | elm_config_mirrored_set (Eina_Bool mirrored) |
Sets the system mirrored mode. This determines the default mirrored mode of widgets. | |
Eina_Bool | elm_object_mirrored_get (const Evas_Object *obj) |
Gets the widget's mirrored mode. | |
void | elm_object_mirrored_set (Evas_Object *obj, Eina_Bool mirrored) |
Sets the widget's mirrored mode. | |
Eina_Bool | elm_object_mirrored_automatic_get (const Evas_Object *obj) |
Gets 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. |
Function Documentation
Eina_Bool elm_config_mirrored_get | ( | void | ) |
Gets the system mirrored mode. This determines the default mirrored mode of widgets.
- Since :
- 2.3.1
- Returns:
EINA_TRUE
if mirrored mode is set, otherwiseEINA_FALSE
void elm_config_mirrored_set | ( | Eina_Bool | mirrored | ) |
Sets the system mirrored mode. This determines the default mirrored mode of widgets.
- Since :
- 2.3.1
- Parameters:
-
[in] mirrored If EINA_TRUE
the mirrored mode is set, otherwiseEINA_FALSE
to unset it
Eina_Bool elm_object_mirrored_automatic_get | ( | const Evas_Object * | obj | ) |
Gets the widget's mirrored mode setting.
- Since :
- 2.3.1
- Parameters:
-
[in] obj The widget
- Returns:
- The 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.
- Since :
- 2.3.1
- Remarks:
- When the widget is in the automatic mode, it follows the system mirrored mode set by elm_mirrored_set().
- Parameters:
-
[in] obj The widget [in] automatic If EINA_TRUE
the auto mirrored mode is set, otherwiseEINA_FALSE
for manual
Eina_Bool elm_object_mirrored_get | ( | const Evas_Object * | obj | ) |
Gets the widget's mirrored mode.
- Since :
- 2.3.1
- Parameters:
-
[in] obj The widget
- Returns:
EINA_TRUE
if mirrored is set, otherwiseEINA_FALSE
void elm_object_mirrored_set | ( | Evas_Object * | obj, |
Eina_Bool | mirrored | ||
) |
Sets the widget's mirrored mode.
- Since :
- 2.3.1
- Parameters:
-
[in] obj The widget [in] mirrored If EINA_TRUE
the mirrored mode is set, otherwiseEINA_FALSE
to unset it