efl/src/lib/elementary/efl_ui_popup_alert.eo

38 lines
1011 B
Plaintext
Raw Normal View History

2017-12-04 18:19:34 -08:00
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]]
2017-12-04 18:19:34 -08:00
button_type: Efl.Ui.Popup_Alert.Button; [[Clicked button type]]
}
2017-12-04 18:19:34 -08:00
class Efl.Ui.Popup_Alert(Efl.Ui.Popup)
{
[[EFL UI Popup Alert class]]
methods {
@property button {
set {
[[Set popup buttons.]]
}
keys {
2017-12-04 18:19:34 -08:00
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]]
}
}