How to hide module GUI Panel?

How can I hide the module GUI panel?


I was able to hide all the bars but can’t hide the GUI with this welcome label on the left.

Usually we keep the module panel displayed, showing a custom module GUI, but you can hide it entirely very easily:

mainWindow().findChild('QDockWidget','PanelDockWidget').hide()