Garry's Mod Wiki

Revision Difference

vgui.RegisterTable#528039

<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> <file line="97-107">lua/includes/extensions/client/panel/scriptedpanels.lua</file>⤶ <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>