aferust at gmail.com
Mon Sep 21 10:04:28 UTC 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)
> 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.
More information about the Digitalmars-d