Thread overview
Will D have a standard cross platform GUI toolkit?
Feb 26, 2015
Rinzler
Feb 26, 2015
Adam D. Ruppe
Feb 26, 2015
Rinzler
Feb 26, 2015
Rinzler
Feb 26, 2015
CraigDillabaugh
Feb 26, 2015
CraigDillabaugh
Feb 26, 2015
Jacob Carlborg
Feb 26, 2015
Zekereth
Feb 26, 2015
Rinzler
Feb 26, 2015
Piotrek
February 26, 2015
Hello,

I was wondering if D will have a standard cross platform GUI toolkit.

I think that any modern language should provide a cross-platform GUI toolkit. I know that there are some GUI toolkits, but are there cross-platform? Are there serious works? That is, will them always be supported and evolve along with the D programming language?

I think that having bindings of a GUI toolkit for a programming languages can be useful, but they have to be well supported.

Will QT support D programming language? I really love the Qt framework (except from the fact it's not open source, as far as I know), even though I have not used it a lot.

I have to admit that I love D, even if I did not start programming with it. It seems it combines the most useful things of C++ and Java, which are my favourite programming languages.

Maybe there are other questions already in the forum, since I am new, I don't know, but a new question, more up to date, can also be useful.

Thanks!
February 26, 2015
On Thursday, 26 February 2015 at 18:20:12 UTC, Rinzler wrote:
> I was wondering if D will have a standard cross platform GUI toolkit.

Maybe some day, but probably not because there's not enough agreement on which one to use or what it should do. There's a few different ones out there that people maintain themselves, but none are considered standard - you just pick the one that looks right to you.

Among the options are:

gtkd: https://github.com/gtkd-developers/GtkD
tkd: https://github.com/nomad-software/tkd
qtd (old): https://github.com/qtd-developers/qtd

my simpledisplay.d and color.d if you just need the basic drawing
https://github.com/adamdruppe/arsd/blob/master/simpledisplay.d
https://github.com/adamdruppe/arsd/blob/master/color.d


And I think there's a few others but I don't remember their names right now. You can also use C libraries like SDL from D.

> Will QT support D programming language?

I doubt Nokia themselves will officially support D, but D is getting better and better C++ integration, so it shouldn't be long until it is possible for us to bind to the library. (It already is in some limited amount, but it isn't easy to use. There's also bindings to it through an intermediate layer, but they tend to be buggy and not well maintained (last I heard anyway) as well as kinda heavyweight.)

So my answer to this is probably yes, but I wouldn't expect it to be ready for serious use for another year.

Qt is open source btw.
February 26, 2015
On Thursday, 26 February 2015 at 18:20:12 UTC, Rinzler wrote:
> Hello,
>
> I was wondering if D will have a standard cross platform GUI toolkit.
>
> I think that any modern language should provide a cross-platform GUI toolkit. I know that there are some GUI toolkits, but are there cross-platform? Are there serious works? That is, will them always be supported and evolve along with the D programming language?
>
> I think that having bindings of a GUI toolkit for a programming languages can be useful, but they have to be well supported.
>
> Will QT support D programming language? I really love the Qt framework (except from the fact it's not open source, as far as I know), even though I have not used it a lot.
>
> I have to admit that I love D, even if I did not start programming with it. It seems it combines the most useful things of C++ and Java, which are my favourite programming languages.
>
> Maybe there are other questions already in the forum, since I am new, I don't know, but a new question, more up to date, can also be useful.
>
> Thanks!

You may want to check out DOtherSide, which is a set of bindings to QML:

https://github.com/filcuc/DOtherSide
February 26, 2015
Thanks to both answers. I hope there's more support for this kind of things too.

I will post other questions soon :)
February 26, 2015
By the way, which, in your opinion, is the most performant and more stable?

February 26, 2015
On Thursday, 26 February 2015 at 18:49:39 UTC, Rinzler wrote:
> By the way, which, in your opinion, is the most performant and more stable?

I personally can't help you there, as I've never done any GUI programming in D.  Maybe you can test a few of them out and write a report :o)
February 26, 2015
On 2015-02-26 19:20, Rinzler wrote:
> Hello,
>
> I was wondering if D will have a standard cross platform GUI toolkit.
>
> I think that any modern language should provide a cross-platform GUI
> toolkit. I know that there are some GUI toolkits, but are there
> cross-platform? Are there serious works? That is, will them always be
> supported and evolve along with the D programming language?
>
> I think that having bindings of a GUI toolkit for a programming
> languages can be useful, but they have to be well supported.
>
> Will QT support D programming language? I really love the Qt framework
> (except from the fact it's not open source, as far as I know), even
> though I have not used it a lot.
>
> I have to admit that I love D, even if I did not start programming with
> it. It seems it combines the most useful things of C++ and Java, which
> are my favourite programming languages.

Since Java is one of your favorite languages I can recommend DWT [1], a port of SWT to D. It works for Windows and Linux, a port of OS X is being worked on.

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

-- 
/Jacob Carlborg
February 26, 2015
On Thursday, 26 February 2015 at 18:20:12 UTC, Rinzler wrote:
> Hello,
>
> I was wondering if D will have a standard cross platform GUI toolkit.
>
> I think that any modern language should provide a cross-platform GUI toolkit. I know that there are some GUI toolkits, but are there cross-platform? Are there serious works? That is, will them always be supported and evolve along with the D programming language?
>
> I think that having bindings of a GUI toolkit for a programming languages can be useful, but they have to be well supported.
>
> Will QT support D programming language? I really love the Qt framework (except from the fact it's not open source, as far as I know), even though I have not used it a lot.
>
> I have to admit that I love D, even if I did not start programming with it. It seems it combines the most useful things of C++ and Java, which are my favourite programming languages.
>
> Maybe there are other questions already in the forum, since I am new, I don't know, but a new question, more up to date, can also be useful.
>
> Thanks!
I can't believe no one has mentioned Dlangui https://github.com/buggins/dlangui.
February 26, 2015
On Thursday, 26 February 2015 at 20:15:53 UTC, Zekereth wrote:
> On Thursday, 26 February 2015 at 18:20:12 UTC, Rinzler wrote:
>> Hello,
>>
>> I was wondering if D will have a standard cross platform GUI toolkit.
>>
>> I think that any modern language should provide a cross-platform GUI toolkit. I know that there are some GUI toolkits, but are there cross-platform? Are there serious works? That is, will them always be supported and evolve along with the D programming language?
>>
>> I think that having bindings of a GUI toolkit for a programming languages can be useful, but they have to be well supported.
>>
>> Will QT support D programming language? I really love the Qt framework (except from the fact it's not open source, as far as I know), even though I have not used it a lot.
>>
>> I have to admit that I love D, even if I did not start programming with it. It seems it combines the most useful things of C++ and Java, which are my favourite programming languages.
>>
>> Maybe there are other questions already in the forum, since I am new, I don't know, but a new question, more up to date, can also be useful.
>>
>> Thanks!
> I can't believe no one has mentioned Dlangui https://github.com/buggins/dlangui.

Is it stable? Do you think it will have future?

February 26, 2015
On Thursday, 26 February 2015 at 18:20:12 UTC, Rinzler wrote:
> Hello,
>
> I was wondering if D will have a standard cross platform GUI toolkit.
>
> I think that any modern language should provide a cross-platform GUI toolkit. I know that there are some GUI toolkits, but are there cross-platform? Are there serious works? That is, will them always be supported and evolve along with the D programming language?
>
> I think that having bindings of a GUI toolkit for a programming languages can be useful, but they have to be well supported.
>
> Will QT support D programming language? I really love the Qt framework (except from the fact it's not open source, as far as I know), even though I have not used it a lot.
>
> I have to admit that I love D, even if I did not start programming with it. It seems it combines the most useful things of C++ and Java, which are my favourite programming languages.
>
> Maybe there are other questions already in the forum, since I am new, I don't know, but a new question, more up to date, can also be useful.
>
> Thanks!

Hi,

There were several discussions about the std gui in the past. And the current state is not so bad. There are some big contributions  in the gui domain. However the complexity of the topic is so hi that there is no *standard* gui for D for the time being.

However I've been trying to start with the concept of DIP73 http://wiki.dlang.org/DIP73
(I'm the submitter and the only executor ;) with the hope that there is a chance.

Currently I'm choosing some example ideas of new modules (including database and gui especially).

Piotrek