Panel/SetSelectable

From Garry's Mod
Revision as of 00:21, 10 December 2014 by TheFreeman193 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Panel:SetSelectable( )

Description

Sets whether the panel object can be selected or not (like icons in the Spawn Menu, holding ⇧ Shift). If enabled, this will affect the function of a DButton whilst ⇧ Shift is pressed. Panel:SetSelected can be used to select/deselect the object.

Arguments

boolean selectable

Whether the panel object should be selectable or not.
Personal tools
Navigation