[Ilugc] Gtk + or Tcl-Tk

  • From: arvindn@xxxxxxxxxxxxxxxxxxxxxxxxxx (Arvind Narayanan)
  • Date: Tue, 9 Mar 2004 18:02:53 +0530

On Mon, Mar 08, 2004 at 06:05:20AM -0800, Suraj wrote:

shekar wrote on Mon, Mar 08, 2004 at 02:50:16AM -0800: 
,----
| device driver (which does  data acquisation through parallel port).  i
| don't hv much knowledge on GUI development.
`----

Tk  is  the windowing  toolkit.  Tcl  is  a scripting  language  which
interfaces very  well with Tk. Gtk is  much better than Tk  in that it
has  a  more professional  looking  UI with  a  lot  more widgets  and
extensibility...

,----
|  Is that using  GLADE is better or Tcl-tk .  The product is considered
| to be an commercial one.
`----

Glade  is an  excellent RAD  tool for  Gtk apps.   Using  the gladexml
library in your  app would be a good  thing to do if you  want ease of
maintenance. Even  if you dont want  to use the  gladexml library, you
can use glade to generate the necessary C/Gtk code.

Agree with Suraj, except that using libglade instead of code generation
is strongly encouraged by the glade people. The reasons are simple:
generated code is hard to maintain, and gives you less control. If you're
using an xml file the UI design and the coding can be totally separate;
the UI designer need have no programming knowledge. The approach enforces
more modular design.

Arvind
-- 
Q: Do you ever think about quantum computing?  
Linus: I think that's a load of bull.
(From a Linux Lunacy cruise interview. After the presumptuous disparagement
of QC, Linus goes on to confuse it with DNA computing.)

Other related posts: