[Gtk-sharp-list] Event problems for resizing
Indrid Cold
indrid.warm at gmail.com
Mon May 31 11:31:04 EDT 2010
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.
More information about the Gtk-sharp-list
mailing list