Tizen Native API
5.5
|


Display a container in a particular region of the parent(top, bottom, etc). A timeout can be set to automatically hide the notify. This is so that, after an evas_object_show() on a notify object, if a timeout was set on it, it will automatically get hidden after that time.
Signals that you can add callbacks for are:
- "timeout" - when timeout happens on notify and it's hidden
- "block,clicked" - when a click outside of the notify happens
This widget inherits from elm-container-class, so that the functions meant to act on it will wor work for mapbuf objects:
Default content parts of the notify widget that you can use are:
"default"
- The main content of the notify
Notify example show usage of the API.
Functions | |
Evas_Object * | elm_notify_add (Evas_Object *parent) |
Add a new notify to the parent. | |
void | elm_notify_parent_set (Evas_Object *obj, Evas_Object *parent) |
Set the notify parent. | |
Evas_Object * | elm_notify_parent_get (const Evas_Object *obj) |
Get the notify parent. |
Function Documentation
Evas_Object* elm_notify_add | ( | Evas_Object * | parent | ) |
Add a new notify to the parent.
- Parameters:
-
parent The parent object
- Returns:
- The new object or NULL if it cannot be created
- Since :
- 2.3
- Examples:
- notify_example_01.c, prefs_example_01.c, prefs_example_02.c, slideshow_example.c, and win_example.c.
Evas_Object* elm_notify_parent_get | ( | const Evas_Object * | obj | ) |
Get the notify parent.
- Parameters:
-
obj The notify object
- Returns:
- The parent
- See also:
- elm_notify_parent_set()
- Since :
- 2.3
void elm_notify_parent_set | ( | Evas_Object * | obj, |
Evas_Object * | parent | ||
) |
Set the notify parent.
- Parameters:
-
obj The notify object parent The new parent
Once the parent object is set, a previously set one will be disconnected and replaced.
- Since :
- 2.3