wxButton(3)

MODULE
wxButton - See external documentation: wxButton.

DESCRIPTION

See external documentation: wxButton <http://www.wxwidgets.org/manuals/stable/wx_wxbutton.html>.

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

DATA TYPES

    wxButton():

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

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

new(Parent::wxWindow() (see module wxWindow), Id::integer()) -> wxButton()

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

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

    Types
        Option = {label, string()} | {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_wxbutton.html#wxbuttonwxbutton>.

create(This::wxButton(), Parent::wxWindow() (see module wxWindow), Id::integer()) -> bool()

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

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

    Types
        Option = {label, string()} | {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_wxbutton.html#wxbuttoncreate>.

getDefaultSize() -> {W::integer(), H::integer()}

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

setDefault(This::wxButton()) -> ok

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

setLabel(This::wxButton(), Label::string()) -> ok

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

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

    Destroys this object, do not use object again