[pygtk] Re: Re: Cannot subclass gtk.Widget

2007-03-10 Thread Jeffrey Barish
Gustavo J. A. M. Carneiro wrote: > Another, more complex, example can be found here: > http://telecom.inescporto.pt/~gjc/higcontainer/higcontainer.py By studying the examples, I have learned a lot about subclassing. I have two questions about this example. It seems desirable to me that it be po

Re: [pygtk] Re: Re: Cannot subclass gtk.Widget

2007-03-10 Thread Gustavo J. A. M. Carneiro
On Sáb, 2007-03-10 at 09:54 -0700, Jeffrey Barish wrote: > Gustavo J. A. M. Carneiro wrote: > > > Another, more complex, example can be found here: > > http://telecom.inescporto.pt/~gjc/higcontainer/higcontainer.py > > By studying the examples, I have learned a lot about subclassing. I have > tw

[pygtk] i18n and Glade

2007-03-10 Thread Mystilleef
Hello, The glade generated GUIs in my project are not being localized. I have tried initializing the python glade gettext functions but to no avail. My i18n initialization function looks like this. from gettext imp

Re: [pygtk] Apportioning space when resizing a box

2007-03-10 Thread Funky Fred
Actually, there sort of is a way. You can get the actual size of the container widget. I forgot the name of the function to get the actual size, I think it's get_allocation, see: http://www.daa.com.au/pipermail/pygtk/2001-March/001022.html. But I think I found an easier funciton, but I don't

Re: [pygtk] Large textview textbuffers files

2007-03-10 Thread Funky Fred
I think your users will appreciate it as well if you insert some newlines. Viewing multiple kilobytes of hex all on one line isn't a pleasant experience... lol. Yah. very much so. Especially since I'll be a user ;) I just considered that "prettifying" it once I got the basic structure worked

Re: [pygtk] i18n and Glade

2007-03-10 Thread Justin Mazzola Paluska
On Sat, Mar 10, 2007 at 11:47:05PM +, Mystilleef wrote: > Hello, > > The glade generated GUIs in my project are not being localized. I have > tried initializing the python glade gettext functions but to no avail. > My i18n initialization function looks like this. > > -