Re: Getting configure_event on widgets in notebook pages

2008-06-04 Thread Mitko Haralanov
On Wed, 4 Jun 2008 15:36:30 +0300 "natan yellin" <[EMAIL PROTECTED]> wrote: > The GdkWindow is created before a realize event. Still, you're right that > this probably isn't the best way to do this. What I ended up doing is using a modified version of my code (with some minor modification to the

Re: Getting configure_event on widgets in notebook pages

2008-06-04 Thread natan yellin
The GdkWindow is created before a realize event. Still, you're right that this probably isn't the best way to do this. On 6/3/08, Mitko Haralanov <[EMAIL PROTECTED]> wrote: > > On Tue, 3 Jun 2008 09:44:05 +0300 > "natan yellin" <[EMAIL PROTECTED]> wrote: > > > Have you tried using gobject.emit? >

Re: Getting configure_event on widgets in notebook pages

2008-06-03 Thread Mitko Haralanov
On Tue, 3 Jun 2008 09:44:05 +0300 "natan yellin" <[EMAIL PROTECTED]> wrote: > Have you tried using gobject.emit? Unfortunately, using gobject.emit is not going to help me since the configure_event callback needs the GDK window to be valid when the callback is called. I am not that knowledgeable

Re: Getting configure_event on widgets in notebook pages

2008-06-02 Thread natan yellin
Have you tried using gobject.emit? Natan On Mon, Jun 2, 2008 at 11:39 PM, Mitko Haralanov <[EMAIL PROTECTED]> wrote: > Hi, > > I sent this to the PyGTK list but I did not get any responses, so I am > trying it here. > > My application uses a custom graphing widget (rtgraph) > do display multiple

Getting configure_event on widgets in notebook pages

2008-06-02 Thread Mitko Haralanov
Hi, I sent this to the PyGTK list but I did not get any responses, so I am trying it here. My application uses a custom graphing widget (rtgraph) do display multiple graphs. The graphs are packed in a GtkTable, which in turn is added to a notebook page. The notebook has several pages each with