Re: Trouble with delete-event

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

 



Il dom, 2003-08-31 alle 22:12, Havoc Pennington ha scritto:
> 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.
> 

Sorry, that was a typo. I actually return TRUE, not FALSE. I also forgot
to mention that if I run the app via gdb I get the right behaviour.

	Giovanni

-- 
The purpose of the Smalltalk project is to provide computer support for
the creative spirit in everyone. -- Dan Ingalls, 1981

_______________________________________________

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