Re: How to choose the right GUI toolkit ?

2006-11-12 Thread John Henry
Nice example. Jussi Salmela wrote: > John Henry wrote: > > BTW: I did a search and found the testnotebook example from: > > > > http://prdownloads.sourceforge.net/pythoncard/testNotebook.zip?download > > > > and tried it out. There is one error in the widget.py that I have to > > get around. Ch

Re: How to choose the right GUI toolkit ?

2006-11-11 Thread Jussi Salmela
John Henry wrote: > BTW: I did a search and found the testnotebook example from: > > http://prdownloads.sourceforge.net/pythoncard/testNotebook.zip?download > > and tried it out. There is one error in the widget.py that I have to > get around. Changed from: > > canvas.setFillColor('gra

Re: How to choose the right GUI toolkit ?

2006-11-11 Thread John Henry
BTW: I did a search and found the testnotebook example from: http://prdownloads.sourceforge.net/pythoncard/testNotebook.zip?download and tried it out. There is one error in the widget.py that I have to get around. Changed from: canvas.setFillColor('gray') to: try:

Re: How to choose the right GUI toolkit ?

2006-11-11 Thread Florian Diesch
"Dan Lenski" <[EMAIL PROTECTED]> wrote: > So, is there another toolkit I should be looking at? Having something > that can run easily on Cygwin and native Windows is a priority so that > I can quickly move programs to new measurement computers. I like GTK a > lot and Tk is growing on me too.. ar

Re: How to choose the right GUI toolkit ?

2006-11-10 Thread Peter Decker
On 9 Nov 2006 09:13:00 -0800, Dan Lenski <[EMAIL PROTECTED]> wrote: > Nick and John S., thank you for the tip on wxPython! I'll look into it > for my next project. I too would avoid Qt, not because of the GPL but > simply because I don't use KDE under Linux and because Qt is not well > supported

Re: How to choose the right GUI toolkit ?

2006-11-10 Thread Bill Maxwell
On 9 Nov 2006 22:48:10 -0800, "John Henry" <[EMAIL PROTECTED]> wrote: >Upon closer look, the walkthrough did say: > >*** >from PythonCard import model > >Change that so it says: > >from PythonCard import dialog, model > >Save the code. >*** > >So, it

Re: How to choose the right GUI toolkit ?

2006-11-10 Thread James Cunningham
On 2006-11-09 14:06:06 -0500, "Dan Lenski" <[EMAIL PROTECTED]> said: > [snip] > > My understanding is that wx wraps Windows, OSX, Qt, and GTK+... I guess > some of the wrappers fit the native apps better than others? > > Dan WxWidgets does wrap Windows, OS X (Carbon), and GTK; it does not wrap

Re: How to choose the right GUI toolkit ?

2006-11-10 Thread vdicarlo
> I highly recommend wxPython. It's very mature, full-featured, and > portable, and fairly easy to learn as well. I am also a Python beginner thinking about what GUI toolkit to use, and the availability of a free video screencast series on installing and using wxpython at showmedo.com is making me

Re: How to choose the right GUI toolkit ?

2006-11-10 Thread Dan Lenski
Eric Brunel wrote: > On Thu, 09 Nov 2006 22:01:51 +0100, Dan Lenski <[EMAIL PROTECTED]> wrote: > > Tk 8.4 appears to use native Win32 widgets under Cygwin and native > > WinXP. > > It seems to depend on the widget type, and on what you call native... For > example, tk menus are definitely the nati

Re: How to choose the right GUI toolkit ?

