This is really cool. Any ideas when one will be able to get gtk 1.4, gnome 2.0, python 2.0 and all those nifty things? I'd really like to start using them, but am not yet hack-fluent enough to just dive in. And while you are at it, can anyone point me to a nice tutorial on how to use Extension class? Something a la Learning Python >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 7/3/00, 8:08:16 AM, James Henstridge <[EMAIL PROTECTED]> wrote regarding [pygtk] gtk-1.3 work: > A few days ago, I branched the gnome-python module in CVS. The gtk/gnome > 1.2 branch is gtk-gnome-1-2 if people are interested. > I just quickly generated the wrappers for GtkLabel and GtkWindow to try > things out a little. I have attached a simple example that shows how easy > it is to do multilingual output with gtk-1.3. > Python-2.0 unicode strings fit nicely with gtk, as they convert to UTF8 > automatically when you use the "s" format code with PyArg_ParseTuple. So > it is possible to just pass a unicode string to GtkLabel and have things > Just Work(TM) > Python-2.0 makes it very easy to create unicode strings if your text is in > a different encoding. You can just do: > ustr = unicode('a string in encoding xyz', 'xyz') > Now when you pass ustr to gtk, it should be able to display it. As > unicode strings can be used to represent any other encoding string, you > can now have more than one language in a single GUI. > Lets see you do that in Tkinter :) > James. > -- > Email: [EMAIL PROTECTED] > WWW: http://www.daa.com.au/~james/ http://www.daa.com.au/~james/
Title: Re: [pygtk] gtk-1.3 work
- [pygtk] gtk-1.3 work James Henstridge
- [pygtk] Special characters in gtk Hassan Aurag
- [pygtk] Special characters in gtk abouf066
- Re: [pygtk] gtk-1.3 work James Henstridge
- Re: [pygtk] gtk-1.3 work Tom Cato Amundsen
- Re: [pygtk] gtk-1.3 work Michael Lauer
- Re: [pygtk] gtk-1.3 work Charles G Waldman