aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_popup.eo
blob: 48407fff7e44f072dedf09c3aa9312d6e335a4c3 (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
enum Efl.Ui.Popup.Align {
    none = 0,
    center,
    left,
    right,
    top,
    bottom
}

class Efl.Ui.Popup(Efl.Ui.Layout)
{
   methods {
      @property align {
         set {
            [[ Set the popup alignment.]]
         }
         get {
            [[ Get the current popup alignment.]]
         }
         values {
             type: Efl.Ui.Popup.Align;
         }
      }
      @property timeout {
         set {
            [[ Set the timeout seconds.
               After timeout seconds, popup will be deleted automatically.
            ]]
         }
         get {
            [[ Get the currently set timeout seconds.]]
         }
         values {
             time: double;
         }
      }
   }
   parts {
      backwall: Efl.Ui.Popup.Part; [[A backwall behind the popup.]]
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
      Efl.Gfx.position { set; }
      Efl.Gfx.visible { set; }
      Elm.Widget.widget_parent { set; }
      Efl.Container.content { get; set; }
      Efl.Container.content_unset;
      Efl.Part.part;
   }
   events {
      backwall,clicked; [[This is called whenever the user clicks back wall of popup.]]
      timeout; [[This is called when popup times out.]]
   }
}