Re: BonoboControl unref



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
<gjc inescporto pt> <gustavo users sourceforge net>




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