Garry's Mod Wiki


  table DColumnSheet:AddSheet( string name, Panel pnl, string icon = nil )


Adds a new column/tab.


1 string name
Name of the column/tab
2 Panel pnl
Panel to be used as contents of the tab. This normally would be a DPanel
3 string icon = nil
Icon for the tab. This will ideally be a silkicon, but any material name can be used.


1 table
A table containing the following keys:
  • Panel Button - The created tab button that will switch to the given panel
  • Panel Panel - The given panel to switch to when the button is pressed