view_changed

event

This event is triggered after the user changed the active view

#view-changed.callback

function(
  event : string,
  old_view : types.dt_lua_view_t,
  new_view : types.dt_lua_view_t
)

#view-changed.extra registration parameters

This event has no extra registration parameters.