inputgui#
- inputgui(spec: DialogSpec, initial_values: Mapping[str, Any] | None = None, renderer: Any | None = None, *, mode: Literal['normal'] = 'normal') dict[str, Any] | None#
- inputgui(spec: DialogSpec, initial_values: Mapping[str, Any] | None = None, renderer: Any | None = None, *, mode: Literal['plot']) tuple[Any, Any, dict[str, Any]]
Render an EEGLAB-like dialog specification.
mode="normal"runs the modal dialog and returns tagged values, orNonewhen the user cancels.mode="plot"displays the dialog without blocking and returns(app, dialog, tagged_widgets)so callers can manage the window. The non-blocking mode is useful for previews and custom workflows that need to retain the dialog handle.