Tizen Native API
|
Functions | |
Evas_Object * | elm_win_inwin_add (Evas_Object *parent) |
Adds an inwin to the current window. | |
void | elm_win_inwin_activate (Evas_Object *obj) |
Activates an inwin object, ensuring its visibility. | |
void | elm_win_inwin_content_set (Evas_Object *obj, Evas_Object *content) |
Sets the content of an inwin object. | |
Evas_Object * | elm_win_inwin_content_get (const Evas_Object *obj) |
Gets the content of an inwin object. | |
Evas_Object * | elm_win_inwin_content_unset (Evas_Object *obj) |
Unsets the content of an inwin object. |
An inwin is a window inside a window that is useful for a quick popup. It does not hover.
It works by creating an object that occupies the entire window, so it must be created using an elm_win as the parent only. The inwin object can be hidden or restacked below every other object if it's needed to show what's behind it without destroying it. If this is done, the elm_win_inwin_activate() function can be used to bring it back to full visibility again.
There are three styles available in the default theme. These are:
This widget inherits from the Layout one, so that all the functions acting on it also work for inner windown objects. It also emits the signals inherited from Layout.
void elm_win_inwin_activate | ( | Evas_Object * | obj | ) |
Activates an inwin object, ensuring its visibility.
This function makes sure that the inwin obj is completely visible by calling evas_object_show() and evas_object_raise() on it, to bring it to the front. It also sets the keyboard focus to it, which is passed onto its content.
[in] | obj | The inwin to activate |
Evas_Object* elm_win_inwin_add | ( | Evas_Object * | parent | ) |
Adds an inwin to the current window.
[in] | parent | The parent object |
NULL
if it cannot be created Evas_Object* elm_win_inwin_content_get | ( | const Evas_Object * | obj | ) |
Gets the content of an inwin object.
This returns the content object for this widget.
[in] | obj | The inwin object |
void elm_win_inwin_content_set | ( | Evas_Object * | obj, |
Evas_Object * | content | ||
) |
Sets the content of an inwin object.
[in] | obj | The inwin object |
[in] | content | The object to set as content |
Unsets the content of an inwin object.
This unparents and returns the content object that is set for this widget.
[in] | obj | The inwin object |