summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authornobuyuki_nyuu <nobuyuki.nyuu@gmail.com>2021-08-23 23:14:07 -0500
committernobuyuki_nyuu <nobuyuki.nyuu@gmail.com>2021-08-29 09:10:44 -0500
commit65d83cc99b89856eeb01ee132b930fb59dda4597 (patch)
treef859f4c46b28ec3e28249b7eeed3951a88578e10 /doc/classes
parent13bd020a23008cd4e51be21865c620e12e3b3ded (diff)
Bind TabContainer::get_tab_idx_at_point() to ClassDB
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/TabContainer.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/TabContainer.xml b/doc/classes/TabContainer.xml
index fbda005865..77bd7b1a0a 100644
--- a/doc/classes/TabContainer.xml
+++ b/doc/classes/TabContainer.xml
@@ -57,6 +57,13 @@
Returns the [Texture2D] for the tab at index [code]tab_idx[/code] or [code]null[/code] if the tab has no [Texture2D].
</description>
</method>
+ <method name="get_tab_idx_at_point" qualifiers="const">
+ <return type="int" />
+ <argument index="0" name="point" type="Vector2" />
+ <description>
+ Returns the index of the tab at local coordinates [code]point[/code]. Returns [code]-1[/code] if the point is outside the control boundaries or if there's no tab at the queried position.
+ </description>
+ </method>
<method name="get_tab_title" qualifiers="const">
<return type="String" />
<argument index="0" name="tab_idx" type="int" />