| 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)
| |
| 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. | |
| Property Summary | |
|---|---|
ChooseFull: See GetChooseFull and SetChooseFull | |
Colour: See GetColour and SetColour | |
CustomColour: See GetCustomColour and SetCustomColour | |
thisown: The membership flag | |
| 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.
|
| Property Details |
|---|
ChooseFullSee
|
Colour |
CustomColourSee
|
thisownThe membership flag |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:10:57 2007 | http://epydoc.sf.net |