darktable.gui.current_view
function(
[view : types.dt_lua_view_t]
) : types.dt_lua_view_t
Get or change the current view.
- [view] - _types.dt_lua_view_t_ - The view to switch to. If empty the current view is unchanged
- return - _types.dt_lua_view_t_ - the current view