3.5. events.view-changed

event

This event is triggered after the user changed the active view

3.5.1. events.view-changed.callback

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

event
string

The name of the event that triggered the callback.

old_view
types.dt_lua_view_t

The view that we just left

new_view
types.dt_lua_view_t

The view we are now in

3.5.2. events.view-changed.extra registration parameters

This event has no extra registration parameters.