The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> Python Programming
|
GUI Programming
Discuss GUI Programming in the Python Programming forum on Dev Shed. GUI Programming Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

January 27th, 2004, 04:17 PM
|
|
Registered User
|
|
Join Date: Aug 2003
Posts: 217
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
GUI Programming
Would you recommend Tkinter or wxPython for GUI programming with Python?
|

January 27th, 2004, 04:52 PM
|
 |
Hello World :)
|
|
Join Date: Mar 2003
Location: Hull, UK
|
|
Go with wxPython, Tkinter is.... lets just say i'm not impressed with it and i'm looking forward to the day when Python drops it all together; but thats gonna be a while
Mark.
__________________
programming language development: www.netytan.com – Hula
|

January 27th, 2004, 05:36 PM
|
|
Registered User
|
|
Join Date: Aug 2003
Posts: 217
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Hmm.. is there anything in perticular you don't like about it? Also how easy is it to get/install wxPython. I'm on OS X.
|

January 27th, 2004, 05:37 PM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
|
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
|

January 27th, 2004, 05:49 PM
|
 |
Hello World :)
|
|
Join Date: Mar 2003
Location: Hull, UK
|
|
|
Tk is just so old, it looks old, feels old. Its slower than wxPython or pyQt. Ease of use Tk probably better than these but then the others have so much more to offer (which means more to remember) but worth it IMO.
Mark.
|

January 27th, 2004, 06:06 PM
|
|
Registered User
|
|
Join Date: Aug 2003
Posts: 217
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
@Scorp: Hehe cool URL
@netytan: Thanks for the advice
I think I'm going to give wxPython a try. It's installing on FreeBSD atm, but I'm still unsure about how to get it working on OS X
btw this will be my first experience with GUI programming. Hopefully it will be easier than in C
[edit] How well does it work with OS X? Can I make all the same menus/buttons/etc that someone would be able to with Carbon or Cocoa? [/edit]
Last edited by XxChris : January 27th, 2004 at 06:41 PM.
|

January 27th, 2004, 07:04 PM
|
|
Contributing User
|
|
Join Date: Mar 2003
Posts: 325
Time spent in forums: 7 h 58 m 36 sec
Reputation Power: 11
|
|
|
Qt is awesome
I highly reccomend it
|

January 27th, 2004, 07:53 PM
|
|
Registered User
|
|
Join Date: Aug 2003
Posts: 217
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Well I have wxPython installed on OS X so everythings fine
@lazy_yogi: I'll make sure I look into pyQt too 
|

January 27th, 2004, 08:19 PM
|
 |
Mini me.
|
|
Join Date: Nov 2003
Location: Cambridge, UK
|
|
|

January 27th, 2004, 11:37 PM
|
|
Contributing User
|
|
Join Date: Dec 2001
Location: Houston, TX
Posts: 383
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 12
|
|
|
Tk does have one huge thing going for it - it's distributed with the standard Python distribution. So for things you want to run everywhere that Python does ... Tk is a good choice, even though it's fuh-huugly.
Personally, I recommend using Glade and Python's libglade module for building GUI apps. It separates the GUI part from the coding part as much as possible, which is IMO a good thing. You can design whatever GUI you want, attach generic (but descriptive) listener names to each important event, and not even worry about the underlying implementation until you've got whatever GUI portion you want. No messy code generation, no tedious packing of widgets into boxes. It's rather cool. If nothing else, I suggest playing with it.
|

January 28th, 2004, 02:51 AM
|
 |
Hello World :)
|
|
Join Date: Mar 2003
Location: Hull, UK
|
|
Anyone know if Tk works on MacOS? I was under the impression it doesnt which is why theres no IDLE available for Mac; may be mistaken though
Mark.
|

January 28th, 2004, 09:33 AM
|
|
Registered User
|
|
Join Date: Aug 2003
Posts: 217
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|

January 28th, 2004, 01:25 PM
|
 |
Hello World :)
|
|
Join Date: Mar 2003
Location: Hull, UK
|
|
Thanks for the info  . Gave me an idea for a simple GUI framework if i ever get around to it; always good to have more ideas than you can use!
Mark.
|

March 2nd, 2004, 09:10 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Location: New Zealand
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Greetings, i am very noob to python, tho i am more than impressed. As a learning excersize i am trying to build a small sms program that uses a gui and is relatively platform independant (linux, windoze etc).
i have boa and wx installed on my gentoo system and my windoze system because i was under the impression that wx is probly the easiest to port between o/s
Have i made the right move? is pyqt just as compatable? HELP!
note: i am coming from php programming
|

March 3rd, 2004, 01:48 AM
|
 |
Mini me.
|
|
Join Date: Nov 2003
Location: Cambridge, UK
|
|
koz, The Chandler project did a review of cross platform GUIs and chose wxPython. This was for a number of reasons. But it indicates the relative completeness, maturity and appropriate licensing of wxPython. It does have very active development and the underlying wxWindows is v popular too with C programmers. Does not mean it is best for you tho
BTW if you want to chat SMS PDU code let me know
Grim
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|