aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_popup_alert.eo
blob: 8ac37993a7b265e7c7c9b7df10fe11b2a42c7bab (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
enum Efl.Ui.Popup.Alert.Button {
   [[Defines the type of the alert button.]]
   positive = 0, [[Button having positive meaning. e.g. "Yes"]]
   negative, [[Button having negative meaning. e.g. "No"]]
   user [[Button having user-defined meaning. e.g. "Cancel"]]
}

class Efl.Ui.Popup.Alert(Efl.Ui.Popup)
{
   methods {
      @property title {
         set {
            [[Set the title of popup.]]
         }
         get {
            [[Get the title of popup.]]
         }
         values {
            text: string;
         }
      }
      @property button {
         set {
            [[Set popup buttons.]]
         }
         keys {
            type: Efl.Ui.Popup.Alert.Button;
         }
         values {
            text: string;
         }
      }
   }
   implements {
      class.constructor;
   }
   events {
      clicked;
   }
}