Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.0


Expand All
Contract All

Table of Contents

wxToggleButton

MODULE

wxToggleButton

MODULE SUMMARY

See external documentation: wxToggleButton.

DESCRIPTION

See external documentation: wxToggleButton.

This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler

DATA TYPES

wxToggleButton()

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

new(Parent, Id, Label) -> wxToggleButton()

Types:

Parent = wxWindow() (see module wxWindow)
Id = integer()
Label = chardata() (see module unicode)

new(Parent, Id, Label, Option::[Option]) -> wxToggleButton()

Types:

Parent = wxWindow() (see module wxWindow)
Id = integer()
Label = chardata() (see module unicode)
Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}

create(This, Parent, Id, Label) -> boolean()

Types:

This = wxToggleButton()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Label = chardata() (see module unicode)

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

Types:

This = wxToggleButton()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Label = chardata() (see module unicode)
Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}

getValue(This) -> boolean()

Types:

This = wxToggleButton()

setValue(This, State) -> ok

Types:

This = wxToggleButton()
State = boolean()

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

Destroys this object, do not use object again