www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - A GUI library to begin with

reply "Mr. Anonymous" <mailnew4ster gmail.com> writes:
Hello,

I want to start playing with D, and I'm looking at a GUI library to 
begin with.
 From what I see here:
http://www.prowiki.org/wiki4d/wiki.cgi?GuiLibraries
I have four choices:
GtkD, DWT, DFL, DGui.

Has anyone tried these? Any suggestions?
What is the status of DWT? What's the difference between DFL and DGui? 
Why does GTK suck (I read that a couple of times).

Thanks.
Feb 07 2012
next sibling parent reply Gour <gour atmarama.net> writes:
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Wed, 08 Feb 2012 05:55:37 +0200
"Mr. Anonymous" <mailnew4ster gmail.com> wrote:

 Has anyone tried these? Any suggestions?

wxD (http://wxd.sourceforge.net/) Sincerely, Gour --=20 Those persons who execute their duties according to My injunctions=20 and who follow this teaching faithfully, without envy, become free=20 from the bondage of fruitive actions. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
Feb 07 2012
parent "Mr. Anonymous" <mailnew4ster gmail.com> writes:
On 08.02.2012 7:04, Gour wrote:
 On Wed, 08 Feb 2012 05:55:37 +0200
 "Mr. Anonymous"<mailnew4ster gmail.com>  wrote:

 Has anyone tried these? Any suggestions?

wxD (http://wxd.sourceforge.net/) Sincerely, Gour

wxD is intended for D language version 1.0, and doesn't work as good with "D 2.0". Once the new language specification is released, wxD can be updated to support it. Is it still relevant, or is the website outdated?
Feb 07 2012
prev sibling next sibling parent Jacob Carlborg <doob me.com> writes:
On 2012-02-08 04:55, Mr. Anonymous wrote:
 Hello,

 I want to start playing with D, and I'm looking at a GUI library to
 begin with.
  From what I see here:
 http://www.prowiki.org/wiki4d/wiki.cgi?GuiLibraries
 I have four choices:
 GtkD, DWT, DFL, DGui.

 Has anyone tried these? Any suggestions?
 What is the status of DWT? What's the difference between DFL and DGui?
 Why does GTK suck (I read that a couple of times).

 Thanks.

The status of DWT is that it works on Windows and Linux GTK+ only on 32bit platforms. It's currently not a project I prioritize but others sometime contribute and make sure it's up to date with the latest compiler. -- /Jacob Carlborg
Feb 07 2012
prev sibling next sibling parent "Mars" <- -.-> writes:
On Wednesday, 8 February 2012 at 03:55:41 UTC, Mr. Anonymous 
wrote:
 Has anyone tried these? Any suggestions?
 What is the status of DWT? What's the difference between DFL 
 and DGui?

I've only tried DFL and DGui, since I kinda didn't like the others, and of those two, DFL is the better choice, as it seems more mature. But aside from that they're very similar. Mars
Feb 07 2012
prev sibling next sibling parent AaronP <aaronbpaden gmail.com> writes:
On 02/07/2012 09:55 PM, Mr. Anonymous wrote:
 Hello,

 I want to start playing with D, and I'm looking at a GUI library to
 begin with.
  From what I see here:
 http://www.prowiki.org/wiki4d/wiki.cgi?GuiLibraries
 I have four choices:
 GtkD, DWT, DFL, DGui.

 Has anyone tried these? Any suggestions?
 What is the status of DWT? What's the difference between DFL and DGui?
 Why does GTK suck (I read that a couple of times).

 Thanks.

I wrote a small utility in gtkd and it seemed good enough. I'm not sure how it'd hold up for larger projects, but the toolkit it's built on (GTK) is quite mature. I don't think it sucks at all, just that GUI programming in C sucks in general. :P
Feb 07 2012
prev sibling next sibling parent reply "Jesse Phillips" <jessekphillips+D gmail.com> writes:
On Wednesday, 8 February 2012 at 03:55:41 UTC, Mr. Anonymous 
wrote:
 Hello,

 I want to start playing with D, and I'm looking at a GUI 
 library to begin with.
 From what I see here:
 http://www.prowiki.org/wiki4d/wiki.cgi?GuiLibraries
 I have four choices:
 GtkD, DWT, DFL, DGui.

 Has anyone tried these? Any suggestions?
 What is the status of DWT? What's the difference between DFL 
 and DGui? Why does GTK suck (I read that a couple of times).

 Thanks.

I think GtkD is stated to suck because it isn't native to Windows or Mac, both in look and availability. I've used DFL and DWT. DFL is fairly small in comparison. There is also Entice designer which is a graphical way to create a GUI. It outputs DFL and at DWT (when dwt was for D1, not in its current state). I usually use it just to find components to use. DWT has been my favorite of all GUI's I've used. But I haven't attempted the same kinds of things which I've done in other toolkits. The documentation on DFL isn't great, but it has some. DWT is the SWT documentation so it requires some language translation. wxD is also updated for D2, I believe and moved https://github.com/afb/wxd
Feb 08 2012
parent AaronP <aaronbpaden gmail.com> writes:
On 02/08/2012 09:24 AM, Jesse Phillips wrote:
 I think GtkD is stated to suck because it isn't native to Windows or
 Mac, both in look and availability.

Hmm, perhaps. Incidentally, it looks great on Linux! :P
Feb 08 2012
prev sibling next sibling parent "Zachary Lund" <admin computerquip.com> writes:
On Wednesday, 8 February 2012 at 22:21:35 UTC, AaronP wrote:
 On 02/08/2012 09:24 AM, Jesse Phillips wrote:
 I think GtkD is stated to suck because it isn't native to 
 Windows or
 Mac, both in look and availability.

Hmm, perhaps. Incidentally, it looks great on Linux! :P

GTK+ was created for GIMP which incidentally was made as an open-source alternative for Photoshop that worked correctly for platforms outside of Windows. Linux and FreeBSD just so happen to be large targets here.
Feb 09 2012
prev sibling next sibling parent Denis Shelomovskij <verylonglogin.reg gmail.com> writes:
08.02.2012 7:55, Mr. Anonymous пишет:
 Why does GTK suck (I read that a couple of times).

GtkD (+OpenGL) worked stable in my rather big D1+Tango project 2 years ago (and do it now). Looks like it has lots of memory leaks (in almost every function call) but it didn't lead to crash after few hours of program work (but my program have no big text buffers).
Feb 09 2012
prev sibling next sibling parent reply "Damian Ziemba" <nazriel driv.pl> writes:
On Wednesday, 8 February 2012 at 03:55:41 UTC, Mr. Anonymous 
wrote:
 Hello,

 I want to start playing with D, and I'm looking at a GUI 
 library to begin with.
 From what I see here:
 http://www.prowiki.org/wiki4d/wiki.cgi?GuiLibraries
 I have four choices:
 GtkD, DWT, DFL, DGui.

 Has anyone tried these? Any suggestions?
 What is the status of DWT? What's the difference between DFL 
 and DGui? Why does GTK suck (I read that a couple of times).

 Thanks.

GtkD seems to be the most mature and production ready for D. Although indeed, Gtk+ (and then GtkD) suffers from its lack of Native controls. The best solution would be QtD, but it looks like its abandoned. QtJambi isn't officially supported by Trolltech (Nokia, whatever :D) any more, so switching to Smoke would be the must. WxD works quite good, you need to keep in mind that it crashes with DMD64, GDC and LDC works fine. DWT could be nice if it gets 64bitz support and Mac/Cocoa port too. DFL seems to be Windows only? Tho I guess it isn't maintained anymore. Situation with D and GUI is kinda poor. I see hope in Andrej researches about wxPHP and bringing it to D. I see hope in reviewing QtD project, it used to be flagship product next to DWT for D. DWT could be nice too if 64bt for Windows/Linux and Cocoa will be in. As for now, I would use GtkD ;-)
Feb 09 2012
parent Jacob Carlborg <doob me.com> writes:
On 2012-02-09 21:25, Damian Ziemba wrote:
 On Wednesday, 8 February 2012 at 03:55:41 UTC, Mr. Anonymous wrote:
 Hello,

 I want to start playing with D, and I'm looking at a GUI library to
 begin with.
 From what I see here:
 http://www.prowiki.org/wiki4d/wiki.cgi?GuiLibraries
 I have four choices:
 GtkD, DWT, DFL, DGui.

 Has anyone tried these? Any suggestions?
 What is the status of DWT? What's the difference between DFL and DGui?
 Why does GTK suck (I read that a couple of times).

 Thanks.

GtkD seems to be the most mature and production ready for D. Although indeed, Gtk+ (and then GtkD) suffers from its lack of Native controls. The best solution would be QtD, but it looks like its abandoned. QtJambi isn't officially supported by Trolltech (Nokia, whatever :D) any more, so switching to Smoke would be the must. WxD works quite good, you need to keep in mind that it crashes with DMD64, GDC and LDC works fine. DWT could be nice if it gets 64bitz support and Mac/Cocoa port too. DFL seems to be Windows only? Tho I guess it isn't maintained anymore. Situation with D and GUI is kinda poor. I see hope in Andrej researches about wxPHP and bringing it to D. I see hope in reviewing QtD project, it used to be flagship product next to DWT for D. DWT could be nice too if 64bt for Windows/Linux and Cocoa will be in.

I've already started the Cocoa port of DWT but it's not finished yet. About 64bit, I don't know how easy it would be to adopt the existing ports to 64bit. The original SWT sources use different code bases for 32 and 64bit. -- /Jacob Carlborg
Feb 09 2012
prev sibling next sibling parent reply "Damian Ziemba" <nazriel driv.pl> writes:
Ach, and there is plugin for Windows Gtk+ runtime called WIMP 
which emulates Windows Native look, so situation with GtkD isn't 
so bad on Linux/FreeBSD and Windows.

I guess the biggest problem is da Mac OSX platform.

Monodevelop looks so f**cking ugly on Mac :D
Feb 09 2012
parent Jacob Carlborg <doob me.com> writes:
On 2012-02-09 21:27, Damian Ziemba wrote:
 Ach, and there is plugin for Windows Gtk+ runtime called WIMP which
 emulates Windows Native look, so situation with GtkD isn't so bad on
 Linux/FreeBSD and Windows.

 I guess the biggest problem is da Mac OSX platform.

 Monodevelop looks so f**cking ugly on Mac :D

My main platform is Mac OS X so when I begin to work on DWT again that will be my primary focus. -- /Jacob Carlborg
Feb 09 2012
prev sibling next sibling parent Jordi Sayol <g.sayol yahoo.es> writes:
Al 09/02/12 21:25, En/na Damian Ziemba ha escrit:
 
 GtkD seems to be the most mature and production ready for D.
 Although indeed, Gtk+ (and then GtkD) suffers from its lack of Native controls.
 
 The best solution would be QtD, but it looks like its abandoned. QtJambi isn't
officially supported by Trolltech (Nokia, whatever :D) any more, so switching
to Smoke would be the must.
 
 WxD works quite good, you need to keep in mind that it crashes with DMD64, GDC
and LDC works fine.
 
 DWT could be nice if it gets 64bitz support and Mac/Cocoa port too.
 
 DFL seems to be Windows only? Tho I guess it isn't maintained anymore.
 
 
 Situation with D and GUI is kinda poor.
 I see hope in Andrej researches about wxPHP and bringing it to D.
 I see hope in reviewing QtD project, it used to be flagship product next to
DWT for D.
 DWT could be nice too if 64bt for Windows/Linux and Cocoa will be in.
 
 
 
 As for now, I would use GtkD ;-)
 

