Re: [gtk-list] Re: How to redirect Alt-F4 to hide instead of destroy.



On Tue, 28 Sep 1999 12:14:06 +0200, Wolfgang Glas wrote:
> Erik Mouw wrote:
>> I think your window manager sends a destroy to the window as soon as
>> Alt-F4 is pressed. Configure your window manager to do a close or delete
>> instead.
> 
>  That's true, but under X11 one can handle the destroy event in a way, that it
> is ignored or redirected. So I thought that his is the way it works with gtk,
> too.

IIRC, only the delete event can be ignored, not the destroy event.

> Unfortunately I don't know how to cinfigure my window manager. Can I just
> reconfigure the Window manager menu for one single window by some gdk/gtk call?

You can't reconfigure a window manager menu with a single GTK call because
window manager configuration is not standard.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/




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