summaryrefslogtreecommitdiff
path: root/src/lib/elm_notify.eo
blob: 5361fa59d63f03fd00e5177363d5379e5be1f053 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
class Elm.Notify (Elm.Container)
{
   eo_prefix: elm_obj_notify;
   methods {
      @property align {
         set {
            /*@
            @brief 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 @p horizontal, @p vertical.

            @since 1.8
            @ingroup Notify */
         }
         get {
            /*@
            @brief Get the alignment of the notify object
            @see elm_notify_align_set()

            @since 1.8
            @ingroup Notify */
         }
         values {
            double horizontal; /*@ The horizontal alignment of the notification */
            double vertical; /*@ The vertical alignment of the notification */
         }
      }
      @property allow_events {
         set {
            /*@
            @brief 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 EINA_TRUE.

            @ingroup Notify */
         }
         get {
            /*@
            @brief Return true if events are allowed below the notify object
            @see elm_notify_allow_events_set()

            @ingroup Notify */
         }
         values {
            bool allow; /*@ EINA_TRUE If events are allowed, otherwise not */
         }
      }
      @property timeout {
         set {
            /*@
            @brief 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.

            @ingroup Notify */
         }
         get {
            /*@
            @brief Return the timeout value (in seconds)
            @see elm_notify_timeout_set()

            @ingroup Notify */
         }
         values {
            double timeout; /*@ The timeout in seconds */
         }
      }
   }
   implements {
      class.constructor;
      Eo.Base.constructor;
      Evas.Object_Smart.hide;
      Evas.Object_Smart.show;
      Evas.Object_Smart.move;
      Evas.Object_Smart.add;
      Evas.Object_Smart.del;
      Evas.Object_Smart.resize;
      Elm.Widget.focus_direction;
      Elm.Widget.parent;
      Elm.Widget.theme_apply;
      Elm.Widget.focus_direction_manager_is;
      Elm.Widget.focus_next_manager_is;
      Elm.Widget.focus_next;
      Elm.Widget.sub_object_del;
      Elm.Widget.part_text.set;
      Elm.Widget.part_text.get;
      Elm.Container.content_get;
      Elm.Container.content_set;
      Elm.Container.content_unset;
   }
   events {
      block,clicked;
      timeout;
   }

}