Re: Trouble with delete-event

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

 



On Sun, Aug 31, 2003 at 07:47:25PM +0200, Giovanni Corriga wrote:
> Hi
> 
> I have some problems with handling delete-event. Even if I return a
> false value from the callback function, the window is deleted. I suspect
> this behaviour is caused by the window manager (Red Hat 9's Metacity).
> I'm observing the same behaiour in the tutorial's helloworld.c program,
> too.
> 
> Has it happened to anybody else? Is there a workaround for it?
> 

To prevent deletion, return TRUE, not FALSE.

Havoc
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux