mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 13:12:42 +00:00
Clarify docs for when toggling button_pressed
emits toggled
This commit is contained in:
parent
621cadcf65
commit
388869574c
@ -57,7 +57,7 @@
|
||||
</member>
|
||||
<member name="button_pressed" type="bool" setter="set_pressed" getter="is_pressed" default="false">
|
||||
If [code]true[/code], the button's state is pressed. Means the button is pressed down or toggled (if [member toggle_mode] is active). Only works if [member toggle_mode] is [code]true[/code].
|
||||
[b]Note:[/b] Setting [member button_pressed] will result in [signal toggled] to be emitted. If you want to change the pressed state without emitting that signal, use [method set_pressed_no_signal].
|
||||
[b]Note:[/b] Changing the value of [member button_pressed] will result in [signal toggled] to be emitted. If you want to change the pressed state without emitting that signal, use [method set_pressed_no_signal].
|
||||
</member>
|
||||
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled" default="false" keywords="enabled">
|
||||
If [code]true[/code], the button is in disabled state and can't be clicked or toggled.
|
||||
|
Loading…
Reference in New Issue
Block a user