Add warnings to methods that give access to internal nodes
This commit is contained in:
@ -22,12 +22,14 @@
|
||||
<return type="HScrollBar" />
|
||||
<description>
|
||||
Returns the horizontal scrollbar [HScrollBar] of this [ScrollContainer].
|
||||
[b]Warning:[/b] This is a required internal node, removing and freeing it may cause a crash. If you wish to disable the horizontal scrollbar, use [member scroll_horizontal_enabled]. If you want to only hide it instead, use [member scroll_horizontal_visible].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_v_scrollbar">
|
||||
<return type="VScrollBar" />
|
||||
<description>
|
||||
Returns the vertical scrollbar [VScrollBar] of this [ScrollContainer].
|
||||
[b]Warning:[/b] This is a required internal node, removing and freeing it may cause a crash. If you wish to disable the vertical scrollbar, use [member scroll_vertical_enabled]. If you want to only hide it instead, use [member scroll_vertical_visible].
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
|
||||
Reference in New Issue
Block a user