Re: Keep user on a window



CAVEY GERARD wrote:

Hello

Does someone know how to make a window "really modal"
; by really modal i mean that i want to make user unable to click on a background window, is there any quite simple solution to
realize such a thing

gdk_pointer_grab can force the pointer be inside your window, just pass
pointer to your gdk window as *confine_to* arg. Also you may want to call
gdk_keyboard_grab to disable window manager's stuff like worspace/window
switching. Consider, however, that user under X can switch to another VT and launch
'kill' ;)

Olexiy





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