Garry's Mod Wiki


  DTab:Setup( string label, Panel sheet, Panel pnl, string icon = nil )


This is used internally - although you're able to use it you probably shouldn't.

Used internally by DPropertySheet:AddSheet.


1 string label
Label of the tab
2 Panel sheet
The DPropertySheet this tab belongs to.
3 Panel pnl
Panel to be used as contents of the tab. This normally should be a DPanel.
4 string icon = nil
Icon for the tab. This will typically be a silkicon, but any material name can be used.