Re: g_signal_handlers_block_by_func

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

 



On Mon, 6 Dec 2004 09:08:43 -0500, Tristan Van Berkom
<tristan.van.berkom@xxxxxxxxx> wrote:
> On Fri, 3 Dec 2004 16:33:27 -0700, Neil Zanella <nzanella@xxxxxxxxx> wrote:
> > Hello,
> >
> > I would like to know whether the function call
> >
> > g_signal_handlers_block_by_func
> >
> > can be applied to (external) events in the same way as it can be applied
> > to (internal) Gtk signals so as to temporarily block them and then call
> [...]
>   The GSignal api works on GSignals, sometimes there is some confusion
> about events & signals (I think theres something in the reference about that...)
> 
> Signals on the GtkWidgetClass with the suffix "-event" (like
> "button-press-event")
> are events, but that doesn't mean that they are not signals.
> 
> So the answer is yes and no, if the external event is a signal, you can
> block it with the GSignal API, otherwise...

So does this mean that unless the signal/event ends with the suffix "-event"
then I can block it with g_signal_handlers_block_by_func?

Thanks,

Neil
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux