summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2022-10-23 15:00:06 +0200
committerGitHub <noreply@github.com>2022-10-23 15:00:06 +0200
commit09f4ec79880ec647b273cc8601925c713eb10e5a (patch)
tree919b7b174e307227a45115403cb973bab713beaa /doc/classes
parent0d04e7ec914ff609dfbdfff3dca04ed12a21e600 (diff)
parentb8aa5ebfeb30b01db6e70ccc790624632c7273ee (diff)
Merge pull request #67677 from rsubtil/doc_popupmenu
Document PopupMenu "id_pressed" behavior
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/PopupMenu.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml
index 23287f4de1..c99760996f 100644
--- a/doc/classes/PopupMenu.xml
+++ b/doc/classes/PopupMenu.xml
@@ -533,6 +533,8 @@
<param index="0" name="id" type="int" />
<description>
Emitted when an item of some [param id] is pressed or its accelerator is activated.
+
+ [b]Note:[/b] If [param id] is negative (either explicitly or due to overflow), this will return the correponding index instead.
</description>
</signal>
<signal name="index_pressed">