A Colour Selection Box
The Colour selection box implements button like behavior but contains a solid-filled, coloured sub-box. Placing the colour in a sub-box allows for filling in the main panel’s background for a high-lighting effect.
__init__ | Creates a new colour box instance and initializes the colour |
GetColour | Returns a wxColour object indicating the box’s current colour. |
GetColourBox | Returns a reference to the internal box object containing the |
SetColour | Accepts a wxColour object and sets the box’s current color. |
SetColourTuple | Sets the box’s current couple to the given tuple. |
SetHighlight | Accepts a boolean ‘val’ toggling the box’s highlighting. |
Update |
A Colour Selection Box
The Colour selection box implements button like behavior but contains a solid-filled, coloured sub-box. Placing the colour in a sub-box allows for filling in the main panel’s background for a high-lighting effect.
Creates a new colour box instance and initializes the colour content.
Returns a wxColour object indicating the box’s current colour.
Returns a reference to the internal box object containing the color. This function is useful for setting up event handlers for the box.
Accepts a wxColour object and sets the box’s current color.
Sets the box’s current couple to the given tuple.
Accepts a boolean ‘val’ toggling the box’s highlighting.