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 The Elementary 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.
void elm_notify::align_get |
( |
double * |
horizontal_, |
|
|
double * |
vertical_ |
|
) |
| const |
|
inline |
Get the alignment of the notify object.
- See also
- elm_notify_align_set()
- Since
- 1.8
- Parameters
-
horizontal | The horizontal alignment of the notification |
vertical | The vertical alignment of the notification |
void elm_notify::align_set |
( |
double |
horizontal_, |
|
|
double |
vertical_ |
|
) |
| const |
|
inline |
Get the alignment of the notify object.
- See also
- elm_notify_align_set()
- Since
- 1.8
- Parameters
-
horizontal | The horizontal alignment of the notification |
vertical | The vertical alignment of the notification |
bool elm_notify::allow_events_get |
( |
| ) |
const |
|
inline |
Return true if events are allowed below the notify object.
- See also
- elm_notify_allow_events_set()
- Parameters
-
allow | EINA_TRUE If events are allowed, otherwise not |
void elm_notify::allow_events_set |
( |
bool |
allow_ | ) |
const |
|
inline |
Return true if events are allowed below the notify object.
- See also
- elm_notify_allow_events_set()
- Parameters
-
allow | EINA_TRUE If events are allowed, otherwise not |
Evas_Object* elm_notify_add |
( |
Evas_Object * |
parent | ) |
|
Add a new notify to the parent.
- Parameters
-
- Returns
- The new object or NULL if it cannot be created
Evas_Object* elm_notify_parent_get |
( |
const Evas_Object * |
obj | ) |
|
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.
double elm_notify::timeout_get |
( |
| ) |
const |
|
inline |
Return the timeout value (in seconds)
- See also
- elm_notify_timeout_set()
- Parameters
-
timeout | The timeout in seconds |
void elm_notify::timeout_set |
( |
double |
timeout_ | ) |
const |
|
inline |
Return the timeout value (in seconds)
- See also
- elm_notify_timeout_set()
- Parameters
-
timeout | The timeout in seconds |