feat: add Window::set_enabled
and Window::is_enabled
#11154
Merged
Window::set_enabled
and Window::is_enabled
#11154