On 10/13/2021 4:43 PM, David Ranch wrote:
Hey Everyone,
I saw this today from the Debian bug tracking system and the hits of
start of removing GTK2. Read the details here as it seems that even GTK4
is just around the corner. Does anyone know if all this GTK3 work will
be mostly compatible with GTK4?
No real way to tell until we try GTK4.
An example is in mapdisplay.py.
The menu handling code from GTK-2 still works, but is deprecated in GTK-3, I think I went through two levels of deprecated methods to find what the current practice is, and it appears to be deprecated in GTK-4.
And I have not yet determined what is the supported method in GTK-4 and it it can be used in GTK-3.
While there is a porting guide from GTK-2 to GTK-3, I have not really found it to be very helpful. Much of the code in D-rats does not match what is in the porting guide or online examples.
As I posted before, for mapdisplay, I am going to start a rewrite of it, as the methods of doing that type of graphics displays has completely changed from GTK-2. So I am going to have to learn the new method a bit at a time.
73,
-John
wb8tyw@... /