Garry's Mod Wiki

Revision Difference

Panel:GWEN_SetPosition#517741

<function name="GWEN_SetPosition" parent="Panel" type="classfunc"> <description><internal></internal> Used by <page>Panel:ApplyGWEN</page> to apply the `Position` property to a panel object. This calls <page>Panel:SetPos</page>.</description> <realm>Client</realm> <args> <arg name="pos" type="table">A two-membered table containing the x and y coordinates as numbers:&#xA;* &lt;page&gt;number&lt;/page&gt; x - The x coordinate.&#xA;* &lt;page&gt;number&lt;/page&gt; y - The y coordinate.</arg>⤶ <arg name="pos" type="table">A two-membered table containing the x and y coordinates as numbers:⤶ * <page>number</page> x - The x coordinate.⤶ * <page>number</page> y - The y coordinate.</arg>⤶ </args> </function>