Has any thought been given for a methodology to convert large Tcl/Tk apps from using Tk to Gtk? There is no doubt that Gtk is a superior toolkit to Tk. Our app would benefit most greatly from using Gtk. What suggestion and tips do you have for the migration? Would it be possible to use both Tk and Gtk in the same set of scripts?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've had a few people ask me about creating a Tk compatiblility layer that used Gtk, but this would be very hard to do well.
You can certainly use Gtk and Tk in the same set up scripts. For an example look at the latest release of mmucl at http://mmucl.sf.net. Just separate out the gui code and conditionally load either Tk or Gtk and the associated script for the guui on startup.
This reminds me that I've been lazy and should make a new release soon.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Has any thought been given for a methodology to convert large Tcl/Tk apps from using Tk to Gtk? There is no doubt that Gtk is a superior toolkit to Tk. Our app would benefit most greatly from using Gtk. What suggestion and tips do you have for the migration? Would it be possible to use both Tk and Gtk in the same set of scripts?
I've had a few people ask me about creating a Tk compatiblility layer that used Gtk, but this would be very hard to do well.
You can certainly use Gtk and Tk in the same set up scripts. For an example look at the latest release of mmucl at http://mmucl.sf.net. Just separate out the gui code and conditionally load either Tk or Gtk and the associated script for the guui on startup.
This reminds me that I've been lazy and should make a new release soon.