Home | Trees | Index | Help |
|
---|
Package wx :: Class ColourData |
|
object
--+ |Object
--+ | ColourData
This class holds a variety of information related to the colour
chooser dialog, used to transfer settings and results to and from the
wx.ColourDialog
.
Method Summary | |
---|---|
ColourData |
Constructor, sets default values. |
__del__(self)
| |
__repr__(self)
| |
bool |
Under Windows, determines whether the Windows colour dialog will display the full dialog with custom colour selection controls. |
Colour |
Gets the colour (pre)selected by the dialog. |
Colour |
Gets the i'th custom colour associated with the colour dialog. |
Under Windows, tells the Windows colour dialog to display the full dialog with custom colour selection controls. | |
Sets the default colour for the colour dialog. | |
Sets the i'th custom colour for the colour dialog. | |
Inherited from Object | |
Deletes the C++ object this Python object is a proxy for. | |
String |
Returns the class name of the C++ class using wxRTTI. |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... |
Method Details |
---|
__init__(self)
|
GetChooseFull(self)Under Windows, determines whether the Windows colour dialog will display the full dialog with custom colour selection controls. Has no meaning under other platforms. The default value is true.
|
GetColour(self)Gets the colour (pre)selected by the dialog.
|
GetCustomColour(self, i)Gets the i'th custom colour associated with the colour dialog. i should be an integer between 0 and 15. The default custom colours are all invalid colours.
|
SetChooseFull(self, flag)Under Windows, tells the Windows colour dialog to display the full dialog with custom colour selection controls. Under other platforms, has no effect. The default value is true.
|
SetColour(self, colour)Sets the default colour for the colour dialog. The default colour is black.
|
SetCustomColour(self, i, colour)Sets the i'th custom colour for the colour dialog. i should be an integer between 0 and 15. The default custom colours are all invalid colours.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:48:47 2007 | http://epydoc.sf.net |