wxToggleButton.3erl

Langue: en

Autres versions - même langue

Version: 287775 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

wxToggleButton - See external documentation: wxToggleButton.

DESCRIPTION

See external documentation: wxToggleButton <http://www.wxwidgets.org/manuals/stable/wx_wxtogglebutton.html>.

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 <http://www.wxwidgets.org/manuals/stable/wx_wxtogglebutton.html#wxtogglebuttonwxtogglebutton>.

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


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

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)}

See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtogglebutton.html#wxtogglebuttonwxtogglebutton>.

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


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

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)}

See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtogglebutton.html#wxtogglebuttoncreate>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtogglebutton.html#wxtogglebuttongetvalue>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtogglebutton.html#wxtogglebuttonsetvalue>.

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


Destroys this object, do not use object again