Explorar o código

Document PopupMenu id behavior

(cherry picked from commit b8aa5ebfeb30b01db6e70ccc790624632c7273ee)
Ev1lbl0w %!s(int64=2) %!d(string=hai) anos
pai
achega
6d030f93b7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      doc/classes/PopupMenu.xml

+ 1 - 0
doc/classes/PopupMenu.xml

@@ -493,6 +493,7 @@
 			<argument index="0" name="id" type="int" />
 			<description>
 				Emitted when an item of some [code]id[/code] is pressed or its accelerator is activated.
+				[b]Note:[/b] If [code]id[/code] is negative (either explicitly or due to overflow), this will return the correponding index instead.
 			</description>
 		</signal>
 		<signal name="index_pressed">