www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Will D have a standard cross platform GUI toolkit?

reply "Rinzler" <blah gfail.com> writes:
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!
Feb 26 2015
next sibling parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
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.
Feb 26 2015
next sibling parent "Rinzler" <blah gfail.com> writes:
Thanks to both answers. I hope there's more support for this kind 
of things too.

I will post other questions soon :)
Feb 26 2015
prev sibling parent reply "Rinzler" <blah gfail.com> writes:
By the way, which, in your opinion, is the most performant and 
more stable?
Feb 26 2015
parent "CraigDillabaugh" <craig.dillabaugh gmail.com> writes:
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)
Feb 26 2015
prev sibling next sibling parent "CraigDillabaugh" <craig.dillabaugh gmail.com> writes:
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
Feb 26 2015
prev sibling next sibling parent Jacob Carlborg <doob me.com> writes:
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
Feb 26 2015
prev sibling next sibling parent reply "Zekereth" <viserion.thrall gmail.com> writes:
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.
Feb 26 2015
parent "Rinzler" <blah gfail.com> writes:
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?
Feb 26 2015
prev sibling parent "Piotrek" <no_data no_data.pl> writes:
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
Feb 26 2015