Tizen(Headed) Native API
6.5
|
The aim is to provide a widget that can be used in elementary apps to account for space taken up by the indicator, virtual keypad & softkey windows when running the illume2 module of E17.
So conformant content will be sized and positioned considering the space required for such stuff, and when they popup, as a keyboard shows when an entry is selected, conformant content won't change.
This widget inherits from the Layout one, so that all the functions acting on it also work for conformant objects.
This widget emits the following signals, besides the ones sent from Layout :
- "virtualkeypad,state,on": if virtualkeypad state is switched to "on". (since 1.8)
- "virtualkeypad,state,off": if virtualkeypad state is switched to "off". (since 1.8)
- "clipboard,state,on": if clipboard state is switched to "on". (since 1.8)
- "clipboard,state,off": if clipboard state is switched to "off". (since 1.8) In all cases, the
event
parameter of the callback will beNULL
.
Available styles for it:
"default"
Default content parts of the conformant widget that you can use for are:
- "default" - A content of the conformant
See how to use this widget in this example: Conformant Example.
Functions | |
Evas_Object * | elm_conformant_add (Evas_Object *parent) |
void | elm_conformant_input_area_resize_disabled_set (Evas_Object *obj, Eina_Bool disable) |
Disables conformant input area resize. | |
Eina_Bool | elm_conformant_input_area_resize_disabled_get (Evas_Object *obj) |
Gets the conformant input area resize disabled or not. |
Function Documentation
Evas_Object* elm_conformant_add | ( | Evas_Object * | parent | ) |
Add a new conformant widget to the given parent Elementary (container) object.
- Parameters:
-
parent The parent object.
- Returns:
- A new conformant widget handle or
NULL
, on errors.
This function inserts a new conformant widget on the canvas.
- Since :
- 2.3
- Examples:
- conformant_example_02.c.
Gets the conformant input area resize disabled or not.
- Parameters:
-
obj The elm_conformant object.
- Returns:
- true confomant resize disabled, otherwise false.
- Since :
- 6.0
void elm_conformant_input_area_resize_disabled_set | ( | Evas_Object * | obj, |
Eina_Bool | disable | ||
) |
Disables conformant input area resize.
The conformant resizes when an input area such as a keypad is launched to rebuild the internal layout. This API prevent conformant resize when the input state changed.
- Parameters:
-
obj The elm_conformant object. disable true disable conformant resize, otherwise false.
- Since :
- 6.0