Skip to content

pyui.delete_control

fabian-flassig edited this page Jul 31, 2026 · 2 revisions

Remove a control from its dialog.

pyui.delete_control(control)
control:delete_control()

Parameters

Type Description
control control_handle Control handle

Return value

None

Note

The control handle becomes invalid once the control has been deleted. To hide a control without removing it, use hide_control instead.

See also

Control Gallery, hide_control, show_control, enable_control

Clone this wiki locally