Add better clarification for accelerator support on Popup Menu

This commit is contained in:
CrayolaEater 2025-11-26 18:40:37 +02:00
parent bd2ca13c6f
commit 6b7ec9950a

View file

@ -679,14 +679,14 @@
<signal name="id_pressed"> <signal name="id_pressed">
<param index="0" name="id" type="int" /> <param index="0" name="id" type="int" />
<description> <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. [b]Note:[/b] If [param id] is negative (either explicitly or due to overflow), this will return the corresponding index instead.
</description> </description>
</signal> </signal>
<signal name="index_pressed"> <signal name="index_pressed">
<param index="0" name="index" type="int" /> <param index="0" name="index" type="int" />
<description> <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> </description>
</signal> </signal>
<signal name="menu_changed"> <signal name="menu_changed">