DColorButton/SetColor

From Garry's Mod
Jump to: navigation, search
 DColorButton:SetColor( )

DescriptionPanelFunc

Sets the color of the DColorButton.

BUG

Will reset the Tooltip to a default color string!

Issue Tracker: #3836

Pull Request: #1583

This bug will be fixed in the next update.

Arguments

table color

A Color structure to set the color as

Arguments

boolean noTooltip=false

Next Update Change

This feature is only available in the next update.
If true, the tooltip will not be reset to display the selected color.
Personal tools
Navigation