Garry's Mod Wiki

DTree:SetShowIcons

  DTree:SetShowIcons( boolean show )

Description

Sets whether or not the Silkicons next to each node of the DTree will be displayed.

Individual icons can be set with DTree_Node:SetIcon or passed as the second argument in DTree:AddNode.

Arguments

1 boolean show
Whether or not to show icons.