Garry's Mod Wiki

Garry's Mod Wiki

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

Description

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

Used internally by DPropertySheet:AddSheet.

Arguments

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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...