wxbutton(3) - Linux man page

Name

wxButton - See external documentation: wxButton.

Description

See external documentation: wxButton.

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.

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.

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.

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

See external documentation.

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

See external documentation.

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

See external documentation.

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

Destroys this object, do not use object again

Authors

<>