wxChoice

See external documentation: wxChoice.

See external documentation: wxChoice.

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

Types


wxChoice() = wx:wx_object()

Functions


new() -> wxChoice()

See external documentation.

new(Parent, Id) -> wxChoice()

  • Parent = wxWindow() (see module wxWindow)
  • Id = integer()

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

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

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

See external documentation.

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

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

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

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

See external documentation.

delete(This, N) -> ok

  • This = wxChoice()
  • N = integer()

See external documentation.

getColumns(This) -> integer()

  • This = wxChoice()

See external documentation.

setColumns(This) -> ok

  • This = wxChoice()

Equivalent to setColumns(This, []).

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

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

See external documentation.

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

Destroys this object, do not use object again