.TH wxButton 3erl "wx 0.99.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 \fBwxControl\fR\& .br \fBwxWindow\fR\& .br \fBwxEvtHandler\fR\& .SH "DATA TYPES" .RS 2 .TP 2 .B \fIwxButton()\fR\&: .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() (see module wxWindow) .br Id = integer() .br .RE .RE .RS .LP Equivalent to \fBnew(Parent, Id, [])\fR\&\&. .RE .LP .B new(Parent, Id, Option::[Option]) -> wxButton() .br .RS .LP Types: .RS 3 Parent = wxWindow() (see module wxWindow) .br Id = integer() .br Option = {label, chardata() (see module unicode)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)} .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() (see module wxWindow) .br Id = integer() .br .RE .RE .RS .LP Equivalent to \fBcreate(This, Parent, Id, [])\fR\&\&. .RE .LP .B create(This, Parent, Id, Option::[Option]) -> boolean() .br .RS .LP Types: .RS 3 This = wxButton() .br Parent = wxWindow() (see module wxWindow) .br Id = integer() .br Option = {label, chardata() (see module unicode)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)} .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 = chardata() (see module unicode) .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 <>