dialog

Creates a dialog based on a data structure.

dialog(window, (YourStructure value) {
	// the user filled in the struct and clicked OK,
	// you can check the members now
});

Parameters

initialData T

the initial value to show in the dialog. It will not modify this unless it is a class then it might, no promises.

See Also

Meta

History

The overload that lets you specify initialData was added on December 30, 2021 (dub v10.5)

The overloads with parent were added September 29, 2024. The ones without it are likely to be deprecated soon.