Scroll to navigation

wxToggleButton(3erl) Erlang Module Definition wxToggleButton(3erl)

NAME

wxToggleButton - 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:wxWindow()
Id = integer()
Label = unicode:chardata()

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

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

Types:

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

See external documentation.

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

Types:

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

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

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

Types:

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

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

<>
wx 1.8.6