darktable.gui.panel_hide_all

function(
)

Hide all panels.