Re: [gtkmm4] Help on DrawingArea plus Mouse Activity

2022-07-26 Thread Mj Mendoza IV via gtkmm-list
Hi Andrew! Thanks for porting the demo code. I saw the GTK version earlier but I'm not familiar on Gtkmm4 API to actually port the GTK version. I'm still halfway in porting my code, but I can draw now so I feel like it's better progress now than without your gtkmm ported version of the GTK

Re: [gtkmm4] Help on DrawingArea plus Mouse Activity

2022-07-10 Thread Kjell Ahlstedt via gtkmm-list
Den 2022-07-09 kl. 20:02, skrev Mj Mendoza IV via gtkmm-list: I've tried the Cairo-based Clock demo, and adjusted my code to reflect needed changes to port to gtkmm4.  Now, I'm currently missing mouse activities. In addition to what Andrew Potter suggested, if you want to track all mouse

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