wxErlang

Reference Manual

Version 1.8.1

Table of Contents

wxChoice

Module

wxChoice

Module Summary

See external documentation: wxChoice.

Description

See external documentation: wxChoice.

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

DATA TYPES

wxChoice()

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

new(Parent, Id) -> wxChoice()

Types

Id = integer()

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

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

Types

Id = integer()
Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {choices, [unicode:chardata()]} | {style, integer()} | {validator, wx:wx_object()}

create(This, Parent, Id, Pos, Size, Choices) -> boolean()

Types

This = wxChoice()
Id = integer()
Pos = {X::integer(), Y::integer()}
Size = {W::integer(), H::integer()}
Choices = [unicode:chardata()]

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

Types

This = wxChoice()
Id = integer()
Pos = {X::integer(), Y::integer()}
Size = {W::integer(), H::integer()}
Choices = [unicode:chardata()]
Option = {style, integer()} | {validator, wx:wx_object()}

delete(This, N) -> ok

Types

This = wxChoice()
N = integer()

getColumns(This) -> integer()

Types

This = wxChoice()

setColumns(This) -> ok

Types

This = wxChoice()

Equivalent to setColumns(This, []).

setColumns(This, Options::[Option]) -> ok

Types

This = wxChoice()
Option = {n, integer()}

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

Destroys this object, do not use object again