Re: Allow a GtkWindow to prevent losing focus



I have been trying to do something similar - the behaviour of modal
windows under Windows. However this solution seemed too fragile
because you never know what window manager will be running beneath.
After all most of these functions just pass on hints to the window
manager, and the behaviour depends on it completely. Therefore if you
REALLY need this sort of thing you may need to fix your project on a
specific WM and start doing some not so nice things as trapping
XEvents globally and the alike. Mind you that I did not go into detail
because it was not so crucial and I did not want to make the interface
dull.

Atanas



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