gtkmm-plplot
gtkmm-plplot copied to clipboard
Look into supporting gtkmm4
gtkmm4 was released today... time to have a look at it.
Quite a bit of work. I migrated today, almost done, 5 hours so far for my trivial plotting app . Quite a bit of reading around, but getting there :) Event handling has changed a lot. Of course as per gtk style docs are thin on the ground and undocumented features a plenty :) Cheers :)
Yeah looks like a lot of fun... I am in no hurry to start the migration here so if you would like to give it a try yourself, feel free to do so 😄
I am beginning to find a few bugs now too. Could be because of my source build from tarballs, but in conclusion I don't trust it yet for prime time. themeing is broken, intelligent window placement is awful ,always at 0,0 because they removed it (sighs). Mouse events (now in the form of gesture events to support touch screens) are sluggish and stop responding with cairo surfaces occasionally for some unknown reason. Long live gtkmm3 :D
On Mon, 4 Jan 2021 at 22:23, Tom Schoonjans [email protected] wrote:
Yeah looks like a lot of fun... I am in no hurry to start the migration here so if you would like to give it a try yourself, feel free to do so 😄
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tschoonj/gtkmm-plplot/issues/28#issuecomment-754259569, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQS3FQB67OEQ2GITEM5YW3SYI5XVANCNFSM4VDKD3PA .
This looks relevant: https://blog.gtk.org/2020/04/24/custom-widgets-in-gtk-4-drawing/
Got all my cairo code workingn gtkmm4. As long as gtkmm is build against gtk4.0.3 or later most issues I came across have been fixed. yeah have0n't used the snapshots yet. The porting was mostly quite trivial. Most drawing code remained the same. Events changed .. a lot. I don't have a touch screen, but in theory I can zoom with swipe gestures now too :). Uploading next week after Fedora 34 release so I can rebuild against the latest gtk4.