Garry's Mod Wiki

vgui.RegisterTable

  table vgui.RegisterTable( table panel, string base = "Panel" )

Description

Registers a table to use as a panel, to be used with vgui.CreateFromTable.

All this function does is assigns Base key to your table and returns the table.

Arguments

1 table panel
The PANEL table.
2 string base = "Panel"
A base for the panel.

Returns

1 table
The PANEL table