www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - What GUI lib do you tend to use in D? if you don't use the one you

reply Dr Machine Code <jckj33 gmail.com> writes:
for people devs that make GUI apps, i'd like to know the state of 
GUI libs.  What GUI lib do you tend to use in D? if you don't use 
the one you want, what's preventing it? wrapper not available? 
GUI designer?
Jan 03 2022
next sibling parent Adam D Ruppe <destructionator gmail.com> writes:
On Monday, 3 January 2022 at 21:24:49 UTC, Dr Machine Code wrote:
 for people devs that make GUI apps, i'd like to know the state 
 of GUI libs.  What GUI lib do you tend to use in D?
I only use my minigui.d. But it might not work for anyone else since I build it as I use it.
Jan 04 2022
prev sibling next sibling parent reply norm <norm.rowtree gmail.com> writes:
On Monday, 3 January 2022 at 21:24:49 UTC, Dr Machine Code wrote:
 for people devs that make GUI apps, i'd like to know the state 
 of GUI libs.  What GUI lib do you tend to use in D? if you 
 don't use the one you want, what's preventing it? wrapper not 
 available? GUI designer?
https://gtkd.org/ This is the only GUI library for D I'd consider full featured and commercial ready. Our experience has been that it just worked out of the box and so far we have not had any bugs in the bindings, just our code. We tried others but they either were too minimal or the bindings too immature. We are using it for internal manufacturing and calibration tools. Cheers
Jan 04 2022
parent reply "Nick Sabalausky (Abscissa)" <SeeWebsiteToContactMe semitwist.com> writes:
On 1/4/22 9:04 PM, norm wrote:
 
 https://gtkd.org/
 
 This is the only GUI library for D I'd consider full featured and 
 commercial ready. Our experience has been that it just worked out of the 
 box and so far we have not had any bugs in the bindings, just our code. 
 We tried others but they either were too minimal or the bindings too 
 immature.
