Re: [gtkmm4] Help on DrawingArea plus Mouse Activity

2022-07-09 Thread Andrew Potter via gtkmm-list
The base gtk documentation will be more informative on how to use the toolkit in general. Specifically, https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkwidget-event-signals covers how to change event handling. The relevant event controllers: GestureClick, GestureStylus, GestureDrag

[gtkmm4] Help on DrawingArea plus Mouse Activity

2022-07-09 Thread Mj Mendoza IV via gtkmm-list
Hi, I'm porting a 2D Animation Software from gtkmm3 to gtkmm4. As a drawing tool, it heavily relies on Gtk::DrawingArea and mouse activities (movements and presses). I got the keyboard activity working from a different code demo. I've tried the Cairo-based Clock demo, and adjusted my code to

Re: Unparenting from GtkWidget "destroy"

2022-07-09 Thread Andrew Potter via gtkmm-list
On Fri, Jul 8, 2022 at 11:10 AM Baldvin Kovacs wrote: > > The one I linked in the original email follows well the pattern I have: > https://github.com/baldvin-kovacs/gtkmm-destroy-demo/blob/main/gtkmm-destroy-demo.cc > . Now I added the #if to make it compile and run without the exposed >