maoschanz / drawing

Simple image editor for Linux
https://maoschanz.github.io/drawing/
GNU General Public License v3.0
784 stars 101 forks source link

GTK4: use a GtkDrawingArea #570

Open maoschanz opened 1 year ago

maoschanz commented 1 year ago

https://blog.gtk.org/2020/04/24/custom-widgets-in-gtk-4-drawing/

GtkDrawingArea is still a valid option

not GtkLayout :/

you call gtk_drawing_area_set_draw_func() to provide your drawing function instead of connecting a signal handler to the the ::draw signal

fine

Redefine how to scroll, maybe???