Tuesday, July 9, 2013

Can Tk meet the goals of stdgui?

Can Tk meet the primary goals of stdgui?

My consideration of Tk centered around the idea that it could be used as a native GUI abstraction framework like wxWindows.  There are many scripting languages which have Tk bindings so it must not be too hard to bind Tk.

1. Programming language independent?
Limited.  If you consider wide availability of bindings language independence.

2. Native rendering?
Limited.  I hear that in Tk 8.5 the Windows and OSX got a lot more native looking.  Linux still appears to be custom drawn.

3. Rapid Development?
Limited.  Some may disagree but I tried to do some RAD prototyping with Python Tkinter and it was actually rather tedious and messy.  I couldn't find any decent GUI builders and my hand written code quickly got unmaintainable.

Summary
Perhaps I'll copy some of the native rendering code from Tk if wxWidgets doesn't work out (BSD License).

No comments:

Post a Comment