|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
GUI Programming
Would you recommend Tkinter or wxPython for GUI programming with Python?
|
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
||||
|
||||
|
__________________
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 Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#5
|
||||
|
||||
|
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. |
|
#6
|
|||
|
|||
|
@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. |
|
#7
|
|||
|
|||
|
Qt is awesome
I highly reccomend it |
|
#8
|
|||
|
|||
|
Well I have wxPython installed on OS X so everythings fine
![]() @lazy_yogi: I'll make sure I look into pyQt too ![]() |
|
#9
|
||||
|
||||
|
Considering it's free, Boa Constructor is a good IDE for wxPython:
http://wiki.wxpython.org/index.cgi/Boa_20Constructor Grim. |
|
#10
|
|||
|
|||
|
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. |
|
#11
|
||||
|
||||
|
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. |
|
#12
|
|||
|
|||
|
@Strike: I guess Glade will be something to look into too, hehe.
@netytan: Yes it does, http://developer.apple.com/unix/toolkits.html Thanks |
|
#13
|
||||
|
||||
|
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. |
|
#14
|
|||
|
|||
|
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 |
|
#15
|
||||
|
||||
|
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
__________________
*** Experimental Python Markup CGI V2 *** |