Garry's Mod Wiki

Revision Difference

vgui.CreateFromTable#512150

<function name="CreateFromTable" parent="vgui" type="libraryfunc">⤶ <description>Creates a panel from table.</description>⤶ <realm>Client and Menu</realm>⤶ <args>⤶ <arg name="metatable" type="table">Your PANEL table</arg>⤶ <arg name="parent" type="Panel" default="nil">Which panel to parent the newly created panel to</arg>⤶ <arg name="name" type="string" default="nil">Name of your panel</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="Panel">Created panel</ret>⤶ </rets>⤶ </function>⤶ ⤶