Garry's Mod Wiki

Panel:Add

Panel Panel:Add( Panel object )

Description

Adds the specified object to the panel.

Arguments

1 Panel object
The panel to be added (parented). Can also be:

  • string Class Name - creates panel with the specified name and adds it to the panel.
  • table PANEL table - creates a panel from table and adds it to the panel.

Returns

1 Panel
New panel

Page Links


Special Pages


Wikis

?

Render Time: 30ms

DB GetPage 4
Generate Html 4
SaveChanges (1) 8
Render Body 0
Render Sidebar 6