Garry's Mod Wiki

Revision Difference

Panel:DragMousePress#518806

<function name="DragMousePress" parent="Panel" type="classfunc"> <description>Called to inform the <page>dragndrop</page> that a mouse button is being held down on a panel object.</description> <realm>Client</realm> <args> <arg name="mouseCode" type="number">The code for the mouse button pressed, passed by, for example, <page>PANEL:OnMousePressed</page>. See the <page>MOUSE</page>.</arg> <arg name="mouseCode" type="number">The code for the mouse button pressed, passed by, for example, <page>PANEL:OnMousePressed</page>. See the <page>Enums/MOUSE</page>.</arg> </args> </function>