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

wxErlang
Reference Manual
Version 0.98.5


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::wxWindow() (see module wxWindow), Id::integer()) -> wxColourPickerCtrl()

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

new(Parent::wxWindow() (see module wxWindow), Id::integer(), Options::[Option]) -> wxColourPickerCtrl()

Types:

Option = {col, colour() (see module wx)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx() (see module wx)}

create(This::wxColourPickerCtrl(), Parent::wxWindow() (see module wxWindow), Id::integer()) -> bool()

create(This::wxColourPickerCtrl(), Parent::wxWindow() (see module wxWindow), Id::integer(), Options::[Option]) -> bool()

Types:

Option = {col, colour() (see module wx)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx() (see module wx)}

getColour(This::wxColourPickerCtrl()) -> colour() (see module wx)

setColour(This::wxColourPickerCtrl(), X::string() | term()) -> bool() | ok

See external documentation.
Alternatives:

setColour(This::wxColourPickerCtrl(), Text::string()) -> bool()

setColour(This::wxColourPickerCtrl(), Col::wx:colour()) -> ok

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

Destroys this object, do not use object again