glfw_window_focus_callback:GLFWwindowfocusfun   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm

Implementation

(bind-func glfw_window_focus_callback:GLFWwindowfocusfun
  (lambda (window focused)
    (if (= focused (convert 1)) ;; GL_TRUE
        (printf "window %p gained focus\n" window)
        (printf "window %p lost focus\n" window))
    void))


Back to Index