-
Notifications
You must be signed in to change notification settings - Fork 9
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 do I create cairo context from pointer? #40
Comments
Can you provide example how to use the cr in Gtk4 and get to using it
as the cr in the examples.
I'm sorry but I haven't used this library for a long time, and never with Gtk4.
|
No worries. I have an alternative solution for working with Gtk4. Thank you for reply. |
[…] I have an alternative solution for working with Gtk4.
Good. You may want to post it here so as to help others that have the same question.
|
Somebody has suggested to do it his way. |
You have: Line 40 in 918ef6e
there seems to be a way to create another type of context using a pointer Is that what I am looking for? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am experimenting with Gtk4.
https://docs.gtk.org/gtk4/callback.DrawingAreaDrawFunc.html
and try to write a callback.
Can you provide example how to use the cr in Gtk4 and get to using it as the cr in the examples.
My doubtful understanding is that I need to create context from the pointer.
I am a noob and trying various gives me errors that I do not understand.
https://github.com/bigos/gtk_minimal/blob/main/bin/main.ml
The text was updated successfully, but these errors were encountered: