mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
doc: Remove setters and getters now exposed via properties/members
This commit is contained in:
@@ -27,19 +27,6 @@
|
||||
Called when button is toggled (only if toggle_mode is active).
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_action_mode" qualifiers="const">
|
||||
<return type="int" enum="BaseButton.ActionMode">
|
||||
</return>
|
||||
<description>
|
||||
Return the current mode of action (see [method set_action_mode]) (one of the ACTION_MODE_* constants).
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_button_group" qualifiers="const">
|
||||
<return type="ButtonGroup">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_draw_mode" qualifiers="const">
|
||||
<return type="int" enum="BaseButton.DrawMode">
|
||||
</return>
|
||||
@@ -47,26 +34,6 @@
|
||||
Return the visual state used to draw the button. This is useful mainly when implementing your own draw code by either overriding _draw() or connecting to "draw" signal. The visual state of the button is defined by the DRAW_* enum.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_enabled_focus_mode" qualifiers="const">
|
||||
<return type="int" enum="Control.FocusMode">
|
||||
</return>
|
||||
<description>
|
||||
Returns focus access mode used when switching between enabled/disabled (see [method Control.set_focus_mode] and [method set_disabled]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_shortcut" qualifiers="const">
|
||||
<return type="ShortCut">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_disabled" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
Return whether the button is in disabled state (see [method set_disabled]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_hovered" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
@@ -74,81 +41,6 @@
|
||||
Return true if mouse entered the button before it exit.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_pressed" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
If toggle_mode is active, return whether the button is toggled. If toggle_mode is not active, return whether the button is pressed down.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_toggle_mode" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
Return the toggle_mode property (see [method set_toggle_mode]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_action_mode">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="mode" type="int" enum="BaseButton.ActionMode">
|
||||
</argument>
|
||||
<description>
|
||||
Set the current mode of action, determining when the button is considered clicked (see the ACTION_MODE_* constants).
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_button_group">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="button_group" type="ButtonGroup">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_disabled">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="disabled" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
Set the button into disabled state. When a button is disabled, it can't be clicked or toggled.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_enabled_focus_mode">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="mode" type="int" enum="Control.FocusMode">
|
||||
</argument>
|
||||
<description>
|
||||
Sets the focus access mode to use when switching between enabled/disabled (see [method Control.set_focus_mode] and [method set_disabled]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_pressed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="pressed" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
Set the button to pressed state (only if toggle_mode is active).
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_shortcut">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="shortcut" type="ShortCut">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_toggle_mode">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="enabled" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
Set the button toggle_mode property. Toggle mode makes the button flip state between pressed and unpressed each time its area is clicked.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="action_mode" type="int" setter="set_action_mode" getter="get_action_mode" enum="BaseButton.ActionMode">
|
||||
|
||||
Reference in New Issue
Block a user