Jump to page: 1 2
Thread overview
GUI development
Sep 21, 2020
Imperatorn
Sep 21, 2020
Ferhat Kurtulmuş
Sep 21, 2020
Imperatorn
Sep 21, 2020
Imperatorn
Sep 21, 2020
Martyn
Sep 21, 2020
Ferhat Kurtulmuş
Sep 21, 2020
Imperatorn
Sep 21, 2020
Oleg B
Sep 21, 2020
Imperatorn
Sep 21, 2020
Antonio
Sep 21, 2020
Jacob Carlborg
Sep 21, 2020
Imperatorn
Sep 22, 2020
Jacob Carlborg
September 21, 2020
What is the easiest way to create GUI applications in D?
Like drag n drop style? IDE support?

(We're using Windows 10 in our organization, so a Windows-friendly solution would be nice)

Thanks!
September 21, 2020
On Monday, 21 September 2020 at 08:39:44 UTC, Imperatorn wrote:
> What is the easiest way to create GUI applications in D?
> Like drag n drop style? IDE support?
>
> (We're using Windows 10 in our organization, so a Windows-friendly solution would be nice)
>
> Thanks!

Gtkd would be the closest thing to "drag and drop", if you use the glade designer to create your guis.

Gtkd is maintained and mature. Gtk+ can be used for commercial purposes.

https://gtkd.org/
https://stackoverflow.com/questions/32516092/how-to-show-hello-world-with-glade-gtkd-and-the-d-programming-language

Those are some helpers to associate .glade files with d classes.
https://github.com/burner/gladeD
https://github.com/aferust/makegtkdclass

September 21, 2020
On Monday, 21 September 2020 at 09:10:49 UTC, Ferhat Kurtulmuş wrote:
> On Monday, 21 September 2020 at 08:39:44 UTC, Imperatorn wrote:
>> What is the easiest way to create GUI applications in D?
>> Like drag n drop style? IDE support?
>>
>> (We're using Windows 10 in our organization, so a Windows-friendly solution would be nice)
>>
>> Thanks!
>
> Gtkd would be the closest thing to "drag and drop", if you use the glade designer to create your guis.
>
> Gtkd is maintained and mature. Gtk+ can be used for commercial purposes.
>
> https://gtkd.org/
> https://stackoverflow.com/questions/32516092/how-to-show-hello-world-with-glade-gtkd-and-the-d-programming-language
>
> Those are some helpers to associate .glade files with d classes.
> https://github.com/burner/gladeD
> https://github.com/aferust/makegtkdclass

Splendid! I'll try that. Thanks!
September 21, 2020
On Monday, 21 September 2020 at 08:39:44 UTC, Imperatorn wrote:
> What is the easiest way to create GUI applications in D?
> Like drag n drop style? IDE support?
>
> (We're using Windows 10 in our organization, so a Windows-friendly solution would be nice)
>
> Thanks!

Sciter, may be: https://sciter.com/
September 21, 2020
On Monday, 21 September 2020 at 08:39:44 UTC, Imperatorn wrote:
> What is the easiest way to create GUI applications in D?
> Like drag n drop style? IDE support?
>
> (We're using Windows 10 in our organization, so a Windows-friendly solution would be nice)
>
> Thanks!

I have toyed with GtkD and is very promising and enjoyable.
You have Glade (installed separately) that is the interface designer. With my current project, however, I am writing it all in D code... very easy and readable so far. :-)

However, I have only compiled/run my examples on Linux. I do not know how they would turn out when running on Windows 10. I have heard GTK doesn't always look as nice on Windows or Apple but this may have been common in the past... or depends on what you are adding to the Window/Form.

(It seems like we are in a similar boat about using D on Windows systems. I have recently created a question about vibe.d on windows. lol. I am hoping that Dlang, for the most part, will be my answer to the 'one great language' of mine for multiple platforms)
September 21, 2020
On Monday, 21 September 2020 at 09:38:23 UTC, Martyn wrote:
> On Monday, 21 September 2020 at 08:39:44 UTC, Imperatorn wrote:
>> What is the easiest way to create GUI applications in D?
>> Like drag n drop style? IDE support?
>>
>> (We're using Windows 10 in our organization, so a Windows-friendly solution would be nice)
>>
>> Thanks!
>
> I have toyed with GtkD and is very promising and enjoyable.
> You have Glade (installed separately) that is the interface designer. With my current project, however, I am writing it all in D code... very easy and readable so far. :-)
>
> However, I have only compiled/run my examples on Linux. I do not know how they would turn out when running on Windows 10. I have heard GTK doesn't always look as nice on Windows or Apple but this may have been common in the past... or depends on what you are adding to the Window/Form.
>
> (It seems like we are in a similar boat about using D on Windows systems. I have recently created a question about vibe.d on windows. lol. I am hoping that Dlang, for the most part, will be my answer to the 'one great language' of mine for multiple platforms)

Yes, GtkD's looknfeel does not feel native on Windows. But it has CSS support. Recently, I was playing around with theming, and got successfully an OSX looknfeel on win 10 using https://github.com/vinceliuice/Sierra-gtk-theme. There is Win10 themes also available (https://www.gnome-look.org/p/1216281/).

Another issue to consider would be file dialogs. Gtk has its own generic file dialog, but there is an option to prefer native file dialogs on Windows.
September 21, 2020
On Monday, 21 September 2020 at 08:39:44 UTC, Imperatorn wrote:
> What is the easiest way to create GUI applications in D?
> Like drag n drop style? IDE support?
>
> (We're using Windows 10 in our organization, so a Windows-friendly solution would be nice)
>
> Thanks!

Hi!

Don't forget https://gtkdcoding.com/

Antonio.
September 21, 2020
On Monday, 21 September 2020 at 09:15:21 UTC, Виталий Фадеев wrote:
> On Monday, 21 September 2020 at 08:39:44 UTC, Imperatorn wrote:
>> What is the easiest way to create GUI applications in D?
>> Like drag n drop style? IDE support?
>>
>> (We're using Windows 10 in our organization, so a Windows-friendly solution would be nice)
>>
>> Thanks!
>
> Sciter, may be: https://sciter.com/

Will check it out. Looks nice
September 21, 2020
On Monday, 21 September 2020 at 08:39:44 UTC, Imperatorn wrote:
> What is the easiest way to create GUI applications in D?
> Like drag n drop style? IDE support?
>
> (We're using Windows 10 in our organization, so a Windows-friendly solution would be nice)
>
> Thanks!

DWT [1] works on Windows and Linux. It uses the native drawing operations of the platform. It will have the same look and feel as designed for the platform. On Linux it uses GTK. It does not have a GUI builder application.

[1] https://github.com/d-widget-toolkit/dwt

--
/Jacob Carlborg
September 21, 2020
On Monday, 21 September 2020 at 14:46:10 UTC, Jacob Carlborg wrote:
> On Monday, 21 September 2020 at 08:39:44 UTC, Imperatorn wrote:
>> What is the easiest way to create GUI applications in D?
>> Like drag n drop style? IDE support?
>>
>> (We're using Windows 10 in our organization, so a Windows-friendly solution would be nice)
>>
>> Thanks!
>
> DWT [1] works on Windows and Linux. It uses the native drawing operations of the platform. It will have the same look and feel as designed for the platform. On Linux it uses GTK. It does not have a GUI builder application.
>
> [1] https://github.com/d-widget-toolkit/dwt
>
> --
> /Jacob Carlborg

Cool, I'll take a look. Any "getting started" app you recommend?
« First   ‹ Prev
1 2