20202021 wxWidgets team. Licensed under the wxWindows Free Documentation Licence, Version 3 wxSingleChoiceDialog
wxSingleChoiceDialog Functions for wxSingleChoiceDialog class

This class represents a dialog that shows a list of strings, and allows the user to select one. Double-clicking on a list item is equivalent to single-clicking and then pressing OK.

Styles

This class supports the following styles:

See: Overview cmndlg, wxMultiChoiceDialog

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

wxWidgets docs: wxSingleChoiceDialog

See: new/5 Constructor, taking an array of wxString (not implemented in wx) choices and optional client data.

Constructor, taking an array of wxString (not implemented in wx) choices and optional client data.

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

Returns the index of selected item.

Returns the index of selected item.

Returns the selected string.

Returns the selected string.

Sets the index of the initially selected item.

Sets the index of the initially selected item.

Destructor

Destroys the object.