[pygtk] Viewing elaborated report pages on pygtk

2009-02-13 Thread Jose de Paula Eufrasio Junior
So I am working on a simple risk management app [0] using pygtk and the fantastic kiwi framework. I got to a point where I MUST show some data in a report fashion, and I will surely need many more of those. What path should I take? Understand that I need to make that app run on linux and windows, s

Re: [pygtk] Getting string with in pixels

2009-02-13 Thread vladovi
Walter Leibbrandt napsal(a) : > Hi, > > Vladimír Jícha wrote: > > Hello, > > > > I'm trying to get width of a text string. I found a FAQ 4.15 > > (http://faq.pygtk.org/index.py?req=show&file=faq04.015.htp) which has a > > solution for this. But unfortunately it doesn't work. If I use "font =

Re: [pygtk] hungry TreeStore... SOLVED (was GTK_MODULES=gail:atk-bridge)

2009-02-13 Thread Willie Walker
Thanks for logging this as http://bugzilla.gnome.org/show_bug.cgi?id=571596. I have a small guess as to what might be going on, but it's only a guess. Without seeing the code in question, we can't be sure exactly what might be going wrong. So, it'd be great if you can post some code as well.

Re: [pygtk] Getting string with in pixels

2009-02-13 Thread Walter Leibbrandt
Hi, Vladimír Jícha wrote: > Hello, > > I'm trying to get width of a text string. I found a FAQ 4.15 > (http://faq.pygtk.org/index.py?req=show&file=faq04.015.htp) which has a > solution for this. But unfortunately it doesn't work. If I use "font = > widget.get_style().font", I get following erro

[pygtk] Getting string with in pixels

2009-02-13 Thread Vladimír Jícha
Hello, I'm trying to get width of a text string. I found a FAQ 4.15 (http://faq.pygtk.org/index.py?req=show&file=faq04.015.htp) which has a solution for this. But unfortunately it doesn't work. If I use "font = widget.get_style().font", I get following error message: AttributeError: 'gtk.Style

Re: [pygtk] Application freezes

2009-02-13 Thread Thomas Wielatt
Hi I've found the bug. The function that was called increased it's duration. Greets Thomas Hi I'm working with pygtk and pyopengl. To draw an incoming signal I registered once a callback via "gobject.idle_add(draw_sign

Re: [pygtk] Layout of complex app

2009-02-13 Thread Thomas Guettler
David Ripton schrieb: > On 2009.01.28 13:02:39 +0100, Thomas Guettler wrote: > >> what layout (directories and classes) do you use for a >> pygtk project? ... > I pass it around. > > I don't use globals in non-trivial code that also has classes, because > once you've gone to the bother to use c