Re: BonoboControl unref

Archit Baweja <[email protected]> 25 Aug 2003 13:34:01 +0530
Newsgroups gmane.comp.gnome.components
Message-ID <[email protected]>
Hi

Is this "destroy" signal emitted client (bonobowindow aka container) side or
server (bonobocontrol aka containee) side?

I want something server side.

TIA
Archit
Gustavo J A M Carneiro <[email protected]> writes:

> A Dom, 2003-08-24 às 22:52, Archit Baweja escreveu:
> > Hi
> > 
> > Say I have a BonoboWindow with a BonoboControl embedded in it. When I close the
> > window, I call bonobo_main_quit (). At this point is there a way for my 
> > BonoboControl to know that we're quitin, so it can cleanup or do other stuff
> > like save session etc.?
> 
>   When you close the window, normally the reference count on the control
> drops to zero.  At this point, the control is destroyed, and it emits  a
> "destroy" signal in the process. 
> 
> -- 
> Gustavo J. A. M. Carneiro
> <[email protected]> <[email protected]>
> 
> _______________________________________________
> gnome-components-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gnome-components-list