wx.ColourPickerCtrl Class Reference

Inheritance diagram for wx.ColourPickerCtrl:

wx.PickerBase wx.Control wx.Window wx.EvtHandler wx.Object

List of all members.

Public Member Functions

 ColourPickerCtrl (Window parent, Colour colour, Point position, Size size, WindowStyles style)
 ColourPickerCtrl (Window parent, int id, Colour colour, Point position, Size size, WindowStyles style)
 ColourPickerCtrl (Window parent, int id, Colour colour, Point position, Size size, WindowStyles style, string name)
 ColourPickerCtrl (Window parent, int id, Colour colour, Point position, Size size, WindowStyles style, wxString name)
 ColourPickerCtrl ()
void SetColour (wxString colour)
void SetColour (string colour)

Properties

wx.Colour Colour [get, set]


Detailed Description

This control allows the user to select a colour. The generic implementation is a button which brings up a wx.ColourDialog when clicked. Native implementation may differ but this is usually a (small) widget which give access to the colour-chooser dialog.

Available styles: wx.WindowStyles.CLRP_DEFAULT_STYLE, wx.WindowStyles.CLRP_USE_TEXTCTRL, wx.WindowStyles.CLRP_SHOW_LABEL.


Constructor & Destructor Documentation

wx.ColourPickerCtrl.ColourPickerCtrl (  ) 

Default CTor for two step construction using Create().

wx.ColourPickerCtrl.ColourPickerCtrl ( Window  parent,
int  id,
Colour  colour,
Point  position,
Size  size,
WindowStyles  style,
wxString  name 
)

wx.ColourPickerCtrl.ColourPickerCtrl ( Window  parent,
int  id,
Colour  colour,
Point  position,
Size  size,
WindowStyles  style,
string  name 
)

wx.ColourPickerCtrl.ColourPickerCtrl ( Window  parent,
int  id,
Colour  colour,
Point  position,
Size  size,
WindowStyles  style 
)

wx.ColourPickerCtrl.ColourPickerCtrl ( Window  parent,
Colour  colour,
Point  position,
Size  size,
WindowStyles  style 
)


Member Function Documentation

void wx.ColourPickerCtrl.SetColour ( wxString  colour  ) 

Setting the clour from a string. This accepts: colour names (those listed in wx.Colour.TheColourDatabase), the CSS-like "RGB(r,g,b)" syntax (case insensitive) and the HTML-like syntax (i.e. "#" followed by 6 hexadecimal digits for red, green, blue components).

void wx.ColourPickerCtrl.SetColour ( string  colour  ) 

Setting the clour from a string. This accepts: colour names (those listed in wx.Colour.TheColourDatabase), the CSS-like "RGB(r,g,b)" syntax (case insensitive) and the HTML-like syntax (i.e. "#" followed by 6 hexadecimal digits for red, green, blue components).


Property Documentation

wx.Colour wx.ColourPickerCtrl.Colour [get, set]

The displayed colour.


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads