Widget API: ColorSelect:SetColorRGB

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API ColorSelect SetColorRGB to API ColorSelect SetColorRGB without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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[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().