aluntzer / gtknodes

A GTK-based library to create functional flow graphs with the ability to pass arbitrary data between connected elements.
Other
92 stars 10 forks source link

Migration to GTK4.0 #18

Open vgrcs opened 1 year ago

vgrcs commented 1 year ago

Hi,

Do you plan to support GTK4.0?

aluntzer commented 1 year ago

Yes, eventually when I find the time.

vgrcs commented 1 year ago

You think the problem with drag-and-drop issue with GDK is fixed in the current release of GTK4.0?

aluntzer commented 1 year ago

I just tried gtk4-broadwayd explicitly together with the Drag-and-Drop example from the gtk4-demo.

I get

Gdk:ERROR:../gtk/gdk/gdkdrag.c:297:gdk_drag_set_property: assertion failed: (priv->surface != NULL) Bail out! Gdk:ERROR:../gtk/gdk/gdkdrag.c:297:gdk_drag_set_property: assertion failed: (priv->surface != NULL)

and the demo crashes, so I think this still requires fixing in the broadwayd GDK backend.

vgrcs commented 1 year ago

Okay.

abergmeier commented 10 months ago

~~Started here: https://github.com/aluntzer/gtknodes/pull/21 But quite a bit has changed in Gtk4.~~ Decided to rewrite from scratch.