phoenix_title wx.lib.colourselect.ColourSelectEvent

wx.ColourSelectEvent is a special subclassing of wx.CommandEvent and it provides for a custom event sent every time the user chooses a colour.


class_hierarchy Class Hierarchy

Inheritance diagram for class ColourSelectEvent:

super_classes Known Superclasses

wx.PyCommandEvent


method_summary Methods Summary

__init__

Default class constructor.

GetValue

Returns the currently selected colour.


api Class API

class ColourSelectEvent(wx.PyCommandEvent)

wx.ColourSelectEvent is a special subclassing of wx.CommandEvent and it provides for a custom event sent every time the user chooses a colour.


Methods

__init__(self, id, value)

Default class constructor.

Parameters:
  • id (integer) – the event identifier;

  • value (wx.Colour) – the colour currently selected.



GetValue(self)

Returns the currently selected colour.

Return type:

wx.Colour