Garry's Mod Wiki

Revision Difference

dragndrop.CallReceiverFunction#515311

<function name="CallReceiverFunction" parent="dragndrop" type="libraryfunc">⤶ <description>⤶ <internal></internal>⤶ Calls the receiver function of hovered panel.⤶ </description>⤶ <realm>Client and Menu</realm>⤶ <file line="171">lua/includes/extensions/client/panel/dragdrop.lua</file>⤶ <args>⤶ <arg name="bDoDrop" type="boolean">true if the mouse was released, false if we right clicked.</arg>⤶ <arg name="command" type="number">The command value. This should be the ID of the clicked dropdown menu ( if right clicked, or nil )</arg>⤶ <arg name="mx" type="number">The local to the panel mouse cursor X position when the click happened.</arg>⤶ <arg name="my" type="number">The local to the panel mouse cursor Y position when the click happened.</arg>⤶ </args>⤶ </function>⤶ ⤶