On Thu, Feb 22, 2001 at 04:11:20PM -0800, Emmanuel Gravel wrote:
Is there a way to create a window and tell the window manager to remove all buttons (maximize, minimize, kill, inconify), and/or lock the window in a specific position, and/or disable resizing? Is there a way to lock the mouse within the confines of a popup (force the user to acknowledge the popup before he could do anything else)?
I've attached an example program what does this. A few Notes: - When this code is executed as a result of an event, you should use event->time instead of GDK_CURRENT_TIME. - If your program has a bug, and it hangs, it may lock the X server. So make sure you have access to another console (e.g. Linux text console). - Of course, you should have *very* good reasons for locking other apps. Sebastian
Attachment:
gtktest.c
Description: Text document