Panel/Add

From Garry's Mod
Revision as of 19:40, 9 December 2018 by Bo98 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Panel:Add( )

Description

Adds the specified object to the panel.

Arguments

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

Panel

New panel
Personal tools
Navigation