Display a container in a particular region of the parent(top, bottom, etc).
A timeout can be set to automatically hide the notify widget. This is so that, after an evas_object_show() on a notify object, if a timeout is set on it, it automatically gets hidden after that time.
Signals that you can add callbacks for are:
- "timeout" - When timeout happens on a notification and it's hidden.
- "block,clicked" - When a click outside of the notification happens.
The functions meant to act on it work for mapbuf objects:
The default content parts of the notify widget that you can use are:
"default"
- The main content of the notify widget.
Define Documentation
Function Documentation
Adds a new notify widget to the parent.
- Since :
- 2.3
- Parameters:
-
[in] | parent | The parent object |
- Returns:
- The new object, otherwise
NULL
if it cannot be created
Gets the alignment of the notify object.
- Since (EFL) :
- 1.8
- Since :
- 2.3
- Parameters:
-
[in] | obj | The notify object |
[out] | horizontal | The horizontal alignment of the notification |
[out] | vertical | The vertical alignment of the notification |
- See also:
- elm_notify_align_set()
Sets the alignment of the notify object.
This sets the alignment in which the notify appears in its parent.
- Since (EFL) :
- 1.8
- Since :
- 2.3
- Parameters:
-
[in] | obj | The notify object |
[in] | horizontal | The horizontal alignment of the notification |
[in] | vertical | The vertical alignment of the notification |
Sets whether events should be passed by a click outside its area.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The notify object |
[in] | allow | If EINA_TRUE events are allowed, otherwise EINA_FALSE if they are not |
Dismiss a notify object.
- Since :
- 2.3.1
- Parameters:
-
Use this function to dismiss the notify with hide effect. when the notify is dismissed, the "dismissed" signal will be emitted.
Sets the notify parent.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The notify object |
[in] | parent | The new parent |
Gets the timeout value (in seconds).
- Since :
- 2.3
- Parameters:
-
- Returns:
- The timeout in seconds
- See also:
- elm_notify_timeout_set()
Sets the time interval after which the notify window is going to be hidden.
This function sets a timeout and starts the timer controlling when the notification is hidden. Since calling evas_object_show() on a notification restarts the timer controlling when the notification is hidden, setting this before the notification is shown means starting the timer when the notification is shown.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The notify object |
[in] | timeout | The timeout in seconds |