WoW:API ColorSelect SetColorRGB: Difference between revisions
Jump to navigation
Jump to search
({{widgetmethod}}) |
(Updated to match the current API boilerplate.) |
||
Line 1: | Line 1: | ||
{{widgetmethod}} | {{widgetmethod}} __NOTOC__ | ||
Sets the | 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(). |
Revision as of 15:13, 27 June 2007
← 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().