-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use GLArea in node-gtk? #368
Comments
The functions need to be bound through GObject-Introspection for C objects to be usable in javascript. Is this example working for any other GIR library such as pygobject or GJS? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I keep trying a few codes but it's not working at all.
I have been trying this:
the
gl
seems to be an instance ofGdkWaylandGLContext
but it keeps sayingTypeError: gl.clearColor is not a function
. How am i supposed to actually use GLArea inside of node-gtk and is it even possible?The text was updated successfully, but these errors were encountered: