Re: g_signal_emitv -- where is it used in application code?
- From: Emmanuele Bassi <ebassi gmail com>
- To: Stefan Salewski <mail ssalewski de>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: g_signal_emitv -- where is it used in application code?
- Date: Fri, 15 Sep 2017 12:25:34 +0100
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.
Ciao,
Emmanuele.
On 15 September 2017 at 12:16, Stefan Salewski <mail ssalewski de> wrote:
https://developer.gnome.org/gobject/stable/gobject-Signals.html#g-signal-emitv
For the most recent issue
https://github.com/StefanSalewski/gintro/issues/8
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
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list
--
https://www.bassi.io
[@] ebassi [@gmail.com]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]