I have a GtkWindow and want to use the functionality of gdk_window_get_visible_region() and gdk_window_shape_combine_region_() on them in order to create a custom shaped window. I understand that GtkWindow and GdkWindow are very different objects.
I can't find a way to connect the two. I already have my GtkWindow with a partly opaque cairo drawing on it. Is there a way to simply convert it to a GdkWindow?