[pygtk] Drawing widgets in a custom cellrenderer

2007-12-06 Thread F Wolff
Hi list. I'm doing a custom cellrenderer similar to this FAQ entry: http://faq.pygtk.org/index.py?req=show&file=faq13.045.htp As part of my rendering I want to display a normal gtk.Widget (a container, in my case), but I fail to see how to display it correctly. By following the FAQ entry, I get t

[pygtk] Re: Translation, gtk labels, and gettext

2007-12-06 Thread Caleb Marcus
I'm now having issues with glade and gettext. I can run xgettext directly on the glade file, but that just produces a file with ALL the strings, not just the translatable ones. I can run intltool-extract on the glade file to produce a .h file, but running xgettext on the result doesn't produce any

[pygtk] Re: ComboBox with pull-right submenus

2007-12-06 Thread Jeffrey Barish
Jeffrey Barish wrote: > Does anyone know the magic for creating a ComboBox whose popup menu has > pull-right submenus? The magic is to create the ComboBox with an explicit TreeStore (not using the combo_box_new_text convenience function). Then you can use the append method of the TreeStore to ad

Re: [pygtk] Translation, gtk labels, and gettext

2007-12-06 Thread Jarek Zgoda
Dnia 6 grudnia 2007 15:17 John Dennis <[EMAIL PROTECTED]> napisaƂ(a): > Caleb Marcus wrote: > > I'm planning to make my application translatable with gettext. Do I have > > to make the text in my gtk stock buttons and things like that use > > gettext, or will they automatically translate due to

Re: [pygtk] Translation, gtk labels, and gettext

2007-12-06 Thread John Dennis
Caleb Marcus wrote: I'm planning to make my application translatable with gettext. Do I have to make the text in my gtk stock buttons and things like that use gettext, or will they automatically translate due to their use of gtk stock things? Here are a few quick hints to make life easier. Do

Re: [pygtk] Translation, gtk labels, and gettext

2007-12-06 Thread ed
On Thu, 6 Dec 2007 08:18:08 -0500, "Caleb Marcus" <[EMAIL PROTECTED]> wrote: > On Dec 6, 2007 3:38 AM, Ed Catmur <[EMAIL PROTECTED]> wrote: >> On Thu, 2007-12-06 at 00:49 -0500, Caleb Marcus wrote: >> > I'm planning to make my application translatable with gettext. Do I >> > have to make the text

Re: [pygtk] Translation, gtk labels, and gettext

2007-12-06 Thread Caleb Marcus
On Dec 6, 2007 3:38 AM, Ed Catmur <[EMAIL PROTECTED]> wrote: > > On Thu, 2007-12-06 at 00:49 -0500, Caleb Marcus wrote: > > I'm planning to make my application translatable with gettext. Do I > > have to make the text in my gtk stock buttons and things like that use > > gettext, or will they autom

Re: [pygtk] Translation, gtk labels, and gettext

2007-12-06 Thread Ed Catmur
On Thu, 2007-12-06 at 00:49 -0500, Caleb Marcus wrote: > I'm planning to make my application translatable with gettext. Do I > have to make the text in my gtk stock buttons and things like that use > gettext, or will they automatically translate due to their use of gtk > stock things? Try it and