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

class Efl.Ui.Popup(Efl.Ui.Layout)
{
   methods {
      bg_set {
         params {
            @in file: string; [[The image file path.]]
            @in group: string; [[The image key in $file (if its an Eet one), or
                                 $null, otherwise.]]
         }
      }
      @property bg_repeat_events {
         set {
            [[Sets whether events should be passed to by a click outside.

              Note: The default value is $false.
            ]]
         }
         get {
            [[Returns value indicating whether bg repeat events is enabled or not.]]
         }
         values {
            repeat: bool; [[If $true, events are passed to lower objects.]]
         }
      }
      @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;
         }
      }
   }
   implements {
      class.constructor;
      Efl.Gfx.position { set; }
      Efl.Gfx.visible { set; }
      Elm.Widget.widget_parent { set; }
      Efl.Container.content { get; set; }
      Efl.Container.content_unset;
   }
   events {
      bg,clicked; [[This is called whenever the user click background of popup.]]
   }
}