Interesting. That attribute seems to do the trick. Besides the ConfigureEvent event I've found that both ExposeEvent and SizeAllocated fires when a window is resized. As far as window movement goes, I was unable to find another event.
Just note, lordphoenix, that your event handlers may be called multiple times for a single "action". Florian Roth wrote: > I had the same problem until I found this: > Have a look art http://gtk-sharp.sourceforge.net/faq.html question 3.3 > > Florian Roth > > -------- Original-Nachricht -------- > >> Datum: Sun, 11 May 2008 14:46:05 +0200 >> Von: lordphoenix <[EMAIL PROTECTED]> >> An: gtk-sharp-list@lists.ximian.com >> Betreff: [Gtk-sharp-list] Problems with ConfigureEvent >> > > >> Hi all, >> I'm trying to use Gtk.Widget.ConfigureEvent in order to get informed >> about window moving and resizing. >> >> In my constructor I have this code >> >> this.ConfigureEvent += new ConfigureEventHandler (onConfigureEvent); >> >> and in this same class I've method >> >> void OnConfigureEvent (object o, Gtk.ConfigureEventArgs >> args) >> { >> Console.Writeline("test"); >> } >> >> Nothing really difficult but it doesn't seems to be good solution >> because nothing happens. >> >> Someone has an idea about the problem? >> >> Thanks for help. >> >> PS : Sorry for my bad English I don't speak it very often. >> > > _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list