YuiRestClient::Widget::MenuCollection - handle YMenuButton, YMenuBar
Copyright 2020 SUSE LLC
SPDX-License-Identifier: FSFAP
QE Yam <qe-yam at suse de>
$self->{menu_btn_add}->select('&From List');
Selects menu items by using their menu path description.
{
"class": "YMenuButton",
"debug_label": "test",
"icon_base_path": "",
"id": "test_id",
"items": [
{
"label": "button1"
},
{
"label": "button2"
},
{
"label": "button3"
}
],
"items_count": 3,
"label": "button group"
}
select($path) - select menu item specified by path
Path descriptions can be strings like '&From List' or '&File|Open File...' for nested menu items.