2 * @defgroup Conformant Conformant
5 * @image html img/widget/conformant/preview-00.png
6 * @image latex img/widget/conformant/preview-00.eps width=\textwidth
8 * @image html img/conformant.png
9 * @image latex img/conformant.eps width=\textwidth
11 * The aim is to provide a widget that can be used in elementary apps to
12 * account for space taken up by the indicator, virtual keypad & softkey
13 * windows when running the illume2 module of E17.
15 * So conformant content will be sized and positioned considering the
16 * space required for such stuff, and when they popup, as a keyboard
17 * shows when an entry is selected, conformant content won't change.
19 * Available styles for it:
22 * Default contents parts of the conformant widget that you can use for are:
23 * @li "default" - A content of the conformant
25 * See how to use this widget in this example:
26 * @ref conformant_example
30 * @addtogroup Conformant
35 * Add a new conformant widget to the given parent Elementary
38 * @param parent The parent object.
39 * @return A new conformant widget handle or @c NULL, on errors.
41 * This function inserts a new conformant widget on the canvas.
45 EAPI Evas_Object *elm_conformant_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
48 * Set the content of the conformant widget.
50 * @param obj The conformant object.
51 * @param content The content to be displayed by the conformant.
53 * Content will be sized and positioned considering the space required
54 * to display a virtual keyboard. So it won't fill all the conformant
55 * size. This way is possible to be sure that content won't resize
56 * or be re-positioned after the keyboard is displayed.
58 * Once the content object is set, a previously set one will be deleted.
59 * If you want to keep that old content object, use the
60 * elm_object_content_unset() function.
62 * @see elm_object_content_unset()
63 * @see elm_object_content_get()
65 * @deprecated use elm_object_content_set() instead
69 EINA_DEPRECATED EAPI void elm_conformant_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
72 * Get the content of the conformant widget.
74 * @param obj The conformant object.
75 * @return The content that is being used.
77 * Return the content object which is set for this widget.
78 * It won't be unparent from conformant. For that, use
79 * elm_object_content_unset().
81 * @see elm_object_content_set().
82 * @see elm_object_content_unset()
84 * @deprecated use elm_object_content_get() instead
88 EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
91 * Unset the content of the conformant widget.
93 * @param obj The conformant object.
94 * @return The content that was being used.
96 * Unparent and return the content object which was set for this widget.
98 * @see elm_object_content_set().
100 * @deprecated use elm_object_content_unset() instead
102 * @ingroup Conformant
104 EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
107 * Returns the Evas_Object that represents the content area.
109 * @param obj The conformant object.
110 * @return The content area of the widget.
112 * @ingroup Conformant
114 EAPI Evas_Object *elm_conformant_content_area_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);