aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_popup_alert.eo
blob: 27c9cc38284aeb5dd87ba57d2809da69140b9fde (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
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 button {
         set {
            [[Set popup buttons.]]
         }
         keys {
            type: Efl.Ui.Popup.Alert.Button;
         }
         values {
            text: string;
         }
      }
   }
   implements {
      class.constructor;
      Efl.Part.part;
   }
   events {
      clicked;
   }
}