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

wxToggleButton

MODULE

wxToggleButton

MODULE SUMMARY

See external documentation: wxToggleButton.

DESCRIPTION

See external documentation: wxToggleButton.

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

DATA TYPES

wxToggleButton()

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() -> wxToggleButton()

new(Parent::wxWindow() (see module wxWindow), Id::integer(), Label::string()) -> wxToggleButton()

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

Types:

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

create(This::wxToggleButton(), Parent::wxWindow() (see module wxWindow), Id::integer(), Label::string()) -> bool()

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

Types:

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

getValue(This::wxToggleButton()) -> bool()

setValue(This::wxToggleButton(), State::bool()) -> ok

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

Destroys this object, do not use object again