wxButton
MODULE
wxButton
MODULE SUMMARY
See external documentation: wxButton.
DESCRIPTION
See external documentation: wxButton.
This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler
DATA TYPES
EXPORTS
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)}
create(This::wxButton(), Parent::wxWindow() (see module wxWindow), Id::integer()) -> bool()
Equivalent to create(This, Parent, Id, []).
Types:
Option = {label, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx() (see module wx)}
getDefaultSize() -> {W::integer(), H::integer()}
setDefault(This::wxButton()) -> ok