Re: Allow a GtkWindow to prevent losing focus

2006-07-26 Thread Atanas Atanasov
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 depen

Re: Allow a GtkWindow to prevent losing focus

2006-07-26 Thread Yeti
On Wed, Jul 26, 2006 at 10:42:10AM +0200, Mardy wrote: > I made a subclass of GtkWindow for my particular needs, among which > there is this important one: when the user clicks on another window > of the same class in the same application, the window which currently > owns the focus should be not

Allow a GtkWindow to prevent losing focus

2006-07-26 Thread Mardy
Hi all, I made a subclass of GtkWindow for my particular needs, among which there is this important one: when the user clicks on another window of the same class in the same application, the window which currently owns the focus should be notified of the event, and if needed be able to prevent th