efl/src/lib/elementary/efl_ui_popup_alert.eo

38 lines
1011 B
Plaintext

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]]
}
}