darktable.gui.current_view

function(
  [view : types.dt_lua_view_t]
) : types.dt_lua_view_t

Get or change the current view.