[pygtk] catching a window resizew event in pygtk2

2003-07-01 Thread Jean-Baptiste Cazier
Sæl ! I am porting my code from gtk1 to GTk2, ie pygtk 0.6 to 1.99 (quite painful btw) I am stuck with the resizing manually of the window : everytime I resize the I want to update the drawing area it contains I used to connect to size_allocate signal in pygtk 0.6

Re: [pygtk] catching a window resizew event in pygtk2

2003-07-01 Thread James Henstridge
Jean-Baptiste Cazier wrote: Sæl ! I am porting my code from gtk1 to GTk2, ie pygtk 0.6 to 1.99 (quite painful btw) I am stuck with the resizing manually of the window : everytime I resize the I want to update the drawing area it contains I used to connect to size_allocate signal in pygtk 0.6

Re: [pygtk] catching a window resizew event in pygtk2

2003-07-01 Thread Jean-Baptiste Cazier
Sorry for the last e-mail I was answering to somebody else I have something completly different for you :) You are right my routine is conflicting with another: I have connected to the are_expose_event which function calls for get_allocation. self.area.connect(expose-event,