Could Tk be D's ideal widget set?

Hasan Aljudy hasan.aljudy at gmail.com
Sat Oct 7 22:53:06 PDT 2006


(I assume that by "widget set" you actually mean "gui library")

I think a GUI for D should be written with D in mind from the start.
I didn't look at tk/tcl/whatever-it-is-called, but just when you say 
that it's written in C, this says to me it's not what D should adopt as 
an official gui library.

Having said that, I'm personally of the opinion that Harmonia is the GUI 
library that has the most potential.

Mars wrote:
> Hello,
> 
> It seems many people is trying to give D a decent widget set without
> much success. However I'm wondering why nobody has tried with Tk. It
> seems to have all the features that would make it an ideal widget set 
> for D:
> 
> Cross platform: Windows, Mac, Unix/X11
> 
> Native look and feel, native widgets, support for themes. Screenshots:
> 
> http://tktable.sourceforge.net/tile/screenshots/windowsxp.html
> http://installbase.sourceforge.net/screenshots.shtml
> http://hem.fyristorg.com/matben/examples/index.html
> http://tkabber.jabber.ru/screenshots/0.9.6
> 
> Written in plain C, not C++
> http://aspn.activestate.com/ASPN/docs/ActiveTcl/8.4/tcl/tk_9_contents.htm
> 
> Open source under an extremely permissive BSD license.
> 
> Complete, large number of widgets available.
> 
> Mature, well documented, several books available.
> http://wiki.tcl.tk/
> 
> Several GUI builders available (no idea how well could they be 
> integrated with D):
> http://vtcl.sourceforge.net/ (free)
> http://www.activestate.com/Products/ActiveTclProStudio/ (commercial)
> others (?)
> 
> Actively developed. It's the default widget toolkit for Tcl and Python, 
> and one of the best supported under Perl, which has two implementations, 
> one that uses Tcl as a bridge (Tcl::Tk) and one that access the C API 
> directly (Perl/Tk).
> 
> So... could Tk become D's GUI library of choice too? Or am I missing 
> something?
> 
> More info: http://wiki.tcl.tk/477



More information about the Digitalmars-d mailing list