vgui/Register

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=Register |Parent=vgui |Description=Registers a panel for later creation. |Realm=Client |IsClass=No }} {{Arg |type=string |name=classname |desc=Classname ...")
 
m (Also menu state)
Line 3: Line 3:
 
|Parent=vgui
 
|Parent=vgui
 
|Description=Registers a panel for later creation.
 
|Description=Registers a panel for later creation.
|Realm=Client
+
|Realm=Client and Menu
 
|IsClass=No
 
|IsClass=No
 
}}
 
}}

Revision as of 23:13, 30 July 2016

 vgui.Register( )

Contents

Description

Registers a panel for later creation.

Arguments

string classname

Classname of the panel to create.

Arguments

table panelTable

The table containg the panel information.

Arguments

string baseName

Name of the base of the panel.

Returns

Panel

panel
Personal tools
Navigation