GLWindow.setCloseCallback

void setCloseCallback(gstgl.types.GLWindowCB callback) nothrow

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

Parameters

callbackfunction to invoke