wxColourPickerCtrl
Implements methods from the following classes
wxPickerBase
Methods
wxColourPickerCtrl
Initializes the object and calls Create() with all the parameters.
Create
Creates a colour picker with the given arguments.
GetColour
Returns the currently selected colour.
SetColour
Sets the currently selected colour.
Static Methods
wxColourPickerCtrl
wxColourPickerCtrl
(
wxWindow
&
$parent
,
integer
$id
,
wxColour
$colour
=
*wxBLACK
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
=
wxCLRP_DEFAULT_STYLE
,
wxValidator
$validator
=
wxDefaultValidator
,
string
$name
=
wxColourPickerCtrlNameStr
)
Initializes the object and calls Create() with all the parameters.
Create
bool
Create
(
wxWindow
&
$parent
,
integer
$id
,
wxColour
$colour
=
*wxBLACK
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
=
wxCLRP_DEFAULT_STYLE
,
wxValidator
$validator
=
wxDefaultValidator
,
string
$name
=
wxColourPickerCtrlNameStr
)
Creates a colour picker with the given arguments.
GetColour
wxColour
GetColour
( )
Returns the currently selected colour.
SetColour
SetColour
(
wxColour
$col
)
Sets the currently selected colour.
SetColour
(
string
$colname
)
Sets the currently selected colour.