YuiRestClient::Widget::Tab - Class representing a tab in the UI. It can be YDumbTab.
Copyright 2021 SUSE LLC
SPDX-License-Identifier: FSFAP
QE Yam <qe-yam at suse de>
$self->{tab_cwm}->select("Kernel Settings");
return $self->{tb_boot_options}->selected_tab();
A class to handle a tab.
{
"class": "YDumbTab",
"debug_label": "YDumbTab [tab1] [tab2] [tab3]",
"hstretch": true,
"icon_base_path": "",
"id": "test_id",
"items": [
{
"label": "tab1"
},
{
"label": "tab2",
"selected": true
},
{
"label": "tab3"
}
],
"items_count": 3,
"vstretch": true
}
select($item) - sends an action to click the tab in the UI
selected_tab() - returns the label of the selected tab