mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Reference the BaseButton class explicitly in button class documentations
Users are sometimes confused as to the `pressed` property not being visible in the Button class documentation. This is because `pressed` is defined in BaseButton.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<description>
|
||||
Special button that brings up a [PopupMenu] when clicked.
|
||||
New items can be created inside this [PopupMenu] using [code]get_popup().add_item("My Item Name")[/code]. You can also create them directly from the editor. To do so, select the [MenuButton] node, then in the toolbar at the top of the 2D editor, click [b]Items[/b] then click [b]Add[/b] in the popup. You will be able to give each items new properties.
|
||||
See also [BaseButton] which contains common properties and methods associated with this node.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
|
||||
Reference in New Issue
Block a user