This class represents the colour chooser dialog.
See also
ColourDialog Overview, Colour, ColourData, GetColourFromUser
__init__ | Constructor. |
Create | Same as ColourDialog . |
GetColourData | Returns the colour data associated with the colour dialog. |
ShowModal | Shows the dialog, returning ID_OK if the user pressed OK, and ID_CANCEL otherwise. |
This class represents the colour chooser dialog.
Possible constructors:
ColourDialog(parent, data=None)
Constructor.
Pass a parent window, and optionally a pointer to a block of colour data, which will be copied to the colour dialog’s colour data.
Custom colours from colour data object will be used in the dialog’s colour palette. Invalid entries in custom colours list will be ignored on some platforms(GTK) or replaced with white colour on platforms where custom colours palette has fixed size (MSW).
Parameters: |
|
---|
See also
Same as ColourDialog .
Parameters: |
|
---|---|
Return type: | bool |
Returns the colour data associated with the colour dialog.
Return type: | ColourData |
---|
Shows the dialog, returning ID_OK if the user pressed OK, and ID_CANCEL otherwise.
Return type: | int |
---|
See GetColourData