wxErlang

Reference Manual

Version 1.8.2

Table of Contents

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

wxButton()

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.

Exports

new() -> wxButton()

new(Parent, Id) -> wxButton()

Types

Id = integer()

Equivalent to new(Parent, Id, []).

new(Parent, Id, Options::[Option]) -> wxButton()

Types

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()

Types

This = wxButton()
Id = integer()

create(This, Parent, Id, Options::[Option]) -> boolean()

Types

This = wxButton()
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()}

setDefault(This) -> ok

Types

This = wxButton()

setLabel(This, Label) -> ok

Types

This = wxButton()

destroy(This::wxButton()) -> ok

Destroys this object, do not use object again