Re: [Tutor] GUI Programing
I'm going to try some GUI programming does anyone know where the start like using tk or wx or what ever i want it to it will run on Windows UNIX and Mac systems can you tell me whats best to use and give me a link to a good tutorial? This is like asking which programming language is best, or which editor/IDE to use. Everyone has their own favourite. My personal view is: If you have used any GUI before then use wxPython - it looks better and has more widgets. But if you have never used a GUI toolkit before use Tkinter, its easier to learn (and use IMHO) and has much more documentation. Once you know Tkinter moving to wxPythobn is relatively straightforward because the underlying prionciples of all GUIs are the same. And of course Tkinter is based on Tk whicgh is also available for Perl and Tcl/Tk and Scheme. So its worth learning for its portability too. You can start with my GUI intro topic which teahches Tkinter but finishes with a wxPython example so you can quickly switch if you want to. BTW I strongly recommend startiung out with the raw toolkit and manual programming to understand how itall hangs together. Later you can pick up a GUI Builder like Glade/Blackadder/SpecTix etc. But its best to understand what these tools are doing first IMHO... Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] GUI Programing
Tkinter is (IMO) easier to learn. In particular, check out Thinking in Tkinter (google for it); it's an excellent way to learn Tkinter. Last time I looked that was very out of date and still recommended the now obsolete parameters by dictionary stuyle of widget configuration. Fred Lundh's tutorial is much better nowadays - although longer. Alan G. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] GUI Programing
On Fri, 1 Sep 2006, Alan Gauld wrote: Fred Lundh's tutorial is much better nowadays - although longer. Tkinter docs are tough enough to come by that, in my view, longer is better. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] GUI Programing
thank you all im reading up on it all its a diffreent mindset that i have tog et used toOn 9/1/06, Terry Carroll [EMAIL PROTECTED] wrote:On Fri, 1 Sep 2006, Alan Gauld wrote: Fred Lundh's tutorial is much better nowadays - although longer. Tkinter docs are tough enough to come by that, in my view, longer isbetter.___Tutor maillist-Tutor@python.org http://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] GUI Programing
I'm going to try some GUI programming does anyone know where the start like using tk or wx or what ever i want it to it will run on Windows UNIX and Mac systems can you tell me whats best to use and give me a link to a good tutorial? Thanks ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] GUI Programing
On 01/09/06, Amadeo Bellotti [EMAIL PROTECTED] wrote: I'm going to try some GUI programming does anyone know where the start like using tk or wx or what ever i want it to it will run on Windows UNIX and Mac systems can you tell me whats best to use and give me a link to a good tutorial? Tkinter is (IMO) easier to learn. In particular, check out Thinking in Tkinter (google for it); it's an excellent way to learn Tkinter. Tkinter is also very basic. wx has many more widgets and controls available. wx also looks a lot better. But the documentation for wx isn't very good. wxpython has been evolving -- it started out as a direct python port of some C++ libraries, and has been becoming more pythonic as time goes by. So if you go looking for example code, you could find something written in the modern, pythonic style, or you could get something written in the traditional, C++ style. Until you learn to recognise the latter and transform it to the former, you may find learning from the web difficult. Both Tkinter and wxpython should work across all platforms. -- John. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor