forked from enlightenment/efl
103 lines
3.2 KiB
Plaintext
103 lines
3.2 KiB
Plaintext
class Elm.Notify (Elm.Widget, Efl.Container, Efl.Part)
|
|
{
|
|
[[Elementary notification class]]
|
|
legacy_prefix: elm_notify;
|
|
eo_prefix: elm_obj_notify;
|
|
event_prefix: elm_notify;
|
|
methods {
|
|
@property align {
|
|
set {
|
|
[[Set the alignment of the notify object
|
|
|
|
Sets the alignment in which the notify will appear in its parent.
|
|
|
|
Note: To fill the notify box in the parent area, please pass the
|
|
ELM_NOTIFY_ALIGN_FILL to horizontal and vertical.
|
|
|
|
@since 1.8
|
|
]]
|
|
}
|
|
get {
|
|
[[Get the alignment of the notify object
|
|
|
|
@since 1.8
|
|
]]
|
|
}
|
|
values {
|
|
horizontal: double; [[The horizontal alignment of the notification]]
|
|
vertical: double; [[The vertical alignment of the notification]]
|
|
}
|
|
}
|
|
@property allow_events {
|
|
set {
|
|
[[Sets 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.
|
|
]]
|
|
}
|
|
get {
|
|
[[Return true if events are allowed below the notify object.]]
|
|
}
|
|
values {
|
|
allow: bool; [[$true if events are allowed, $false otherwise]]
|
|
}
|
|
}
|
|
@property timeout {
|
|
set {
|
|
[[Set 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 notify is hidden. Since calling 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.
|
|
]]
|
|
}
|
|
get {
|
|
[[Return the timeout value (in seconds)]]
|
|
}
|
|
values {
|
|
timeout: double; [[The timeout in seconds]]
|
|
}
|
|
}
|
|
dismiss {
|
|
[[Dismiss a notify object.
|
|
@since 1.17
|
|
]]
|
|
}
|
|
}
|
|
implements {
|
|
class.constructor;
|
|
Efl.Object.constructor;
|
|
Efl.Gfx.visible { set; }
|
|
Efl.Gfx.position { set; }
|
|
Efl.Gfx.size { set; }
|
|
Elm.Widget.focus_direction;
|
|
Elm.Widget.widget_parent { get; set; }
|
|
Elm.Widget.theme_apply;
|
|
Elm.Widget.focus_direction_manager_is;
|
|
Elm.Widget.focus_next_manager_is;
|
|
Elm.Widget.focus_next;
|
|
Elm.Widget.widget_sub_object_del;
|
|
Efl.Container.content { get; set; }
|
|
Efl.Container.content_unset;
|
|
Efl.Part.part;
|
|
}
|
|
events {
|
|
block,clicked; [[Called when block was clicked]]
|
|
timeout; [[Called when notify timed out]]
|
|
dismissed; [[Called when notify was dismissed]]
|
|
}
|
|
}
|