mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #113197 from CrayolaEater/pop-up-menu-doc-update
Add better clarification for accelerator support on Popup Menu
This commit is contained in:
commit
8f14acb151
1 changed files with 2 additions and 2 deletions
|
|
@ -680,14 +680,14 @@
|
|||
<signal name="id_pressed">
|
||||
<param index="0" name="id" type="int" />
|
||||
<description>
|
||||
Emitted when an item of some [param id] is pressed or its accelerator is activated.
|
||||
Emitted when an item of some [param id] is pressed. Also emitted when its accelerator is activated on macOS.
|
||||
[b]Note:[/b] If [param id] is negative (either explicitly or due to overflow), this will return the corresponding index instead.
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="index_pressed">
|
||||
<param index="0" name="index" type="int" />
|
||||
<description>
|
||||
Emitted when an item of some [param index] is pressed or its accelerator is activated.
|
||||
Emitted when an item of some [param index] is pressed. Also emitted when its accelerator is activated on macOS.
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="menu_changed">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue