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:
Rémi Verschelde 2025-12-01 11:49:10 +01:00
commit 8f14acb151
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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">