Re: GTK+ Signals



- 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

Is this possible in C++?


ralf




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