summaryrefslogtreecommitdiffstats
path: root/scene/gui/tab_container.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-09-24 23:30:56 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-09-24 23:30:56 +0200
commit42fb795eb8bac1b010de55cab73608e7c1fc7345 (patch)
tree3a65d3dc3da6633ee53db991e9df1098fdc5facb /scene/gui/tab_container.h
parent98747a9040e8665d0c1f5595558a7a90f6effff4 (diff)
parent408a08f2c1f0c5701f7083fcbdfdf58375d09c05 (diff)
downloadredot-engine-42fb795eb8bac1b010de55cab73608e7c1fc7345.tar.gz
Merge pull request #80227 from raulsntos/get_tab_bar
Expose the `TabBar` of a `TabContainer`
Diffstat (limited to 'scene/gui/tab_container.h')
-rw-r--r--scene/gui/tab_container.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/tab_container.h b/scene/gui/tab_container.h
index 2bcc640d05..9919565f1e 100644
--- a/scene/gui/tab_container.h
+++ b/scene/gui/tab_container.h
@@ -111,6 +111,8 @@ protected:
static void _bind_methods();
public:
+ TabBar *get_tab_bar() const;
+
int get_tab_idx_at_point(const Point2 &p_point) const;
int get_tab_idx_from_control(Control *p_child) const;