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() -> wxButton()
new(Parent, Id) -> wxButton()
Equivalent to new(Parent, Id, []).
new(Parent, Id, Options::[Option]) -> wxButton()
Types:
Parent = wxWindow:wxWindow()
Id = integer()
Option = {label, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx_object()}
create(This, Parent, Id) -> boolean()
Equivalent to create(This, Parent, Id, []).
create(This, Parent, Id, Options::[Option]) -> boolean()
Types:
This = wxButton()
Parent = wxWindow:wxWindow()
Id = integer()
Option = {label, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx_object()}
getDefaultSize() -> {W::integer(), H::integer()}
Types:
This = wxButton()
destroy(This::wxButton()) -> ok