Re: GTK+ Signals bindings



On Sat, 2006-11-18 at 09:58 +0100, Ralf Stephan wrote:
> Hello,
> I was not able to find bindings for these in the docs,
> do they exist?

No, I don't think they are generally useful. If you really must use
them, you can always use the C functions, providing a static (non class)
function and a class instance as the use_data parameter.

> > - use g_signal_add_emission_hook() to catch all emissions of
> >   a signal for all instances
> > 
> > - use g_signal_list_ids() to get all signals that objects of
> >   a given type can emit and then connect to them in a loop
> >   for an instance; note you have to recusrsively scan parent
> >   classes and implemented interfaces and and their signals
> >   too, inherited signals are not returned

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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