Detect window move



Hello all,

I  just started with GTK+-2.0 and I am trying to find a way to get when the user is dragging the window. Registering for event "configure-event" through:

handle = g_signal_connect(G_OBJECT(window), "configure-event", G_CALLBACK(resize), NULL);

Only gets called at the end of event, but I need to know when the application is actually being moved so I can turn off a hardware overlay to the screen. Any ideas?

--
Respectfully,

William C Roberts



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]