2019-02-14 08:37:02 -08:00
|
|
|
interface @beta Efl.Ui.Menu {
|
2016-11-30 02:01:39 -08:00
|
|
|
[[Efl UI menu interface]]
|
2016-11-29 23:18:46 -08:00
|
|
|
methods {
|
|
|
|
@property selected_item {
|
|
|
|
get {
|
|
|
|
[[Get the selected item in the widget.]]
|
2016-11-30 00:12:43 -08:00
|
|
|
}
|
|
|
|
values {
|
|
|
|
item: Efl.Ui.Item; [[The selected item or $null.]]
|
2016-11-29 23:18:46 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@property first_item {
|
|
|
|
get {
|
|
|
|
[[Get the first item in the widget.]]
|
2016-11-30 00:12:43 -08:00
|
|
|
}
|
|
|
|
values {
|
|
|
|
item: Efl.Ui.Item; [[The first item or $null.]]
|
2016-11-29 23:18:46 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@property last_item {
|
|
|
|
get {
|
|
|
|
[[Get the last item in the widget.]]
|
2016-11-30 00:12:43 -08:00
|
|
|
}
|
|
|
|
values {
|
|
|
|
item: Efl.Ui.Item; [[The last item or $null.]]
|
2016-11-29 23:18:46 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@property items {
|
|
|
|
get {
|
|
|
|
[[Returns a list of the widget item.]]
|
2017-09-15 07:57:44 -07:00
|
|
|
return: iterator<Efl.Ui.Item> @owned @warn_unused; [[Iterator to widget items]]
|
2016-11-29 23:18:46 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|