RE: preventing moving/dragging of GTK windows

I just need to know how to prevent a GTK window, (that I created) 
from being moved or dragged to a different position on the screen. 

Have a look into the "configure-event" for the widget (for the Window). If I remember correctly, this event 
is signalled every time the parameters of the window change (e.g. iconify/deiconify/resize/etc).  

You can return TRUE to stop other handlers from being invoked for the event.  On a resize, you could 
potentially return TRUE ?? 

Try it out:


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