2006-11-10 Thread Nick Craig-Wood
Christophe <[EMAIL PROTECTED]> wrote: > ( and I must admit one of the reasons I avoid wx if possible, is because > I don't use Gnome under Linux and the look and feel of wx applications > is really horrible under KDE ) If you install the QT theme for GTK it all starts to look a lot nicer Eg

Re: How to choose the right GUI toolkit ?

2006-11-10 Thread Jeremy Sanders
Dan Lenski wrote: > My apologies! I'm glad to be corrected on this. There are Cygwin > packages for Qt as well, but I have heard about enough bugs to think I > should avoid Qt. I have used enough Gtk apps that run flawlessly under > Windows to have my hopes that it works well. You normally use

Re: How to choose the right GUI toolkit ?

2006-11-10 Thread Eric Brunel
On Thu, 09 Nov 2006 22:01:51 +0100, Dan Lenski <[EMAIL PROTECTED]> wrote: > Tk 8.4 appears to use native Win32 widgets under Cygwin and native > WinXP. It seems to depend on the widget type, and on what you call native... For example, tk menus are definitely the native ones; tk scrollbars are th

Re: How to choose the right GUI toolkit ?

2006-11-10 Thread Eric Brunel
On Thu, 09 Nov 2006 23:51:31 +0100, Dan Lenski <[EMAIL PROTECTED]> wrote: > One other thing I'm wondering: how exactly does Tkinter work? Is the > whole Tk toolkit bound up as library of low-level C code, or does > Tkinter sit on top of a Tcl interpreter? The latter: there is a tiny C layer allo

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread John Henry
Upon closer look, the walkthrough did say: *** from PythonCard import model Change that so it says: from PythonCard import dialog, model Save the code. *** So, it works. John Henry wrote: > Bill Maxwell wrote: > > On 8 Nov 2006 11:49:07 -0800,

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread John Henry
Bill Maxwell wrote: > On 8 Nov 2006 11:49:07 -0800, "John Henry" <[EMAIL PROTECTED]> > wrote: > > > > >John Salerno wrote: > >> Dan Lenski wrote: > >> > >> > So, is there another toolkit I should be looking at? > >> > >> I highly recommend wxPython. It's very mature, full-featured, and > >> portabl

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Bill Maxwell
On 8 Nov 2006 11:49:07 -0800, "John Henry" <[EMAIL PROTECTED]> wrote: > >John Salerno wrote: >> Dan Lenski wrote: >> >> > So, is there another toolkit I should be looking at? >> >> I highly recommend wxPython. It's very mature, full-featured, and >> portable, and fairly easy to learn as well. I ca

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Dan Lenski
One other thing I'm wondering: how exactly does Tkinter work? Is the whole Tk toolkit bound up as library of low-level C code, or does Tkinter sit on top of a Tcl interpreter? If the latter, that might explain why it is frustratingly slow on Cygwin... since Cygwin is not very good at starting up

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread John Henry
Steve Holden wrote: > > > You may find that it starts out fine, but becomes less satisfactory as > the sophistication of your interfaces increases. Then the problem will > be that migration to another platform demands a substantial rewrite of > your application (I have done this for a fairly sma

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Bjoern Schliessmann
Dan Lenski wrote: > for my next project. I too would avoid Qt, not because of the GPL > but simply because I don't use KDE under Linux and because Qt is > not well supported under Cygwin or on native Windows. Why not? BTW, big projects such as the Opera browser use Qt. Also in Windows. Regard

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Dan Lenski
Wojciech Mula wrote: > Nick Craig-Wood wrote: > >> It's very mature, full-featured, and portable, and fairly easy to > >> learn as well. > > > > ...with native look and feel on each platform unlike GTK / TK > > AFAIK Tk 8 uses platform's native widgets. > > w. Tk 8.4 appears to use native Win32

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Steve Holden
Dan Lenski wrote: > John Henry wrote: >> I assume you meant that the example programs looks LabView-like GUIs? >> PythonCard itself has nothing in common with LabView. It's more like >> HyperCard. > > That's right, I'm saying the GUIs *produced* by PythonCard look like > those produced by LabVie

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Dan Lenski
John Henry wrote: > I assume you meant that the example programs looks LabView-like GUIs? > PythonCard itself has nothing in common with LabView. It's more like > HyperCard. That's right, I'm saying the GUIs *produced* by PythonCard look like those produced by LabView. Believe me, if the Python

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread John Henry
Dan Lenski wrote: > > John H.: thanks for pointing out pythoncard. This looks like it might > be an excellent substitute for LabView-like GUIs, which all my > coworkers like. I personally refuse to read or write LabView code, on > the grounds that its syntax causes severe brain damage and is > c

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Wojciech Muła
Nick Craig-Wood wrote: >> It's very mature, full-featured, and portable, and fairly easy to >> learn as well. > > ...with native look and feel on each platform unlike GTK / TK AFAIK Tk 8 uses platform's native widgets. w. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Dan Lenski
Christophe wrote: > Dan Lenski a écrit : > > Nick and John S., thank you for the tip on wxPython! I'll look into it > > for my next project. I too would avoid Qt, not because of the GPL but > > simply because I don't use KDE under Linux and because Qt is not well > > supported under Cygwin or on

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Jeremy Sanders
Dan Lenski wrote: > Nick and John S., thank you for the tip on wxPython! I'll look into it > for my next project. I too would avoid Qt, not because of the GPL but > simply because I don't use KDE under Linux and because Qt is not well > supported under Cygwin or on native Windows. I too like to

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Christophe
Dan Lenski a écrit : > Nick and John S., thank you for the tip on wxPython! I'll look into it > for my next project. I too would avoid Qt, not because of the GPL but > simply because I don't use KDE under Linux and because Qt is not well > supported under Cygwin or on native Windows. Qt is very w

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Dan Lenski
Nick Craig-Wood wrote: > John Salerno <[EMAIL PROTECTED]> wrote: > > Dan Lenski wrote: > > > > > So, is there another toolkit I should be looking at? > > > > I highly recommend wxPython. > > I'd second that! > > There is a book also > > "WxPython in Action" Nick and John S., thank you for the

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread John Salerno
Nick Craig-Wood wrote: >>> So, is there another toolkit I should be looking at? >> I highly recommend wxPython. > > I'd second that! > > There is a book also > > "WxPython in Action" Oh yeah, how could I forget "The Book"! :) It's great to read straight through, and also a fantastic refere

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Nick Craig-Wood
Christophe <[EMAIL PROTECTED]> wrote: > Nick Craig-Wood a écrit : > > There is also PyQT which we wrote off as we wanted to write commercial > > applications too. As it happens we have a commercial QT licence, but > > we decided we didn't want to have to incurr the additional expense of > > renew

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Christophe
Nick Craig-Wood a écrit : > There is also PyQT which we wrote off as we wanted to write commercial > applications too. As it happens we have a commercial QT licence, but > we decided we didn't want to have to incurr the additional expense of > renewing it. Note: Nothing in the GPL prevents you fro

Re: How to choose the right GUI toolkit ?

2006-11-09 Thread Nick Craig-Wood
John Salerno <[EMAIL PROTECTED]> wrote: > Dan Lenski wrote: > > > So, is there another toolkit I should be looking at? > > I highly recommend wxPython. I'd second that! There is a book also "WxPython in Action" http://www.amazon.com/Wxpython-Action-Noel-Rappin/dp/1932394621 Which is ce

Re: How to choose the right GUI toolkit ?

2006-11-08 Thread John Henry
John Salerno wrote: > Dan Lenski wrote: > > > So, is there another toolkit I should be looking at? > > I highly recommend wxPython. It's very mature, full-featured, and > portable, and fairly easy to learn as well. I can't really compare it to > other toolkits (not having used any of them, except

Re: How to choose the right GUI toolkit ?

2006-11-08 Thread John Salerno
Dan Lenski wrote: > So, is there another toolkit I should be looking at? I highly recommend wxPython. It's very mature, full-featured, and portable, and fairly easy to learn as well. I can't really compare it to other toolkits (not having used any of them, except Tkinter), but it's definitely

How to choose the right GUI toolkit ?

2006-11-08 Thread Dan Lenski
Hi all, I'm a recent, belated convert from Perl. I work in a physics lab and have been using Python to automate a lot of measurement equipment lately. It works fabulously for this purpose. Recently I've wanted to start writing GUIs for some of my programs, for data visualization and to make the