efl/src/lib/elementary/efl_ui_popup_alert.eo

41 lines
845 B
Plaintext
Raw Normal View History

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 title {
set {
[[Set the title of popup.]]
}
get {
[[Get the title of popup.]]
}
values {
text: string;
}
}
@property button {
set {
[[Set popup buttons.]]
}
keys {
type: Efl.Ui.Popup.Alert.Button;
}
values {
text: string;
}
}
}
implements {
class.constructor;
}
events {
clicked;
}
}