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. In contrast to pyui.run_modal_dialog

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

Return value

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

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.

See also:

pytha, element handles, pyui.run_modal_dialog

Clone this wiki locally