summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabbedarea.h')
-rw-r--r--src/gui/widgets/tabbedarea.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h
index dffbd36b..b4fc1ded 100644
--- a/src/gui/widgets/tabbedarea.h
+++ b/src/gui/widgets/tabbedarea.h
@@ -87,6 +87,11 @@ class TabbedArea : public gcn::TabbedArea
int getContainerHeight() { return mWidgetContainer->getHeight(); }
+ void setSelectedTab(unsigned int index)
+ { gcn::TabbedArea::setSelectedTab(index); }
+
+ void setSelectedTab(gcn::Tab *tab);
+
private:
typedef std::vector< std::pair<gcn::Tab*, gcn::Widget*> > TabContainer;
};