Dabo.ui.getColor

From Dabo Wiki
Revision as of 01:19, 13 May 2020 by Ed (talk | contribs) (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.getColor(color=None) </syntaxhighlight> == Description: == Displays the color selection dialog for the platform. If...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Signature:

dabo.ui.getColor(color=None)

Description:

Displays the color selection dialog for the platform. If you pass an existing color to the function, the color selection dialog starts with that color displayed.

Returns:

Returns an RGB tuple of the selected color, or None if no selection was made.