www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Is anyone running gtk4 is D?

reply Iliana Marquardt <0904reg linksmonkey.com> writes:
I'm building a UI component library on top of gtk3 to aid and 
building good looking UI faster with few lines of code. Currently 
using Gtk-d (gtk3)

I know there's a gtk4 branch somewhere but doesn't seem to have 
gained much improvement a while now. I would much rather prefer 
going with the newest version of gtk, v4, rather than the soon to 
be phased out, v3

Is anyone able to use gtk4 in D?
Apr 09
next sibling parent Dejan Lekic <dejan.lekic gmail.com> writes:
On Tuesday, 9 April 2024 at 09:15:18 UTC, Iliana Marquardt wrote:
 I know there's a gtk4 branch somewhere but doesn't seem to have 
 gained much improvement a while now. I would much rather prefer 
 going with the newest version of gtk, v4, rather than the soon 
 to be phased out, v3

 Is anyone able to use gtk4 in D?
I believe the best would be to start a thread in the GtkD support forum. There have been few individuals who tried to bring the v4 branch up-to-date but it does not look like they were successful. It is unfair to expect Mike Wey to do everything - it should be a community effort. In fact, I humbly believe D Foundation should be involved as this is in my humble opinion one of the most important project in D ecosystem. GtkD is the most complete GUI toolkit for D, without any doubt.
Apr 09
prev sibling parent Jamie <jamie652cordeiro outlook.com> writes:
On Tuesday, 9 April 2024 at 09:15:18 UTC, Iliana Marquardt wrote:
 I'm building a UI component library on top of gtk3 to aid and 
 building good looking UI faster with few lines of code. 
 Currently using Gtk-d (gtk3)

 I know there's a gtk4 branch somewhere but doesn't seem to have 
 gained much improvement a while now. I would much rather prefer 
 going with the newest version of gtk, v4, rather than the soon 
 to be phased out, v3

 Is anyone able to use gtk4 in D?
Yes, you can use GTK4 in D. Although the GTK4 branch for the GtkD wrapper hasn’t been updated recently, GTK4 is still a C library and can be used directly from D.
Apr 12