|
|
@@ -107,6 +107,14 @@
|
|
|
[b]Note:[/b] This method will not be called when the script is attached to a [Control] node that already overrides its minimum size (e.g. [Label], [Button], [PanelContainer] etc.). It can only be used with most basic GUI nodes, like [Control], [Container], [Panel] etc.
|
|
|
</description>
|
|
|
</method>
|
|
|
+ <method name="_get_tooltip" qualifiers="virtual const">
|
|
|
+ <return type="String" />
|
|
|
+ <param index="0" name="at_position" type="Vector2" />
|
|
|
+ <description>
|
|
|
+ Virtual method to be implemented by the user. Returns the tooltip text for the position [param at_position] in control's local coordinates, which will typically appear when the cursor is resting over this control. See [method get_tooltip].
|
|
|
+ [b]Note:[/b] If this method returns an empty [String], no tooltip is displayed.
|
|
|
+ </description>
|
|
|
+ </method>
|
|
|
<method name="_gui_input" qualifiers="virtual">
|
|
|
<return type="void" />
|
|
|
<param index="0" name="event" type="InputEvent" />
|
|
|
@@ -532,8 +540,9 @@
|
|
|
<return type="String" />
|
|
|
<param index="0" name="at_position" type="Vector2" default="Vector2(0, 0)" />
|
|
|
<description>
|
|
|
- Returns the tooltip text [param at_position] in local coordinates, which will typically appear when the cursor is resting over this control. By default, it returns [member tooltip_text].
|
|
|
- [b]Note:[/b] This method can be overridden to customize its behavior. If this method returns an empty [String], no tooltip is displayed.
|
|
|
+ Returns the tooltip text for the position [param at_position] in control's local coordinates, which will typically appear when the cursor is resting over this control. By default, it returns [member tooltip_text].
|
|
|
+ This method can be overridden to customize its behavior. See [method _get_tooltip].
|
|
|
+ [b]Note:[/b] If this method returns an empty [String], no tooltip is displayed.
|
|
|
</description>
|
|
|
</method>
|
|
|
<method name="grab_click_focus">
|