2017-08-22 23:50:18 -07: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"]]
|
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
2017-10-24 05:29:15 -07:00
|
|
|
Efl.Object.constructor;
|
|
|
|
Efl.Object.destructor;
|
2017-10-24 04:13:04 -07:00
|
|
|
Efl.Part.part;
|
2017-08-22 23:50:18 -07:00
|
|
|
}
|
|
|
|
events {
|
|
|
|
clicked;
|
|
|
|
}
|
|
|
|
}
|