1wxMultiChoiceDialog(3)     Erlang Module Definition     wxMultiChoiceDialog(3)
2
3
4

NAME

6       wxMultiChoiceDialog - Functions for wxMultiChoiceDialog class
7

DESCRIPTION

9       This class represents a dialog that shows a list of strings, and allows
10       the user to select one or more.
11
12       Styles
13
14       This class supports the following styles:
15
16       See: Overview cmndlg, wxSingleChoiceDialog
17
18       This class is derived (and can  use  functions)  from:  wxDialog  wxTo‐
19       pLevelWindow wxWindow wxEvtHandler
20
21       wxWidgets docs: wxMultiChoiceDialog
22

DATA TYPES

24       wxMultiChoiceDialog() = wx:wx_object()
25

EXPORTS

27       new(Parent, Message, Caption, Choices) -> wxMultiChoiceDialog()
28
29              Types:
30
31                 Parent = wxWindow:wxWindow()
32                 Message = Caption = unicode:chardata()
33                 Choices = [unicode:chardata()]
34
35       new(Parent, Message, Caption, Choices, Options :: [Option]) ->
36              wxMultiChoiceDialog()
37
38              Types:
39
40                 Parent = wxWindow:wxWindow()
41                 Message = Caption = unicode:chardata()
42                 Choices = [unicode:chardata()]
43                 Option =
44                     {style,  integer()}  |  {pos, {X :: integer(), Y :: inte‐
45                 ger()}}
46
47              Constructor taking an array of wxString (not implemented in  wx)
48              choices.
49
50              Remark: Use wxDialog:showModal/1 to show the dialog.
51
52       getSelections(This) -> [integer()]
53
54              Types:
55
56                 This = wxMultiChoiceDialog()
57
58              Returns array with indexes of selected items.
59
60       setSelections(This, Selections) -> ok
61
62              Types:
63
64                 This = wxMultiChoiceDialog()
65                 Selections = [integer()]
66
67              Sets selected items from the array of selected items' indexes.
68
69       destroy(This :: wxMultiChoiceDialog()) -> ok
70
71              Destroys the object.
72
73
74
75wxWidgets team.                     wx 2.1              wxMultiChoiceDialog(3)
Impressum