Conformant
PUBLISHED
The conformant container accounts for the space taken by the indicator, virtual keyboard, and softkey windows. The content area of the conformant is resized and positioned based on the space available. For more information, see the Conformant API (in mobile [1] and wearable [2] applications).
Figure: Conformant component structure
Basic Usage
To build a layout with a conformant:
- Add a conformant with the
elm_conformant_add()
function:Evas_Object *conformant; conformant = elm_conformant_add(parent);
- Add an object to the conformant with the
elm_object_content_set()
function:
Evas_Object *main_view; elm_object_content_set(conformant, main_view);
Callbacks
You can register callback functions connected to the following signals for a conformant object.
Table: Conformant callback signals
Signal | Description | event_info |
---|---|---|
virtualkeypad,state,on |
The virtual keyboard has been switched on. | NULL |
virtualkeypad,state,off |
The virtual keyboard has been switched off. | NULL |
virtualkeypad,size,changed |
The virtual keyboard size has changed. | NULL |
clipboard,state,on |
The clipboard has been switched on. | NULL |
clipboard,state,off |
The clipboard has been switched off. | NULL |