Table Of Contents

Previous topic

need Module

Next topic

object Module

notify Module

../_images/notify-preview.png

Widget description

Display a container in a particular region of the parent.

A timeout can be set to automatically hide the notify. This is so that, after an 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

Default content parts of the notify widget that you can use are:

  • "default" - The main content of the notify

Enumerations

ELM_NOTIFY_ALIGN_FILL

efl.elementary.notify.ELM_NOTIFY_ALIGN_FILL

Use with Notify.align

New in version 1.8.

class efl.elementary.notify.Notify

Bases: efl.elementary.object.Object

This is the class that actually implement the widget.

align

Set the alignment of the notify object

Type :(float horizontal, float vertical)

Sets the alignment in which the notify will appear in its parent.

Note

To fill the notify box in the parent area, please pass ELM_NOTIFY_ALIGN_FILL to horizontal, vertical.

New in version 1.8.

allow_events

Whether events should be passed to by a click outside its area.

When True if the user clicks outside the window the events will be caught by the others widgets, else the events are blocked.

Note

The default value is True.

Type :bool
callback_block_clicked_add()

When a click outside of the notify happens.

callback_timeout_add()

When timeout happens on notify and it’s hidden.

orient_get() → int

Deprecated since version 1.8: Use align instead.

orient_set(int orient)

Deprecated since version 1.8: Use align instead.

parent

The notify parent.

Once the parent object is set, a previously set one will be disconnected and replaced.

Type :Object
timeout

The time interval after which the notify window is going to be hidden.

Setting this starts the timer controlling when the notify is hidden. Since calling efl.evas.Object.show() on a notify restarts the timer controlling when the notify is hidden, setting this before the notify is shown will in effect mean starting the timer when the notify is shown.

Note

Set a value <= 0.0 to disable a running timer.

Note

If the value > 0.0 and the notify is previously visible, the timer will be started with this value, canceling any running timer.

Type :float