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

See external documentation.

new(Parent, Id, Label) -> wxToggleButton()

Types:

Parent = wxWindow() (see module wxWindow)
Id = integer()
Label = chardata() (see module unicode)

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

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

Types:

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

See external documentation.

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

Types:

This = wxToggleButton()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Label = chardata() (see module unicode)

Equivalent to create(This, Parent, Id, Label, []).

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

Types:

This = wxToggleButton()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Label = chardata() (see module unicode)
Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}

See external documentation.

getValue(This) -> boolean()

Types:

This = wxToggleButton()

See external documentation.

setValue(This, State) -> ok

Types:

This = wxToggleButton()
State = boolean()

See external documentation.

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

Destroys this object, do not use object again

AUTHORS

<>