.TH wxButton 3erl "wx 1.9.2" "" "Erlang Module Definition" .SH NAME wxButton \- See external documentation: wxButton. .SH DESCRIPTION .LP See external documentation: wxButton\&. .LP This class is derived (and can use functions) from: .br wxControl .br wxWindow .br wxEvtHandler .SH "DATA TYPES" .RS 2 .TP 2 .B wxButton(): .RS 2 .LP 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\&. .RE .RE .SH EXPORTS .LP .B new() -> wxButton() .br .RS .LP See external documentation\&. .RE .LP .B new(Parent, Id) -> wxButton() .br .RS .LP Types: .RS 3 Parent = wxWindow:wxWindow() .br Id = integer() .br .RE .RE .RS .LP Equivalent to new(Parent, Id, [])\&. .RE .LP .B new(Parent, Id, Options::[Option]) -> wxButton() .br .RS .LP Types: .RS 3 Parent = wxWindow:wxWindow() .br Id = integer() .br Option = {label, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx_object()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B create(This, Parent, Id) -> boolean() .br .RS .LP Types: .RS 3 This = wxButton() .br Parent = wxWindow:wxWindow() .br Id = integer() .br .RE .RE .RS .LP Equivalent to create(This, Parent, Id, [])\&. .RE .LP .B create(This, Parent, Id, Options::[Option]) -> boolean() .br .RS .LP Types: .RS 3 This = wxButton() .br Parent = wxWindow:wxWindow() .br Id = integer() .br Option = {label, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx_object()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getDefaultSize() -> {W::integer(), H::integer()} .br .RS .LP See external documentation\&. .RE .LP .B setDefault(This) -> ok .br .RS .LP Types: .RS 3 This = wxButton() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B setLabel(This, Label) -> ok .br .RS .LP Types: .RS 3 This = wxButton() .br Label = unicode:chardata() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B destroy(This::wxButton()) -> ok .br .RS .LP Destroys this object, do not use object again .RE .SH AUTHORS .LP .I <>