chickadee » nuklear » init!

init! window install-callbacks?procedure

Initializes the backend and returns a context to be used in all GUI procedures. WINDOW must be a GLFW3 window and can be obtained with its (window) parameter after successful setup. If INSTALL-CALLBACKS? is #t, input and scrolling callbacks are set up, otherwise the created context can only be used for visualizing data.