[Gtk-sharp-list] event for window movement
Sun, 14 Mar 2004 13:31:53 -0500
On Sun, 2004-03-14 at 10:05 -0800, Ofer Achler wrote:
> I'm trying to attach to an event that happens when a window is moved
> (preferably when a widget is moved)
> Configure_event doesn't do it, it seems to get called when a resize event
> occurs or other things of that nature, but not when a window is moved.
> My question is does such an event exist?
> Thanks =)
I think configure_event is right for this:
but it doesn't seem to ever be fired in Gtk#, so I think it is a bug.
Attached is a small test.
Content-Disposition: attachment; filename=T.cs
Content-Type: text/x-csharp; name=T.cs; charset=utf-8
static void Main ()
Window win = new Window ("test");
win.DeleteEvent += new DeleteEventHandler (OnDelete);
win.ConfigureEvent += new ConfigureEventHandler (OnConfigure);
static void OnConfigure (object o, ConfigureEventArgs args)
static void OnDelete (object o, DeleteEventArgs args)