Panel/Add

From Garry's Mod
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