What is the Vulkan equivalent of the GtkGLArea widget (GTK+)?

Viewed 3370

Background: I want to write a CAD application. I want to implement all rendering with Vulkan. And I want to use GTK+.

I don't want a (visible) different window for the rendered image of the object.

So I researched and found the GtkGLArea widget, which seems to do what I want, but for OpenGL.

Is there an equivalent to GTKGLArea? If not, is there another way to implement what I'm thinking of?

2 Answers

Lol that's simple trick with backend with X11 and Xlib_Create_Vulkan_Surface() on Gtk+3 like it works fine with Gtk+4.

Related