Re: g_signal_emitv -- where is it used in application code?
- Date: Fri, 15 Sep 2017 12:25:34 +0100
- From: Emmanuele Bassi <ebassi@xxxxxxxxx>
- Subject: Re: g_signal_emitv -- where is it used in application code?
The g_signal_emitv() function is the vector-based function for
emitting signals in language bindings.
The variadic argument version is a C convenience function, as
functions with variadic arguments are not introspectable.
This is a typical pattern for any GObject-based library; for every
variadic argument function there should be a vector-based one that can
be used by language bindings.
On 15 September 2017 at 12:16, Stefan Salewski <mail@xxxxxxxxxxxx> wrote:
> For the most recent issue
> I have absolutely no idea currently.
> Is g_signal_emitv() generally used in applications code, or is it used
> for library development (creation of new widgets for example) only.
> I have never emitted any signals by myself, not in C, not in Ruby and
> not in Nim.
> And I can find no examples of use of g_signal_emitv and other
> g_signal_emit functions currently -- outside of the GTK library code.
> Do you know an example application?
> gtk-list mailing list
[@] ebassi [@gmail.com]
gtk-list mailing list