listdlg2#

listdlg2(*, promptstring='', liststring, selectionmode='multiple', initialvalue=None, listsize=None, name='', okstring='Ok', cancelstring='Cancel', parent=None)#

Open an EEGLAB-like list selector.

Returns 1-based selected list positions, an OK flag, and the selected display strings joined by spaces, matching EEGLAB listdlg2. A scalar string is one list item rather than a sequence of characters.

Parameters:
Return type:

tuple[list[int], int, str]