38 lines
990 B
Plaintext
38 lines
990 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.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 {
|
|
clicked: Efl.Ui.Popup.Alert.Clicked_Event; [[Called when alert popup was clicked]]
|
|
}
|
|
}
|