Home / Lua API Manual / darktable / darktable.gui / darktable.gui.current_view
< darktable.gui.create_job
darktable.gui.hovered >

# 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

< darktable.gui.create_job
darktable.gui.hovered >