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

wxErlang
Reference Manual
Version 1.8


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:

Id = integer()

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

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

Types:

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

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

Types:

Id = integer()

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

Types:

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

getColour(This) -> wx:wx_colour4()

Types:

setColour(This, Text) -> boolean()

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