Scroll to navigation

wxChoice(3erl) Erlang Module Definition wxChoice(3erl)

NAME

wxChoice - See external documentation: wxChoice.

DESCRIPTION

See external documentation: wxChoice.

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

DATA TYPES

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

See external documentation.

new(Parent, Id) -> wxChoice()

Types:

Parent = wxWindow:wxWindow()
Id = integer()

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

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

Types:

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

See external documentation.

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

Types:

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

Equivalent to create(This, Parent, Id, Pos, Size, Choices, []).

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

Types:

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

See external documentation.

delete(This, N) -> ok

Types:

This = wxChoice()
N = integer()

See external documentation.

getColumns(This) -> integer()

Types:

This = wxChoice()

See external documentation.

setColumns(This) -> ok

Types:

This = wxChoice()

Equivalent to setColumns(This, []).

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

Types:

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

See external documentation.

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

Destroys this object, do not use object again

AUTHORS

<>

wx 1.9.2