Re: What signals are available?



Probably some code like this would help:

  object_class = GTK_WIDGET(widget)->klass;

  for (i = 0; i < object_class->nsignals; i++) {
    GtkSignalQuery *info = gtk_signal_query(object_class->signals[i]);

    /* do something with the info */
    g_free(info);
  }


James.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Mon, 8 Mar 1999, George Farris wrote:

> Is there a function that can be run which will spit out all the 
> signals that are currently available in the local context?
> 
> Lets say I've just created a widget which is subclassed from other 
> widgets and I want to see what signals are currently connected to 
> what widgets.  Can this be accomplished?
> 
> -- 
> George Farris - VE7FRG
> George@gmsys.com
> 
> 
> 
> -- 
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.
> 



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