Le dimanche 27 mars 2016 à 17:09 -0700, Daniel Carrera a écrit :
> Hello,
> 
> When it comes to GUI toolkits in Julia, Gtk seems to be the main
> choice, followed by Tk. At least in terms of development effort:
> 
> Gtk.jl -- 444 commits, 23 contributors
> Tk.jl -- 235 commits, 28 contributors
> PySide.jl -- 35 commits, 2 contributors
> 
> 
> Although I like Gtk, I'm curious. Is there a reason Gtk gets more
> attention? Maybe Tk is just easier to support, so it doesn't need as
> many commits. But Tk also has less documentation. So I do get the
> impression Gtk gets more attention. Why would Gtk or Tk be preferred
> in the context of Julia?
> 
> My understanding is that Gtk is great on Linux but doesn't work so
> well on Windows and Mac. Tk has historically been considered ugly
> ("looks like Motif") but my impression is that this was fixed long
> ago. Gtk has more widgets than Tk and I think also more inputs. Qt is
> supposed to be great on other platforms. Are C++ toolkits more
> difficult to support? Oh, there is no package for wxWidgets, and
> that's also a C++ toolkit. Maybe that's a factor? Or maybe people
> just like the look of Gtk.
My experience of Tk is that it's not actively maintained, contains some
annoying bugs and is quite limited in many areas. For example, you
can't write GUIs in a UI designer like Glade or Qt Designer. So I
wouldn't recommend it to anybody writing new code (except maybe for
very simple cases, but then why not use a modern toolkit anyway?).


Regards

> 
> Cheers,
> Daniel.

Reply via email to