summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_popup_alert.eo
blob: 344eb8c1068c18d18f7554150aa9a4e199d04b4d (plain)
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
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"]]
}

struct Efl.Ui.Popup_Alert.Button.Clicked_Event {
   [[Information of clicked event]]
   button_type: Efl.Ui.Popup_Alert.Button; [[Clicked button type]]
}

class Efl.Ui.Popup_Alert(Efl.Ui.Popup)
{
   [[EFL UI Popup Alert class]]
   methods {
      @property button {
         set {
            [[Set popup buttons.]]
         }
         keys {
            type: Efl.Ui.Popup_Alert.Button; [[Alert popup button type]]
         }
         values {
            text: string; [[Alert string on button]]
         }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
      Efl.Part.part;
   }
   events {
      button,clicked: Efl.Ui.Popup_Alert.Button.Clicked_Event; [[Called when alert popup was clicked]]
   }
}