Re: Disable delete event
- From: Owen Taylor <otaylor redhat com>
- To: Anders Melchiorsen <and kampsax dtu dk>
- Cc: gtk-list redhat com
- Subject: Re: Disable delete event
- Date: 25 Sep 1999 16:39:23 -0400
Anders Melchiorsen <firstname.lastname@example.org> writes:
> I have a window that I would like to not react to user requests for
> closing the window. Right now I am ignoring the delete event which
> works fine - but how do I tell the window manager that it should not
> make a close button (xdvi does this, for example) ?
> I could not find any gtk+ function to do this; will I have to make X
> calls to do it?
You can (sort of) do this with MWM hints. Whether the hints will
be obeyed or not depends on the window manager.
Are the functions that control this. See gtk/testgtk.c for an example.
] [Thread Prev