WoW:API ColorSelect SetColorRGB: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API ColorSelect SetColorRGB to API ColorSelect SetColorRGB without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Sets the currently selected color in a ColorSelect frame. Typically called during initialization and just prior to :Show().
{{widgetmethod}} __NOTOC__
 
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().

Latest revision as of 04:45, 15 August 2023

Widget API ← ColorSelect < SetColorRGB

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

ColorSelect:SetColorRGB(r, g, b)


Arguments[edit]

(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[edit]

nil


Details[edit]

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