wxMultiChoiceDialog(3erl)

wxMultiChoiceDialog3erl

Functions for wxmultichoicedialog class

Overview

This class represents a dialog that shows a list of strings, and allows the user to select one or more.

Styles

This class supports the following styles:

See: Overview cmndlg, wxSingleChoiceDialog

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

wxWidgets docs: wxMultiChoiceDialog

Data types

wxMultiChoiceDialog() = wx:wx_object()

Exports

new(Parent, Message, Caption, Choices) -> wxMultiChoiceDialog()

Types:

Parent = wxWindow:wxWindow()
Message = Caption = unicode:chardata()
Choices = [unicode:chardata()]

new(Parent, Message, Caption, Choices, Options :: [Option]) ->
       wxMultiChoiceDialog()

Types:

Parent = wxWindow:wxWindow()
Message = Caption = unicode:chardata()
Choices = [unicode:chardata()]
Option =

{style, integer()} | {pos, {X :: integer(), Y :: integer()}}

Constructor taking an array of wxString (not implemented in wx) choices.

Remark: Use wxDialog:showModal/1 to show the dialog.

getSelections(This) -> [integer()]

Types:

This = wxMultiChoiceDialog()

Returns array with indexes of selected items.

setSelections(This, Selections) -> ok

Types:

This = wxMultiChoiceDialog()
Selections = [integer()]

Sets selected items from the array of selected items' indexes.

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

Destroys the object.

Releases

7 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12

From erlang-manpages 1:25.2.3+dfsg-1+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.