WoW:API ColorSelect SetColorRGB: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{widgetmethod}})
m (Move page script moved page API ColorSelect SetColorRGB to API ColorSelect SetColorRGB without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}} __NOTOC__
{{stub/api}}


Sets the currently selected color in a ColorSelect frame. Typically called during initialization and just prior to :Show().
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().