Re: BonoboControl unref
Gustavo J A M Carneiro <[email protected]> Mon, 25 Aug 2003 10:42:57 +0100
| Newsgroups | gmane.comp.gnome.components |
|---|---|
| Organization | INESC |
| Message-ID | <[email protected]> |
A Seg, 2003-08-25 Ã s 09:04, Archit Baweja escreveu: > Hi > > Is this "destroy" signal emitted client (bonobowindow aka container) side or > server (bonobocontrol aka containee) side? > > I want something server side. Server side, by the control. > > 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 > _______________________________________________ > gnome-components-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gnome-components-list -- Gustavo J. A. M. Carneiro <[email protected]> <[email protected]>