atk 0.90.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +241 -0
- data/README +30 -0
- data/Rakefile +74 -0
- data/ext/atk/Makefile +160 -0
- data/ext/atk/atk.def +2 -0
- data/ext/atk/depend +8 -0
- data/ext/atk/extconf.rb +60 -0
- data/ext/atk/makeinits.rb +39 -0
- data/ext/atk/rbatk.c +27 -0
- data/ext/atk/rbatk.h +36 -0
- data/ext/atk/rbatkaction.c +81 -0
- data/ext/atk/rbatkcomponent.c +184 -0
- data/ext/atk/rbatkdocument.c +95 -0
- data/ext/atk/rbatkeditabletext.c +102 -0
- data/ext/atk/rbatkgobjectaccessible.c +37 -0
- data/ext/atk/rbatkhyperlink.c +92 -0
- data/ext/atk/rbatkhypertext.c +44 -0
- data/ext/atk/rbatkimage.c +62 -0
- data/ext/atk/rbatkimplementor.c +27 -0
- data/ext/atk/rbatkinits.c +55 -0
- data/ext/atk/rbatknoopobject.c +30 -0
- data/ext/atk/rbatknoopobjectfactory.c +30 -0
- data/ext/atk/rbatkobject.c +178 -0
- data/ext/atk/rbatkobjectfactory.c +44 -0
- data/ext/atk/rbatkregistry.c +55 -0
- data/ext/atk/rbatkrelation.c +104 -0
- data/ext/atk/rbatkrelationset.c +94 -0
- data/ext/atk/rbatkselection.c +82 -0
- data/ext/atk/rbatkstate.c +41 -0
- data/ext/atk/rbatkstateset.c +143 -0
- data/ext/atk/rbatkstreamablecontent.c +50 -0
- data/ext/atk/rbatktable.c +292 -0
- data/ext/atk/rbatktext.c +364 -0
- data/ext/atk/rbatktextrange.c +91 -0
- data/ext/atk/rbatktextrectangle.c +156 -0
- data/ext/atk/rbatkutil.c +125 -0
- data/ext/atk/rbatkvalue.c +74 -0
- data/ext/atk/rbatkversion.h +24 -0
- data/extconf.rb +49 -0
- data/lib/1.8/atk.so +0 -0
- data/lib/1.9/atk.so +0 -0
- data/lib/atk.rb +12 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +123 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +188 -0
- data/vendor/local/bin/glib-mkenums +511 -0
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/intl.dll +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libatk-1.0-0.dll +0 -0
- data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/include/atk-1.0/atk/atk-enum-types.h +45 -0
- data/vendor/local/include/atk-1.0/atk/atk.h +56 -0
- data/vendor/local/include/atk-1.0/atk/atkaction.h +111 -0
- data/vendor/local/include/atk-1.0/atk/atkcomponent.h +171 -0
- data/vendor/local/include/atk-1.0/atk/atkdocument.h +83 -0
- data/vendor/local/include/atk-1.0/atk/atkeditabletext.h +104 -0
- data/vendor/local/include/atk-1.0/atk/atkgobjectaccessible.h +65 -0
- data/vendor/local/include/atk-1.0/atk/atkhyperlink.h +106 -0
- data/vendor/local/include/atk-1.0/atk/atkhyperlinkimpl.h +75 -0
- data/vendor/local/include/atk-1.0/atk/atkhypertext.h +78 -0
- data/vendor/local/include/atk-1.0/atk/atkimage.h +87 -0
- data/vendor/local/include/atk-1.0/atk/atkmisc.h +89 -0
- data/vendor/local/include/atk-1.0/atk/atknoopobject.h +55 -0
- data/vendor/local/include/atk-1.0/atk/atknoopobjectfactory.h +57 -0
- data/vendor/local/include/atk-1.0/atk/atkobject.h +649 -0
- data/vendor/local/include/atk-1.0/atk/atkobjectfactory.h +67 -0
- data/vendor/local/include/atk-1.0/atk/atkplug.h +61 -0
- data/vendor/local/include/atk-1.0/atk/atkregistry.h +69 -0
- data/vendor/local/include/atk-1.0/atk/atkrelation.h +89 -0
- data/vendor/local/include/atk-1.0/atk/atkrelationset.h +78 -0
- data/vendor/local/include/atk-1.0/atk/atkrelationtype.h +83 -0
- data/vendor/local/include/atk-1.0/atk/atkselection.h +95 -0
- data/vendor/local/include/atk-1.0/atk/atksocket.h +65 -0
- data/vendor/local/include/atk-1.0/atk/atkstate.h +178 -0
- data/vendor/local/include/atk-1.0/atk/atkstateset.h +80 -0
- data/vendor/local/include/atk-1.0/atk/atkstreamablecontent.h +105 -0
- data/vendor/local/include/atk-1.0/atk/atktable.h +217 -0
- data/vendor/local/include/atk-1.0/atk/atktext.h +365 -0
- data/vendor/local/include/atk-1.0/atk/atkutil.h +313 -0
- data/vendor/local/include/atk-1.0/atk/atkvalue.h +93 -0
- data/vendor/local/include/autosprintf.h +66 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +237 -0
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +119 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +73 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +103 -0
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +60 -0
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +57 -0
- data/vendor/local/include/glib-2.0/gio/gconverter.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +133 -0
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +116 -0
- data/vendor/local/include/glib-2.0/gio/gdrive.h +225 -0
- data/vendor/local/include/glib-2.0/gio/gemblem.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +62 -0
- data/vendor/local/include/glib-2.0/gio/gfile.h +1017 -0
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +77 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +133 -0
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +56 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +951 -0
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +112 -0
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +119 -0
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gicon.h +91 -0
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +103 -0
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +69 -0
- data/vendor/local/include/glib-2.0/gio/ginitable.h +96 -0
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +172 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +703 -0
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +48 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +132 -0
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +52 -0
- data/vendor/local/include/glib-2.0/gio/giostream.h +112 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +339 -0
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gmount.h +242 -0
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +62 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +69 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +207 -0
- data/vendor/local/include/glib-2.0/gio/gresolver.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gseekable.h +99 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +125 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +176 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +89 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +130 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +105 -0
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +138 -0
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +88 -0
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +52 -0
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +63 -0
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gvfs.h +125 -0
- data/vendor/local/include/glib-2.0/gio/gvolume.h +211 -0
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +55 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +54 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +63 -0
- data/vendor/local/include/glib-2.0/glib/garray.h +179 -0
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +120 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +85 -0
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +68 -0
- data/vendor/local/include/glib-2.0/glib/gbase64.h +57 -0
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +43 -0
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +191 -0
- data/vendor/local/include/glib-2.0/glib/gcache.h +69 -0
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +86 -0
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +77 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +138 -0
- data/vendor/local/include/glib-2.0/glib/gdataset.h +122 -0
- data/vendor/local/include/glib-2.0/glib/gdate.h +263 -0
- data/vendor/local/include/glib-2.0/glib/gdir.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gerror.h +98 -0
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +128 -0
- data/vendor/local/include/glib-2.0/glib/ghash.h +166 -0
- data/vendor/local/include/glib-2.0/glib/ghook.h +181 -0
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +40 -0
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +38 -0
- data/vendor/local/include/glib-2.0/glib/gi18n.h +34 -0
- data/vendor/local/include/glib-2.0/glib/giochannel.h +366 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +250 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +120 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +277 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +304 -0
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +49 -0
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +163 -0
- data/vendor/local/include/glib-2.0/glib/gmem.h +203 -0
- data/vendor/local/include/glib-2.0/glib/gmessages.h +343 -0
- data/vendor/local/include/glib-2.0/glib/gnode.h +288 -0
- data/vendor/local/include/glib-2.0/glib/goption.h +370 -0
- data/vendor/local/include/glib-2.0/glib/gpattern.h +49 -0
- data/vendor/local/include/glib-2.0/glib/gpoll.h +93 -0
- data/vendor/local/include/glib-2.0/glib/gprimes.h +51 -0
- data/vendor/local/include/glib-2.0/glib/gprintf.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gqsort.h +46 -0
- data/vendor/local/include/glib-2.0/glib/gquark.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gqueue.h +127 -0
- data/vendor/local/include/glib-2.0/glib/grand.h +85 -0
- data/vendor/local/include/glib-2.0/glib/gregex.h +243 -0
- data/vendor/local/include/glib-2.0/glib/grel.h +97 -0
- data/vendor/local/include/glib-2.0/glib/gscanner.h +278 -0
- data/vendor/local/include/glib-2.0/glib/gsequence.h +128 -0
- data/vendor/local/include/glib-2.0/glib/gshell.h +55 -0
- data/vendor/local/include/glib-2.0/glib/gslice.h +86 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +114 -0
- data/vendor/local/include/glib-2.0/glib/gspawn.h +139 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +159 -0
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +267 -0
- data/vendor/local/include/glib-2.0/glib/gstring.h +178 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +292 -0
- data/vendor/local/include/glib-2.0/glib/gthread.h +408 -0
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +114 -0
- data/vendor/local/include/glib-2.0/glib/gtimer.h +65 -0
- data/vendor/local/include/glib-2.0/glib/gtree.h +91 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +451 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +404 -0
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +81 -0
- data/vendor/local/include/glib-2.0/glib/gutils.h +490 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +224 -0
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +305 -0
- data/vendor/local/include/glib-2.0/glib/gwin32.h +114 -0
- data/vendor/local/include/glib-2.0/glib-object.h +41 -0
- data/vendor/local/include/glib-2.0/glib.h +97 -0
- data/vendor/local/include/glib-2.0/gmodule.h +101 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +236 -0
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +251 -0
- data/vendor/local/include/glib-2.0/gobject/genums.h +261 -0
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +169 -0
- data/vendor/local/include/glib-2.0/gobject/gobject.h +562 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +166 -0
- data/vendor/local/include/glib-2.0/gobject/gparam.h +410 -0
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +1083 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +509 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +51 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +1608 -0
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +263 -0
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +134 -0
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +159 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +77 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +222 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +243 -0
- data/vendor/local/include/libintl.h +464 -0
- data/vendor/local/lib/GNU.Gettext.dll +0 -0
- data/vendor/local/lib/atk-1.0.def +237 -0
- data/vendor/local/lib/atk-1.0.lib +0 -0
- data/vendor/local/lib/gio-2.0.def +800 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +284 -0
- data/vendor/local/lib/glib-2.0.def +1381 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/gmodule-2.0.def +11 -0
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +349 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.def +3 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/intl.lib +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libatk-1.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libintl.def +31 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/atk.pc +11 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +11 -0
- data/vendor/local/manifest/atk-dev_1.30.0-2_win32.mft +37 -0
- data/vendor/local/manifest/atk_1.30.0-2_win32.mft +93 -0
- data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +81 -0
- data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +3 -0
- data/vendor/local/manifest/glib-dev_2.24.2-2_win32.mft +491 -0
- data/vendor/local/manifest/glib_2.24.2-2_win32.mft +101 -0
- data/vendor/local/share/aclocal/glib-2.0.m4 +211 -0
- data/vendor/local/share/aclocal/glib-gettext.m4 +432 -0
- data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +165 -0
- data/vendor/local/share/doc/gettext/bindtextdomain.3.html +160 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +8 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +305 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +356 -0
- data/vendor/local/share/doc/gettext/csharpdoc/begin.html +11 -0
- data/vendor/local/share/doc/gettext/csharpdoc/index.html +10 -0
- data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +6 -0
- data/vendor/local/share/doc/gettext/envsubst.1.html +213 -0
- data/vendor/local/share/doc/gettext/gettext.1.html +266 -0
- data/vendor/local/share/doc/gettext/gettext.3.html +186 -0
- data/vendor/local/share/doc/gettext/ngettext.1.html +280 -0
- data/vendor/local/share/doc/gettext/ngettext.3.html +143 -0
- data/vendor/local/share/doc/gettext/textdomain.3.html +150 -0
- data/vendor/local/share/doc/glib-2.24.2/COPYING +482 -0
- data/vendor/local/share/doc/glib-dev-2.24.2/COPYING +482 -0
- data/vendor/local/share/doc/libasprintf/autosprintf_all.html +174 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +252 -0
- data/vendor/local/share/glib-2.0/gdb/gobject.py +305 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +111 -0
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +277 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1390 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +531 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +343 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +568 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +295 -0
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +620 -0
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +245 -0
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +388 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +993 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +544 -0
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1416 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +272 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +206 -0
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +7450 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +115 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +520 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +155 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +3116 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +262 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +353 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +182 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +183 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +261 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +479 -0
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +331 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +717 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +195 -0
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +388 -0
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +808 -0
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +185 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +362 -0
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1465 -0
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +848 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +263 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +248 -0
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +1006 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +787 -0
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +350 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +979 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +2152 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +297 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +930 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +548 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +274 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +741 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +258 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +377 -0
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +197 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +381 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +280 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +237 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +237 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +306 -0
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +274 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1028 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +709 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +180 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +128 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +153 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +155 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +1088 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +206 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +97 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +4499 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +171 -0
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +45 -0
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +80 -0
- data/vendor/local/share/gtk-doc/html/gio/ch19.html +75 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20s02.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20s03.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/extending.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +465 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +381 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +163 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +163 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +927 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +328 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +297 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +313 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +918 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +1235 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +1384 -0
- data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +47 -0
- data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/icons.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/index.html +318 -0
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +1795 -0
- data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +42 -0
- data/vendor/local/share/gtk-doc/html/gio/networking.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +293 -0
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +47 -0
- data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +92 -0
- data/vendor/local/share/gtk-doc/html/gio/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/utils.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +47 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +180 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +312 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +563 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +362 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +102 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +124 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +83 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +194 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +419 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +389 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +413 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +158 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +340 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +7835 -0
- data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +893 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +818 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +413 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +430 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +802 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +372 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +500 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2054 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +560 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +1686 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +398 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1187 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +1665 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +460 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +528 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2042 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +1278 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +1406 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +548 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1023 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +1810 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +3798 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +1815 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +295 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +1512 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +1367 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +229 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +629 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2196 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +2556 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +612 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +1451 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +389 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +1029 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +141 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +706 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +510 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +703 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1045 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +1523 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +1466 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +204 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +2648 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +752 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +269 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +578 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +483 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +1353 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +238 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1283 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +1212 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +924 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +466 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +301 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2947 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +1290 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +1719 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +3379 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +606 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +3411 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +245 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +188 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +263 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +314 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +3356 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +150 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +438 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +476 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +438 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +159 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +118 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +64 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +160 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +120 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +59 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +93 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2395 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +121 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +302 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +2084 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +2556 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.html +80 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +72 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +131 -0
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +1171 -0
- data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +336 -0
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +2717 -0
- data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
- data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +41 -0
- data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +710 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +453 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +85 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +51 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +46 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +38 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +46 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +72 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +178 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +42 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +42 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +50 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2577 -0
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +136 -0
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +113 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +293 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +263 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +92 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +214 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +355 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +295 -0
- data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +406 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +2355 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +847 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +1423 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +776 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +2741 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +5242 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +2609 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +4227 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +413 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +230 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +234 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +270 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +117 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +723 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +757 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +143 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +287 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +316 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +76 -0
- data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +100 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +86 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +113 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +122 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +257 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +283 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +125 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +167 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +160 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +121 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.html +187 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +734 -0
- data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +72 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +80 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +66 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +82 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +377 -0
- data/vendor/local/share/gtk-doc/html/gobject/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +40 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +63 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +43 -0
- data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/locale.alias +77 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/envsubst.1 +54 -0
- data/vendor/local/share/man/man1/gettext.1 +69 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +307 -0
- data/vendor/local/share/man/man1/glib-mkenums.1 +234 -0
- data/vendor/local/share/man/man1/gobject-query.1 +83 -0
- data/vendor/local/share/man/man1/ngettext.1 +68 -0
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +72 -0
- data/vendor/local/share/man/man3/bindtextdomain.3 +69 -0
- data/vendor/local/share/man/man3/dcgettext.3 +1 -0
- data/vendor/local/share/man/man3/dcngettext.3 +1 -0
- data/vendor/local/share/man/man3/dgettext.3 +1 -0
- data/vendor/local/share/man/man3/dngettext.3 +1 -0
- data/vendor/local/share/man/man3/gettext.3 +99 -0
- data/vendor/local/share/man/man3/ngettext.3 +60 -0
- data/vendor/local/share/man/man3/textdomain.3 +57 -0
- data/vendor/local/src/tml/packaging/atk_1.30.0-2_win32.log +739 -0
- data/vendor/local/src/tml/packaging/atk_1.30.0-2_win32.sh +51 -0
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +10423 -0
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +457 -0
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.log +2602 -0
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +290 -0
- metadata +929 -0
@@ -0,0 +1,2741 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Signals</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
7
|
+
<link rel="home" href="index.html" title="GObject Reference Manual">
|
8
|
+
<link rel="up" href="rn01.html" title="API Reference">
|
9
|
+
<link rel="prev" href="gobject-Varargs-Value-Collection.html" title="Varargs Value Collection">
|
10
|
+
<link rel="next" href="gobject-Closures.html" title="Closures">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="gobject-Varargs-Value-Collection.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GObject Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="gobject-Closures.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#gobject-Signals.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#gobject-Signals.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry" title="Signals">
|
30
|
+
<a name="gobject-Signals"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="gobject-Signals.top_of_page"></a>Signals</span></h2>
|
34
|
+
<p>Signals — A means for customization of object behaviour
|
35
|
+
and a general purpose notification mechanism</p>
|
36
|
+
</td>
|
37
|
+
<td valign="top" align="right"></td>
|
38
|
+
</tr></table></div>
|
39
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
40
|
+
<a name="gobject-Signals.synopsis"></a><h2>Synopsis</h2>
|
41
|
+
<pre class="synopsis">
|
42
|
+
#include <glib-object.h>
|
43
|
+
|
44
|
+
<a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="GSignalInvocationHint">GSignalInvocationHint</a>;
|
45
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()">*GSignalAccumulator</a>) (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>,
|
46
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_accu</code></em>,
|
47
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *handler_return</code></em>,
|
48
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
49
|
+
typedef <a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller">GSignalCMarshaller</a>;
|
50
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="gobject-Signals.html#GSignalEmissionHook" title="GSignalEmissionHook ()">*GSignalEmissionHook</a>) (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>,
|
51
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
52
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
53
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
54
|
+
enum <a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags">GSignalFlags</a>;
|
55
|
+
enum <a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType">GSignalMatchType</a>;
|
56
|
+
<a class="link" href="gobject-Signals.html#GSignalQuery" title="GSignalQuery">GSignalQuery</a>;
|
57
|
+
#define <a class="link" href="gobject-Signals.html#G-SIGNAL-TYPE-STATIC-SCOPE:CAPS" title="G_SIGNAL_TYPE_STATIC_SCOPE">G_SIGNAL_TYPE_STATIC_SCOPE</a>
|
58
|
+
#define <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-MASK:CAPS" title="G_SIGNAL_MATCH_MASK">G_SIGNAL_MATCH_MASK</a>
|
59
|
+
#define <a class="link" href="gobject-Signals.html#G-SIGNAL-FLAGS-MASK:CAPS" title="G_SIGNAL_FLAGS_MASK">G_SIGNAL_FLAGS_MASK</a>
|
60
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()">g_signal_new</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>,
|
61
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
62
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>,
|
63
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> class_offset</code></em>,
|
64
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>,
|
65
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>,
|
66
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>,
|
67
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>,
|
68
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>,
|
69
|
+
<em class="parameter"><code>...</code></em>);
|
70
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-newv" title="g_signal_newv ()">g_signal_newv</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>,
|
71
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
72
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>,
|
73
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *class_closure</code></em>,
|
74
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>,
|
75
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>,
|
76
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>,
|
77
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>,
|
78
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>,
|
79
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);
|
80
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-new-valist" title="g_signal_new_valist ()">g_signal_new_valist</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>,
|
81
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
82
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>,
|
83
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *class_closure</code></em>,
|
84
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>,
|
85
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>,
|
86
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>,
|
87
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>,
|
88
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>,
|
89
|
+
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);
|
90
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-query" title="g_signal_query ()">g_signal_query</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
91
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalQuery" title="GSignalQuery"><span class="type">GSignalQuery</span></a> *query</code></em>);
|
92
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-lookup" title="g_signal_lookup ()">g_signal_lookup</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
93
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>);
|
94
|
+
const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="gobject-Signals.html#g-signal-name" title="g_signal_name ()">g_signal_name</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>);
|
95
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>* <a class="link" href="gobject-Signals.html#g-signal-list-ids" title="g_signal_list_ids ()">g_signal_list_ids</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
96
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_ids</code></em>);
|
97
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()">g_signal_emit</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
98
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
99
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
100
|
+
<em class="parameter"><code>...</code></em>);
|
101
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-emit-by-name" title="g_signal_emit_by_name ()">g_signal_emit_by_name</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
102
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>,
|
103
|
+
<em class="parameter"><code>...</code></em>);
|
104
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-emitv" title="g_signal_emitv ()">g_signal_emitv</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *instance_and_params</code></em>,
|
105
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
106
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
107
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>);
|
108
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-emit-valist" title="g_signal_emit_valist ()">g_signal_emit_valist</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
109
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
110
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
111
|
+
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);
|
112
|
+
#define <a class="link" href="gobject-Signals.html#g-signal-connect" title="g_signal_connect()">g_signal_connect</a> (instance,
|
113
|
+
detailed_signal,
|
114
|
+
c_handler,
|
115
|
+
data)
|
116
|
+
#define <a class="link" href="gobject-Signals.html#g-signal-connect-after" title="g_signal_connect_after()">g_signal_connect_after</a> (instance,
|
117
|
+
detailed_signal,
|
118
|
+
c_handler,
|
119
|
+
data)
|
120
|
+
#define <a class="link" href="gobject-Signals.html#g-signal-connect-swapped" title="g_signal_connect_swapped()">g_signal_connect_swapped</a> (instance,
|
121
|
+
detailed_signal,
|
122
|
+
c_handler,
|
123
|
+
data)
|
124
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Signals.html#g-signal-connect-object" title="g_signal_connect_object ()">g_signal_connect_object</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
125
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>,
|
126
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> c_handler</code></em>,
|
127
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> gobject</code></em>,
|
128
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags"><span class="type">GConnectFlags</span></a> connect_flags</code></em>);
|
129
|
+
enum <a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags">GConnectFlags</a>;
|
130
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Signals.html#g-signal-connect-data" title="g_signal_connect_data ()">g_signal_connect_data</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
131
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>,
|
132
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> c_handler</code></em>,
|
133
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
134
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>,
|
135
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags"><span class="type">GConnectFlags</span></a> connect_flags</code></em>);
|
136
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Signals.html#g-signal-connect-closure" title="g_signal_connect_closure ()">g_signal_connect_closure</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
137
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>,
|
138
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
139
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> after</code></em>);
|
140
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Signals.html#g-signal-connect-closure-by-id" title="g_signal_connect_closure_by_id ()">g_signal_connect_closure_by_id</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
141
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
142
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
143
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
144
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> after</code></em>);
|
145
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-handler-block" title="g_signal_handler_block ()">g_signal_handler_block</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
146
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>);
|
147
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-handler-unblock" title="g_signal_handler_unblock ()">g_signal_handler_unblock</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
148
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>);
|
149
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-handler-disconnect" title="g_signal_handler_disconnect ()">g_signal_handler_disconnect</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
150
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>);
|
151
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Signals.html#g-signal-handler-find" title="g_signal_handler_find ()">g_signal_handler_find</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
152
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>,
|
153
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
154
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
155
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
156
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>,
|
157
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
158
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-handlers-block-matched" title="g_signal_handlers_block_matched ()">g_signal_handlers_block_matched</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
159
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>,
|
160
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
161
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
162
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
163
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>,
|
164
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
165
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-handlers-unblock-matched" title="g_signal_handlers_unblock_matched ()">g_signal_handlers_unblock_matched</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
166
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>,
|
167
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
168
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
169
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
170
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>,
|
171
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
172
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-handlers-disconnect-matched" title="g_signal_handlers_disconnect_matched ()">g_signal_handlers_disconnect_matched</a>
|
173
|
+
(<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
174
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>,
|
175
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
176
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
177
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
178
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>,
|
179
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
180
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Signals.html#g-signal-handler-is-connected" title="g_signal_handler_is_connected ()">g_signal_handler_is_connected</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
181
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>);
|
182
|
+
#define <a class="link" href="gobject-Signals.html#g-signal-handlers-block-by-func" title="g_signal_handlers_block_by_func()">g_signal_handlers_block_by_func</a> (instance,
|
183
|
+
func,
|
184
|
+
data)
|
185
|
+
#define <a class="link" href="gobject-Signals.html#g-signal-handlers-unblock-by-func" title="g_signal_handlers_unblock_by_func()">g_signal_handlers_unblock_by_func</a> (instance,
|
186
|
+
func,
|
187
|
+
data)
|
188
|
+
#define <a class="link" href="gobject-Signals.html#g-signal-handlers-disconnect-by-func" title="g_signal_handlers_disconnect_by_func()">g_signal_handlers_disconnect_by_func</a>(instance,
|
189
|
+
func,
|
190
|
+
data)
|
191
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Signals.html#g-signal-has-handler-pending" title="g_signal_has_handler_pending ()">g_signal_has_handler_pending</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
192
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
193
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
194
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> may_be_blocked</code></em>);
|
195
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-stop-emission" title="g_signal_stop_emission ()">g_signal_stop_emission</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
196
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
197
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>);
|
198
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-stop-emission-by-name" title="g_signal_stop_emission_by_name ()">g_signal_stop_emission_by_name</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
199
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>);
|
200
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-override-class-closure" title="g_signal_override_class_closure ()">g_signal_override_class_closure</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
201
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>,
|
202
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *class_closure</code></em>);
|
203
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden" title="g_signal_chain_from_overridden ()">g_signal_chain_from_overridden</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *instance_and_params</code></em>,
|
204
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>);
|
205
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-new-class-handler" title="g_signal_new_class_handler ()">g_signal_new_class_handler</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>,
|
206
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
207
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>,
|
208
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> class_handler</code></em>,
|
209
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>,
|
210
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>,
|
211
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>,
|
212
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>,
|
213
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>,
|
214
|
+
<em class="parameter"><code>...</code></em>);
|
215
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-override-class-handler" title="g_signal_override_class_handler ()">g_signal_override_class_handler</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>,
|
216
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>,
|
217
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> class_handler</code></em>);
|
218
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden-handler" title="g_signal_chain_from_overridden_handler ()">g_signal_chain_from_overridden_handler</a>
|
219
|
+
(<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
220
|
+
<em class="parameter"><code>...</code></em>);
|
221
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Signals.html#g-signal-add-emission-hook" title="g_signal_add_emission_hook ()">g_signal_add_emission_hook</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
222
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
223
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalEmissionHook" title="GSignalEmissionHook ()"><span class="type">GSignalEmissionHook</span></a> hook_func</code></em>,
|
224
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> hook_data</code></em>,
|
225
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> data_destroy</code></em>);
|
226
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-remove-emission-hook" title="g_signal_remove_emission_hook ()">g_signal_remove_emission_hook</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
227
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> hook_id</code></em>);
|
228
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Signals.html#g-signal-parse-name" title="g_signal_parse_name ()">g_signal_parse_name</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>,
|
229
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
230
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *signal_id_p</code></em>,
|
231
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> *detail_p</code></em>,
|
232
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> force_detail_quark</code></em>);
|
233
|
+
<a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="GSignalInvocationHint"><span class="returnvalue">GSignalInvocationHint</span></a>* <a class="link" href="gobject-Signals.html#g-signal-get-invocation-hint" title="g_signal_get_invocation_hint ()">g_signal_get_invocation_hint</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>);
|
234
|
+
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* <a class="link" href="gobject-Signals.html#g-signal-type-cclosure-new" title="g_signal_type_cclosure_new ()">g_signal_type_cclosure_new</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
235
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> struct_offset</code></em>);
|
236
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Signals.html#g-signal-accumulator-true-handled" title="g_signal_accumulator_true_handled ()">g_signal_accumulator_true_handled</a> (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>,
|
237
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_accu</code></em>,
|
238
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *handler_return</code></em>,
|
239
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);
|
240
|
+
</pre>
|
241
|
+
</div>
|
242
|
+
<div class="refsect1" title="Description">
|
243
|
+
<a name="gobject-Signals.description"></a><h2>Description</h2>
|
244
|
+
<p>
|
245
|
+
The basic concept of the signal system is that of the
|
246
|
+
<span class="emphasis"><em>emission</em></span> of a signal. Signals are introduced
|
247
|
+
per-type and are identified through strings. Signals introduced
|
248
|
+
for a parent type are available in derived types as well, so
|
249
|
+
basically they are a per-type facility that is inherited. A signal
|
250
|
+
emission mainly involves invocation of a certain set of callbacks
|
251
|
+
in precisely defined manner. There are two main categories of such
|
252
|
+
callbacks, per-object
|
253
|
+
<sup>[<a name="id618909" href="#ftn.id618909" class="footnote">10</a>]</sup>
|
254
|
+
ones and user provided ones.
|
255
|
+
The per-object callbacks are most often referred to as "object method
|
256
|
+
handler" or "default (signal) handler", while user provided callbacks are
|
257
|
+
usually just called "signal handler".
|
258
|
+
The object method handler is provided at signal creation time (this most
|
259
|
+
frequently happens at the end of an object class' creation), while user
|
260
|
+
provided handlers are frequently connected and disconnected to/from a certain
|
261
|
+
signal on certain object instances.
|
262
|
+
</p>
|
263
|
+
<p>
|
264
|
+
A signal emission consists of five stages, unless prematurely stopped:
|
265
|
+
</p>
|
266
|
+
<div class="variablelist"><table border="0">
|
267
|
+
<col align="left" valign="top">
|
268
|
+
<tbody>
|
269
|
+
<tr>
|
270
|
+
<td><p><span class="term"></span></p></td>
|
271
|
+
<td><p>
|
272
|
+
1 - Invocation of the object method handler for <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">G_SIGNAL_RUN_FIRST</code></a> signals
|
273
|
+
</p></td>
|
274
|
+
</tr>
|
275
|
+
<tr>
|
276
|
+
<td><p><span class="term"></span></p></td>
|
277
|
+
<td><p>
|
278
|
+
2 - Invocation of normal user-provided signal handlers (<span class="emphasis"><em>after</em></span> flag <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>)
|
279
|
+
</p></td>
|
280
|
+
</tr>
|
281
|
+
<tr>
|
282
|
+
<td><p><span class="term"></span></p></td>
|
283
|
+
<td><p>
|
284
|
+
3 - Invocation of the object method handler for <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a> signals
|
285
|
+
</p></td>
|
286
|
+
</tr>
|
287
|
+
<tr>
|
288
|
+
<td><p><span class="term"></span></p></td>
|
289
|
+
<td><p>
|
290
|
+
4 - Invocation of user provided signal handlers, connected with an <span class="emphasis"><em>after</em></span> flag of <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
291
|
+
</p></td>
|
292
|
+
</tr>
|
293
|
+
<tr>
|
294
|
+
<td><p><span class="term"></span></p></td>
|
295
|
+
<td><p>
|
296
|
+
5 - Invocation of the object method handler for <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-CLEANUP:CAPS"><code class="literal">G_SIGNAL_RUN_CLEANUP</code></a> signals
|
297
|
+
</p></td>
|
298
|
+
</tr>
|
299
|
+
</tbody>
|
300
|
+
</table></div>
|
301
|
+
<p>
|
302
|
+
The user-provided signal handlers are called in the order they were
|
303
|
+
connected in.
|
304
|
+
All handlers may prematurely stop a signal emission, and any number of
|
305
|
+
handlers may be connected, disconnected, blocked or unblocked during
|
306
|
+
a signal emission.
|
307
|
+
There are certain criteria for skipping user handlers in stages 2 and 4
|
308
|
+
of a signal emission.
|
309
|
+
First, user handlers may be <span class="emphasis"><em>blocked</em></span>, blocked handlers are omitted
|
310
|
+
during callback invocation, to return from the "blocked" state, a
|
311
|
+
handler has to get unblocked exactly the same amount of times
|
312
|
+
it has been blocked before.
|
313
|
+
Second, upon emission of a <a class="link" href="gobject-Signals.html#G-SIGNAL-DETAILED:CAPS"><code class="literal">G_SIGNAL_DETAILED</code></a> signal, an additional
|
314
|
+
"detail" argument passed in to <a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()"><code class="function">g_signal_emit()</code></a> has to match the detail
|
315
|
+
argument of the signal handler currently subject to invocation.
|
316
|
+
Specification of no detail argument for signal handlers (omission of the
|
317
|
+
detail part of the signal specification upon connection) serves as a
|
318
|
+
wildcard and matches any detail argument passed in to emission.
|
319
|
+
</p>
|
320
|
+
</div>
|
321
|
+
<div class="refsect1" title="Details">
|
322
|
+
<a name="gobject-Signals.details"></a><h2>Details</h2>
|
323
|
+
<div class="refsect2" title="GSignalInvocationHint">
|
324
|
+
<a name="GSignalInvocationHint"></a><h3>GSignalInvocationHint</h3>
|
325
|
+
<pre class="programlisting">typedef struct {
|
326
|
+
guint signal_id;
|
327
|
+
GQuark detail;
|
328
|
+
GSignalFlags run_type;
|
329
|
+
} GSignalInvocationHint;
|
330
|
+
</pre>
|
331
|
+
<p>
|
332
|
+
The <a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> structure is used to pass on additional information
|
333
|
+
to callbacks during a signal emission.
|
334
|
+
</p>
|
335
|
+
<div class="variablelist"><table border="0">
|
336
|
+
<col align="left" valign="top">
|
337
|
+
<tbody>
|
338
|
+
<tr>
|
339
|
+
<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GSignalInvocationHint.signal-id"></a>signal_id</code></em>;</span></p></td>
|
340
|
+
<td>The signal id of the signal invoking the callback
|
341
|
+
</td>
|
342
|
+
</tr>
|
343
|
+
<tr>
|
344
|
+
<td><p><span class="term"><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> <em class="structfield"><code><a name="GSignalInvocationHint.detail"></a>detail</code></em>;</span></p></td>
|
345
|
+
<td>The detail passed on for this emission
|
346
|
+
</td>
|
347
|
+
</tr>
|
348
|
+
<tr>
|
349
|
+
<td><p><span class="term"><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> <em class="structfield"><code><a name="GSignalInvocationHint.run-type"></a>run_type</code></em>;</span></p></td>
|
350
|
+
<td>The stage the signal emission is currently in, this
|
351
|
+
field will contain one of <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">G_SIGNAL_RUN_FIRST</code></a>,
|
352
|
+
<a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a> or <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-CLEANUP:CAPS"><code class="literal">G_SIGNAL_RUN_CLEANUP</code></a>.
|
353
|
+
</td>
|
354
|
+
</tr>
|
355
|
+
</tbody>
|
356
|
+
</table></div>
|
357
|
+
</div>
|
358
|
+
<hr>
|
359
|
+
<div class="refsect2" title="GSignalAccumulator ()">
|
360
|
+
<a name="GSignalAccumulator"></a><h3>GSignalAccumulator ()</h3>
|
361
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GSignalAccumulator) (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>,
|
362
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_accu</code></em>,
|
363
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *handler_return</code></em>,
|
364
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
365
|
+
<p>
|
366
|
+
The signal accumulator is a special callback function that can be used
|
367
|
+
to collect return values of the various callbacks that are called
|
368
|
+
during a signal emission. The signal accumulator is specified at signal
|
369
|
+
creation time, if it is left <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, no accumulation of callback return
|
370
|
+
values is performed. The return value of signal emissions is then the
|
371
|
+
value returned by the last callback.
|
372
|
+
</p>
|
373
|
+
<div class="variablelist"><table border="0">
|
374
|
+
<col align="left" valign="top">
|
375
|
+
<tbody>
|
376
|
+
<tr>
|
377
|
+
<td><p><span class="term"><em class="parameter"><code>ihint</code></em> :</span></p></td>
|
378
|
+
<td>Signal invocation hint, see <a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a>.
|
379
|
+
</td>
|
380
|
+
</tr>
|
381
|
+
<tr>
|
382
|
+
<td><p><span class="term"><em class="parameter"><code>return_accu</code></em> :</span></p></td>
|
383
|
+
<td>Accumulator to collect callback return values in, this
|
384
|
+
is the return value of the current signal emission.
|
385
|
+
</td>
|
386
|
+
</tr>
|
387
|
+
<tr>
|
388
|
+
<td><p><span class="term"><em class="parameter"><code>handler_return</code></em> :</span></p></td>
|
389
|
+
<td>A <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> holding the return value of the signal handler.
|
390
|
+
</td>
|
391
|
+
</tr>
|
392
|
+
<tr>
|
393
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
394
|
+
<td>Callback data that was specified when creating the signal.
|
395
|
+
</td>
|
396
|
+
</tr>
|
397
|
+
<tr>
|
398
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
399
|
+
<td> The accumulator function returns whether the signal emission
|
400
|
+
should be aborted. Returning <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> means to abort the
|
401
|
+
current emission and <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned for continuation.
|
402
|
+
</td>
|
403
|
+
</tr>
|
404
|
+
</tbody>
|
405
|
+
</table></div>
|
406
|
+
</div>
|
407
|
+
<hr>
|
408
|
+
<div class="refsect2" title="GSignalCMarshaller">
|
409
|
+
<a name="GSignalCMarshaller"></a><h3>GSignalCMarshaller</h3>
|
410
|
+
<pre class="programlisting">typedef GClosureMarshal GSignalCMarshaller;
|
411
|
+
</pre>
|
412
|
+
<p>
|
413
|
+
This is the signature of marshaller functions, required to marshall
|
414
|
+
arrays of parameter values to signal emissions into C language callback
|
415
|
+
invocations. It is merely an alias to <a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> since the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
416
|
+
mechanism takes over responsibility of actual function invocation for the
|
417
|
+
signal system.
|
418
|
+
</p>
|
419
|
+
</div>
|
420
|
+
<hr>
|
421
|
+
<div class="refsect2" title="GSignalEmissionHook ()">
|
422
|
+
<a name="GSignalEmissionHook"></a><h3>GSignalEmissionHook ()</h3>
|
423
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GSignalEmissionHook) (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>,
|
424
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
425
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>,
|
426
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
427
|
+
<p>
|
428
|
+
A simple function pointer to get invoked when the signal is emitted. This
|
429
|
+
allows you to tie a hook to the signal type, so that it will trap all
|
430
|
+
emissions of that signal, from any object.
|
431
|
+
</p>
|
432
|
+
<p>
|
433
|
+
You may not attach these to signals created with the <a class="link" href="gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><span class="type">G_SIGNAL_NO_HOOKS</span></a> flag.
|
434
|
+
</p>
|
435
|
+
<div class="variablelist"><table border="0">
|
436
|
+
<col align="left" valign="top">
|
437
|
+
<tbody>
|
438
|
+
<tr>
|
439
|
+
<td><p><span class="term"><em class="parameter"><code>ihint</code></em> :</span></p></td>
|
440
|
+
<td>Signal invocation hint, see <a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a>.
|
441
|
+
</td>
|
442
|
+
</tr>
|
443
|
+
<tr>
|
444
|
+
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
445
|
+
<td>the number of parameters to the function, including
|
446
|
+
the instance on which the signal was emitted.
|
447
|
+
</td>
|
448
|
+
</tr>
|
449
|
+
<tr>
|
450
|
+
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
451
|
+
<td>the instance on which the signal was emitted, followed by the
|
452
|
+
parameters of the emission.
|
453
|
+
</td>
|
454
|
+
</tr>
|
455
|
+
<tr>
|
456
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
457
|
+
<td>user data associated with the hook.
|
458
|
+
</td>
|
459
|
+
</tr>
|
460
|
+
<tr>
|
461
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
462
|
+
<td> whether it wants to stay connected. If it returns <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the signal
|
463
|
+
hook is disconnected (and destroyed).
|
464
|
+
</td>
|
465
|
+
</tr>
|
466
|
+
</tbody>
|
467
|
+
</table></div>
|
468
|
+
</div>
|
469
|
+
<hr>
|
470
|
+
<div class="refsect2" title="enum GSignalFlags">
|
471
|
+
<a name="GSignalFlags"></a><h3>enum GSignalFlags</h3>
|
472
|
+
<pre class="programlisting">typedef enum
|
473
|
+
{
|
474
|
+
G_SIGNAL_RUN_FIRST = 1 << 0,
|
475
|
+
G_SIGNAL_RUN_LAST = 1 << 1,
|
476
|
+
G_SIGNAL_RUN_CLEANUP = 1 << 2,
|
477
|
+
G_SIGNAL_NO_RECURSE = 1 << 3,
|
478
|
+
G_SIGNAL_DETAILED = 1 << 4,
|
479
|
+
G_SIGNAL_ACTION = 1 << 5,
|
480
|
+
G_SIGNAL_NO_HOOKS = 1 << 6
|
481
|
+
} GSignalFlags;
|
482
|
+
</pre>
|
483
|
+
<p>
|
484
|
+
The signal flags are used to specify a signal's behaviour, the overall
|
485
|
+
signal description outlines how especially the RUN flags control the
|
486
|
+
stages of a signal emission.
|
487
|
+
</p>
|
488
|
+
<div class="variablelist"><table border="0">
|
489
|
+
<col align="left" valign="top">
|
490
|
+
<tbody>
|
491
|
+
<tr>
|
492
|
+
<td><p><a name="G-SIGNAL-RUN-FIRST:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_RUN_FIRST</code></span></p></td>
|
493
|
+
<td>Invoke the object method handler in the first emission stage.
|
494
|
+
</td>
|
495
|
+
</tr>
|
496
|
+
<tr>
|
497
|
+
<td><p><a name="G-SIGNAL-RUN-LAST:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_RUN_LAST</code></span></p></td>
|
498
|
+
<td>Invoke the object method handler in the third emission stage.
|
499
|
+
</td>
|
500
|
+
</tr>
|
501
|
+
<tr>
|
502
|
+
<td><p><a name="G-SIGNAL-RUN-CLEANUP:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_RUN_CLEANUP</code></span></p></td>
|
503
|
+
<td>Invoke the object method handler in the last emission stage.
|
504
|
+
</td>
|
505
|
+
</tr>
|
506
|
+
<tr>
|
507
|
+
<td><p><a name="G-SIGNAL-NO-RECURSE:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_NO_RECURSE</code></span></p></td>
|
508
|
+
<td>Signals being emitted for an object while currently being in
|
509
|
+
emission for this very object will not be emitted recursively,
|
510
|
+
but instead cause the first emission to be restarted.
|
511
|
+
</td>
|
512
|
+
</tr>
|
513
|
+
<tr>
|
514
|
+
<td><p><a name="G-SIGNAL-DETAILED:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_DETAILED</code></span></p></td>
|
515
|
+
<td>This signal supports "::detail" appendices to the signal name
|
516
|
+
upon handler connections and emissions.
|
517
|
+
</td>
|
518
|
+
</tr>
|
519
|
+
<tr>
|
520
|
+
<td><p><a name="G-SIGNAL-ACTION:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_ACTION</code></span></p></td>
|
521
|
+
<td>Action signals are signals that may freely be emitted on alive
|
522
|
+
objects from user code via <a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()"><code class="function">g_signal_emit()</code></a> and friends, without
|
523
|
+
the need of being embedded into extra code that performs pre or
|
524
|
+
post emission adjustments on the object. They can also be thought
|
525
|
+
of as object methods which can be called generically by
|
526
|
+
third-party code.
|
527
|
+
</td>
|
528
|
+
</tr>
|
529
|
+
<tr>
|
530
|
+
<td><p><a name="G-SIGNAL-NO-HOOKS:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_NO_HOOKS</code></span></p></td>
|
531
|
+
<td>No emissions hooks are supported for this signal.
|
532
|
+
</td>
|
533
|
+
</tr>
|
534
|
+
</tbody>
|
535
|
+
</table></div>
|
536
|
+
</div>
|
537
|
+
<hr>
|
538
|
+
<div class="refsect2" title="enum GSignalMatchType">
|
539
|
+
<a name="GSignalMatchType"></a><h3>enum GSignalMatchType</h3>
|
540
|
+
<pre class="programlisting">typedef enum
|
541
|
+
{
|
542
|
+
G_SIGNAL_MATCH_ID = 1 << 0,
|
543
|
+
G_SIGNAL_MATCH_DETAIL = 1 << 1,
|
544
|
+
G_SIGNAL_MATCH_CLOSURE = 1 << 2,
|
545
|
+
G_SIGNAL_MATCH_FUNC = 1 << 3,
|
546
|
+
G_SIGNAL_MATCH_DATA = 1 << 4,
|
547
|
+
G_SIGNAL_MATCH_UNBLOCKED = 1 << 5
|
548
|
+
} GSignalMatchType;
|
549
|
+
</pre>
|
550
|
+
<p>
|
551
|
+
The match types specify what <a class="link" href="gobject-Signals.html#g-signal-handlers-block-matched" title="g_signal_handlers_block_matched ()"><code class="function">g_signal_handlers_block_matched()</code></a>,
|
552
|
+
<a class="link" href="gobject-Signals.html#g-signal-handlers-unblock-matched" title="g_signal_handlers_unblock_matched ()"><code class="function">g_signal_handlers_unblock_matched()</code></a> and <a class="link" href="gobject-Signals.html#g-signal-handlers-disconnect-matched" title="g_signal_handlers_disconnect_matched ()"><code class="function">g_signal_handlers_disconnect_matched()</code></a>
|
553
|
+
match signals by.
|
554
|
+
</p>
|
555
|
+
<div class="variablelist"><table border="0">
|
556
|
+
<col align="left" valign="top">
|
557
|
+
<tbody>
|
558
|
+
<tr>
|
559
|
+
<td><p><a name="G-SIGNAL-MATCH-ID:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MATCH_ID</code></span></p></td>
|
560
|
+
<td>The signal id must be equal.
|
561
|
+
</td>
|
562
|
+
</tr>
|
563
|
+
<tr>
|
564
|
+
<td><p><a name="G-SIGNAL-MATCH-DETAIL:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MATCH_DETAIL</code></span></p></td>
|
565
|
+
<td>The signal detail be equal.
|
566
|
+
</td>
|
567
|
+
</tr>
|
568
|
+
<tr>
|
569
|
+
<td><p><a name="G-SIGNAL-MATCH-CLOSURE:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MATCH_CLOSURE</code></span></p></td>
|
570
|
+
<td>The closure must be the same.
|
571
|
+
</td>
|
572
|
+
</tr>
|
573
|
+
<tr>
|
574
|
+
<td><p><a name="G-SIGNAL-MATCH-FUNC:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MATCH_FUNC</code></span></p></td>
|
575
|
+
<td>The C closure callback must be the same.
|
576
|
+
</td>
|
577
|
+
</tr>
|
578
|
+
<tr>
|
579
|
+
<td><p><a name="G-SIGNAL-MATCH-DATA:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MATCH_DATA</code></span></p></td>
|
580
|
+
<td>The closure data must be the same.
|
581
|
+
</td>
|
582
|
+
</tr>
|
583
|
+
<tr>
|
584
|
+
<td><p><a name="G-SIGNAL-MATCH-UNBLOCKED:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MATCH_UNBLOCKED</code></span></p></td>
|
585
|
+
<td>Only unblocked signals may matched.
|
586
|
+
</td>
|
587
|
+
</tr>
|
588
|
+
</tbody>
|
589
|
+
</table></div>
|
590
|
+
</div>
|
591
|
+
<hr>
|
592
|
+
<div class="refsect2" title="GSignalQuery">
|
593
|
+
<a name="GSignalQuery"></a><h3>GSignalQuery</h3>
|
594
|
+
<pre class="programlisting">typedef struct {
|
595
|
+
guint signal_id;
|
596
|
+
const gchar *signal_name;
|
597
|
+
GType itype;
|
598
|
+
GSignalFlags signal_flags;
|
599
|
+
GType return_type; /* mangled with G_SIGNAL_TYPE_STATIC_SCOPE flag */
|
600
|
+
guint n_params;
|
601
|
+
const GType *param_types; /* mangled with G_SIGNAL_TYPE_STATIC_SCOPE flag */
|
602
|
+
} GSignalQuery;
|
603
|
+
</pre>
|
604
|
+
<p>
|
605
|
+
A structure holding in-depth information for a specific signal. It is
|
606
|
+
filled in by the <a class="link" href="gobject-Signals.html#g-signal-query" title="g_signal_query ()"><code class="function">g_signal_query()</code></a> function.
|
607
|
+
</p>
|
608
|
+
<div class="variablelist"><table border="0">
|
609
|
+
<col align="left" valign="top">
|
610
|
+
<tbody>
|
611
|
+
<tr>
|
612
|
+
<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GSignalQuery.signal-id"></a>signal_id</code></em>;</span></p></td>
|
613
|
+
<td>The signal id of the signal being queried, or 0 if the
|
614
|
+
signal to be queried was unknown.
|
615
|
+
</td>
|
616
|
+
</tr>
|
617
|
+
<tr>
|
618
|
+
<td><p><span class="term">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GSignalQuery.signal-name"></a>signal_name</code></em>;</span></p></td>
|
619
|
+
<td>The signal name.
|
620
|
+
</td>
|
621
|
+
</tr>
|
622
|
+
<tr>
|
623
|
+
<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> <em class="structfield"><code><a name="GSignalQuery.itype"></a>itype</code></em>;</span></p></td>
|
624
|
+
<td>The interface/instance type that this signal can be emitted for.
|
625
|
+
</td>
|
626
|
+
</tr>
|
627
|
+
<tr>
|
628
|
+
<td><p><span class="term"><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> <em class="structfield"><code><a name="GSignalQuery.signal-flags"></a>signal_flags</code></em>;</span></p></td>
|
629
|
+
<td>The signal flags as passed in to <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a>.
|
630
|
+
</td>
|
631
|
+
</tr>
|
632
|
+
<tr>
|
633
|
+
<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> <em class="structfield"><code><a name="GSignalQuery.return-type"></a>return_type</code></em>;</span></p></td>
|
634
|
+
<td>The return type for user callbacks.
|
635
|
+
</td>
|
636
|
+
</tr>
|
637
|
+
<tr>
|
638
|
+
<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GSignalQuery.n-params"></a>n_params</code></em>;</span></p></td>
|
639
|
+
<td>The number of parameters that user callbacks take.
|
640
|
+
</td>
|
641
|
+
</tr>
|
642
|
+
<tr>
|
643
|
+
<td><p><span class="term">const <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *<em class="structfield"><code><a name="GSignalQuery.param-types"></a>param_types</code></em>;</span></p></td>
|
644
|
+
<td>The individual parameter types for user callbacks, note that the
|
645
|
+
effective callback signature is:
|
646
|
+
<pre class="programlisting">
|
647
|
+
@return_type callback (<a href="./../glib/glib/glib-Basic-Types.html#gpointer">gpointer</a> data1,
|
648
|
+
[param_types param_names,]
|
649
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gpointer">gpointer</a> data2);
|
650
|
+
</pre>
|
651
|
+
</td>
|
652
|
+
</tr>
|
653
|
+
</tbody>
|
654
|
+
</table></div>
|
655
|
+
</div>
|
656
|
+
<hr>
|
657
|
+
<div class="refsect2" title="G_SIGNAL_TYPE_STATIC_SCOPE">
|
658
|
+
<a name="G-SIGNAL-TYPE-STATIC-SCOPE:CAPS"></a><h3>G_SIGNAL_TYPE_STATIC_SCOPE</h3>
|
659
|
+
<pre class="programlisting">#define G_SIGNAL_TYPE_STATIC_SCOPE (G_TYPE_FLAG_RESERVED_ID_BIT)
|
660
|
+
</pre>
|
661
|
+
<p>
|
662
|
+
This macro flags signal argument types for which the signal system may
|
663
|
+
assume that instances thereof remain persistent across all signal emissions
|
664
|
+
they are used in. This is only useful for non ref-counted, value-copy types.
|
665
|
+
</p>
|
666
|
+
<p>
|
667
|
+
To flag a signal argument in this way, add
|
668
|
+
<code class="literal">| G_SIGNAL_TYPE_STATIC_SCOPE</code> to the corresponding argument
|
669
|
+
of <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a>.
|
670
|
+
</p>
|
671
|
+
<div class="informalexample">
|
672
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
673
|
+
<tbody>
|
674
|
+
<tr>
|
675
|
+
<td class="listing_lines" align="right"><pre>1
|
676
|
+
2
|
677
|
+
3
|
678
|
+
4
|
679
|
+
5
|
680
|
+
6
|
681
|
+
7
|
682
|
+
8</pre></td>
|
683
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="gobject-Signals.html#g-signal-new">g_signal_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"size_request"</span><span class="symbol">,</span>
|
684
|
+
<span class="normal"> </span><span class="function"><a href="gobject-Type-Information.html#G-TYPE-FROM-CLASS:CAPS">G_TYPE_FROM_CLASS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gobject_class</span><span class="symbol">),</span>
|
685
|
+
<span class="normal"> <a href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">G_SIGNAL_RUN_FIRST</a></span><span class="symbol">,</span>
|
686
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">GtkWidgetClass</span><span class="symbol">,</span><span class="normal"> size_request</span><span class="symbol">),</span>
|
687
|
+
<span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
|
688
|
+
<span class="normal"> _gtk_marshal_VOID__BOXED</span><span class="symbol">,</span>
|
689
|
+
<span class="normal"> <a href="gobject-Type-Information.html#G-TYPE-NONE:CAPS">G_TYPE_NONE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span>
|
690
|
+
<span class="normal"> GTK_TYPE_REQUISITION </span><span class="symbol">|</span><span class="normal"> <a href="gobject-Signals.html#G-SIGNAL-TYPE-STATIC-SCOPE:CAPS">G_SIGNAL_TYPE_STATIC_SCOPE</a></span><span class="symbol">);</span></pre></td>
|
691
|
+
</tr>
|
692
|
+
</tbody>
|
693
|
+
</table>
|
694
|
+
</div>
|
695
|
+
|
696
|
+
<p>
|
697
|
+
</p>
|
698
|
+
</div>
|
699
|
+
<hr>
|
700
|
+
<div class="refsect2" title="G_SIGNAL_MATCH_MASK">
|
701
|
+
<a name="G-SIGNAL-MATCH-MASK:CAPS"></a><h3>G_SIGNAL_MATCH_MASK</h3>
|
702
|
+
<pre class="programlisting">#define G_SIGNAL_MATCH_MASK 0x3f
|
703
|
+
</pre>
|
704
|
+
<p>
|
705
|
+
A mask for all <a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> bits.
|
706
|
+
</p>
|
707
|
+
</div>
|
708
|
+
<hr>
|
709
|
+
<div class="refsect2" title="G_SIGNAL_FLAGS_MASK">
|
710
|
+
<a name="G-SIGNAL-FLAGS-MASK:CAPS"></a><h3>G_SIGNAL_FLAGS_MASK</h3>
|
711
|
+
<pre class="programlisting">#define G_SIGNAL_FLAGS_MASK 0x7f
|
712
|
+
</pre>
|
713
|
+
<p>
|
714
|
+
A mask for all <a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> bits.
|
715
|
+
</p>
|
716
|
+
</div>
|
717
|
+
<hr>
|
718
|
+
<div class="refsect2" title="g_signal_new ()">
|
719
|
+
<a name="g-signal-new"></a><h3>g_signal_new ()</h3>
|
720
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_new (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>,
|
721
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
722
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>,
|
723
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> class_offset</code></em>,
|
724
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>,
|
725
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>,
|
726
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>,
|
727
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>,
|
728
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>,
|
729
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
730
|
+
<p>
|
731
|
+
Creates a new signal. (This is usually done in the class initializer.)
|
732
|
+
</p>
|
733
|
+
<p>
|
734
|
+
A signal name consists of segments consisting of ASCII letters and
|
735
|
+
digits, separated by either the '-' or '_' character. The first
|
736
|
+
character of a signal name must be a letter. Names which violate these
|
737
|
+
rules lead to undefined behaviour of the GSignal system.
|
738
|
+
</p>
|
739
|
+
<p>
|
740
|
+
When registering a signal and looking up a signal, either separator can
|
741
|
+
be used, but they cannot be mixed.
|
742
|
+
</p>
|
743
|
+
<p>
|
744
|
+
If 0 is used for <em class="parameter"><code>class_offset</code></em> subclasses cannot override the class handler
|
745
|
+
in their <code class="code">class_init</code> method by doing
|
746
|
+
<code class="code">super_class->signal_handler = my_signal_handler</code>. Instead they
|
747
|
+
will have to use <a class="link" href="gobject-Signals.html#g-signal-override-class-handler" title="g_signal_override_class_handler ()"><code class="function">g_signal_override_class_handler()</code></a>.
|
748
|
+
</p>
|
749
|
+
<div class="variablelist"><table border="0">
|
750
|
+
<col align="left" valign="top">
|
751
|
+
<tbody>
|
752
|
+
<tr>
|
753
|
+
<td><p><span class="term"><em class="parameter"><code>signal_name</code></em> :</span></p></td>
|
754
|
+
<td>the name for the signal
|
755
|
+
</td>
|
756
|
+
</tr>
|
757
|
+
<tr>
|
758
|
+
<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td>
|
759
|
+
<td>the type this signal pertains to. It will also pertain to
|
760
|
+
types which are derived from this type.
|
761
|
+
</td>
|
762
|
+
</tr>
|
763
|
+
<tr>
|
764
|
+
<td><p><span class="term"><em class="parameter"><code>signal_flags</code></em> :</span></p></td>
|
765
|
+
<td>a combination of <a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> specifying detail of when
|
766
|
+
the default handler is to be invoked. You should at least specify
|
767
|
+
<a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">G_SIGNAL_RUN_FIRST</code></a> or <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a>.
|
768
|
+
</td>
|
769
|
+
</tr>
|
770
|
+
<tr>
|
771
|
+
<td><p><span class="term"><em class="parameter"><code>class_offset</code></em> :</span></p></td>
|
772
|
+
<td>The offset of the function pointer in the class structure
|
773
|
+
for this type. Used to invoke a class method generically. Pass 0 to
|
774
|
+
not associate a class method slot with this signal.
|
775
|
+
</td>
|
776
|
+
</tr>
|
777
|
+
<tr>
|
778
|
+
<td><p><span class="term"><em class="parameter"><code>accumulator</code></em> :</span></p></td>
|
779
|
+
<td>the accumulator for this signal; may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
780
|
+
</td>
|
781
|
+
</tr>
|
782
|
+
<tr>
|
783
|
+
<td><p><span class="term"><em class="parameter"><code>accu_data</code></em> :</span></p></td>
|
784
|
+
<td>user data for the <em class="parameter"><code>accumulator</code></em>.
|
785
|
+
</td>
|
786
|
+
</tr>
|
787
|
+
<tr>
|
788
|
+
<td><p><span class="term"><em class="parameter"><code>c_marshaller</code></em> :</span></p></td>
|
789
|
+
<td>the function to translate arrays of parameter values to
|
790
|
+
signal emissions into C language callback invocations.
|
791
|
+
</td>
|
792
|
+
</tr>
|
793
|
+
<tr>
|
794
|
+
<td><p><span class="term"><em class="parameter"><code>return_type</code></em> :</span></p></td>
|
795
|
+
<td>the type of return value, or <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a> for a signal
|
796
|
+
without a return value.
|
797
|
+
</td>
|
798
|
+
</tr>
|
799
|
+
<tr>
|
800
|
+
<td><p><span class="term"><em class="parameter"><code>n_params</code></em> :</span></p></td>
|
801
|
+
<td>the number of parameter types to follow.
|
802
|
+
</td>
|
803
|
+
</tr>
|
804
|
+
<tr>
|
805
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
806
|
+
<td>a list of types, one for each parameter.
|
807
|
+
</td>
|
808
|
+
</tr>
|
809
|
+
<tr>
|
810
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
811
|
+
<td> the signal id
|
812
|
+
</td>
|
813
|
+
</tr>
|
814
|
+
</tbody>
|
815
|
+
</table></div>
|
816
|
+
</div>
|
817
|
+
<hr>
|
818
|
+
<div class="refsect2" title="g_signal_newv ()">
|
819
|
+
<a name="g-signal-newv"></a><h3>g_signal_newv ()</h3>
|
820
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_newv (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>,
|
821
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
822
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>,
|
823
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *class_closure</code></em>,
|
824
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>,
|
825
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>,
|
826
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>,
|
827
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>,
|
828
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>,
|
829
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre>
|
830
|
+
<p>
|
831
|
+
Creates a new signal. (This is usually done in the class initializer.)
|
832
|
+
</p>
|
833
|
+
<p>
|
834
|
+
See <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> for details on allowed signal names.
|
835
|
+
</p>
|
836
|
+
<div class="variablelist"><table border="0">
|
837
|
+
<col align="left" valign="top">
|
838
|
+
<tbody>
|
839
|
+
<tr>
|
840
|
+
<td><p><span class="term"><em class="parameter"><code>signal_name</code></em> :</span></p></td>
|
841
|
+
<td>the name for the signal
|
842
|
+
</td>
|
843
|
+
</tr>
|
844
|
+
<tr>
|
845
|
+
<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td>
|
846
|
+
<td>the type this signal pertains to. It will also pertain to
|
847
|
+
types which are derived from this type
|
848
|
+
</td>
|
849
|
+
</tr>
|
850
|
+
<tr>
|
851
|
+
<td><p><span class="term"><em class="parameter"><code>signal_flags</code></em> :</span></p></td>
|
852
|
+
<td>a combination of <a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> specifying detail of when
|
853
|
+
the default handler is to be invoked. You should at least specify
|
854
|
+
<a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">G_SIGNAL_RUN_FIRST</code></a> or <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a>
|
855
|
+
</td>
|
856
|
+
</tr>
|
857
|
+
<tr>
|
858
|
+
<td><p><span class="term"><em class="parameter"><code>class_closure</code></em> :</span></p></td>
|
859
|
+
<td>The closure to invoke on signal emission; may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
860
|
+
</td>
|
861
|
+
</tr>
|
862
|
+
<tr>
|
863
|
+
<td><p><span class="term"><em class="parameter"><code>accumulator</code></em> :</span></p></td>
|
864
|
+
<td>the accumulator for this signal; may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
865
|
+
</td>
|
866
|
+
</tr>
|
867
|
+
<tr>
|
868
|
+
<td><p><span class="term"><em class="parameter"><code>accu_data</code></em> :</span></p></td>
|
869
|
+
<td>user data for the <em class="parameter"><code>accumulator</code></em>
|
870
|
+
</td>
|
871
|
+
</tr>
|
872
|
+
<tr>
|
873
|
+
<td><p><span class="term"><em class="parameter"><code>c_marshaller</code></em> :</span></p></td>
|
874
|
+
<td>the function to translate arrays of parameter values to
|
875
|
+
signal emissions into C language callback invocations
|
876
|
+
</td>
|
877
|
+
</tr>
|
878
|
+
<tr>
|
879
|
+
<td><p><span class="term"><em class="parameter"><code>return_type</code></em> :</span></p></td>
|
880
|
+
<td>the type of return value, or <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a> for a signal
|
881
|
+
without a return value
|
882
|
+
</td>
|
883
|
+
</tr>
|
884
|
+
<tr>
|
885
|
+
<td><p><span class="term"><em class="parameter"><code>n_params</code></em> :</span></p></td>
|
886
|
+
<td>the length of <em class="parameter"><code>param_types</code></em>
|
887
|
+
</td>
|
888
|
+
</tr>
|
889
|
+
<tr>
|
890
|
+
<td><p><span class="term"><em class="parameter"><code>param_types</code></em> :</span></p></td>
|
891
|
+
<td>an array of types, one for each parameter
|
892
|
+
</td>
|
893
|
+
</tr>
|
894
|
+
<tr>
|
895
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
896
|
+
<td> the signal id
|
897
|
+
</td>
|
898
|
+
</tr>
|
899
|
+
</tbody>
|
900
|
+
</table></div>
|
901
|
+
</div>
|
902
|
+
<hr>
|
903
|
+
<div class="refsect2" title="g_signal_new_valist ()">
|
904
|
+
<a name="g-signal-new-valist"></a><h3>g_signal_new_valist ()</h3>
|
905
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_new_valist (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>,
|
906
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
907
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>,
|
908
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *class_closure</code></em>,
|
909
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>,
|
910
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>,
|
911
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>,
|
912
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>,
|
913
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>,
|
914
|
+
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
|
915
|
+
<p>
|
916
|
+
Creates a new signal. (This is usually done in the class initializer.)
|
917
|
+
</p>
|
918
|
+
<p>
|
919
|
+
See <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> for details on allowed signal names.
|
920
|
+
</p>
|
921
|
+
<div class="variablelist"><table border="0">
|
922
|
+
<col align="left" valign="top">
|
923
|
+
<tbody>
|
924
|
+
<tr>
|
925
|
+
<td><p><span class="term"><em class="parameter"><code>signal_name</code></em> :</span></p></td>
|
926
|
+
<td>the name for the signal
|
927
|
+
</td>
|
928
|
+
</tr>
|
929
|
+
<tr>
|
930
|
+
<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td>
|
931
|
+
<td>the type this signal pertains to. It will also pertain to
|
932
|
+
types which are derived from this type.
|
933
|
+
</td>
|
934
|
+
</tr>
|
935
|
+
<tr>
|
936
|
+
<td><p><span class="term"><em class="parameter"><code>signal_flags</code></em> :</span></p></td>
|
937
|
+
<td>a combination of <a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> specifying detail of when
|
938
|
+
the default handler is to be invoked. You should at least specify
|
939
|
+
<a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">G_SIGNAL_RUN_FIRST</code></a> or <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a>.
|
940
|
+
</td>
|
941
|
+
</tr>
|
942
|
+
<tr>
|
943
|
+
<td><p><span class="term"><em class="parameter"><code>class_closure</code></em> :</span></p></td>
|
944
|
+
<td>The closure to invoke on signal emission; may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
945
|
+
</td>
|
946
|
+
</tr>
|
947
|
+
<tr>
|
948
|
+
<td><p><span class="term"><em class="parameter"><code>accumulator</code></em> :</span></p></td>
|
949
|
+
<td>the accumulator for this signal; may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
950
|
+
</td>
|
951
|
+
</tr>
|
952
|
+
<tr>
|
953
|
+
<td><p><span class="term"><em class="parameter"><code>accu_data</code></em> :</span></p></td>
|
954
|
+
<td>user data for the <em class="parameter"><code>accumulator</code></em>.
|
955
|
+
</td>
|
956
|
+
</tr>
|
957
|
+
<tr>
|
958
|
+
<td><p><span class="term"><em class="parameter"><code>c_marshaller</code></em> :</span></p></td>
|
959
|
+
<td>the function to translate arrays of parameter values to
|
960
|
+
signal emissions into C language callback invocations.
|
961
|
+
</td>
|
962
|
+
</tr>
|
963
|
+
<tr>
|
964
|
+
<td><p><span class="term"><em class="parameter"><code>return_type</code></em> :</span></p></td>
|
965
|
+
<td>the type of return value, or <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a> for a signal
|
966
|
+
without a return value.
|
967
|
+
</td>
|
968
|
+
</tr>
|
969
|
+
<tr>
|
970
|
+
<td><p><span class="term"><em class="parameter"><code>n_params</code></em> :</span></p></td>
|
971
|
+
<td>the number of parameter types in <em class="parameter"><code>args</code></em>.
|
972
|
+
</td>
|
973
|
+
</tr>
|
974
|
+
<tr>
|
975
|
+
<td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
|
976
|
+
<td>va_list of <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a>, one for each parameter.
|
977
|
+
</td>
|
978
|
+
</tr>
|
979
|
+
<tr>
|
980
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
981
|
+
<td> the signal id
|
982
|
+
</td>
|
983
|
+
</tr>
|
984
|
+
</tbody>
|
985
|
+
</table></div>
|
986
|
+
</div>
|
987
|
+
<hr>
|
988
|
+
<div class="refsect2" title="g_signal_query ()">
|
989
|
+
<a name="g-signal-query"></a><h3>g_signal_query ()</h3>
|
990
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_query (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
991
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalQuery" title="GSignalQuery"><span class="type">GSignalQuery</span></a> *query</code></em>);</pre>
|
992
|
+
<p>
|
993
|
+
Queries the signal system for in-depth information about a
|
994
|
+
specific signal. This function will fill in a user-provided
|
995
|
+
structure to hold signal-specific information. If an invalid
|
996
|
+
signal id is passed in, the <em class="parameter"><code>signal_id</code></em> member of the <a class="link" href="gobject-Signals.html#GSignalQuery" title="GSignalQuery"><span class="type">GSignalQuery</span></a>
|
997
|
+
is 0. All members filled into the <a class="link" href="gobject-Signals.html#GSignalQuery" title="GSignalQuery"><span class="type">GSignalQuery</span></a> structure should
|
998
|
+
be considered constant and have to be left untouched.
|
999
|
+
</p>
|
1000
|
+
<div class="variablelist"><table border="0">
|
1001
|
+
<col align="left" valign="top">
|
1002
|
+
<tbody>
|
1003
|
+
<tr>
|
1004
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
1005
|
+
<td>The signal id of the signal to query information for.
|
1006
|
+
</td>
|
1007
|
+
</tr>
|
1008
|
+
<tr>
|
1009
|
+
<td><p><span class="term"><em class="parameter"><code>query</code></em> :</span></p></td>
|
1010
|
+
<td>A user provided structure that is filled in with constant
|
1011
|
+
values upon success.
|
1012
|
+
</td>
|
1013
|
+
</tr>
|
1014
|
+
</tbody>
|
1015
|
+
</table></div>
|
1016
|
+
</div>
|
1017
|
+
<hr>
|
1018
|
+
<div class="refsect2" title="g_signal_lookup ()">
|
1019
|
+
<a name="g-signal-lookup"></a><h3>g_signal_lookup ()</h3>
|
1020
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_lookup (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
1021
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>);</pre>
|
1022
|
+
<p>
|
1023
|
+
Given the name of the signal and the type of object it connects to, gets
|
1024
|
+
the signal's identifying integer. Emitting the signal by number is
|
1025
|
+
somewhat faster than using the name each time.
|
1026
|
+
</p>
|
1027
|
+
<p>
|
1028
|
+
Also tries the ancestors of the given type.
|
1029
|
+
</p>
|
1030
|
+
<p>
|
1031
|
+
See <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> for details on allowed signal names.
|
1032
|
+
</p>
|
1033
|
+
<div class="variablelist"><table border="0">
|
1034
|
+
<col align="left" valign="top">
|
1035
|
+
<tbody>
|
1036
|
+
<tr>
|
1037
|
+
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1038
|
+
<td>the signal's name.
|
1039
|
+
</td>
|
1040
|
+
</tr>
|
1041
|
+
<tr>
|
1042
|
+
<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td>
|
1043
|
+
<td>the type that the signal operates on.
|
1044
|
+
</td>
|
1045
|
+
</tr>
|
1046
|
+
<tr>
|
1047
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1048
|
+
<td> the signal's identifying number, or 0 if no signal was found.
|
1049
|
+
</td>
|
1050
|
+
</tr>
|
1051
|
+
</tbody>
|
1052
|
+
</table></div>
|
1053
|
+
</div>
|
1054
|
+
<hr>
|
1055
|
+
<div class="refsect2" title="g_signal_name ()">
|
1056
|
+
<a name="g-signal-name"></a><h3>g_signal_name ()</h3>
|
1057
|
+
<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* g_signal_name (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>);</pre>
|
1058
|
+
<p>
|
1059
|
+
Given the signal's identifier, finds its name.
|
1060
|
+
</p>
|
1061
|
+
<p>
|
1062
|
+
Two different signals may have the same name, if they have differing types.
|
1063
|
+
</p>
|
1064
|
+
<div class="variablelist"><table border="0">
|
1065
|
+
<col align="left" valign="top">
|
1066
|
+
<tbody>
|
1067
|
+
<tr>
|
1068
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
1069
|
+
<td>the signal's identifying number.
|
1070
|
+
</td>
|
1071
|
+
</tr>
|
1072
|
+
<tr>
|
1073
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1074
|
+
<td> the signal name, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the signal number was invalid.
|
1075
|
+
</td>
|
1076
|
+
</tr>
|
1077
|
+
</tbody>
|
1078
|
+
</table></div>
|
1079
|
+
</div>
|
1080
|
+
<hr>
|
1081
|
+
<div class="refsect2" title="g_signal_list_ids ()">
|
1082
|
+
<a name="g-signal-list-ids"></a><h3>g_signal_list_ids ()</h3>
|
1083
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>* g_signal_list_ids (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
1084
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_ids</code></em>);</pre>
|
1085
|
+
<p>
|
1086
|
+
Lists the signals by id that a certain instance or interface type
|
1087
|
+
created. Further information about the signals can be acquired through
|
1088
|
+
<a class="link" href="gobject-Signals.html#g-signal-query" title="g_signal_query ()"><code class="function">g_signal_query()</code></a>.
|
1089
|
+
</p>
|
1090
|
+
<div class="variablelist"><table border="0">
|
1091
|
+
<col align="left" valign="top">
|
1092
|
+
<tbody>
|
1093
|
+
<tr>
|
1094
|
+
<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td>
|
1095
|
+
<td>Instance or interface type.
|
1096
|
+
</td>
|
1097
|
+
</tr>
|
1098
|
+
<tr>
|
1099
|
+
<td><p><span class="term"><em class="parameter"><code>n_ids</code></em> :</span></p></td>
|
1100
|
+
<td>Location to store the number of signal ids for <em class="parameter"><code>itype</code></em>.
|
1101
|
+
</td>
|
1102
|
+
</tr>
|
1103
|
+
<tr>
|
1104
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1105
|
+
<td> Newly allocated array of signal IDs.
|
1106
|
+
</td>
|
1107
|
+
</tr>
|
1108
|
+
</tbody>
|
1109
|
+
</table></div>
|
1110
|
+
</div>
|
1111
|
+
<hr>
|
1112
|
+
<div class="refsect2" title="g_signal_emit ()">
|
1113
|
+
<a name="g-signal-emit"></a><h3>g_signal_emit ()</h3>
|
1114
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_emit (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1115
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
1116
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
1117
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
1118
|
+
<p>
|
1119
|
+
Emits a signal.
|
1120
|
+
</p>
|
1121
|
+
<p>
|
1122
|
+
Note that <a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()"><code class="function">g_signal_emit()</code></a> resets the return value to the default
|
1123
|
+
if no handlers are connected, in contrast to <a class="link" href="gobject-Signals.html#g-signal-emitv" title="g_signal_emitv ()"><code class="function">g_signal_emitv()</code></a>.
|
1124
|
+
</p>
|
1125
|
+
<div class="variablelist"><table border="0">
|
1126
|
+
<col align="left" valign="top">
|
1127
|
+
<tbody>
|
1128
|
+
<tr>
|
1129
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1130
|
+
<td>the instance the signal is being emitted on.
|
1131
|
+
</td>
|
1132
|
+
</tr>
|
1133
|
+
<tr>
|
1134
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
1135
|
+
<td>the signal id
|
1136
|
+
</td>
|
1137
|
+
</tr>
|
1138
|
+
<tr>
|
1139
|
+
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
1140
|
+
<td>the detail
|
1141
|
+
</td>
|
1142
|
+
</tr>
|
1143
|
+
<tr>
|
1144
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
1145
|
+
<td>parameters to be passed to the signal, followed by a
|
1146
|
+
location for the return value. If the return type of the signal
|
1147
|
+
is <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a>, the return value location can be omitted.
|
1148
|
+
</td>
|
1149
|
+
</tr>
|
1150
|
+
</tbody>
|
1151
|
+
</table></div>
|
1152
|
+
</div>
|
1153
|
+
<hr>
|
1154
|
+
<div class="refsect2" title="g_signal_emit_by_name ()">
|
1155
|
+
<a name="g-signal-emit-by-name"></a><h3>g_signal_emit_by_name ()</h3>
|
1156
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_emit_by_name (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1157
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>,
|
1158
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
1159
|
+
<p>
|
1160
|
+
Emits a signal.
|
1161
|
+
</p>
|
1162
|
+
<p>
|
1163
|
+
Note that <a class="link" href="gobject-Signals.html#g-signal-emit-by-name" title="g_signal_emit_by_name ()"><code class="function">g_signal_emit_by_name()</code></a> resets the return value to the default
|
1164
|
+
if no handlers are connected, in contrast to <a class="link" href="gobject-Signals.html#g-signal-emitv" title="g_signal_emitv ()"><code class="function">g_signal_emitv()</code></a>.
|
1165
|
+
</p>
|
1166
|
+
<div class="variablelist"><table border="0">
|
1167
|
+
<col align="left" valign="top">
|
1168
|
+
<tbody>
|
1169
|
+
<tr>
|
1170
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1171
|
+
<td>the instance the signal is being emitted on.
|
1172
|
+
</td>
|
1173
|
+
</tr>
|
1174
|
+
<tr>
|
1175
|
+
<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td>
|
1176
|
+
<td>a string of the form "signal-name::detail".
|
1177
|
+
</td>
|
1178
|
+
</tr>
|
1179
|
+
<tr>
|
1180
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
1181
|
+
<td>parameters to be passed to the signal, followed by a
|
1182
|
+
location for the return value. If the return type of the signal
|
1183
|
+
is <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a>, the return value location can be omitted.
|
1184
|
+
</td>
|
1185
|
+
</tr>
|
1186
|
+
</tbody>
|
1187
|
+
</table></div>
|
1188
|
+
</div>
|
1189
|
+
<hr>
|
1190
|
+
<div class="refsect2" title="g_signal_emitv ()">
|
1191
|
+
<a name="g-signal-emitv"></a><h3>g_signal_emitv ()</h3>
|
1192
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_emitv (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *instance_and_params</code></em>,
|
1193
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
1194
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
1195
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>);</pre>
|
1196
|
+
<p>
|
1197
|
+
Emits a signal.
|
1198
|
+
</p>
|
1199
|
+
<p>
|
1200
|
+
Note that <a class="link" href="gobject-Signals.html#g-signal-emitv" title="g_signal_emitv ()"><code class="function">g_signal_emitv()</code></a> doesn't change <em class="parameter"><code>return_value</code></em> if no handlers are
|
1201
|
+
connected, in contrast to <a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()"><code class="function">g_signal_emit()</code></a> and <a class="link" href="gobject-Signals.html#g-signal-emit-valist" title="g_signal_emit_valist ()"><code class="function">g_signal_emit_valist()</code></a>.
|
1202
|
+
</p>
|
1203
|
+
<div class="variablelist"><table border="0">
|
1204
|
+
<col align="left" valign="top">
|
1205
|
+
<tbody>
|
1206
|
+
<tr>
|
1207
|
+
<td><p><span class="term"><em class="parameter"><code>instance_and_params</code></em> :</span></p></td>
|
1208
|
+
<td>argument list for the signal emission. The first
|
1209
|
+
element in the array is a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> for the instance the signal is
|
1210
|
+
being emitted on. The rest are any arguments to be passed to the
|
1211
|
+
signal.
|
1212
|
+
</td>
|
1213
|
+
</tr>
|
1214
|
+
<tr>
|
1215
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
1216
|
+
<td>the signal id
|
1217
|
+
</td>
|
1218
|
+
</tr>
|
1219
|
+
<tr>
|
1220
|
+
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
1221
|
+
<td>the detail
|
1222
|
+
</td>
|
1223
|
+
</tr>
|
1224
|
+
<tr>
|
1225
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1226
|
+
<td>Location to store the return value of the signal emission.
|
1227
|
+
</td>
|
1228
|
+
</tr>
|
1229
|
+
</tbody>
|
1230
|
+
</table></div>
|
1231
|
+
</div>
|
1232
|
+
<hr>
|
1233
|
+
<div class="refsect2" title="g_signal_emit_valist ()">
|
1234
|
+
<a name="g-signal-emit-valist"></a><h3>g_signal_emit_valist ()</h3>
|
1235
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_emit_valist (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1236
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
1237
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
1238
|
+
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
|
1239
|
+
<p>
|
1240
|
+
Emits a signal.
|
1241
|
+
</p>
|
1242
|
+
<p>
|
1243
|
+
Note that <a class="link" href="gobject-Signals.html#g-signal-emit-valist" title="g_signal_emit_valist ()"><code class="function">g_signal_emit_valist()</code></a> resets the return value to the default
|
1244
|
+
if no handlers are connected, in contrast to <a class="link" href="gobject-Signals.html#g-signal-emitv" title="g_signal_emitv ()"><code class="function">g_signal_emitv()</code></a>.
|
1245
|
+
</p>
|
1246
|
+
<div class="variablelist"><table border="0">
|
1247
|
+
<col align="left" valign="top">
|
1248
|
+
<tbody>
|
1249
|
+
<tr>
|
1250
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1251
|
+
<td>the instance the signal is being emitted on.
|
1252
|
+
</td>
|
1253
|
+
</tr>
|
1254
|
+
<tr>
|
1255
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
1256
|
+
<td>the signal id
|
1257
|
+
</td>
|
1258
|
+
</tr>
|
1259
|
+
<tr>
|
1260
|
+
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
1261
|
+
<td>the detail
|
1262
|
+
</td>
|
1263
|
+
</tr>
|
1264
|
+
<tr>
|
1265
|
+
<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td>
|
1266
|
+
<td>a list of parameters to be passed to the signal, followed by a
|
1267
|
+
location for the return value. If the return type of the signal
|
1268
|
+
is <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a>, the return value location can be omitted.
|
1269
|
+
</td>
|
1270
|
+
</tr>
|
1271
|
+
</tbody>
|
1272
|
+
</table></div>
|
1273
|
+
</div>
|
1274
|
+
<hr>
|
1275
|
+
<div class="refsect2" title="g_signal_connect()">
|
1276
|
+
<a name="g-signal-connect"></a><h3>g_signal_connect()</h3>
|
1277
|
+
<pre class="programlisting">#define g_signal_connect(instance, detailed_signal, c_handler, data)</pre>
|
1278
|
+
<p>
|
1279
|
+
Connects a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> function to a signal for a particular object.
|
1280
|
+
</p>
|
1281
|
+
<p>
|
1282
|
+
The handler will be called before the default handler of the signal.
|
1283
|
+
</p>
|
1284
|
+
<div class="variablelist"><table border="0">
|
1285
|
+
<col align="left" valign="top">
|
1286
|
+
<tbody>
|
1287
|
+
<tr>
|
1288
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1289
|
+
<td>the instance to connect to.
|
1290
|
+
</td>
|
1291
|
+
</tr>
|
1292
|
+
<tr>
|
1293
|
+
<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td>
|
1294
|
+
<td>a string of the form "signal-name::detail".
|
1295
|
+
</td>
|
1296
|
+
</tr>
|
1297
|
+
<tr>
|
1298
|
+
<td><p><span class="term"><em class="parameter"><code>c_handler</code></em> :</span></p></td>
|
1299
|
+
<td>the <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> to connect.
|
1300
|
+
</td>
|
1301
|
+
</tr>
|
1302
|
+
<tr>
|
1303
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1304
|
+
<td>data to pass to <em class="parameter"><code>c_handler</code></em> calls.
|
1305
|
+
</td>
|
1306
|
+
</tr>
|
1307
|
+
<tr>
|
1308
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1309
|
+
<td> the handler id
|
1310
|
+
</td>
|
1311
|
+
</tr>
|
1312
|
+
</tbody>
|
1313
|
+
</table></div>
|
1314
|
+
</div>
|
1315
|
+
<hr>
|
1316
|
+
<div class="refsect2" title="g_signal_connect_after()">
|
1317
|
+
<a name="g-signal-connect-after"></a><h3>g_signal_connect_after()</h3>
|
1318
|
+
<pre class="programlisting">#define g_signal_connect_after(instance, detailed_signal, c_handler, data)</pre>
|
1319
|
+
<p>
|
1320
|
+
Connects a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> function to a signal for a particular object.
|
1321
|
+
</p>
|
1322
|
+
<p>
|
1323
|
+
The handler will be called after the default handler of the signal.
|
1324
|
+
</p>
|
1325
|
+
<div class="variablelist"><table border="0">
|
1326
|
+
<col align="left" valign="top">
|
1327
|
+
<tbody>
|
1328
|
+
<tr>
|
1329
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1330
|
+
<td>the instance to connect to.
|
1331
|
+
</td>
|
1332
|
+
</tr>
|
1333
|
+
<tr>
|
1334
|
+
<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td>
|
1335
|
+
<td>a string of the form "signal-name::detail".
|
1336
|
+
</td>
|
1337
|
+
</tr>
|
1338
|
+
<tr>
|
1339
|
+
<td><p><span class="term"><em class="parameter"><code>c_handler</code></em> :</span></p></td>
|
1340
|
+
<td>the <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> to connect.
|
1341
|
+
</td>
|
1342
|
+
</tr>
|
1343
|
+
<tr>
|
1344
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1345
|
+
<td>data to pass to <em class="parameter"><code>c_handler</code></em> calls.
|
1346
|
+
</td>
|
1347
|
+
</tr>
|
1348
|
+
<tr>
|
1349
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1350
|
+
<td> the handler id
|
1351
|
+
</td>
|
1352
|
+
</tr>
|
1353
|
+
</tbody>
|
1354
|
+
</table></div>
|
1355
|
+
</div>
|
1356
|
+
<hr>
|
1357
|
+
<div class="refsect2" title="g_signal_connect_swapped()">
|
1358
|
+
<a name="g-signal-connect-swapped"></a><h3>g_signal_connect_swapped()</h3>
|
1359
|
+
<pre class="programlisting">#define g_signal_connect_swapped(instance, detailed_signal, c_handler, data)</pre>
|
1360
|
+
<p>
|
1361
|
+
Connects a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> function to a signal for a particular object.
|
1362
|
+
</p>
|
1363
|
+
<p>
|
1364
|
+
The instance on which the signal is emitted and <em class="parameter"><code>data</code></em> will be swapped when
|
1365
|
+
calling the handler.
|
1366
|
+
</p>
|
1367
|
+
<div class="variablelist"><table border="0">
|
1368
|
+
<col align="left" valign="top">
|
1369
|
+
<tbody>
|
1370
|
+
<tr>
|
1371
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1372
|
+
<td>the instance to connect to.
|
1373
|
+
</td>
|
1374
|
+
</tr>
|
1375
|
+
<tr>
|
1376
|
+
<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td>
|
1377
|
+
<td>a string of the form "signal-name::detail".
|
1378
|
+
</td>
|
1379
|
+
</tr>
|
1380
|
+
<tr>
|
1381
|
+
<td><p><span class="term"><em class="parameter"><code>c_handler</code></em> :</span></p></td>
|
1382
|
+
<td>the <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> to connect.
|
1383
|
+
</td>
|
1384
|
+
</tr>
|
1385
|
+
<tr>
|
1386
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1387
|
+
<td>data to pass to <em class="parameter"><code>c_handler</code></em> calls.
|
1388
|
+
</td>
|
1389
|
+
</tr>
|
1390
|
+
<tr>
|
1391
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1392
|
+
<td> the handler id
|
1393
|
+
</td>
|
1394
|
+
</tr>
|
1395
|
+
</tbody>
|
1396
|
+
</table></div>
|
1397
|
+
</div>
|
1398
|
+
<hr>
|
1399
|
+
<div class="refsect2" title="g_signal_connect_object ()">
|
1400
|
+
<a name="g-signal-connect-object"></a><h3>g_signal_connect_object ()</h3>
|
1401
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_signal_connect_object (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1402
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>,
|
1403
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> c_handler</code></em>,
|
1404
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> gobject</code></em>,
|
1405
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags"><span class="type">GConnectFlags</span></a> connect_flags</code></em>);</pre>
|
1406
|
+
<p>
|
1407
|
+
This is similar to <a class="link" href="gobject-Signals.html#g-signal-connect-data" title="g_signal_connect_data ()"><code class="function">g_signal_connect_data()</code></a>, but uses a closure which
|
1408
|
+
ensures that the <em class="parameter"><code>gobject</code></em> stays alive during the call to <em class="parameter"><code>c_handler</code></em>
|
1409
|
+
by temporarily adding a reference count to <em class="parameter"><code>gobject</code></em>.
|
1410
|
+
</p>
|
1411
|
+
<p>
|
1412
|
+
Note that there is a bug in GObject that makes this function
|
1413
|
+
much less useful than it might seem otherwise. Once <em class="parameter"><code>gobject</code></em> is
|
1414
|
+
disposed, the callback will no longer be called, but, the signal
|
1415
|
+
handler is <span class="emphasis"><em>not</em></span> currently disconnected. If the
|
1416
|
+
<em class="parameter"><code>instance</code></em> is itself being freed at the same time than this doesn't
|
1417
|
+
matter, since the signal will automatically be removed, but
|
1418
|
+
if <em class="parameter"><code>instance</code></em> persists, then the signal handler will leak. You
|
1419
|
+
should not remove the signal yourself because in a future versions of
|
1420
|
+
GObject, the handler <span class="emphasis"><em>will</em></span> automatically
|
1421
|
+
be disconnected.
|
1422
|
+
</p>
|
1423
|
+
<p>
|
1424
|
+
It's possible to work around this problem in a way that will
|
1425
|
+
continue to work with future versions of GObject by checking
|
1426
|
+
that the signal handler is still connected before disconnected it:
|
1427
|
+
</p>
|
1428
|
+
<div class="informalexample">
|
1429
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1430
|
+
<tbody>
|
1431
|
+
<tr>
|
1432
|
+
<td class="listing_lines" align="right"><pre>1
|
1433
|
+
2</pre></td>
|
1434
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gobject-Signals.html#g-signal-handler-is-connected">g_signal_handler_is_connected</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">instance</span><span class="symbol">,</span><span class="normal"> id</span><span class="symbol">))</span>
|
1435
|
+
<span class="normal"> </span><span class="function"><a href="gobject-Signals.html#g-signal-handler-disconnect">g_signal_handler_disconnect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">instance</span><span class="symbol">,</span><span class="normal"> id</span><span class="symbol">);</span></pre></td>
|
1436
|
+
</tr>
|
1437
|
+
</tbody>
|
1438
|
+
</table>
|
1439
|
+
</div>
|
1440
|
+
|
1441
|
+
<p>
|
1442
|
+
</p>
|
1443
|
+
<div class="variablelist"><table border="0">
|
1444
|
+
<col align="left" valign="top">
|
1445
|
+
<tbody>
|
1446
|
+
<tr>
|
1447
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1448
|
+
<td>the instance to connect to.
|
1449
|
+
</td>
|
1450
|
+
</tr>
|
1451
|
+
<tr>
|
1452
|
+
<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td>
|
1453
|
+
<td>a string of the form "signal-name::detail".
|
1454
|
+
</td>
|
1455
|
+
</tr>
|
1456
|
+
<tr>
|
1457
|
+
<td><p><span class="term"><em class="parameter"><code>c_handler</code></em> :</span></p></td>
|
1458
|
+
<td>the <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> to connect.
|
1459
|
+
</td>
|
1460
|
+
</tr>
|
1461
|
+
<tr>
|
1462
|
+
<td><p><span class="term"><em class="parameter"><code>gobject</code></em> :</span></p></td>
|
1463
|
+
<td>the object to pass as data to <em class="parameter"><code>c_handler</code></em>.
|
1464
|
+
</td>
|
1465
|
+
</tr>
|
1466
|
+
<tr>
|
1467
|
+
<td><p><span class="term"><em class="parameter"><code>connect_flags</code></em> :</span></p></td>
|
1468
|
+
<td>a combination of <span class="type">GConnnectFlags</span>.
|
1469
|
+
</td>
|
1470
|
+
</tr>
|
1471
|
+
<tr>
|
1472
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1473
|
+
<td> the handler id.
|
1474
|
+
</td>
|
1475
|
+
</tr>
|
1476
|
+
</tbody>
|
1477
|
+
</table></div>
|
1478
|
+
</div>
|
1479
|
+
<hr>
|
1480
|
+
<div class="refsect2" title="enum GConnectFlags">
|
1481
|
+
<a name="GConnectFlags"></a><h3>enum GConnectFlags</h3>
|
1482
|
+
<pre class="programlisting">typedef enum
|
1483
|
+
{
|
1484
|
+
G_CONNECT_AFTER = 1 << 0,
|
1485
|
+
G_CONNECT_SWAPPED = 1 << 1
|
1486
|
+
} GConnectFlags;
|
1487
|
+
</pre>
|
1488
|
+
<p>
|
1489
|
+
The connection flags are used to specify the behaviour of a signal's
|
1490
|
+
connection.
|
1491
|
+
</p>
|
1492
|
+
<div class="variablelist"><table border="0">
|
1493
|
+
<col align="left" valign="top">
|
1494
|
+
<tbody>
|
1495
|
+
<tr>
|
1496
|
+
<td><p><a name="G-CONNECT-AFTER:CAPS"></a><span class="term"><code class="literal">G_CONNECT_AFTER</code></span></p></td>
|
1497
|
+
<td>whether the handler should be called before or after the
|
1498
|
+
default handler of the signal.
|
1499
|
+
</td>
|
1500
|
+
</tr>
|
1501
|
+
<tr>
|
1502
|
+
<td><p><a name="G-CONNECT-SWAPPED:CAPS"></a><span class="term"><code class="literal">G_CONNECT_SWAPPED</code></span></p></td>
|
1503
|
+
<td>whether the instance and data should be swapped when
|
1504
|
+
calling the handler.
|
1505
|
+
</td>
|
1506
|
+
</tr>
|
1507
|
+
</tbody>
|
1508
|
+
</table></div>
|
1509
|
+
</div>
|
1510
|
+
<hr>
|
1511
|
+
<div class="refsect2" title="g_signal_connect_data ()">
|
1512
|
+
<a name="g-signal-connect-data"></a><h3>g_signal_connect_data ()</h3>
|
1513
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_signal_connect_data (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1514
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>,
|
1515
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> c_handler</code></em>,
|
1516
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1517
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>,
|
1518
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags"><span class="type">GConnectFlags</span></a> connect_flags</code></em>);</pre>
|
1519
|
+
<p>
|
1520
|
+
Connects a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> function to a signal for a particular object. Similar
|
1521
|
+
to <a class="link" href="gobject-Signals.html#g-signal-connect" title="g_signal_connect()"><code class="function">g_signal_connect()</code></a>, but allows to provide a <a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> for the data
|
1522
|
+
which will be called when the signal handler is disconnected and no longer
|
1523
|
+
used. Specify <em class="parameter"><code>connect_flags</code></em> if you need <code class="literal">..._after()</code> or
|
1524
|
+
<code class="literal">..._swapped()</code> variants of this function.
|
1525
|
+
</p>
|
1526
|
+
<div class="variablelist"><table border="0">
|
1527
|
+
<col align="left" valign="top">
|
1528
|
+
<tbody>
|
1529
|
+
<tr>
|
1530
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1531
|
+
<td>the instance to connect to.
|
1532
|
+
</td>
|
1533
|
+
</tr>
|
1534
|
+
<tr>
|
1535
|
+
<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td>
|
1536
|
+
<td>a string of the form "signal-name::detail".
|
1537
|
+
</td>
|
1538
|
+
</tr>
|
1539
|
+
<tr>
|
1540
|
+
<td><p><span class="term"><em class="parameter"><code>c_handler</code></em> :</span></p></td>
|
1541
|
+
<td>the <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> to connect.
|
1542
|
+
</td>
|
1543
|
+
</tr>
|
1544
|
+
<tr>
|
1545
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1546
|
+
<td>data to pass to <em class="parameter"><code>c_handler</code></em> calls.
|
1547
|
+
</td>
|
1548
|
+
</tr>
|
1549
|
+
<tr>
|
1550
|
+
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
|
1551
|
+
<td>a <a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> for <em class="parameter"><code>data</code></em>.
|
1552
|
+
</td>
|
1553
|
+
</tr>
|
1554
|
+
<tr>
|
1555
|
+
<td><p><span class="term"><em class="parameter"><code>connect_flags</code></em> :</span></p></td>
|
1556
|
+
<td>a combination of <a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags"><span class="type">GConnectFlags</span></a>.
|
1557
|
+
</td>
|
1558
|
+
</tr>
|
1559
|
+
<tr>
|
1560
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1561
|
+
<td> the handler id
|
1562
|
+
</td>
|
1563
|
+
</tr>
|
1564
|
+
</tbody>
|
1565
|
+
</table></div>
|
1566
|
+
</div>
|
1567
|
+
<hr>
|
1568
|
+
<div class="refsect2" title="g_signal_connect_closure ()">
|
1569
|
+
<a name="g-signal-connect-closure"></a><h3>g_signal_connect_closure ()</h3>
|
1570
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_signal_connect_closure (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1571
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>,
|
1572
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1573
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> after</code></em>);</pre>
|
1574
|
+
<p>
|
1575
|
+
Connects a closure to a signal for a particular object.
|
1576
|
+
</p>
|
1577
|
+
<div class="variablelist"><table border="0">
|
1578
|
+
<col align="left" valign="top">
|
1579
|
+
<tbody>
|
1580
|
+
<tr>
|
1581
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1582
|
+
<td>the instance to connect to.
|
1583
|
+
</td>
|
1584
|
+
</tr>
|
1585
|
+
<tr>
|
1586
|
+
<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td>
|
1587
|
+
<td>a string of the form "signal-name::detail".
|
1588
|
+
</td>
|
1589
|
+
</tr>
|
1590
|
+
<tr>
|
1591
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1592
|
+
<td>the closure to connect.
|
1593
|
+
</td>
|
1594
|
+
</tr>
|
1595
|
+
<tr>
|
1596
|
+
<td><p><span class="term"><em class="parameter"><code>after</code></em> :</span></p></td>
|
1597
|
+
<td>whether the handler should be called before or after the
|
1598
|
+
default handler of the signal.
|
1599
|
+
</td>
|
1600
|
+
</tr>
|
1601
|
+
<tr>
|
1602
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1603
|
+
<td> the handler id
|
1604
|
+
</td>
|
1605
|
+
</tr>
|
1606
|
+
</tbody>
|
1607
|
+
</table></div>
|
1608
|
+
</div>
|
1609
|
+
<hr>
|
1610
|
+
<div class="refsect2" title="g_signal_connect_closure_by_id ()">
|
1611
|
+
<a name="g-signal-connect-closure-by-id"></a><h3>g_signal_connect_closure_by_id ()</h3>
|
1612
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_signal_connect_closure_by_id (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1613
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
1614
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
1615
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1616
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> after</code></em>);</pre>
|
1617
|
+
<p>
|
1618
|
+
Connects a closure to a signal for a particular object.
|
1619
|
+
</p>
|
1620
|
+
<div class="variablelist"><table border="0">
|
1621
|
+
<col align="left" valign="top">
|
1622
|
+
<tbody>
|
1623
|
+
<tr>
|
1624
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1625
|
+
<td>the instance to connect to.
|
1626
|
+
</td>
|
1627
|
+
</tr>
|
1628
|
+
<tr>
|
1629
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
1630
|
+
<td>the id of the signal.
|
1631
|
+
</td>
|
1632
|
+
</tr>
|
1633
|
+
<tr>
|
1634
|
+
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
1635
|
+
<td>the detail.
|
1636
|
+
</td>
|
1637
|
+
</tr>
|
1638
|
+
<tr>
|
1639
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1640
|
+
<td>the closure to connect.
|
1641
|
+
</td>
|
1642
|
+
</tr>
|
1643
|
+
<tr>
|
1644
|
+
<td><p><span class="term"><em class="parameter"><code>after</code></em> :</span></p></td>
|
1645
|
+
<td>whether the handler should be called before or after the
|
1646
|
+
default handler of the signal.
|
1647
|
+
</td>
|
1648
|
+
</tr>
|
1649
|
+
<tr>
|
1650
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1651
|
+
<td> the handler id
|
1652
|
+
</td>
|
1653
|
+
</tr>
|
1654
|
+
</tbody>
|
1655
|
+
</table></div>
|
1656
|
+
</div>
|
1657
|
+
<hr>
|
1658
|
+
<div class="refsect2" title="g_signal_handler_block ()">
|
1659
|
+
<a name="g-signal-handler-block"></a><h3>g_signal_handler_block ()</h3>
|
1660
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_handler_block (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1661
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>);</pre>
|
1662
|
+
<p>
|
1663
|
+
Blocks a handler of an instance so it will not be called during any
|
1664
|
+
signal emissions unless it is unblocked again. Thus "blocking" a
|
1665
|
+
signal handler means to temporarily deactive it, a signal handler
|
1666
|
+
has to be unblocked exactly the same amount of times it has been
|
1667
|
+
blocked before to become active again.
|
1668
|
+
</p>
|
1669
|
+
<p>
|
1670
|
+
The <em class="parameter"><code>handler_id</code></em> has to be a valid signal handler id, connected to a
|
1671
|
+
signal of <em class="parameter"><code>instance</code></em>.
|
1672
|
+
</p>
|
1673
|
+
<div class="variablelist"><table border="0">
|
1674
|
+
<col align="left" valign="top">
|
1675
|
+
<tbody>
|
1676
|
+
<tr>
|
1677
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1678
|
+
<td>The instance to block the signal handler of.
|
1679
|
+
</td>
|
1680
|
+
</tr>
|
1681
|
+
<tr>
|
1682
|
+
<td><p><span class="term"><em class="parameter"><code>handler_id</code></em> :</span></p></td>
|
1683
|
+
<td>Handler id of the handler to be blocked.
|
1684
|
+
</td>
|
1685
|
+
</tr>
|
1686
|
+
</tbody>
|
1687
|
+
</table></div>
|
1688
|
+
</div>
|
1689
|
+
<hr>
|
1690
|
+
<div class="refsect2" title="g_signal_handler_unblock ()">
|
1691
|
+
<a name="g-signal-handler-unblock"></a><h3>g_signal_handler_unblock ()</h3>
|
1692
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_handler_unblock (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1693
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>);</pre>
|
1694
|
+
<p>
|
1695
|
+
Undoes the effect of a previous <a class="link" href="gobject-Signals.html#g-signal-handler-block" title="g_signal_handler_block ()"><code class="function">g_signal_handler_block()</code></a> call. A
|
1696
|
+
blocked handler is skipped during signal emissions and will not be
|
1697
|
+
invoked, unblocking it (for exactly the amount of times it has been
|
1698
|
+
blocked before) reverts its "blocked" state, so the handler will be
|
1699
|
+
recognized by the signal system and is called upon future or
|
1700
|
+
currently ongoing signal emissions (since the order in which
|
1701
|
+
handlers are called during signal emissions is deterministic,
|
1702
|
+
whether the unblocked handler in question is called as part of a
|
1703
|
+
currently ongoing emission depends on how far that emission has
|
1704
|
+
proceeded yet).
|
1705
|
+
</p>
|
1706
|
+
<p>
|
1707
|
+
The <em class="parameter"><code>handler_id</code></em> has to be a valid id of a signal handler that is
|
1708
|
+
connected to a signal of <em class="parameter"><code>instance</code></em> and is currently blocked.
|
1709
|
+
</p>
|
1710
|
+
<div class="variablelist"><table border="0">
|
1711
|
+
<col align="left" valign="top">
|
1712
|
+
<tbody>
|
1713
|
+
<tr>
|
1714
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1715
|
+
<td>The instance to unblock the signal handler of.
|
1716
|
+
</td>
|
1717
|
+
</tr>
|
1718
|
+
<tr>
|
1719
|
+
<td><p><span class="term"><em class="parameter"><code>handler_id</code></em> :</span></p></td>
|
1720
|
+
<td>Handler id of the handler to be unblocked.
|
1721
|
+
</td>
|
1722
|
+
</tr>
|
1723
|
+
</tbody>
|
1724
|
+
</table></div>
|
1725
|
+
</div>
|
1726
|
+
<hr>
|
1727
|
+
<div class="refsect2" title="g_signal_handler_disconnect ()">
|
1728
|
+
<a name="g-signal-handler-disconnect"></a><h3>g_signal_handler_disconnect ()</h3>
|
1729
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_handler_disconnect (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1730
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>);</pre>
|
1731
|
+
<p>
|
1732
|
+
Disconnects a handler from an instance so it will not be called during
|
1733
|
+
any future or currently ongoing emissions of the signal it has been
|
1734
|
+
connected to. The <em class="parameter"><code>handler_id</code></em> becomes invalid and may be reused.
|
1735
|
+
</p>
|
1736
|
+
<p>
|
1737
|
+
The <em class="parameter"><code>handler_id</code></em> has to be a valid signal handler id, connected to a
|
1738
|
+
signal of <em class="parameter"><code>instance</code></em>.
|
1739
|
+
</p>
|
1740
|
+
<div class="variablelist"><table border="0">
|
1741
|
+
<col align="left" valign="top">
|
1742
|
+
<tbody>
|
1743
|
+
<tr>
|
1744
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1745
|
+
<td>The instance to remove the signal handler from.
|
1746
|
+
</td>
|
1747
|
+
</tr>
|
1748
|
+
<tr>
|
1749
|
+
<td><p><span class="term"><em class="parameter"><code>handler_id</code></em> :</span></p></td>
|
1750
|
+
<td>Handler id of the handler to be disconnected.
|
1751
|
+
</td>
|
1752
|
+
</tr>
|
1753
|
+
</tbody>
|
1754
|
+
</table></div>
|
1755
|
+
</div>
|
1756
|
+
<hr>
|
1757
|
+
<div class="refsect2" title="g_signal_handler_find ()">
|
1758
|
+
<a name="g-signal-handler-find"></a><h3>g_signal_handler_find ()</h3>
|
1759
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_signal_handler_find (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1760
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>,
|
1761
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
1762
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
1763
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1764
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>,
|
1765
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1766
|
+
<p>
|
1767
|
+
Finds the first signal handler that matches certain selection criteria.
|
1768
|
+
The criteria mask is passed as an OR-ed combination of <a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a>
|
1769
|
+
flags, and the criteria values are passed as arguments.
|
1770
|
+
The match <em class="parameter"><code>mask</code></em> has to be non-0 for successful matches.
|
1771
|
+
If no handler was found, 0 is returned.
|
1772
|
+
</p>
|
1773
|
+
<div class="variablelist"><table border="0">
|
1774
|
+
<col align="left" valign="top">
|
1775
|
+
<tbody>
|
1776
|
+
<tr>
|
1777
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1778
|
+
<td>The instance owning the signal handler to be found.
|
1779
|
+
</td>
|
1780
|
+
</tr>
|
1781
|
+
<tr>
|
1782
|
+
<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
|
1783
|
+
<td>Mask indicating which of <em class="parameter"><code>signal_id</code></em>, <em class="parameter"><code>detail</code></em>, <em class="parameter"><code>closure</code></em>, <em class="parameter"><code>func</code></em>
|
1784
|
+
and/or <em class="parameter"><code>data</code></em> the handler has to match.
|
1785
|
+
</td>
|
1786
|
+
</tr>
|
1787
|
+
<tr>
|
1788
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
1789
|
+
<td>Signal the handler has to be connected to.
|
1790
|
+
</td>
|
1791
|
+
</tr>
|
1792
|
+
<tr>
|
1793
|
+
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
1794
|
+
<td>Signal detail the handler has to be connected to.
|
1795
|
+
</td>
|
1796
|
+
</tr>
|
1797
|
+
<tr>
|
1798
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1799
|
+
<td>The closure the handler will invoke.
|
1800
|
+
</td>
|
1801
|
+
</tr>
|
1802
|
+
<tr>
|
1803
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
1804
|
+
<td>The C closure callback of the handler (useless for non-C closures).
|
1805
|
+
</td>
|
1806
|
+
</tr>
|
1807
|
+
<tr>
|
1808
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1809
|
+
<td>The closure data of the handler's closure.
|
1810
|
+
</td>
|
1811
|
+
</tr>
|
1812
|
+
<tr>
|
1813
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1814
|
+
<td> A valid non-0 signal handler id for a successful match.
|
1815
|
+
</td>
|
1816
|
+
</tr>
|
1817
|
+
</tbody>
|
1818
|
+
</table></div>
|
1819
|
+
</div>
|
1820
|
+
<hr>
|
1821
|
+
<div class="refsect2" title="g_signal_handlers_block_matched ()">
|
1822
|
+
<a name="g-signal-handlers-block-matched"></a><h3>g_signal_handlers_block_matched ()</h3>
|
1823
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_handlers_block_matched (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1824
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>,
|
1825
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
1826
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
1827
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1828
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>,
|
1829
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1830
|
+
<p>
|
1831
|
+
Blocks all handlers on an instance that match a certain selection criteria.
|
1832
|
+
The criteria mask is passed as an OR-ed combination of <a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a>
|
1833
|
+
flags, and the criteria values are passed as arguments.
|
1834
|
+
Passing at least one of the <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-CLOSURE:CAPS"><code class="literal">G_SIGNAL_MATCH_CLOSURE</code></a>, <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-FUNC:CAPS"><code class="literal">G_SIGNAL_MATCH_FUNC</code></a>
|
1835
|
+
or <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-DATA:CAPS"><code class="literal">G_SIGNAL_MATCH_DATA</code></a> match flags is required for successful matches.
|
1836
|
+
If no handlers were found, 0 is returned, the number of blocked handlers
|
1837
|
+
otherwise.
|
1838
|
+
</p>
|
1839
|
+
<div class="variablelist"><table border="0">
|
1840
|
+
<col align="left" valign="top">
|
1841
|
+
<tbody>
|
1842
|
+
<tr>
|
1843
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1844
|
+
<td>The instance to block handlers from.
|
1845
|
+
</td>
|
1846
|
+
</tr>
|
1847
|
+
<tr>
|
1848
|
+
<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
|
1849
|
+
<td>Mask indicating which of <em class="parameter"><code>signal_id</code></em>, <em class="parameter"><code>detail</code></em>, <em class="parameter"><code>closure</code></em>, <em class="parameter"><code>func</code></em>
|
1850
|
+
and/or <em class="parameter"><code>data</code></em> the handlers have to match.
|
1851
|
+
</td>
|
1852
|
+
</tr>
|
1853
|
+
<tr>
|
1854
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
1855
|
+
<td>Signal the handlers have to be connected to.
|
1856
|
+
</td>
|
1857
|
+
</tr>
|
1858
|
+
<tr>
|
1859
|
+
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
1860
|
+
<td>Signal detail the handlers have to be connected to.
|
1861
|
+
</td>
|
1862
|
+
</tr>
|
1863
|
+
<tr>
|
1864
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1865
|
+
<td>The closure the handlers will invoke.
|
1866
|
+
</td>
|
1867
|
+
</tr>
|
1868
|
+
<tr>
|
1869
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
1870
|
+
<td>The C closure callback of the handlers (useless for non-C closures).
|
1871
|
+
</td>
|
1872
|
+
</tr>
|
1873
|
+
<tr>
|
1874
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1875
|
+
<td>The closure data of the handlers' closures.
|
1876
|
+
</td>
|
1877
|
+
</tr>
|
1878
|
+
<tr>
|
1879
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1880
|
+
<td> The number of handlers that matched.
|
1881
|
+
</td>
|
1882
|
+
</tr>
|
1883
|
+
</tbody>
|
1884
|
+
</table></div>
|
1885
|
+
</div>
|
1886
|
+
<hr>
|
1887
|
+
<div class="refsect2" title="g_signal_handlers_unblock_matched ()">
|
1888
|
+
<a name="g-signal-handlers-unblock-matched"></a><h3>g_signal_handlers_unblock_matched ()</h3>
|
1889
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_handlers_unblock_matched (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1890
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>,
|
1891
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
1892
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
1893
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1894
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>,
|
1895
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1896
|
+
<p>
|
1897
|
+
Unblocks all handlers on an instance that match a certain selection
|
1898
|
+
criteria. The criteria mask is passed as an OR-ed combination of
|
1899
|
+
<a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> flags, and the criteria values are passed as arguments.
|
1900
|
+
Passing at least one of the <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-CLOSURE:CAPS"><code class="literal">G_SIGNAL_MATCH_CLOSURE</code></a>, <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-FUNC:CAPS"><code class="literal">G_SIGNAL_MATCH_FUNC</code></a>
|
1901
|
+
or <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-DATA:CAPS"><code class="literal">G_SIGNAL_MATCH_DATA</code></a> match flags is required for successful matches.
|
1902
|
+
If no handlers were found, 0 is returned, the number of unblocked handlers
|
1903
|
+
otherwise. The match criteria should not apply to any handlers that are
|
1904
|
+
not currently blocked.
|
1905
|
+
</p>
|
1906
|
+
<div class="variablelist"><table border="0">
|
1907
|
+
<col align="left" valign="top">
|
1908
|
+
<tbody>
|
1909
|
+
<tr>
|
1910
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1911
|
+
<td>The instance to unblock handlers from.
|
1912
|
+
</td>
|
1913
|
+
</tr>
|
1914
|
+
<tr>
|
1915
|
+
<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
|
1916
|
+
<td>Mask indicating which of <em class="parameter"><code>signal_id</code></em>, <em class="parameter"><code>detail</code></em>, <em class="parameter"><code>closure</code></em>, <em class="parameter"><code>func</code></em>
|
1917
|
+
and/or <em class="parameter"><code>data</code></em> the handlers have to match.
|
1918
|
+
</td>
|
1919
|
+
</tr>
|
1920
|
+
<tr>
|
1921
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
1922
|
+
<td>Signal the handlers have to be connected to.
|
1923
|
+
</td>
|
1924
|
+
</tr>
|
1925
|
+
<tr>
|
1926
|
+
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
1927
|
+
<td>Signal detail the handlers have to be connected to.
|
1928
|
+
</td>
|
1929
|
+
</tr>
|
1930
|
+
<tr>
|
1931
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1932
|
+
<td>The closure the handlers will invoke.
|
1933
|
+
</td>
|
1934
|
+
</tr>
|
1935
|
+
<tr>
|
1936
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
1937
|
+
<td>The C closure callback of the handlers (useless for non-C closures).
|
1938
|
+
</td>
|
1939
|
+
</tr>
|
1940
|
+
<tr>
|
1941
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1942
|
+
<td>The closure data of the handlers' closures.
|
1943
|
+
</td>
|
1944
|
+
</tr>
|
1945
|
+
<tr>
|
1946
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1947
|
+
<td> The number of handlers that matched.
|
1948
|
+
</td>
|
1949
|
+
</tr>
|
1950
|
+
</tbody>
|
1951
|
+
</table></div>
|
1952
|
+
</div>
|
1953
|
+
<hr>
|
1954
|
+
<div class="refsect2" title="g_signal_handlers_disconnect_matched ()">
|
1955
|
+
<a name="g-signal-handlers-disconnect-matched"></a><h3>g_signal_handlers_disconnect_matched ()</h3>
|
1956
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_handlers_disconnect_matched
|
1957
|
+
(<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
1958
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>,
|
1959
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
1960
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
1961
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1962
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>,
|
1963
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1964
|
+
<p>
|
1965
|
+
Disconnects all handlers on an instance that match a certain
|
1966
|
+
selection criteria. The criteria mask is passed as an OR-ed
|
1967
|
+
combination of <a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> flags, and the criteria values are
|
1968
|
+
passed as arguments. Passing at least one of the
|
1969
|
+
<a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-CLOSURE:CAPS"><code class="literal">G_SIGNAL_MATCH_CLOSURE</code></a>, <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-FUNC:CAPS"><code class="literal">G_SIGNAL_MATCH_FUNC</code></a> or
|
1970
|
+
<a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-DATA:CAPS"><code class="literal">G_SIGNAL_MATCH_DATA</code></a> match flags is required for successful
|
1971
|
+
matches. If no handlers were found, 0 is returned, the number of
|
1972
|
+
disconnected handlers otherwise.
|
1973
|
+
</p>
|
1974
|
+
<div class="variablelist"><table border="0">
|
1975
|
+
<col align="left" valign="top">
|
1976
|
+
<tbody>
|
1977
|
+
<tr>
|
1978
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
1979
|
+
<td>The instance to remove handlers from.
|
1980
|
+
</td>
|
1981
|
+
</tr>
|
1982
|
+
<tr>
|
1983
|
+
<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
|
1984
|
+
<td>Mask indicating which of <em class="parameter"><code>signal_id</code></em>, <em class="parameter"><code>detail</code></em>, <em class="parameter"><code>closure</code></em>, <em class="parameter"><code>func</code></em>
|
1985
|
+
and/or <em class="parameter"><code>data</code></em> the handlers have to match.
|
1986
|
+
</td>
|
1987
|
+
</tr>
|
1988
|
+
<tr>
|
1989
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
1990
|
+
<td>Signal the handlers have to be connected to.
|
1991
|
+
</td>
|
1992
|
+
</tr>
|
1993
|
+
<tr>
|
1994
|
+
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
1995
|
+
<td>Signal detail the handlers have to be connected to.
|
1996
|
+
</td>
|
1997
|
+
</tr>
|
1998
|
+
<tr>
|
1999
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2000
|
+
<td>The closure the handlers will invoke.
|
2001
|
+
</td>
|
2002
|
+
</tr>
|
2003
|
+
<tr>
|
2004
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
2005
|
+
<td>The C closure callback of the handlers (useless for non-C closures).
|
2006
|
+
</td>
|
2007
|
+
</tr>
|
2008
|
+
<tr>
|
2009
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2010
|
+
<td>The closure data of the handlers' closures.
|
2011
|
+
</td>
|
2012
|
+
</tr>
|
2013
|
+
<tr>
|
2014
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2015
|
+
<td> The number of handlers that matched.
|
2016
|
+
</td>
|
2017
|
+
</tr>
|
2018
|
+
</tbody>
|
2019
|
+
</table></div>
|
2020
|
+
</div>
|
2021
|
+
<hr>
|
2022
|
+
<div class="refsect2" title="g_signal_handler_is_connected ()">
|
2023
|
+
<a name="g-signal-handler-is-connected"></a><h3>g_signal_handler_is_connected ()</h3>
|
2024
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_signal_handler_is_connected (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
2025
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>);</pre>
|
2026
|
+
<p>
|
2027
|
+
Returns whether <em class="parameter"><code>handler_id</code></em> is the id of a handler connected to <em class="parameter"><code>instance</code></em>.
|
2028
|
+
</p>
|
2029
|
+
<div class="variablelist"><table border="0">
|
2030
|
+
<col align="left" valign="top">
|
2031
|
+
<tbody>
|
2032
|
+
<tr>
|
2033
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
2034
|
+
<td>The instance where a signal handler is sought.
|
2035
|
+
</td>
|
2036
|
+
</tr>
|
2037
|
+
<tr>
|
2038
|
+
<td><p><span class="term"><em class="parameter"><code>handler_id</code></em> :</span></p></td>
|
2039
|
+
<td>the handler id.
|
2040
|
+
</td>
|
2041
|
+
</tr>
|
2042
|
+
<tr>
|
2043
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2044
|
+
<td> whether <em class="parameter"><code>handler_id</code></em> identifies a handler connected to <em class="parameter"><code>instance</code></em>.
|
2045
|
+
</td>
|
2046
|
+
</tr>
|
2047
|
+
</tbody>
|
2048
|
+
</table></div>
|
2049
|
+
</div>
|
2050
|
+
<hr>
|
2051
|
+
<div class="refsect2" title="g_signal_handlers_block_by_func()">
|
2052
|
+
<a name="g-signal-handlers-block-by-func"></a><h3>g_signal_handlers_block_by_func()</h3>
|
2053
|
+
<pre class="programlisting">#define g_signal_handlers_block_by_func(instance, func, data)</pre>
|
2054
|
+
<p>
|
2055
|
+
Blocks all handlers on an instance that match <em class="parameter"><code>func</code></em> and <em class="parameter"><code>data</code></em>.
|
2056
|
+
</p>
|
2057
|
+
<div class="variablelist"><table border="0">
|
2058
|
+
<col align="left" valign="top">
|
2059
|
+
<tbody>
|
2060
|
+
<tr>
|
2061
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
2062
|
+
<td>The instance to block handlers from.
|
2063
|
+
</td>
|
2064
|
+
</tr>
|
2065
|
+
<tr>
|
2066
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
2067
|
+
<td>The C closure callback of the handlers (useless for non-C closures).
|
2068
|
+
</td>
|
2069
|
+
</tr>
|
2070
|
+
<tr>
|
2071
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2072
|
+
<td>The closure data of the handlers' closures.
|
2073
|
+
</td>
|
2074
|
+
</tr>
|
2075
|
+
<tr>
|
2076
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2077
|
+
<td> The number of handlers that matched.
|
2078
|
+
</td>
|
2079
|
+
</tr>
|
2080
|
+
</tbody>
|
2081
|
+
</table></div>
|
2082
|
+
</div>
|
2083
|
+
<hr>
|
2084
|
+
<div class="refsect2" title="g_signal_handlers_unblock_by_func()">
|
2085
|
+
<a name="g-signal-handlers-unblock-by-func"></a><h3>g_signal_handlers_unblock_by_func()</h3>
|
2086
|
+
<pre class="programlisting">#define g_signal_handlers_unblock_by_func(instance, func, data)</pre>
|
2087
|
+
<p>
|
2088
|
+
Unblocks all handlers on an instance that match <em class="parameter"><code>func</code></em> and <em class="parameter"><code>data</code></em>.
|
2089
|
+
</p>
|
2090
|
+
<div class="variablelist"><table border="0">
|
2091
|
+
<col align="left" valign="top">
|
2092
|
+
<tbody>
|
2093
|
+
<tr>
|
2094
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
2095
|
+
<td>The instance to unblock handlers from.
|
2096
|
+
</td>
|
2097
|
+
</tr>
|
2098
|
+
<tr>
|
2099
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
2100
|
+
<td>The C closure callback of the handlers (useless for non-C closures).
|
2101
|
+
</td>
|
2102
|
+
</tr>
|
2103
|
+
<tr>
|
2104
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2105
|
+
<td>The closure data of the handlers' closures.
|
2106
|
+
</td>
|
2107
|
+
</tr>
|
2108
|
+
<tr>
|
2109
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2110
|
+
<td> The number of handlers that matched.
|
2111
|
+
</td>
|
2112
|
+
</tr>
|
2113
|
+
</tbody>
|
2114
|
+
</table></div>
|
2115
|
+
</div>
|
2116
|
+
<hr>
|
2117
|
+
<div class="refsect2" title="g_signal_handlers_disconnect_by_func()">
|
2118
|
+
<a name="g-signal-handlers-disconnect-by-func"></a><h3>g_signal_handlers_disconnect_by_func()</h3>
|
2119
|
+
<pre class="programlisting">#define g_signal_handlers_disconnect_by_func(instance, func, data)</pre>
|
2120
|
+
<p>
|
2121
|
+
Disconnects all handlers on an instance that match <em class="parameter"><code>func</code></em> and <em class="parameter"><code>data</code></em>.
|
2122
|
+
</p>
|
2123
|
+
<div class="variablelist"><table border="0">
|
2124
|
+
<col align="left" valign="top">
|
2125
|
+
<tbody>
|
2126
|
+
<tr>
|
2127
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
2128
|
+
<td>The instance to remove handlers from.
|
2129
|
+
</td>
|
2130
|
+
</tr>
|
2131
|
+
<tr>
|
2132
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
2133
|
+
<td>The C closure callback of the handlers (useless for non-C closures).
|
2134
|
+
</td>
|
2135
|
+
</tr>
|
2136
|
+
<tr>
|
2137
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2138
|
+
<td>The closure data of the handlers' closures.
|
2139
|
+
</td>
|
2140
|
+
</tr>
|
2141
|
+
<tr>
|
2142
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2143
|
+
<td> The number of handlers that matched.
|
2144
|
+
</td>
|
2145
|
+
</tr>
|
2146
|
+
</tbody>
|
2147
|
+
</table></div>
|
2148
|
+
</div>
|
2149
|
+
<hr>
|
2150
|
+
<div class="refsect2" title="g_signal_has_handler_pending ()">
|
2151
|
+
<a name="g-signal-has-handler-pending"></a><h3>g_signal_has_handler_pending ()</h3>
|
2152
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_signal_has_handler_pending (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
2153
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
2154
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
2155
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> may_be_blocked</code></em>);</pre>
|
2156
|
+
<p>
|
2157
|
+
Returns whether there are any handlers connected to <em class="parameter"><code>instance</code></em> for the
|
2158
|
+
given signal id and detail.
|
2159
|
+
</p>
|
2160
|
+
<p>
|
2161
|
+
One example of when you might use this is when the arguments to the
|
2162
|
+
signal are difficult to compute. A class implementor may opt to not
|
2163
|
+
emit the signal if no one is attached anyway, thus saving the cost
|
2164
|
+
of building the arguments.
|
2165
|
+
</p>
|
2166
|
+
<div class="variablelist"><table border="0">
|
2167
|
+
<col align="left" valign="top">
|
2168
|
+
<tbody>
|
2169
|
+
<tr>
|
2170
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
2171
|
+
<td>the object whose signal handlers are sought.
|
2172
|
+
</td>
|
2173
|
+
</tr>
|
2174
|
+
<tr>
|
2175
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
2176
|
+
<td>the signal id.
|
2177
|
+
</td>
|
2178
|
+
</tr>
|
2179
|
+
<tr>
|
2180
|
+
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
2181
|
+
<td>the detail.
|
2182
|
+
</td>
|
2183
|
+
</tr>
|
2184
|
+
<tr>
|
2185
|
+
<td><p><span class="term"><em class="parameter"><code>may_be_blocked</code></em> :</span></p></td>
|
2186
|
+
<td>whether blocked handlers should count as match.
|
2187
|
+
</td>
|
2188
|
+
</tr>
|
2189
|
+
<tr>
|
2190
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2191
|
+
<td> <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a handler is connected to the signal, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
2192
|
+
otherwise.
|
2193
|
+
</td>
|
2194
|
+
</tr>
|
2195
|
+
</tbody>
|
2196
|
+
</table></div>
|
2197
|
+
</div>
|
2198
|
+
<hr>
|
2199
|
+
<div class="refsect2" title="g_signal_stop_emission ()">
|
2200
|
+
<a name="g-signal-stop-emission"></a><h3>g_signal_stop_emission ()</h3>
|
2201
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_stop_emission (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
2202
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
2203
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>);</pre>
|
2204
|
+
<p>
|
2205
|
+
Stops a signal's current emission.
|
2206
|
+
</p>
|
2207
|
+
<p>
|
2208
|
+
This will prevent the default method from running, if the signal was
|
2209
|
+
<a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a> and you connected normally (i.e. without the "after"
|
2210
|
+
flag).
|
2211
|
+
</p>
|
2212
|
+
<p>
|
2213
|
+
Prints a warning if used on a signal which isn't being emitted.
|
2214
|
+
</p>
|
2215
|
+
<div class="variablelist"><table border="0">
|
2216
|
+
<col align="left" valign="top">
|
2217
|
+
<tbody>
|
2218
|
+
<tr>
|
2219
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
2220
|
+
<td>the object whose signal handlers you wish to stop.
|
2221
|
+
</td>
|
2222
|
+
</tr>
|
2223
|
+
<tr>
|
2224
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
2225
|
+
<td>the signal identifier, as returned by <a class="link" href="gobject-Signals.html#g-signal-lookup" title="g_signal_lookup ()"><code class="function">g_signal_lookup()</code></a>.
|
2226
|
+
</td>
|
2227
|
+
</tr>
|
2228
|
+
<tr>
|
2229
|
+
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
2230
|
+
<td>the detail which the signal was emitted with.
|
2231
|
+
</td>
|
2232
|
+
</tr>
|
2233
|
+
</tbody>
|
2234
|
+
</table></div>
|
2235
|
+
</div>
|
2236
|
+
<hr>
|
2237
|
+
<div class="refsect2" title="g_signal_stop_emission_by_name ()">
|
2238
|
+
<a name="g-signal-stop-emission-by-name"></a><h3>g_signal_stop_emission_by_name ()</h3>
|
2239
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_stop_emission_by_name (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
2240
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>);</pre>
|
2241
|
+
<p>
|
2242
|
+
Stops a signal's current emission.
|
2243
|
+
</p>
|
2244
|
+
<p>
|
2245
|
+
This is just like <a class="link" href="gobject-Signals.html#g-signal-stop-emission" title="g_signal_stop_emission ()"><code class="function">g_signal_stop_emission()</code></a> except it will look up the
|
2246
|
+
signal id for you.
|
2247
|
+
</p>
|
2248
|
+
<div class="variablelist"><table border="0">
|
2249
|
+
<col align="left" valign="top">
|
2250
|
+
<tbody>
|
2251
|
+
<tr>
|
2252
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
2253
|
+
<td>the object whose signal handlers you wish to stop.
|
2254
|
+
</td>
|
2255
|
+
</tr>
|
2256
|
+
<tr>
|
2257
|
+
<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td>
|
2258
|
+
<td>a string of the form "signal-name::detail".
|
2259
|
+
</td>
|
2260
|
+
</tr>
|
2261
|
+
</tbody>
|
2262
|
+
</table></div>
|
2263
|
+
</div>
|
2264
|
+
<hr>
|
2265
|
+
<div class="refsect2" title="g_signal_override_class_closure ()">
|
2266
|
+
<a name="g-signal-override-class-closure"></a><h3>g_signal_override_class_closure ()</h3>
|
2267
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_override_class_closure (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
2268
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>,
|
2269
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *class_closure</code></em>);</pre>
|
2270
|
+
<p>
|
2271
|
+
Overrides the class closure (i.e. the default handler) for the given signal
|
2272
|
+
for emissions on instances of <em class="parameter"><code>instance_type</code></em>. <em class="parameter"><code>instance_type</code></em> must be derived
|
2273
|
+
from the type to which the signal belongs.
|
2274
|
+
</p>
|
2275
|
+
<p>
|
2276
|
+
See <a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden" title="g_signal_chain_from_overridden ()"><code class="function">g_signal_chain_from_overridden()</code></a> and
|
2277
|
+
<a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden-handler" title="g_signal_chain_from_overridden_handler ()"><code class="function">g_signal_chain_from_overridden_handler()</code></a> for how to chain up to the
|
2278
|
+
parent class closure from inside the overridden one.
|
2279
|
+
</p>
|
2280
|
+
<div class="variablelist"><table border="0">
|
2281
|
+
<col align="left" valign="top">
|
2282
|
+
<tbody>
|
2283
|
+
<tr>
|
2284
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
2285
|
+
<td>the signal id
|
2286
|
+
</td>
|
2287
|
+
</tr>
|
2288
|
+
<tr>
|
2289
|
+
<td><p><span class="term"><em class="parameter"><code>instance_type</code></em> :</span></p></td>
|
2290
|
+
<td>the instance type on which to override the class closure
|
2291
|
+
for the signal.
|
2292
|
+
</td>
|
2293
|
+
</tr>
|
2294
|
+
<tr>
|
2295
|
+
<td><p><span class="term"><em class="parameter"><code>class_closure</code></em> :</span></p></td>
|
2296
|
+
<td>the closure.
|
2297
|
+
</td>
|
2298
|
+
</tr>
|
2299
|
+
</tbody>
|
2300
|
+
</table></div>
|
2301
|
+
</div>
|
2302
|
+
<hr>
|
2303
|
+
<div class="refsect2" title="g_signal_chain_from_overridden ()">
|
2304
|
+
<a name="g-signal-chain-from-overridden"></a><h3>g_signal_chain_from_overridden ()</h3>
|
2305
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_chain_from_overridden (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *instance_and_params</code></em>,
|
2306
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>);</pre>
|
2307
|
+
<p>
|
2308
|
+
Calls the original class closure of a signal. This function should only
|
2309
|
+
be called from an overridden class closure; see
|
2310
|
+
<a class="link" href="gobject-Signals.html#g-signal-override-class-closure" title="g_signal_override_class_closure ()"><code class="function">g_signal_override_class_closure()</code></a> and
|
2311
|
+
<a class="link" href="gobject-Signals.html#g-signal-override-class-handler" title="g_signal_override_class_handler ()"><code class="function">g_signal_override_class_handler()</code></a>.
|
2312
|
+
</p>
|
2313
|
+
<div class="variablelist"><table border="0">
|
2314
|
+
<col align="left" valign="top">
|
2315
|
+
<tbody>
|
2316
|
+
<tr>
|
2317
|
+
<td><p><span class="term"><em class="parameter"><code>instance_and_params</code></em> :</span></p></td>
|
2318
|
+
<td>the argument list of the signal emission. The first
|
2319
|
+
element in the array is a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> for the instance the signal is being
|
2320
|
+
emitted on. The rest are any arguments to be passed to the signal.
|
2321
|
+
</td>
|
2322
|
+
</tr>
|
2323
|
+
<tr>
|
2324
|
+
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2325
|
+
<td>Location for the return value.
|
2326
|
+
</td>
|
2327
|
+
</tr>
|
2328
|
+
</tbody>
|
2329
|
+
</table></div>
|
2330
|
+
</div>
|
2331
|
+
<hr>
|
2332
|
+
<div class="refsect2" title="g_signal_new_class_handler ()">
|
2333
|
+
<a name="g-signal-new-class-handler"></a><h3>g_signal_new_class_handler ()</h3>
|
2334
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_new_class_handler (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>,
|
2335
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
2336
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>,
|
2337
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> class_handler</code></em>,
|
2338
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>,
|
2339
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>,
|
2340
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>,
|
2341
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>,
|
2342
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>,
|
2343
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
2344
|
+
<p>
|
2345
|
+
Creates a new signal. (This is usually done in the class initializer.)
|
2346
|
+
</p>
|
2347
|
+
<p>
|
2348
|
+
This is a variant of <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> that takes a C callback instead
|
2349
|
+
off a class offset for the signal's class handler. This function
|
2350
|
+
doesn't need a function pointer exposed in the class structure of
|
2351
|
+
an object definition, instead the function pointer is passed
|
2352
|
+
directly and can be overriden by derived classes with
|
2353
|
+
<a class="link" href="gobject-Signals.html#g-signal-override-class-closure" title="g_signal_override_class_closure ()"><code class="function">g_signal_override_class_closure()</code></a> or
|
2354
|
+
<a class="link" href="gobject-Signals.html#g-signal-override-class-handler" title="g_signal_override_class_handler ()"><code class="function">g_signal_override_class_handler()</code></a>and chained to with
|
2355
|
+
<a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden" title="g_signal_chain_from_overridden ()"><code class="function">g_signal_chain_from_overridden()</code></a> or
|
2356
|
+
<a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden-handler" title="g_signal_chain_from_overridden_handler ()"><code class="function">g_signal_chain_from_overridden_handler()</code></a>.
|
2357
|
+
</p>
|
2358
|
+
<p>
|
2359
|
+
See <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> for information about signal names.
|
2360
|
+
</p>
|
2361
|
+
<div class="variablelist"><table border="0">
|
2362
|
+
<col align="left" valign="top">
|
2363
|
+
<tbody>
|
2364
|
+
<tr>
|
2365
|
+
<td><p><span class="term"><em class="parameter"><code>signal_name</code></em> :</span></p></td>
|
2366
|
+
<td>the name for the signal
|
2367
|
+
</td>
|
2368
|
+
</tr>
|
2369
|
+
<tr>
|
2370
|
+
<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td>
|
2371
|
+
<td>the type this signal pertains to. It will also pertain to
|
2372
|
+
types which are derived from this type.
|
2373
|
+
</td>
|
2374
|
+
</tr>
|
2375
|
+
<tr>
|
2376
|
+
<td><p><span class="term"><em class="parameter"><code>signal_flags</code></em> :</span></p></td>
|
2377
|
+
<td>a combination of <a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> specifying detail of when
|
2378
|
+
the default handler is to be invoked. You should at least specify
|
2379
|
+
<a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">G_SIGNAL_RUN_FIRST</code></a> or <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a>.
|
2380
|
+
</td>
|
2381
|
+
</tr>
|
2382
|
+
<tr>
|
2383
|
+
<td><p><span class="term"><em class="parameter"><code>class_handler</code></em> :</span></p></td>
|
2384
|
+
<td>a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> which acts as class implementation of
|
2385
|
+
this signal. Used to invoke a class method generically. Pass <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
2386
|
+
not associate a class method with this signal.
|
2387
|
+
</td>
|
2388
|
+
</tr>
|
2389
|
+
<tr>
|
2390
|
+
<td><p><span class="term"><em class="parameter"><code>accumulator</code></em> :</span></p></td>
|
2391
|
+
<td>the accumulator for this signal; may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
2392
|
+
</td>
|
2393
|
+
</tr>
|
2394
|
+
<tr>
|
2395
|
+
<td><p><span class="term"><em class="parameter"><code>accu_data</code></em> :</span></p></td>
|
2396
|
+
<td>user data for the <em class="parameter"><code>accumulator</code></em>.
|
2397
|
+
</td>
|
2398
|
+
</tr>
|
2399
|
+
<tr>
|
2400
|
+
<td><p><span class="term"><em class="parameter"><code>c_marshaller</code></em> :</span></p></td>
|
2401
|
+
<td>the function to translate arrays of parameter values to
|
2402
|
+
signal emissions into C language callback invocations.
|
2403
|
+
</td>
|
2404
|
+
</tr>
|
2405
|
+
<tr>
|
2406
|
+
<td><p><span class="term"><em class="parameter"><code>return_type</code></em> :</span></p></td>
|
2407
|
+
<td>the type of return value, or <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a> for a signal
|
2408
|
+
without a return value.
|
2409
|
+
</td>
|
2410
|
+
</tr>
|
2411
|
+
<tr>
|
2412
|
+
<td><p><span class="term"><em class="parameter"><code>n_params</code></em> :</span></p></td>
|
2413
|
+
<td>the number of parameter types to follow.
|
2414
|
+
</td>
|
2415
|
+
</tr>
|
2416
|
+
<tr>
|
2417
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
2418
|
+
<td>a list of types, one for each parameter.
|
2419
|
+
</td>
|
2420
|
+
</tr>
|
2421
|
+
<tr>
|
2422
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2423
|
+
<td> the signal id
|
2424
|
+
|
2425
|
+
</td>
|
2426
|
+
</tr>
|
2427
|
+
</tbody>
|
2428
|
+
</table></div>
|
2429
|
+
<p class="since">Since 2.18</p>
|
2430
|
+
</div>
|
2431
|
+
<hr>
|
2432
|
+
<div class="refsect2" title="g_signal_override_class_handler ()">
|
2433
|
+
<a name="g-signal-override-class-handler"></a><h3>g_signal_override_class_handler ()</h3>
|
2434
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_override_class_handler (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>,
|
2435
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>,
|
2436
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> class_handler</code></em>);</pre>
|
2437
|
+
<p>
|
2438
|
+
Overrides the class closure (i.e. the default handler) for the
|
2439
|
+
given signal for emissions on instances of <em class="parameter"><code>instance_type</code></em> with
|
2440
|
+
callabck <em class="parameter"><code>class_handler</code></em>. <em class="parameter"><code>instance_type</code></em> must be derived from the
|
2441
|
+
type to which the signal belongs.
|
2442
|
+
</p>
|
2443
|
+
<p>
|
2444
|
+
See <a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden" title="g_signal_chain_from_overridden ()"><code class="function">g_signal_chain_from_overridden()</code></a> and
|
2445
|
+
<a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden-handler" title="g_signal_chain_from_overridden_handler ()"><code class="function">g_signal_chain_from_overridden_handler()</code></a> for how to chain up to the
|
2446
|
+
parent class closure from inside the overridden one.
|
2447
|
+
</p>
|
2448
|
+
<div class="variablelist"><table border="0">
|
2449
|
+
<col align="left" valign="top">
|
2450
|
+
<tbody>
|
2451
|
+
<tr>
|
2452
|
+
<td><p><span class="term"><em class="parameter"><code>signal_name</code></em> :</span></p></td>
|
2453
|
+
<td>the name for the signal
|
2454
|
+
</td>
|
2455
|
+
</tr>
|
2456
|
+
<tr>
|
2457
|
+
<td><p><span class="term"><em class="parameter"><code>instance_type</code></em> :</span></p></td>
|
2458
|
+
<td>the instance type on which to override the class handler
|
2459
|
+
for the signal.
|
2460
|
+
</td>
|
2461
|
+
</tr>
|
2462
|
+
<tr>
|
2463
|
+
<td><p><span class="term"><em class="parameter"><code>class_handler</code></em> :</span></p></td>
|
2464
|
+
<td>the handler.
|
2465
|
+
</td>
|
2466
|
+
</tr>
|
2467
|
+
</tbody>
|
2468
|
+
</table></div>
|
2469
|
+
<p class="since">Since 2.18</p>
|
2470
|
+
</div>
|
2471
|
+
<hr>
|
2472
|
+
<div class="refsect2" title="g_signal_chain_from_overridden_handler ()">
|
2473
|
+
<a name="g-signal-chain-from-overridden-handler"></a><h3>g_signal_chain_from_overridden_handler ()</h3>
|
2474
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_chain_from_overridden_handler
|
2475
|
+
(<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
|
2476
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
2477
|
+
<p>
|
2478
|
+
Calls the original class closure of a signal. This function should
|
2479
|
+
only be called from an overridden class closure; see
|
2480
|
+
<a class="link" href="gobject-Signals.html#g-signal-override-class-closure" title="g_signal_override_class_closure ()"><code class="function">g_signal_override_class_closure()</code></a> and
|
2481
|
+
<a class="link" href="gobject-Signals.html#g-signal-override-class-handler" title="g_signal_override_class_handler ()"><code class="function">g_signal_override_class_handler()</code></a>.
|
2482
|
+
</p>
|
2483
|
+
<div class="variablelist"><table border="0">
|
2484
|
+
<col align="left" valign="top">
|
2485
|
+
<tbody>
|
2486
|
+
<tr>
|
2487
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
2488
|
+
<td>the instance the signal is being emitted on.
|
2489
|
+
</td>
|
2490
|
+
</tr>
|
2491
|
+
<tr>
|
2492
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
2493
|
+
<td>parameters to be passed to the parent class closure, followed by a
|
2494
|
+
location for the return value. If the return type of the signal
|
2495
|
+
is <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a>, the return value location can be omitted.
|
2496
|
+
</td>
|
2497
|
+
</tr>
|
2498
|
+
</tbody>
|
2499
|
+
</table></div>
|
2500
|
+
<p class="since">Since 2.18</p>
|
2501
|
+
</div>
|
2502
|
+
<hr>
|
2503
|
+
<div class="refsect2" title="g_signal_add_emission_hook ()">
|
2504
|
+
<a name="g-signal-add-emission-hook"></a><h3>g_signal_add_emission_hook ()</h3>
|
2505
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_signal_add_emission_hook (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
2506
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>,
|
2507
|
+
<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalEmissionHook" title="GSignalEmissionHook ()"><span class="type">GSignalEmissionHook</span></a> hook_func</code></em>,
|
2508
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> hook_data</code></em>,
|
2509
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> data_destroy</code></em>);</pre>
|
2510
|
+
<p>
|
2511
|
+
Adds an emission hook for a signal, which will get called for any emission
|
2512
|
+
of that signal, independent of the instance. This is possible only
|
2513
|
+
for signals which don't have <a class="link" href="gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><span class="type">G_SIGNAL_NO_HOOKS</span></a> flag set.
|
2514
|
+
</p>
|
2515
|
+
<div class="variablelist"><table border="0">
|
2516
|
+
<col align="left" valign="top">
|
2517
|
+
<tbody>
|
2518
|
+
<tr>
|
2519
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
2520
|
+
<td>the signal identifier, as returned by <a class="link" href="gobject-Signals.html#g-signal-lookup" title="g_signal_lookup ()"><code class="function">g_signal_lookup()</code></a>.
|
2521
|
+
</td>
|
2522
|
+
</tr>
|
2523
|
+
<tr>
|
2524
|
+
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
2525
|
+
<td>the detail on which to call the hook.
|
2526
|
+
</td>
|
2527
|
+
</tr>
|
2528
|
+
<tr>
|
2529
|
+
<td><p><span class="term"><em class="parameter"><code>hook_func</code></em> :</span></p></td>
|
2530
|
+
<td>a <a class="link" href="gobject-Signals.html#GSignalEmissionHook" title="GSignalEmissionHook ()"><span class="type">GSignalEmissionHook</span></a> function.
|
2531
|
+
</td>
|
2532
|
+
</tr>
|
2533
|
+
<tr>
|
2534
|
+
<td><p><span class="term"><em class="parameter"><code>hook_data</code></em> :</span></p></td>
|
2535
|
+
<td>user data for <em class="parameter"><code>hook_func</code></em>.
|
2536
|
+
</td>
|
2537
|
+
</tr>
|
2538
|
+
<tr>
|
2539
|
+
<td><p><span class="term"><em class="parameter"><code>data_destroy</code></em> :</span></p></td>
|
2540
|
+
<td>a <a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> for <em class="parameter"><code>hook_data</code></em>.
|
2541
|
+
</td>
|
2542
|
+
</tr>
|
2543
|
+
<tr>
|
2544
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2545
|
+
<td> the hook id, for later use with <a class="link" href="gobject-Signals.html#g-signal-remove-emission-hook" title="g_signal_remove_emission_hook ()"><code class="function">g_signal_remove_emission_hook()</code></a>.
|
2546
|
+
</td>
|
2547
|
+
</tr>
|
2548
|
+
</tbody>
|
2549
|
+
</table></div>
|
2550
|
+
</div>
|
2551
|
+
<hr>
|
2552
|
+
<div class="refsect2" title="g_signal_remove_emission_hook ()">
|
2553
|
+
<a name="g-signal-remove-emission-hook"></a><h3>g_signal_remove_emission_hook ()</h3>
|
2554
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_signal_remove_emission_hook (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>,
|
2555
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> hook_id</code></em>);</pre>
|
2556
|
+
<p>
|
2557
|
+
Deletes an emission hook.
|
2558
|
+
</p>
|
2559
|
+
<div class="variablelist"><table border="0">
|
2560
|
+
<col align="left" valign="top">
|
2561
|
+
<tbody>
|
2562
|
+
<tr>
|
2563
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td>
|
2564
|
+
<td>the id of the signal
|
2565
|
+
</td>
|
2566
|
+
</tr>
|
2567
|
+
<tr>
|
2568
|
+
<td><p><span class="term"><em class="parameter"><code>hook_id</code></em> :</span></p></td>
|
2569
|
+
<td>the id of the emission hook, as returned by
|
2570
|
+
<a class="link" href="gobject-Signals.html#g-signal-add-emission-hook" title="g_signal_add_emission_hook ()"><code class="function">g_signal_add_emission_hook()</code></a>
|
2571
|
+
</td>
|
2572
|
+
</tr>
|
2573
|
+
</tbody>
|
2574
|
+
</table></div>
|
2575
|
+
</div>
|
2576
|
+
<hr>
|
2577
|
+
<div class="refsect2" title="g_signal_parse_name ()">
|
2578
|
+
<a name="g-signal-parse-name"></a><h3>g_signal_parse_name ()</h3>
|
2579
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_signal_parse_name (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>,
|
2580
|
+
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
2581
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *signal_id_p</code></em>,
|
2582
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> *detail_p</code></em>,
|
2583
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> force_detail_quark</code></em>);</pre>
|
2584
|
+
<p>
|
2585
|
+
Internal function to parse a signal name into its <em class="parameter"><code>signal_id</code></em>
|
2586
|
+
and <em class="parameter"><code>detail</code></em> quark.
|
2587
|
+
</p>
|
2588
|
+
<div class="variablelist"><table border="0">
|
2589
|
+
<col align="left" valign="top">
|
2590
|
+
<tbody>
|
2591
|
+
<tr>
|
2592
|
+
<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td>
|
2593
|
+
<td>a string of the form "signal-name::detail".
|
2594
|
+
</td>
|
2595
|
+
</tr>
|
2596
|
+
<tr>
|
2597
|
+
<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td>
|
2598
|
+
<td>The interface/instance type that introduced "signal-name".
|
2599
|
+
</td>
|
2600
|
+
</tr>
|
2601
|
+
<tr>
|
2602
|
+
<td><p><span class="term"><em class="parameter"><code>signal_id_p</code></em> :</span></p></td>
|
2603
|
+
<td>Location to store the signal id.
|
2604
|
+
</td>
|
2605
|
+
</tr>
|
2606
|
+
<tr>
|
2607
|
+
<td><p><span class="term"><em class="parameter"><code>detail_p</code></em> :</span></p></td>
|
2608
|
+
<td>Location to store the detail quark.
|
2609
|
+
</td>
|
2610
|
+
</tr>
|
2611
|
+
<tr>
|
2612
|
+
<td><p><span class="term"><em class="parameter"><code>force_detail_quark</code></em> :</span></p></td>
|
2613
|
+
<td>
|
2614
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> forces creation of a <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> for the detail.
|
2615
|
+
</td>
|
2616
|
+
</tr>
|
2617
|
+
<tr>
|
2618
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2619
|
+
<td> Whether the signal name could successfully be parsed and <em class="parameter"><code>signal_id_p</code></em> and <em class="parameter"><code>detail_p</code></em> contain valid return values.
|
2620
|
+
</td>
|
2621
|
+
</tr>
|
2622
|
+
</tbody>
|
2623
|
+
</table></div>
|
2624
|
+
</div>
|
2625
|
+
<hr>
|
2626
|
+
<div class="refsect2" title="g_signal_get_invocation_hint ()">
|
2627
|
+
<a name="g-signal-get-invocation-hint"></a><h3>g_signal_get_invocation_hint ()</h3>
|
2628
|
+
<pre class="programlisting"><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="GSignalInvocationHint"><span class="returnvalue">GSignalInvocationHint</span></a>* g_signal_get_invocation_hint (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>);</pre>
|
2629
|
+
<p>
|
2630
|
+
Returns the invocation hint of the innermost signal emission of instance.
|
2631
|
+
</p>
|
2632
|
+
<div class="variablelist"><table border="0">
|
2633
|
+
<col align="left" valign="top">
|
2634
|
+
<tbody>
|
2635
|
+
<tr>
|
2636
|
+
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
|
2637
|
+
<td>the instance to query
|
2638
|
+
</td>
|
2639
|
+
</tr>
|
2640
|
+
<tr>
|
2641
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2642
|
+
<td> the invocation hint of the innermost signal emission.
|
2643
|
+
</td>
|
2644
|
+
</tr>
|
2645
|
+
</tbody>
|
2646
|
+
</table></div>
|
2647
|
+
</div>
|
2648
|
+
<hr>
|
2649
|
+
<div class="refsect2" title="g_signal_type_cclosure_new ()">
|
2650
|
+
<a name="g-signal-type-cclosure-new"></a><h3>g_signal_type_cclosure_new ()</h3>
|
2651
|
+
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a>* g_signal_type_cclosure_new (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>,
|
2652
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> struct_offset</code></em>);</pre>
|
2653
|
+
<p>
|
2654
|
+
Creates a new closure which invokes the function found at the offset
|
2655
|
+
<em class="parameter"><code>struct_offset</code></em> in the class structure of the interface or classed type
|
2656
|
+
identified by <em class="parameter"><code>itype</code></em>.
|
2657
|
+
</p>
|
2658
|
+
<div class="variablelist"><table border="0">
|
2659
|
+
<col align="left" valign="top">
|
2660
|
+
<tbody>
|
2661
|
+
<tr>
|
2662
|
+
<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td>
|
2663
|
+
<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> identifier of an interface or classed type
|
2664
|
+
</td>
|
2665
|
+
</tr>
|
2666
|
+
<tr>
|
2667
|
+
<td><p><span class="term"><em class="parameter"><code>struct_offset</code></em> :</span></p></td>
|
2668
|
+
<td>the offset of the member function of <em class="parameter"><code>itype</code></em>'s class
|
2669
|
+
structure which is to be invoked by the new closure
|
2670
|
+
</td>
|
2671
|
+
</tr>
|
2672
|
+
<tr>
|
2673
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2674
|
+
<td> a new <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a>
|
2675
|
+
</td>
|
2676
|
+
</tr>
|
2677
|
+
</tbody>
|
2678
|
+
</table></div>
|
2679
|
+
</div>
|
2680
|
+
<hr>
|
2681
|
+
<div class="refsect2" title="g_signal_accumulator_true_handled ()">
|
2682
|
+
<a name="g-signal-accumulator-true-handled"></a><h3>g_signal_accumulator_true_handled ()</h3>
|
2683
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_signal_accumulator_true_handled (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>,
|
2684
|
+
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_accu</code></em>,
|
2685
|
+
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *handler_return</code></em>,
|
2686
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);</pre>
|
2687
|
+
<p>
|
2688
|
+
A predefined <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> for signals that return a
|
2689
|
+
boolean values. The behavior that this accumulator gives is
|
2690
|
+
that a return of <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> stops the signal emission: no further
|
2691
|
+
callbacks will be invoked, while a return of <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> allows
|
2692
|
+
the emission to coninue. The idea here is that a <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> return
|
2693
|
+
indicates that the callback <span class="emphasis"><em>handled</em></span> the signal,
|
2694
|
+
and no further handling is needed.
|
2695
|
+
</p>
|
2696
|
+
<div class="variablelist"><table border="0">
|
2697
|
+
<col align="left" valign="top">
|
2698
|
+
<tbody>
|
2699
|
+
<tr>
|
2700
|
+
<td><p><span class="term"><em class="parameter"><code>ihint</code></em> :</span></p></td>
|
2701
|
+
<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> parameter
|
2702
|
+
</td>
|
2703
|
+
</tr>
|
2704
|
+
<tr>
|
2705
|
+
<td><p><span class="term"><em class="parameter"><code>return_accu</code></em> :</span></p></td>
|
2706
|
+
<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> parameter
|
2707
|
+
</td>
|
2708
|
+
</tr>
|
2709
|
+
<tr>
|
2710
|
+
<td><p><span class="term"><em class="parameter"><code>handler_return</code></em> :</span></p></td>
|
2711
|
+
<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> parameter
|
2712
|
+
</td>
|
2713
|
+
</tr>
|
2714
|
+
<tr>
|
2715
|
+
<td><p><span class="term"><em class="parameter"><code>dummy</code></em> :</span></p></td>
|
2716
|
+
<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> parameter
|
2717
|
+
</td>
|
2718
|
+
</tr>
|
2719
|
+
<tr>
|
2720
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2721
|
+
<td> standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> result
|
2722
|
+
</td>
|
2723
|
+
</tr>
|
2724
|
+
</tbody>
|
2725
|
+
</table></div>
|
2726
|
+
<p class="since">Since 2.4</p>
|
2727
|
+
</div>
|
2728
|
+
</div>
|
2729
|
+
<div class="footnotes">
|
2730
|
+
<br><hr width="100" align="left">
|
2731
|
+
<div class="footnote"><p><sup>[<a name="ftn.id618909" href="#id618909" class="para">10</a>] </sup>Although signals can deal with any kind of instantiatable
|
2732
|
+
type, i'm referring to those types as "object types" in the following,
|
2733
|
+
simply because that is the context most users will encounter signals in.
|
2734
|
+
</p></div>
|
2735
|
+
</div>
|
2736
|
+
</div>
|
2737
|
+
<div class="footer">
|
2738
|
+
<hr>
|
2739
|
+
Generated by GTK-Doc V1.14</div>
|
2740
|
+
</body>
|
2741
|
+
</html>
|