Tizen Native API  7.0
Conformant

conformant_inheritance_tree.png
conformant.png

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 be NULL.

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_Objectelm_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

Add a new conformant widget to the given parent Elementary (container) object.

Parameters:
parentThe 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.1
Examples:
conformant_example_02.c.

Gets the conformant input area resize disabled or not.

Parameters:
objThe elm_conformant object.
Returns:
true confomant resize disabled, otherwise false.
See also:
elm_conformant_input_area_resize_disabled_set()
Since :
6.0

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:
objThe elm_conformant object.
disabletrue disable conformant resize, otherwise false.
See also:
elm_conformant_input_area_resize_disabled_get()
Since :
6.0