GLWindow.setCloseCallback

void setCloseCallback(gstgl.types.GLWindowCB callback)

Sets the callback called when the window is about to close.

Parameters

callbackfunction to invoke