Disable

This function disables a widget so that no mouse or keyboard input will affect it. All child widgets will also be disabled.

Syntax