Re: Object Destruction



"Ian King" <king eiffel com> writes:  
> 
> When a gtk object is explicitly destroyed with gtk_object_destroy, would this
> cause the emission of any signals that are not associated with the destruction of
> the object itself (such as deselection within parent, etc..).

It can, yes.

>  Also, is there any
> way of checking whether a signal connection id for a specific widget is valid, to
> avoid annoying 'could not find handler' messages.
> 

I don't believe so. Could be wrong.

Usually people set the connection ID they have stored to 0 after they
disconnect, so they can tell not to disconnect again.

Havoc




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