Notify

- Main Page
- Related Pages
- Data Structures
- Files
- Examples

Functions
Notify

## Functions
Evas_Object * | elm_notify_add (Evas_Object *parent)
| Add a new notify to the parent. More...
void | elm_notify_parent_set (Evas_Object *obj, Evas_Object *parent)
| Set the notify parent. More...
Evas_Object * | elm_notify_parent_get (const Evas_Object *obj)
| Get the notify parent. More...

## Detailed Description

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:

- elm_object_part_content_set
- elm_object_part_content_get
- elm_object_part_content_unset

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.

## 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

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()

References elm_layout_add().

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.