Drag and drop with GLFW-b

How do I react to drag and drop events with the GLFW-b package ? There is a function on the GLFW website glfwSetDropCallback

, but it seems to have been dropped from the Haskell bindings.

GLFW-b relies on the low-level bindings-GLFW package , which includes the aforementioned feature (defined in input.c) and the release note for version 3.1 even displays drag and drop among new features.

Is this just an accidental oversight or cross-platform drag and drop issues that I'm not aware of?

+3


source to share


1 answer


Support callback return there on the side with the package GLFW-b

, but not on the side of the FFI / Haskell both bindings-GLFW

and GLFW-b

.

I created branches (& pull requests) for both packages, see

https://github.com/lamdu/bindings-GLFW



https://github.com/lamdu/GLFW-b

Drag & drop support is now inside Haskell GLFW-b packages.

+2


source







All Articles