DColorButton/SetColor

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(create)
 
 
(6 intermediate revisions by 4 users not shown)
Line 5: Line 5:
 
|type=table
 
|type=table
 
|name=color
 
|name=color
|desc=A {{GlobalFunction|Color}} object to set the color as
+
|desc=A {{Struct|Color}} to set the color as
 +
}}
 +
{{Arg
 +
|type=boolean
 +
|name=noTooltip
 +
|desc=If true, the tooltip will not be reset to display the selected color.
 +
|default=false
 
}}
 
}}

Latest revision as of 17:40, 2 July 2019

 DColorButton:SetColor( )

DescriptionPanelFunc

Sets the color of the DColorButton.

Arguments

table color

A Color structure to set the color as

Arguments

boolean noTooltip=false

If true, the tooltip will not be reset to display the selected color.
Personal tools
Navigation