On 4/10/06, Gábor Farkas <[EMAIL PROTECTED]> wrote: > hi, > > i'd like to write a simple python-mac application, > for which i need to choose a gui toolkit.
The primary GUI toolkit for Mac-specific work is to use Cocoa via the PyObjC bridge. http://pyobjc.sourceforge.net/ > the problem is that i need to be able to enter japanese text, > which means i need support for.... i don't know how that's called in osx > (on linux that would be input methods). They're called input methods on OS X too. Take a look at Apple's docs on the subject of international text: http://developer.apple.com/documentation/Carbon/Conceptual/Supporting_Unicode_Input/index.html?http://developer.apple.com/documentation/Carbon/Conceptual/Supporting_Unicode_Input/sui_concepts/chapter_2_section_5.html To see the types of inputs that are available, go to the System Preferences and look at the International panel, especially the Input Menu tab. OS X is international by default, using Unicode for text strings internally, and supports a wide array of input > for example with tkinter it is not possible. I imagine that Tkinter works if you use the system input methods, but I haven't tested it. > i know that using pyobjc and doing directly cocoa would work, > but last time i checked it it seemed quite complicated. What was complicated about it? It's hard to help without further information. > so, is there something simpler? maybe a simple gui toolkit built on cocoa? There is a simple GUI toolkit built on Cocoa, it's called PyObjC. There are some efforts at making an even simpler interface, namely PyGUI and Renaissance, but I would recommend you work with PyObjC, build your UI with Interface Builder, and use AppKiDo to supplement Apple's documentation. PyGUI http://www.cosc.canterbury.ac.nz/~greg/python_gui/ Renaissance http://www.gnustep.it/Renaissance/ AppKiDo (handy Cocoa reference) http://homepage.mac.com/aglee/downloads/ > thanks, > gabor HTH --Dethe _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig