wxErlang

Reference Manual

Version 1.8.3

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, Id, Label) -> wxToggleButton()

Types

Id = integer()

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

Types

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

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

Types

Id = integer()

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

Types

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

getValue(This) -> boolean()

Types

setValue(This, State) -> ok

Types

State = boolean()

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

Destroys this object, do not use object again