Thanks for the reply.
In order to try overriding, I used this simple piece of code as a test:
protected override void OnSizeAllocated (Rectangle allocation)
{
base.OnSizeAllocated (allocation);
if (_pixbuf != null)
{
imageShown.Pixbuf = _pixbuf.ScaleSimple (allocation.Width,
allocation.Height, InterpType.Bilinear);
}
}
This, however, causes the program (and, if I leave it long enough, the
system) to hang. Am I using it in the wrong way?
--
View this message in context:
http://mono.1490590.n4.nabble.com/Event-problems-for-resizing-tp2235712p2237524.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list