Re: signal testing



if (gtk_signal_n_emissions_by_name (object, name) > 0)
  {
    gtk_signal_emit_stop_by_name (object, name);
  }

On Tue, 2 May 2000, Jeff Shipman wrote:

> I'm using gtk_signal_emit_stop_by_name() to stop
> a signal emission, but it's not always the case that
> the signal will have been called when I call this
> function. Does anybody know of a way I could verify
> the emission before I try to stop it? Otherwise, I get
> gtk warnings.
> 
> -- 
> +-----------------------------------------------------+
> | Jeff "Shippy" Shipman     E-Mail: shippy@cs.nmt.edu |
> | Computer Science Major    ICQ: 1786493              |
> | New Mexico Institute of Mining and Technology       |
> | Homepage: http://www.nmt.edu/~shippy                |
> +-----------------------------------------------------+
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 





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