1
0
Fork 0

Added method to get all tabs of the TabWidget

This commit is contained in:
TheFGFSEagle 2023-02-03 22:49:24 +01:00 committed by James Turner
parent 51ede47c5a
commit 6f5581ac50

View file

@ -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);