mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Bind TabContainer::get_tab_idx_at_point() to ClassDB
This commit is contained in:
@@ -57,6 +57,13 @@
|
||||
Returns the [Texture] for the tab at index [code]tab_idx[/code] or [code]null[/code] if the tab has no [Texture].
|
||||
</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" />
|
||||
|
||||
Reference in New Issue
Block a user