diff options
author | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-09-07 11:09:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 11:09:35 +0200 |
commit | 88c3e3180a52b2460429dfc031555392394fd97d (patch) | |
tree | c6005f79ba72a18610a9ec0435ef2c10eda36889 /doc | |
parent | 29bdd000f0e59b8076929f7f05f06059d3d16fef (diff) | |
parent | 65d83cc99b89856eeb01ee132b930fb59dda4597 (diff) |
Merge pull request #52050 from nobuyukinyuu/bind-get-tab-idx-at-point-40
Bind TabContainer::get_tab_idx_at_point() to ClassDB
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/TabContainer.xml | 7 |
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" /> |