Widget API: ColorSelect:SetColorRGB

From AddOn Studio
Revision as of 15:13, 27 June 2007 by WoWWiki>Ravas (Updated to match the current API boilerplate.)
Jump to navigation Jump to search

Widget API ← ColorSelect < SetColorRGB

Sets a color as the selected color in a ColorSelect frame.

ColorSelect:SetColorRGB(r, g, b)


Arguments

(r, g, b)
r
Number - The red value of the color
g
Number - The green value of the color
b
Number - The blue value of the color


Returns

nil


Details

Typically called during initialization and just prior to Show().