summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEv1lbl0w <ricasubtil@gmail.com>2022-10-19 11:31:08 +0100
committerEv1lbl0w <ricasubtil@gmail.com>2022-10-19 11:46:28 +0100
commitb8aa5ebfeb30b01db6e70ccc790624632c7273ee (patch)
tree02da5c671ce500f638bdc8c176b917da18aac678
parent61051a44ccacbe447f14538b5bb4b68a62fc896f (diff)
Document PopupMenu id behavior
-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">