| Article: |
Creating Easy-to-Deploy Unix Applications for OS X | |
| Subject: | Use the same GUI on UNIX and Mac... | |
| Date: | 2003-10-26 11:50:25 | |
| From: | anonymous2 | |
| You built the tool with Tcl, why not build the user interface the same way? Tk on the Mac uses native Cocoa buttons and widgets, and with a little care can't be told from a native app... and now all of a sudden the same application gets the same GUI on the rest of the UNIX world... and if you're careful in Windows as well. | ||
Showing messages 1 through 1 of 1.
-
Use the same GUI on UNIX and Mac...
2003-10-26 12:34:56 roseman [Reply | View]
The Windows version of ProjectForum actually does use Tk. Unfortunately, Tk on Mac OS X is "not quite there yet", though improving fast. As well, a couple of things we do (like asking for admin authentication, but only if the user wants to listen on priveleged ports) need some native calls (so we'd have needed to do a wrapper anyway), and benefit from having the app split into two separate processes. Besides, doing something like this in Cocoa was just trivial, so having both the Tk version and the Cocoa version isn't much trouble at all.



