Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.0


Expand All
Contract All

Table of Contents

wxColourPickerCtrl

MODULE

wxColourPickerCtrl

MODULE SUMMARY

See external documentation: wxColourPickerCtrl.

DESCRIPTION

See external documentation: wxColourPickerCtrl.

This class is derived (and can use functions) from:
wxPickerBase
wxControl
wxWindow
wxEvtHandler

DATA TYPES

wxColourPickerCtrl()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

EXPORTS

new() -> wxColourPickerCtrl()

new(Parent, Id) -> wxColourPickerCtrl()

Types:

Parent = wxWindow() (see module wxWindow)
Id = integer()

Equivalent to new(Parent, Id, []).

new(Parent, Id, Option::[Option]) -> wxColourPickerCtrl()

Types:

Parent = wxWindow() (see module wxWindow)
Id = integer()
Option = {col, wx_colour() (see module wx)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}

create(This, Parent, Id) -> boolean()

Types:

This = wxColourPickerCtrl()
Parent = wxWindow() (see module wxWindow)
Id = integer()

create(This, Parent, Id, Option::[Option]) -> boolean()

Types:

This = wxColourPickerCtrl()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Option = {col, wx_colour() (see module wx)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}

getColour(This) -> wx_colour4() (see module wx)

Types:

This = wxColourPickerCtrl()

setColour(This, Text) -> boolean()

Types:

This = wxColourPickerCtrl()
Text = chardata() (see module unicode)

See external documentation.
Also:
setColour(This, Col) -> ok when
This::wxColourPickerCtrl(), Col::wx:wx_colour().

destroy(This::wxColourPickerCtrl()) -> ok

Destroys this object, do not use object again