Re: [pygtk] Which event correspond to window resize !?
On Thu, 11 May 2000, Fred L. Drake, Jr. wrote: > > James Henstridge writes: > > Connect to the size_allocate signal on the window. You may have to use > > connect_after so that your handler is called after the GtkWindow has run > > Is this better than using the configure_event (that's what I used in > piddleGTK)? Depends. You can connect to the size_allocate signal of any widget, even those without their own window, so I guess it is more general. I don't know what times size_allocate is called when configure_event isn't or vice versa. Partly it is just personal style. > > -Fred > James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ - To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
Re: [pygtk] Which event correspond to window resize !?
James Henstridge writes: > Connect to the size_allocate signal on the window. You may have to use > connect_after so that your handler is called after the GtkWindow has run Is this better than using the configure_event (that's what I used in piddleGTK)? -Fred -- Fred L. Drake, Jr. Corporation for National Research Initiatives - To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
Re: [pygtk] Which event correspond to window resize !?
On Wed, 10 May 2000 [EMAIL PROTECTED] wrote: > > Hi, > > Can anybody tell me which event occurs when a window is being > resized ? (I tried "rsize_event" but with no success") Connect to the size_allocate signal on the window. You may have to use connect_after so that your handler is called after the GtkWindow has run its resize handling code. > > > Thnaks all > > _ > > LaBoufarikoise James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ - To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
Re: [pygtk] Which event correspond to window resize !?
'configure_event' will (I think) be invoked whenever the window is resized, moved, or restacked, or whenever its border width changes. That's assuming 'configure_event' has the same semantics as the X11 ConfigureRequest event. Rick Ree wrote: > > I connected to the 'size_allocate' event, which seems to work. > > Rick > > On Wed, 10 May 2000 [EMAIL PROTECTED] wrote: > > > > > Hi, > > > > Can anybody tell me which event occurs when a window is being > > resized ? (I tried "rsize_event" but with no success") -- Mitch Chapman [EMAIL PROTECTED] - To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
Re: [pygtk] Which event correspond to window resize !?
I connected to the 'size_allocate' event, which seems to work. Rick On Wed, 10 May 2000 [EMAIL PROTECTED] wrote: > > Hi, > > Can anybody tell me which event occurs when a window is being > resized ? (I tried "rsize_event" but with no success") > > > Thnaks all > > _ > > LaBoufarikoise > > > - > To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED] > - To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
[pygtk] Which event correspond to window resize !?
Hi, Can anybody tell me which event occurs when a window is being resized ? (I tried "rsize_event" but with no success") Thnaks all _ LaBoufarikoise - To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]