4.25 ColorPicker -- Color selection dialog

Disponibilità: Macintosh.

The ColorPicker module provides access to the standard color picker dialog.

GetColor( prompt, rgb)
Show a standard color selection dialog and allow the user to select a color. The user is given instruction by the prompt string, and the default color is set to rgb. rgb must be a tuple giving the red, green, and blue components of the color. GetColor() returns a tuple giving the user's selected color and a flag indicating whether they accepted the selection of cancelled.

Vedete Circa questo documento... per informazioni su modifiche e suggerimenti.