Added method to get all tabs of the TabWidget
This commit is contained in:
parent
51ede47c5a
commit
6f5581ac50
1 changed files with 4 additions and 0 deletions
|
@ -125,6 +125,10 @@ gui.widgets.TabWidget = {
|
|||
return me._tabs[id];
|
||||
},
|
||||
|
||||
getTabs: func {
|
||||
return me._tabs;
|
||||
},
|
||||
|
||||
addTab: func(id, label, widget) {
|
||||
if (me.hasTab(id)) {
|
||||
die("cannot add multiple tabs with the same id: " ~ id);
|
||||
|
|
Loading…
Add table
Reference in a new issue