Difference between revisions of "Dabo.ui.getColor"

From Dabo Wiki
Jump to: navigation, search
(Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.getColor(color=None) </syntaxhighlight> == Description: == Displays the color selection dialog for the platform. If...")
 
(No difference)

Latest revision as of 01:19, 13 May 2020

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.