module timelinelib.wxgui.components.colourselect¶
-
class
timelinelib.wxgui.components.colourselect.
ColourSelect
[source]¶ Bases:
wx.lib.colourselect.ColourSelect
-
__init__
(parent, name='', *args, **kwargs)[source]¶ Default class constructor.
- Parameters
parent (wx.Window) – parent window. Must not be
None
;id (integer) – window identifier. A value of -1 indicates a default value;
label (string) – the button text label;
wx.Colour – a valid
wx.Colour
instance, which will be the default initial colour for this button;pos (tuple or
wx.Point
) – the control position. A value of (-1, -1) indicates a default position, chosen by either the windowing system or wxPython, depending on platform;size (tuple or
wx.Size
) – the control size. A value of (-1, -1) indicates a default size, chosen by either the windowing system or wxPython, depending on platform;callback (PyObject) – a callable method/function that will be called every time the user chooses a new colour;
style (integer) – the button style.
-