vgui.Register
From GMod Wiki
Function | |
Syntax |
vgui.Register( String classname, Table control[, String base] ) Where is this used? |
Description: | |
Registers a new type of control in the VGUI system that can be used. The first argument specifies the name of the control as you would use it with vgui.Create, the second argument is the name of the table that you have stored your data in, and the third ( optional ) argument is what you want to derive this control from. | |
Returns: | nil |
Part of Library: | vgui |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Vgui.Register]Vgui.Register [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Base defaults to "Panel"
- Base can be either a base panel or a scripted panel.