Skip to content

pyui.run_modal_subdialog

fabian-flassig edited this page Mar 31, 2021 · 2 revisions

Creates and displays a subdialog window to enable user interaction with the plugin.

pyui.run_modal_subdialog(init_func, ...) 
Parameter Type Description
init_func function An initialization function
... ... Arbitrary additional parameters that are passed to the initialization function

Note: The initialization function is invoked as init_func(dialog, ...) where dialog is a handle for the newly created dialog and ... are the additional parameters from above.

Return value

Type Description
string ok (default), cancel if the dialog has been canceled

Remarks:

In contrast to pyui.run_modal_dialog, ending the dialog with the close button or Cancel button will not raise an error.

See also:

pytha, element handles, pyui.run_modal_dialog

Clone this wiki locally