Garry's Mod Wiki

Revision Difference

vgui.RegisterTable#512138

<function name="RegisterTable" parent="vgui" type="libraryfunc">⤶ <description>Registers a table to use as a panel. All this function does is assigns Base key to your table and returns the table.</description>⤶ <realm>Client and Menu</realm>⤶ <args>⤶ <arg name="panel" type="table">The PANEL table</arg>⤶ <arg name="base" type="string" default="Panel">A base for the panel</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="table">The PANEL table</ret>⤶ </rets>⤶ </function>⤶ ⤶