Re: Resize event
Jon Harrop <[email protected]>
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Organization | Flying Frog Consultancy Ltd. |
| Message-ID | <[email protected]> |
On Tuesday 08 January 2008 12:44:02 Julien Moutinho wrote: > On Tue, Jan 08, 2008 at 10:14:34AM +0000, Jon Harrop wrote: > > I've got a window with a drawable area in it that I'm blitting a pixmap > > into. However, I'd like to resize the pixmap when the window/drawable > > gets resized. How do I hook into that event? > > #misc#connect#size_allocate may be what you're looking for: Perfect, thanks! And drawable#size to get the size as a pair. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/products/?e