There is some other interesting option, but in an early stage: http://repo.or.cz/w/girtod.git -- Jordi Sayol
Feb 09 2012
prev sibling next sibling parent maarten van damme <maartenvd1994 gmail.com> writes:
--e89a8ff246e1bb433004b88e6b99
Content-Type: text/plain; charset=ISO-8859-1

I used gtkd, it worked perfectly. only downside is it isn't native on
windows.

--e89a8ff246e1bb433004b88e6b99
Content-Type: text/html; charset=ISO-8859-1

I used gtkd, it worked perfectly. only downside is it isn&#39;t native on
windows.

--e89a8ff246e1bb433004b88e6b99--
Feb 09 2012
prev sibling parent Gour <gour atmarama.net> writes:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, 09 Feb 2012 21:25:28 +0100
"Damian Ziemba" <nazriel driv.pl> wrote:

 I see hope in Andrej researches about wxPHP and bringing it to D.

It seems he is doing great job to re-vive wxD. Kudos to him!!
 As for now, I would use GtkD ;-)

We'll use wxD. ;) Sincerely, Gour --=20 All living bodies subsist on food grains, which are produced=20 from rains. Rains are produced by performance of yaj=C3=B1a [sacrifice],=20 and yaj=C3=B1a is born of prescribed duties. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
Feb 10 2012