wx.ColourDialog¶This class represents the colour chooser dialog.
Class Hierarchy¶
Inheritance diagram for class ColourDialog:
Methods Summary¶Constructor. |
|
Same as wx.ColourDialog. |
|
Returns the colour data associated with the colour dialog. |
|
Shows the dialog, returning |
Properties Summary¶See |
Class API¶Possible constructors:
ColourDialog(parent, data=None)
This class represents the colour chooser dialog.
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).
parent (wx.Window) –
data (wx.ColourData) –
See also
Same as wx.ColourDialog.
parent (wx.Window) –
data (wx.ColourData) –
bool
variant (WindowVariant) –
Returns the colour data associated with the colour dialog.
Shows the dialog, returning wx.ID_OK if the user pressed wx.OK, and wx.ID_CANCEL otherwise.
int
See GetColourData