efl_ui/alert_popup: More documentation nitpicks

This commit is contained in:
Xavi Artigas 2019-09-10 17:14:33 +02:00
parent 6d49eb7cc2
commit e0ad216aee
1 changed files with 7 additions and 6 deletions

View File

@ -1,13 +1,13 @@
enum @beta Efl.Ui.Alert_Popup_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"]]
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. "More information".]]
}
struct @beta Efl.Ui.Alert_Popup_Button_Clicked_Event {
[[Information for @[Efl.Ui.Alert_Popup.button,clicked] event.]]
button_type: Efl.Ui.Alert_Popup_Button; [[Clicked button type]]
button_type: Efl.Ui.Alert_Popup_Button; [[Clicked button type.]]
}
class @beta Efl.Ui.Alert_Popup extends Efl.Ui.Popup
@ -29,12 +29,13 @@ class @beta Efl.Ui.Alert_Popup extends Efl.Ui.Popup
Exactly one button may exist for each @Efl.Ui.Alert_Popup_Button type. Repeated calls to
set values for the same button type will overwrite previous values.
By default, no buttons are created.
By default, no buttons are created. Once a button is added to the Popup using this property
it cannot be removed.
]]
set {
}
keys {
type: Efl.Ui.Alert_Popup_Button; [[Alert_Popup button type]]
type: Efl.Ui.Alert_Popup_Button; [[Alert_Popup button type.]]
}
values {
text: string; [[Text of the specified button type.]]