[GRASS-dev] Python GUI toolkits

Joel Pitt joel.pitt at gmail.com
Thu Jun 8 19:31:36 EDT 2006


On 6/9/06, Hamish <hamish_nospam at yahoo.com> wrote:
> Would pyGTK it need to have libglade on all platforms?
> Or just for development?

If you design the GUI with glade then you need libglade at runtime.
pyGTK does not *need* libglade to be used, and I'm somewhat hesitant
about having libglade required across platforms. IMHO glade is great
for prototyping, but for clean and well designed code - especially
with regards to OO encapsulation of GUI elements - then writing the
GUI directly with pyGTK is best.

Considering that people seem to really want a native look and feel I
think wxPython is our best bet, with wxglade for prototyping until we
can solidify the GUI into well designed code. From what people are
saying native GTK ports seem to be difficult and buggy in MacOSX...

On the other hand, we could always use Java for the GUI... <ducks>
(although in seriousness there is SWT http://www.eclipse.org/swt/ ,
which binds Java to the native GUI libraries - and runs quickly
because it uses the actual libraries, not JAVA interpretations)

-- 
-Joel

"Wish not to seem, but to be, the best."
                -- Aeschylus




More information about the grass-dev mailing list