This is beyond sad for D. The forever-neverending shitstorm that has always been the user-facing side of GTK is one of the top reasons I abandoned the tech sector as a whole. D's been around for how long now, and apparently the *only* worthwhile D GUI is *still* cemented to the ungodly POS that is the GTK project? A small, very naive part of me was really hoping to see that at least something non-trivial might've improved in D since I last checked in (because god knows it certainly hasn't anywhere else in the tech sector) GTK of all things.....
Jan 08 2022
next sibling parent SealabJaster <sealabjaster gmail.com> writes:
On Sunday, 9 January 2022 at 05:53:14 UTC, Nick Sabalausky 
(Abscissa) wrote:
 ...
 GUI is *still* cemented to the ungodly POS that is the GTK 
 project? A small, very naive part of me was really hoping to 
 see that at least something non-trivial might've improved in D 
 since I last checked in (because god knows it certainly hasn't 
 anywhere else in the tech sector) GTK of all things.....
If only the dlangui guy didn't completely disappear: https://github.com/buggins/dlangui/issues/608 An argument could be made referring to D's apparent issue of retaining talent :D
Jan 08 2022
prev sibling next sibling parent reply Adam D Ruppe <destructionator gmail.com> writes:
On Sunday, 9 January 2022 at 05:53:14 UTC, Nick Sabalausky 
(Abscissa) wrote:
 and apparently the *only* worthwhile D GUI is *still* cemented 
 to the ungodly POS that is the GTK project?
Everyone ignores my stuff but it is better than literally everything else in the entire universe by quadrillions of light-millennia. Roll that beautiful bean footage: http://dpldocs.info/this-week-in-d/Blog.Posted_2022_01_03.html#ff1-nsf
Jan 09 2022
next sibling parent Daniel N <no public.email> writes:
On Sunday, 9 January 2022 at 13:08:20 UTC, Adam D Ruppe wrote:
 On Sunday, 9 January 2022 at 05:53:14 UTC, Nick Sabalausky 
 (Abscissa) wrote:
 and apparently the *only* worthwhile D GUI is *still* cemented 
 to the ungodly POS that is the GTK project?
Everyone ignores my stuff but it is better than literally everything else in the entire universe by quadrillions of light-millennia. Roll that beautiful bean footage: http://dpldocs.info/this-week-in-d/Blog.Posted_2022_01_03.html#ff1-nsf
Impressive and I agree, it really is all that.
Jan 09 2022
prev sibling next sibling parent reply Sai <user tmp.com> writes:
On Sunday, 9 January 2022 at 13:08:20 UTC, Adam D Ruppe wrote:
 On Sunday, 9 January 2022 at 05:53:14 UTC, Nick Sabalausky 
 (Abscissa) wrote:
 and apparently the *only* worthwhile D GUI is *still* cemented 
 to the ungodly POS that is the GTK project?
Everyone ignores my stuff but it is better than literally everything else in the entire universe by quadrillions of light-millennia. Roll that beautiful bean footage: http://dpldocs.info/this-week-in-d/Blog.Posted_2022_01_03.html#ff1-nsf
Ah, didn't know that. I saw minigui before but I thought its not mature yet. It would really help if you can add one or two screenshots of some widgets and some examples here: https://github.com/adamdruppe/arsd or here https://code.dlang.org/packages/arsd-official%3Aminigui (on the front/main pages), it might help with visibility/popularity. Will check it out soon. Thanks.
Jan 10 2022
parent Adam D Ruppe <destructionator gmail.com> writes:
On Monday, 10 January 2022 at 15:13:45 UTC, Sai wrote:
 It would really help if you can add one or two screenshots of 
 some widgets and some examples here:
I wrote a new test runner that can do auto screenshots of examples, I just need to find the time to write them now.
Jan 11 2022
prev sibling parent reply Salih Dincer <salihdb hotmail.com> writes:
On Sunday, 9 January 2022 at 13:08:20 UTC, Adam D Ruppe wrote:
 On Sunday, 9 January 2022 at 05:53:14 UTC, Nick Sabalausky 
 (Abscissa) wrote:
 and apparently the *only* worthwhile D GUI is *still* cemented 
 to the ungodly POS that is the GTK project?
Everyone ignores my stuff but it is better than literally everything else in the entire universe by quadrillions of light-millennia. Roll that beautiful bean footage: http://dpldocs.info/this-week-in-d/Blog.Posted_2022_01_03.html#ff1-nsf
You're doing us and yourself an injustice. I care about your work, especially the simple ones. Example [here](https://forum.dlang.org/post/dejbienmhoiovyustujl forum.dlang.org) I drew 3D shapes and rotated them around. These have always been codes of you. Salih
Jan 10 2022
parent Adam D Ruppe <destructionator gmail.com> writes:
On Monday, 10 January 2022 at 17:06:19 UTC, Salih Dincer wrote:
 I drew 3D shapes and rotated them around.
nice. You might be able to use some of the opengl functions for that too, I'm slowly adding more integrated shader stuff to the lib too.
Jan 11 2022
prev sibling parent reply norm <normowtree gmail.com> writes:
On Sunday, 9 January 2022 at 05:53:14 UTC, Nick Sabalausky 
(Abscissa) wrote:
 On 1/4/22 9:04 PM, norm wrote:
 
 https://gtkd.org/
 
 This is the only GUI library for D I'd consider full featured 
 and commercial ready. Our experience has been that it just 
 worked out of the box and so far we have not had any bugs in 
 the bindings, just our code. We tried others but they either 
 were too minimal or the bindings too immature.
This is beyond sad for D. The forever-neverending shitstorm that has always been the user-facing side of GTK is one of the top reasons I abandoned the tech sector as a whole. D's been around for how long now, and apparently the *only* worthwhile D GUI is *still* cemented to the ungodly POS that is the GTK project? A small, very naive part of me was really hoping to see that at least something non-trivial might've improved in D since I last checked in (because god knows it certainly hasn't anywhere else in the tech sector) GTK of all things.....
Where would you go? GTK just worked out of the box first time and the interface from D was pleasant enough to use. Making it look pretty was simple, most of it bog standard css, and not an interesting enough engineering problem to even consider in the selection. Qt with D is off the table because there is nothing production ready and tbh Qt was the only framework that came close to the feature set we needed. The other options are personal projects but none had the features or maturity we required. Windows/Linux, skinning, translations, layout, quality *and correct* 2D rendering (maps and print preview) etc. The personal projects are great for something where you might use tkinter or the like. Also we were fighting just to use D because it is seen as either buggy with nasty gotchas ready to bite or simply or not worth the effort when we have pyqt or pyside with a single pip install.
Jan 10 2022
parent norm <normowtree gmail.com> writes:
On Tuesday, 11 January 2022 at 06:49:22 UTC, norm wrote:
 On Sunday, 9 January 2022 at 05:53:14 UTC, Nick Sabalausky 
 (Abscissa) wrote:
 [...]
Where would you go? [...]
But having said all that I take your point that GTK is the only option with D that we could find and that is a pity. I guess it just comes down to people power.
Jan 10 2022
prev sibling next sibling parent reply Sai <user tmp.com> writes:
On Monday, 3 January 2022 at 21:24:49 UTC, Dr Machine Code wrote:
 for people devs that make GUI apps, i'd like to know the state 
 of GUI libs.  What GUI lib do you tend to use in D? if you 
 don't use the one you want, what's preventing it? wrapper not 
 available? GUI designer?
I used DWT with good success in the past it results in nice small executables. The learning curve is also pretty easy if you are familiar with Java and SWT. I experimented with dlangUI and it looked nice but looks like it's development suddenly stopped not sure why. I also experimented with GTKD but I only write small tools and I don't like to to ship a huge library of 20 megabytes (with all the DLLs) with small tools which are only 1 or 2 megabytes. Not sure if there is any way to cut down the size of the library.
Jan 05 2022
parent Sai <user tmp.com> writes:
On Wednesday, 5 January 2022 at 14:58:28 UTC, Sai wrote:
 On Monday, 3 January 2022 at 21:24:49 UTC, Dr Machine Code 
 wrote:
 for people devs that make GUI apps, i'd like to know the state 
 of GUI libs.  What GUI lib do you tend to use in D? if you 
 don't use the one you want, what's preventing it? wrapper not 
 available? GUI designer?
I used DWT with good success in the past it results in nice small executables. The learning curve is also pretty easy if you are familiar with Java and SWT. I experimented with dlangUI and it looked nice but looks like it's development suddenly stopped not sure why. I also experimented with GTKD but I only write small tools and I don't like to to ship a huge library of 20 megabytes (with all the DLLs) with small tools which are only 1 or 2 megabytes. Not sure if there is any way to cut down the size of the library.
BTW, having a GUI designer is definitely a major plus. That's why I tend to use Java swing with Netbeans a lot because Java is already installed on most of the client PCs in my company.
Jan 05 2022
prev sibling parent Commander Zot <no no.no> writes:
On Monday, 3 January 2022 at 21:24:49 UTC, Dr Machine Code wrote:
 for people devs that make GUI apps, i'd like to know the state 
 of GUI libs.  What GUI lib do you tend to use in D? if you 
 don't use the one you want, what's preventing it? wrapper not 
 available? GUI designer?
I use vue.js + webview2/CEF + vibe.d
Jan 06 2022