wxButton
See external documentation: wxButton.
See external documentation:
This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler
Functions
new() -> wxButton()
See
new(Parent, Id) -> wxButton()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Equivalent to new(Parent, Id, []).
new(Parent, Id, Options::[Option]) -> wxButton()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Option = {label, chardata() (see module unicode)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}
See
create(This, Parent, Id) -> boolean()
This = wxButton()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Equivalent to create(This, Parent, Id, []).
create(This, Parent, Id, Options::[Option]) -> boolean()
This = wxButton()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Option = {label, chardata() (see module unicode)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}
See
getDefaultSize() -> {W::integer(), H::integer()}
See
setDefault(This) -> ok
This = wxButton()
See
setLabel(This, Label) -> ok
This = wxButton()
Label = chardata() (see module unicode)
See
destroy(This::wxButton()) -> ok
Destroys this object, do not use object again