Procházet zdrojové kódy

Document PopupMenu id behavior

Ev1lbl0w před 2 roky
rodič
revize
b8aa5ebfeb
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      doc/classes/PopupMenu.xml

+ 2 - 0
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">