gio2 0.90.5-x86-mingw32 → 0.90.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +41 -0
- data/Rakefile +9 -70
- data/ext/gio2/extconf.rb +9 -9
- data/ext/gio2/gasyncinitable.c +0 -1
- data/ext/gio2/gbufferedinputstream.c +0 -19
- data/ext/gio2/gbufferedoutputstream.c +0 -34
- data/ext/gio2/gcharsetconverter.c +0 -17
- data/ext/gio2/gcontenttype.c +1 -8
- data/ext/gio2/gconverterinputstream.c +0 -7
- data/ext/gio2/gconverteroutputstream.c +0 -7
- data/ext/gio2/gdatainputstream.c +34 -57
- data/ext/gio2/gdataoutputstream.c +0 -18
- data/ext/gio2/gdesktopappinfo.c +0 -2
- data/ext/gio2/gemblem.c +0 -19
- data/ext/gio2/gfile.c +4 -6
- data/ext/gio2/gfileattribute.c +3 -155
- data/ext/gio2/gfileattributeinfo.c +89 -0
- data/ext/gio2/gfileattributeinfolist.c +109 -0
- data/ext/gio2/gfileenumerator.c +0 -2
- data/ext/gio2/gfileicon.c +0 -7
- data/ext/gio2/gfileinfo.c +4 -11
- data/ext/gio2/gfileinputstream.c +0 -2
- data/ext/gio2/gfileiostream.c +0 -2
- data/ext/gio2/gfilemonitor.c +0 -19
- data/ext/gio2/gfileoutputstream.c +1 -5
- data/ext/gio2/gfilterinputstream.c +1 -30
- data/ext/gio2/gfilteroutputstream.c +1 -30
- data/ext/gio2/gicon.c +0 -2
- data/ext/gio2/ginetaddress.c +0 -72
- data/ext/gio2/ginetsocketaddress.c +0 -16
- data/ext/gio2/ginputstream.c +0 -2
- data/ext/gio2/gio2.c +11 -1
- data/ext/gio2/gio2.h +9 -1
- data/ext/gio2/gioerror.c +4 -1
- data/ext/gio2/giomodule.c +2 -2
- data/ext/gio2/gioscheduler.c +4 -6
- data/ext/gio2/giostream.c +0 -23
- data/ext/gio2/gloadableicon.c +0 -1
- data/ext/gio2/gmemoryoutputstream.c +0 -24
- data/ext/gio2/gmount.c +1 -0
- data/ext/gio2/gmountoperation.c +1 -103
- data/ext/gio2/gnetworkaddress.c +0 -14
- data/ext/gio2/gnetworkservice.c +0 -21
- data/ext/gio2/goutputstream.c +8 -18
- data/ext/gio2/gresolver.c +0 -2
- data/ext/gio2/gsocket.c +2 -80
- data/ext/gio2/gsocketaddress.c +1 -13
- data/ext/gio2/gsocketclient.c +0 -68
- data/ext/gio2/gsocketconnection.c +1 -8
- data/ext/gio2/gsocketcontrolmessage.c +0 -2
- data/ext/gio2/gsocketlistener.c +27 -21
- data/ext/gio2/gtcpconnection.c +1 -22
- data/ext/gio2/gthreadedsocketservice.c +6 -5
- data/ext/gio2/gunixfdlist.c +1 -1
- data/ext/gio2/gunixfdmessage.c +0 -9
- data/ext/gio2/gunixinputstream.c +0 -24
- data/ext/gio2/gunixmounts.c +1 -4
- data/ext/gio2/gunixoutputstream.c +0 -24
- data/ext/gio2/gunixsocketaddress.c +5 -17
- data/ext/gio2/gvfs.c +0 -2
- data/ext/gio2/gvolumemonitor.c +0 -2
- data/ext/gio2/gzlibcompressor.c +3 -0
- data/ext/gio2/util.c +3 -0
- data/lib/1.8/gio2.so +0 -0
- data/lib/1.9/gio2.so +0 -0
- data/lib/gio2.rb +19 -1
- data/test/load-test.rb +14 -0
- data/test/test_bufferedinputstream.rb +2 -0
- data/test/test_charsetconverter.rb +2 -0
- data/test/test_datainputstream.rb +7 -0
- data/test/test_fileenumerator.rb +8 -0
- data/test/test_filemonitor.rb +2 -0
- data/test/test_inetaddress.rb +8 -0
- metadata +90 -835
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +0 -123
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +0 -188
- data/vendor/local/bin/glib-mkenums +0 -537
- 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/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/autosprintf.h +0 -66
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -236
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +0 -119
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -81
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +0 -103
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +0 -60
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -57
- data/vendor/local/include/glib-2.0/gio/gconverter.h +0 -95
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +0 -150
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -115
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +0 -58
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +0 -46
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +0 -562
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +0 -100
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +0 -286
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +0 -149
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +0 -112
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +0 -94
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +0 -167
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +0 -54
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +0 -44
- data/vendor/local/include/glib-2.0/gio/gdrive.h +0 -225
- data/vendor/local/include/glib-2.0/gio/gemblem.h +0 -58
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +0 -62
- data/vendor/local/include/glib-2.0/gio/gfile.h +0 -1017
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +0 -77
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -132
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +0 -56
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -952
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +0 -112
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +0 -118
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +0 -95
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +0 -119
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gicon.h +0 -91
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +0 -103
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +0 -69
- data/vendor/local/include/glib-2.0/gio/ginitable.h +0 -96
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +0 -172
- data/vendor/local/include/glib-2.0/gio/gio.h +0 -122
- data/vendor/local/include/glib-2.0/gio/gioenums.h +0 -1221
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +0 -121
- data/vendor/local/include/glib-2.0/gio/gioerror.h +0 -52
- data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -132
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -52
- data/vendor/local/include/glib-2.0/gio/giostream.h +0 -112
- data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -375
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +0 -97
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +0 -82
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -98
- data/vendor/local/include/glib-2.0/gio/gmount.h +0 -242
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +0 -62
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +0 -71
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +0 -207
- data/vendor/local/include/glib-2.0/gio/gpermission.h +0 -118
- data/vendor/local/include/glib-2.0/gio/gproxy.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -75
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +0 -96
- data/vendor/local/include/glib-2.0/gio/gresolver.h +0 -167
- data/vendor/local/include/glib-2.0/gio/gseekable.h +0 -99
- data/vendor/local/include/glib-2.0/gio/gsettings.h +0 -258
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +0 -138
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +0 -125
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +0 -45
- data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -194
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -89
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +0 -152
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +0 -74
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +0 -91
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +0 -105
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +0 -138
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +0 -88
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +0 -52
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +0 -68
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +0 -63
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +0 -81
- data/vendor/local/include/glib-2.0/gio/gvfs.h +0 -125
- data/vendor/local/include/glib-2.0/gio/gvolume.h +0 -211
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -150
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +0 -60
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +0 -57
- data/vendor/local/include/glib-2.0/glib-object.h +0 -42
- data/vendor/local/include/glib-2.0/glib.h +0 -99
- data/vendor/local/include/glib-2.0/glib/galloca.h +0 -110
- data/vendor/local/include/glib-2.0/glib/garray.h +0 -179
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +0 -120
- data/vendor/local/include/glib-2.0/glib/gatomic.h +0 -105
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +0 -68
- data/vendor/local/include/glib-2.0/glib/gbase64.h +0 -57
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +0 -43
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +0 -215
- data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +0 -86
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
- data/vendor/local/include/glib-2.0/glib/gconvert.h +0 -162
- data/vendor/local/include/glib-2.0/glib/gdataset.h +0 -122
- data/vendor/local/include/glib-2.0/glib/gdate.h +0 -263
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +0 -217
- data/vendor/local/include/glib-2.0/glib/gdir.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gerror.h +0 -98
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +0 -128
- data/vendor/local/include/glib-2.0/glib/ghash.h +0 -166
- data/vendor/local/include/glib-2.0/glib/ghook.h +0 -181
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +0 -40
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +0 -38
- data/vendor/local/include/glib-2.0/glib/gi18n.h +0 -34
- data/vendor/local/include/glib-2.0/glib/giochannel.h +0 -366
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +0 -266
- data/vendor/local/include/glib-2.0/glib/glist.h +0 -120
- data/vendor/local/include/glib-2.0/glib/gmacros.h +0 -284
- data/vendor/local/include/glib-2.0/glib/gmain.h +0 -531
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +0 -49
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +0 -163
- data/vendor/local/include/glib-2.0/glib/gmem.h +0 -309
- data/vendor/local/include/glib-2.0/glib/gmessages.h +0 -343
- data/vendor/local/include/glib-2.0/glib/gnode.h +0 -290
- data/vendor/local/include/glib-2.0/glib/goption.h +0 -370
- data/vendor/local/include/glib-2.0/glib/gpattern.h +0 -49
- data/vendor/local/include/glib-2.0/glib/gpoll.h +0 -117
- data/vendor/local/include/glib-2.0/glib/gprimes.h +0 -51
- data/vendor/local/include/glib-2.0/glib/gprintf.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gqsort.h +0 -46
- data/vendor/local/include/glib-2.0/glib/gquark.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gqueue.h +0 -127
- data/vendor/local/include/glib-2.0/glib/grand.h +0 -85
- data/vendor/local/include/glib-2.0/glib/gregex.h +0 -471
- data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
- data/vendor/local/include/glib-2.0/glib/gscanner.h +0 -278
- data/vendor/local/include/glib-2.0/glib/gsequence.h +0 -128
- data/vendor/local/include/glib-2.0/glib/gshell.h +0 -55
- data/vendor/local/include/glib-2.0/glib/gslice.h +0 -86
- data/vendor/local/include/glib-2.0/glib/gslist.h +0 -114
- data/vendor/local/include/glib-2.0/glib/gspawn.h +0 -139
- data/vendor/local/include/glib-2.0/glib/gstdio.h +0 -147
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +0 -269
- data/vendor/local/include/glib-2.0/glib/gstring.h +0 -178
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -297
- data/vendor/local/include/glib-2.0/glib/gthread.h +0 -407
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +0 -114
- data/vendor/local/include/glib-2.0/glib/gtimer.h +0 -65
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +0 -44
- data/vendor/local/include/glib-2.0/glib/gtree.h +0 -91
- data/vendor/local/include/glib-2.0/glib/gtypes.h +0 -451
- data/vendor/local/include/glib-2.0/glib/gunicode.h +0 -421
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +0 -81
- data/vendor/local/include/glib-2.0/glib/gutils.h +0 -490
- data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -248
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +0 -334
- data/vendor/local/include/glib-2.0/glib/gwin32.h +0 -114
- data/vendor/local/include/glib-2.0/gmodule.h +0 -101
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +0 -136
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +0 -248
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +0 -251
- data/vendor/local/include/glib-2.0/gobject/genums.h +0 -261
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +0 -186
- data/vendor/local/include/glib-2.0/gobject/gobject.h +0 -567
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +0 -193
- data/vendor/local/include/glib-2.0/gobject/gparam.h +0 -415
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +0 -1137
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +0 -509
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +0 -51
- data/vendor/local/include/glib-2.0/gobject/gtype.h +0 -1736
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +0 -263
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +0 -134
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +0 -159
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +0 -77
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +0 -227
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +0 -260
- data/vendor/local/include/libintl.h +0 -464
- data/vendor/local/lib/GNU.Gettext.dll +0 -0
- data/vendor/local/lib/gio-2.0.def +0 -1143
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +0 -1452
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +0 -284
- data/vendor/local/lib/gmodule-2.0.def +0 -11
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +0 -370
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.def +0 -3
- 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/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 +0 -31
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +0 -15
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +0 -11
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +0 -15
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +0 -14
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +0 -14
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +0 -11
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +0 -11
- data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +0 -81
- data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +0 -3
- data/vendor/local/manifest/glib-dev_2.26.0-2_win32.mft +0 -570
- data/vendor/local/manifest/glib_2.26.0-2_win32.mft +0 -102
- data/vendor/local/share/aclocal/glib-2.0.m4 +0 -211
- data/vendor/local/share/aclocal/glib-gettext.m4 +0 -432
- data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +0 -165
- data/vendor/local/share/doc/gettext/bindtextdomain.3.html +0 -160
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +0 -8
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +0 -305
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +0 -356
- data/vendor/local/share/doc/gettext/csharpdoc/begin.html +0 -11
- data/vendor/local/share/doc/gettext/csharpdoc/index.html +0 -10
- data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +0 -6
- data/vendor/local/share/doc/gettext/envsubst.1.html +0 -213
- data/vendor/local/share/doc/gettext/gettext.1.html +0 -266
- data/vendor/local/share/doc/gettext/gettext.3.html +0 -186
- data/vendor/local/share/doc/gettext/ngettext.1.html +0 -280
- data/vendor/local/share/doc/gettext/ngettext.3.html +0 -143
- data/vendor/local/share/doc/gettext/textdomain.3.html +0 -150
- data/vendor/local/share/doc/glib-2.26.0/COPYING +0 -482
- data/vendor/local/share/doc/glib-dev-2.26.0/COPYING +0 -482
- data/vendor/local/share/doc/libasprintf/autosprintf_all.html +0 -174
- data/vendor/local/share/glib-2.0/gdb/glib.py +0 -249
- data/vendor/local/share/glib-2.0/gdb/gobject.py +0 -305
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -111
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +0 -279
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +0 -60
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +0 -1403
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +0 -733
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +0 -343
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +0 -563
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +0 -291
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +0 -620
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +0 -245
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +0 -423
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +0 -398
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +0 -254
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +0 -6211
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +0 -1833
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +0 -618
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +0 -2050
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +0 -1124
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +0 -1215
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +0 -540
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +0 -1416
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +0 -272
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +0 -206
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +0 -7462
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +0 -120
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +0 -516
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +0 -312
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +0 -155
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +0 -3144
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +0 -262
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +0 -353
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +0 -188
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +0 -189
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +0 -261
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +0 -479
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +0 -331
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +0 -717
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +0 -196
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +0 -388
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +0 -808
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +0 -185
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -393
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +0 -1465
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +0 -848
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +0 -343
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +0 -311
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +0 -1012
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +0 -560
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +0 -312
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +0 -348
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +0 -787
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +0 -350
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +0 -2424
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +0 -609
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +0 -1193
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +0 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +0 -2438
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +0 -297
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +0 -1292
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +0 -513
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +0 -337
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +0 -275
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +0 -745
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +0 -258
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +0 -165
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +0 -377
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +0 -197
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +0 -298
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +0 -222
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +0 -389
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +0 -288
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +0 -237
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +0 -237
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +0 -491
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +0 -274
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +0 -1028
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +0 -705
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +0 -252
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +0 -170
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +0 -65
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +0 -153
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +0 -155
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +0 -1084
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +0 -223
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -1598
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -112
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -6250
- data/vendor/local/share/gtk-doc/html/gio/async.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +0 -207
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +0 -180
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -57
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +0 -277
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +0 -95
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -70
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -130
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -202
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +0 -96
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +0 -823
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +0 -828
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +0 -109
- data/vendor/local/share/gtk-doc/html/gio/extending.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +0 -38
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +0 -33
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +0 -243
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +0 -316
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +0 -1117
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +0 -216
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -339
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +0 -473
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +0 -391
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +0 -908
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +0 -933
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +0 -409
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +0 -297
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +0 -313
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +0 -736
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +0 -909
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +0 -666
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -123
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +0 -53
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1736
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +0 -2006
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +0 -102
- data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +0 -53
- data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/icons.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/index.html +0 -435
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -2513
- data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +0 -62
- data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -69
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +0 -390
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/settings.html +0 -38
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +0 -92
- data/vendor/local/share/gtk-doc/html/gio/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/gio/tools.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/types.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/utils.html +0 -33
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +0 -47
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +0 -77
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +0 -180
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +0 -312
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +0 -559
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +0 -362
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +0 -102
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +0 -124
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +0 -83
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +0 -194
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +0 -420
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +0 -359
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +0 -396
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +0 -417
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +0 -158
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +0 -419
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +0 -8214
- 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 +0 -893
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +0 -818
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +0 -414
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +0 -466
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +0 -802
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +0 -372
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +0 -500
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +0 -2056
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +0 -560
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +0 -1686
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +0 -398
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +0 -1094
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +0 -1671
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +0 -460
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +0 -528
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +0 -2045
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +0 -1278
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +0 -1406
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +0 -548
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +0 -1026
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +0 -1852
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +0 -2201
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +0 -239
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +0 -4278
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +0 -1864
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +0 -295
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +0 -1512
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +0 -1367
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +0 -229
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +0 -692
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +0 -2196
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +0 -2740
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +0 -612
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +0 -1451
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +0 -1033
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -141
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -706
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +0 -510
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +0 -748
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +0 -1105
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +0 -1552
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +0 -1468
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +0 -194
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +0 -2745
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +0 -752
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +0 -269
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +0 -578
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +0 -532
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +0 -1353
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +0 -238
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +0 -1282
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +0 -1213
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +0 -924
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +0 -470
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +0 -301
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +0 -2960
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +0 -1291
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +0 -1805
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +0 -3478
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +0 -606
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +0 -3411
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +0 -245
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +0 -188
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +0 -263
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +0 -400
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +0 -3448
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +0 -253
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +0 -438
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +0 -476
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +0 -466
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +0 -159
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +0 -118
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +0 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +0 -160
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +0 -120
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +0 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +0 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +0 -2217
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +0 -121
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +0 -319
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +0 -118
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2183
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +0 -2671
- data/vendor/local/share/gtk-doc/html/glib/glib.html +0 -80
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +0 -72
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +0 -131
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +0 -1288
- data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +0 -344
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -2846
- 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 +0 -265
- data/vendor/local/share/gtk-doc/html/glib/tools.html +0 -41
- data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +0 -803
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +0 -710
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +0 -453
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +0 -47
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +0 -85
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +0 -51
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +0 -46
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +0 -38
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +0 -46
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +0 -73
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +0 -201
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +0 -178
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +0 -42
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +0 -42
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -50
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -2721
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +0 -136
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +0 -293
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +0 -263
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +0 -92
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +0 -214
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +0 -361
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +0 -307
- data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -417
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +0 -2412
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +0 -847
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +0 -1433
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +0 -776
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +0 -2741
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +0 -5555
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +0 -2875
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +0 -4460
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +0 -416
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +0 -260
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +0 -234
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +0 -270
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +0 -117
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -762
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +0 -801
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +0 -143
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +0 -287
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +0 -316
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +0 -76
- data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +0 -100
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +0 -86
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +0 -122
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +0 -257
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +0 -283
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +0 -125
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +0 -167
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +0 -160
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +0 -121
- data/vendor/local/share/gtk-doc/html/gobject/index.html +0 -192
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -786
- data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +0 -72
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +0 -80
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +0 -66
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +0 -85
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +0 -47
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +0 -377
- data/vendor/local/share/gtk-doc/html/gobject/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +0 -35
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +0 -40
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +0 -63
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +0 -43
- data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.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/glib20.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/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.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/glib20.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/glib20.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/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/glib20.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/glib20.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/glib20.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/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/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/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.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/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/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/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/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.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/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/glib20.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/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/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.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/glib20.mo +0 -0
- data/vendor/local/share/locale/locale.alias +0 -77
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.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/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.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/glib20.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/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/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.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/glib20.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/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/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/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/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.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/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/glib20.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/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.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/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.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/glib20.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/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/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.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/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/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 +0 -54
- data/vendor/local/share/man/man1/gettext.1 +0 -69
- data/vendor/local/share/man/man1/glib-genmarshal.1 +0 -312
- data/vendor/local/share/man/man1/glib-mkenums.1 +0 -246
- data/vendor/local/share/man/man1/gobject-query.1 +0 -83
- data/vendor/local/share/man/man1/ngettext.1 +0 -68
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +0 -72
- data/vendor/local/share/man/man3/bindtextdomain.3 +0 -69
- data/vendor/local/share/man/man3/dcgettext.3 +0 -1
- data/vendor/local/share/man/man3/dcngettext.3 +0 -1
- data/vendor/local/share/man/man3/dgettext.3 +0 -1
- data/vendor/local/share/man/man3/dngettext.3 +0 -1
- data/vendor/local/share/man/man3/gettext.3 +0 -99
- data/vendor/local/share/man/man3/ngettext.3 +0 -60
- data/vendor/local/share/man/man3/textdomain.3 +0 -57
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +0 -10423
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +0 -457
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.log +0 -2867
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +0 -64
Binary file
|
@@ -1,417 +0,0 @@
|
|
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>Boxed Types</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-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">
|
10
|
-
<link rel="next" href="gobject-Generic-values.html" title="Generic values">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15.1 (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-Enumeration-and-Flag-Types.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-Generic-values.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-Boxed-Types.synopsis" class="shortcut">Top</a>
|
25
|
-
|
|
26
|
-
<a href="#gobject-Boxed-Types.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
29
|
-
<div class="refentry">
|
30
|
-
<a name="gobject-Boxed-Types"></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-Boxed-Types.top_of_page"></a>Boxed Types</span></h2>
|
34
|
-
<p>Boxed Types — A mechanism to wrap opaque C structures registered
|
35
|
-
by the type system</p>
|
36
|
-
</td>
|
37
|
-
<td valign="top" align="right"></td>
|
38
|
-
</tr></table></div>
|
39
|
-
<div class="refsynopsisdiv">
|
40
|
-
<a name="gobject-Boxed-Types.synopsis"></a><h2>Synopsis</h2>
|
41
|
-
<pre class="synopsis">
|
42
|
-
#include <glib-object.h>
|
43
|
-
|
44
|
-
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> (<a class="link" href="gobject-Boxed-Types.html#GBoxedCopyFunc" title="GBoxedCopyFunc ()">*GBoxedCopyFunc</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> boxed</code></em>);
|
45
|
-
<span class="returnvalue">void</span> (<a class="link" href="gobject-Boxed-Types.html#GBoxedFreeFunc" title="GBoxedFreeFunc ()">*GBoxedFreeFunc</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> boxed</code></em>);
|
46
|
-
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Boxed-Types.html#g-boxed-copy" title="g_boxed_copy ()">g_boxed_copy</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> boxed_type</code></em>,
|
47
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> src_boxed</code></em>);
|
48
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Boxed-Types.html#g-boxed-free" title="g_boxed_free ()">g_boxed_free</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> boxed_type</code></em>,
|
49
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> boxed</code></em>);
|
50
|
-
<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Boxed-Types.html#g-boxed-type-register-static" title="g_boxed_type_register_static ()">g_boxed_type_register_static</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
51
|
-
<em class="parameter"><code><a class="link" href="gobject-Boxed-Types.html#GBoxedCopyFunc" title="GBoxedCopyFunc ()"><span class="type">GBoxedCopyFunc</span></a> boxed_copy</code></em>,
|
52
|
-
<em class="parameter"><code><a class="link" href="gobject-Boxed-Types.html#GBoxedFreeFunc" title="GBoxedFreeFunc ()"><span class="type">GBoxedFreeFunc</span></a> boxed_free</code></em>);
|
53
|
-
<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Boxed-Types.html#g-pointer-type-register-static" title="g_pointer_type_register_static ()">g_pointer_type_register_static</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
|
54
|
-
|
55
|
-
#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-HASH-TABLE:CAPS" title="G_TYPE_HASH_TABLE">G_TYPE_HASH_TABLE</a>
|
56
|
-
#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-DATE:CAPS" title="G_TYPE_DATE">G_TYPE_DATE</a>
|
57
|
-
#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-GSTRING:CAPS" title="G_TYPE_GSTRING">G_TYPE_GSTRING</a>
|
58
|
-
#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-STRV:CAPS" title="G_TYPE_STRV">G_TYPE_STRV</a>
|
59
|
-
#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-REGEX:CAPS" title="G_TYPE_REGEX">G_TYPE_REGEX</a>
|
60
|
-
#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-ARRAY:CAPS" title="G_TYPE_ARRAY">G_TYPE_ARRAY</a>
|
61
|
-
#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-BYTE-ARRAY:CAPS" title="G_TYPE_BYTE_ARRAY">G_TYPE_BYTE_ARRAY</a>
|
62
|
-
#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-PTR-ARRAY:CAPS" title="G_TYPE_PTR_ARRAY">G_TYPE_PTR_ARRAY</a>
|
63
|
-
#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-VARIANT-TYPE:CAPS" title="G_TYPE_VARIANT_TYPE">G_TYPE_VARIANT_TYPE</a>
|
64
|
-
#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-ERROR:CAPS" title="G_TYPE_ERROR">G_TYPE_ERROR</a>
|
65
|
-
#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-DATE-TIME:CAPS" title="G_TYPE_DATE_TIME">G_TYPE_DATE_TIME</a>
|
66
|
-
typedef <a class="link" href="gobject-Boxed-Types.html#GStrv" title="GStrv">GStrv</a>;
|
67
|
-
</pre>
|
68
|
-
</div>
|
69
|
-
<div class="refsect1">
|
70
|
-
<a name="gobject-Boxed-Types.description"></a><h2>Description</h2>
|
71
|
-
<p>
|
72
|
-
GBoxed is a generic wrapper mechanism for arbitrary C structures. The only
|
73
|
-
thing the type system needs to know about the structures is how to copy and
|
74
|
-
free them, beyond that they are treated as opaque chunks of memory.
|
75
|
-
</p>
|
76
|
-
<p>
|
77
|
-
Boxed types are useful for simple value-holder structures like rectangles or
|
78
|
-
points. They can also be used for wrapping structures defined in non-GObject
|
79
|
-
based libraries.
|
80
|
-
</p>
|
81
|
-
</div>
|
82
|
-
<div class="refsect1">
|
83
|
-
<a name="gobject-Boxed-Types.details"></a><h2>Details</h2>
|
84
|
-
<div class="refsect2">
|
85
|
-
<a name="GBoxedCopyFunc"></a><h3>GBoxedCopyFunc ()</h3>
|
86
|
-
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> (*GBoxedCopyFunc) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> boxed</code></em>);</pre>
|
87
|
-
<p>
|
88
|
-
This function is provided by the user and should produce a copy of the passed
|
89
|
-
in boxed structure.
|
90
|
-
</p>
|
91
|
-
<div class="variablelist"><table border="0">
|
92
|
-
<col align="left" valign="top">
|
93
|
-
<tbody>
|
94
|
-
<tr>
|
95
|
-
<td><p><span class="term"><em class="parameter"><code>boxed</code></em> :</span></p></td>
|
96
|
-
<td>The boxed structure to be copied.
|
97
|
-
</td>
|
98
|
-
</tr>
|
99
|
-
<tr>
|
100
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
101
|
-
<td> The newly created copy of the boxed structure.
|
102
|
-
</td>
|
103
|
-
</tr>
|
104
|
-
</tbody>
|
105
|
-
</table></div>
|
106
|
-
</div>
|
107
|
-
<hr>
|
108
|
-
<div class="refsect2">
|
109
|
-
<a name="GBoxedFreeFunc"></a><h3>GBoxedFreeFunc ()</h3>
|
110
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GBoxedFreeFunc) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> boxed</code></em>);</pre>
|
111
|
-
<p>
|
112
|
-
This function is provided by the user and should free the boxed
|
113
|
-
structure passed.
|
114
|
-
</p>
|
115
|
-
<div class="variablelist"><table border="0">
|
116
|
-
<col align="left" valign="top">
|
117
|
-
<tbody><tr>
|
118
|
-
<td><p><span class="term"><em class="parameter"><code>boxed</code></em> :</span></p></td>
|
119
|
-
<td>The boxed structure to be freed.
|
120
|
-
</td>
|
121
|
-
</tr></tbody>
|
122
|
-
</table></div>
|
123
|
-
</div>
|
124
|
-
<hr>
|
125
|
-
<div class="refsect2">
|
126
|
-
<a name="g-boxed-copy"></a><h3>g_boxed_copy ()</h3>
|
127
|
-
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_boxed_copy (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> boxed_type</code></em>,
|
128
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> src_boxed</code></em>);</pre>
|
129
|
-
<p>
|
130
|
-
Provide a copy of a boxed structure <em class="parameter"><code>src_boxed</code></em> which is of type <em class="parameter"><code>boxed_type</code></em>.
|
131
|
-
</p>
|
132
|
-
<div class="variablelist"><table border="0">
|
133
|
-
<col align="left" valign="top">
|
134
|
-
<tbody>
|
135
|
-
<tr>
|
136
|
-
<td><p><span class="term"><em class="parameter"><code>boxed_type</code></em> :</span></p></td>
|
137
|
-
<td>The type of <em class="parameter"><code>src_boxed</code></em>.
|
138
|
-
</td>
|
139
|
-
</tr>
|
140
|
-
<tr>
|
141
|
-
<td><p><span class="term"><em class="parameter"><code>src_boxed</code></em> :</span></p></td>
|
142
|
-
<td>The boxed structure to be copied.
|
143
|
-
</td>
|
144
|
-
</tr>
|
145
|
-
<tr>
|
146
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
147
|
-
<td> The newly created copy of the boxed structure.
|
148
|
-
</td>
|
149
|
-
</tr>
|
150
|
-
</tbody>
|
151
|
-
</table></div>
|
152
|
-
</div>
|
153
|
-
<hr>
|
154
|
-
<div class="refsect2">
|
155
|
-
<a name="g-boxed-free"></a><h3>g_boxed_free ()</h3>
|
156
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_boxed_free (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> boxed_type</code></em>,
|
157
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> boxed</code></em>);</pre>
|
158
|
-
<p>
|
159
|
-
Free the boxed structure <em class="parameter"><code>boxed</code></em> which is of type <em class="parameter"><code>boxed_type</code></em>.
|
160
|
-
</p>
|
161
|
-
<div class="variablelist"><table border="0">
|
162
|
-
<col align="left" valign="top">
|
163
|
-
<tbody>
|
164
|
-
<tr>
|
165
|
-
<td><p><span class="term"><em class="parameter"><code>boxed_type</code></em> :</span></p></td>
|
166
|
-
<td>The type of <em class="parameter"><code>boxed</code></em>.
|
167
|
-
</td>
|
168
|
-
</tr>
|
169
|
-
<tr>
|
170
|
-
<td><p><span class="term"><em class="parameter"><code>boxed</code></em> :</span></p></td>
|
171
|
-
<td>The boxed structure to be freed.
|
172
|
-
</td>
|
173
|
-
</tr>
|
174
|
-
</tbody>
|
175
|
-
</table></div>
|
176
|
-
</div>
|
177
|
-
<hr>
|
178
|
-
<div class="refsect2">
|
179
|
-
<a name="g-boxed-type-register-static"></a><h3>g_boxed_type_register_static ()</h3>
|
180
|
-
<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_boxed_type_register_static (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
181
|
-
<em class="parameter"><code><a class="link" href="gobject-Boxed-Types.html#GBoxedCopyFunc" title="GBoxedCopyFunc ()"><span class="type">GBoxedCopyFunc</span></a> boxed_copy</code></em>,
|
182
|
-
<em class="parameter"><code><a class="link" href="gobject-Boxed-Types.html#GBoxedFreeFunc" title="GBoxedFreeFunc ()"><span class="type">GBoxedFreeFunc</span></a> boxed_free</code></em>);</pre>
|
183
|
-
<p>
|
184
|
-
This function creates a new <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type id for a new
|
185
|
-
boxed type with name <em class="parameter"><code>name</code></em>. Boxed type handling functions have to be
|
186
|
-
provided to copy and free opaque boxed structures of this type.
|
187
|
-
</p>
|
188
|
-
<div class="variablelist"><table border="0">
|
189
|
-
<col align="left" valign="top">
|
190
|
-
<tbody>
|
191
|
-
<tr>
|
192
|
-
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
193
|
-
<td>Name of the new boxed type.
|
194
|
-
</td>
|
195
|
-
</tr>
|
196
|
-
<tr>
|
197
|
-
<td><p><span class="term"><em class="parameter"><code>boxed_copy</code></em> :</span></p></td>
|
198
|
-
<td>Boxed structure copy function.
|
199
|
-
</td>
|
200
|
-
</tr>
|
201
|
-
<tr>
|
202
|
-
<td><p><span class="term"><em class="parameter"><code>boxed_free</code></em> :</span></p></td>
|
203
|
-
<td>Boxed structure free function.
|
204
|
-
</td>
|
205
|
-
</tr>
|
206
|
-
<tr>
|
207
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
208
|
-
<td> New <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type id for <em class="parameter"><code>name</code></em>.
|
209
|
-
</td>
|
210
|
-
</tr>
|
211
|
-
</tbody>
|
212
|
-
</table></div>
|
213
|
-
</div>
|
214
|
-
<hr>
|
215
|
-
<div class="refsect2">
|
216
|
-
<a name="g-pointer-type-register-static"></a><h3>g_pointer_type_register_static ()</h3>
|
217
|
-
<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_pointer_type_register_static (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
218
|
-
<p>
|
219
|
-
Creates a new <a class="link" href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS" title="G_TYPE_POINTER"><code class="literal">G_TYPE_POINTER</code></a> derived type id for a new
|
220
|
-
pointer type with name <em class="parameter"><code>name</code></em>.
|
221
|
-
</p>
|
222
|
-
<div class="variablelist"><table border="0">
|
223
|
-
<col align="left" valign="top">
|
224
|
-
<tbody>
|
225
|
-
<tr>
|
226
|
-
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
227
|
-
<td>the name of the new pointer type.
|
228
|
-
</td>
|
229
|
-
</tr>
|
230
|
-
<tr>
|
231
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
232
|
-
<td> a new <a class="link" href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS" title="G_TYPE_POINTER"><code class="literal">G_TYPE_POINTER</code></a> derived type id for <em class="parameter"><code>name</code></em>.
|
233
|
-
</td>
|
234
|
-
</tr>
|
235
|
-
</tbody>
|
236
|
-
</table></div>
|
237
|
-
</div>
|
238
|
-
<hr>
|
239
|
-
<div class="refsect2">
|
240
|
-
<a name="G-TYPE-HASH-TABLE:CAPS"></a><h3>G_TYPE_HASH_TABLE</h3>
|
241
|
-
<pre class="programlisting">#define G_TYPE_HASH_TABLE (g_hash_table_get_type ())
|
242
|
-
</pre>
|
243
|
-
<p>
|
244
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> reference.
|
245
|
-
</p>
|
246
|
-
<p class="since">Since 2.10</p>
|
247
|
-
</div>
|
248
|
-
<hr>
|
249
|
-
<div class="refsect2">
|
250
|
-
<a name="G-TYPE-DATE:CAPS"></a><h3>G_TYPE_DATE</h3>
|
251
|
-
<pre class="programlisting">#define G_TYPE_DATE (g_date_get_type ())
|
252
|
-
</pre>
|
253
|
-
<p>
|
254
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a href="./../glib/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a>.
|
255
|
-
</p>
|
256
|
-
</div>
|
257
|
-
<hr>
|
258
|
-
<div class="refsect2">
|
259
|
-
<a name="G-TYPE-GSTRING:CAPS"></a><h3>G_TYPE_GSTRING</h3>
|
260
|
-
<pre class="programlisting">#define G_TYPE_GSTRING (g_gstring_get_type ())
|
261
|
-
</pre>
|
262
|
-
<p>
|
263
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a href="./../glib/glib/glib-Strings.html#GString"><span class="type">GString</span></a>.
|
264
|
-
</p>
|
265
|
-
</div>
|
266
|
-
<hr>
|
267
|
-
<div class="refsect2">
|
268
|
-
<a name="G-TYPE-STRV:CAPS"></a><h3>G_TYPE_STRV</h3>
|
269
|
-
<pre class="programlisting">#define G_TYPE_STRV (g_strv_get_type ())
|
270
|
-
</pre>
|
271
|
-
<p>
|
272
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings.
|
273
|
-
</p>
|
274
|
-
<p>
|
275
|
-
The code fragments in the following example show the use of a property of
|
276
|
-
type <a class="link" href="gobject-Boxed-Types.html#G-TYPE-STRV:CAPS" title="G_TYPE_STRV"><span class="type">G_TYPE_STRV</span></a> with <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()"><code class="function">g_object_class_install_property()</code></a>, <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set" title="g_object_set ()"><code class="function">g_object_set()</code></a>
|
277
|
-
and <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()"><code class="function">g_object_get()</code></a>.
|
278
|
-
</p>
|
279
|
-
<p>
|
280
|
-
</p>
|
281
|
-
<div class="informalexample">
|
282
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
283
|
-
<tbody>
|
284
|
-
<tr>
|
285
|
-
<td class="listing_lines" align="right"><pre>1
|
286
|
-
2
|
287
|
-
3
|
288
|
-
4
|
289
|
-
5
|
290
|
-
6
|
291
|
-
7
|
292
|
-
8
|
293
|
-
9
|
294
|
-
10
|
295
|
-
11
|
296
|
-
12
|
297
|
-
13
|
298
|
-
14
|
299
|
-
15
|
300
|
-
16
|
301
|
-
17</pre></td>
|
302
|
-
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-class-install-property">g_object_class_install_property</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object_class</span><span class="symbol">,</span>
|
303
|
-
<span class="normal"> PROP_AUTHORS</span><span class="symbol">,</span>
|
304
|
-
<span class="normal"> </span><span class="function"><a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boxed">g_param_spec_boxed</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"authors"</span><span class="symbol">,</span>
|
305
|
-
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="string">"Authors"</span><span class="symbol">),</span>
|
306
|
-
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="string">"List of authors"</span><span class="symbol">),</span>
|
307
|
-
<span class="normal"> <a href="gobject-Boxed-Types.html#G-TYPE-STRV:CAPS">G_TYPE_STRV</a></span><span class="symbol">,</span>
|
308
|
-
<span class="normal"> <a href="gobject-GParamSpec.html#G-PARAM-READWRITE:CAPS">G_PARAM_READWRITE</a></span><span class="symbol">));</span>
|
309
|
-
|
310
|
-
|
311
|
-
<span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">authors</span><span class="symbol">[]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"Owen"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Tim"</span><span class="symbol">,</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a> </span><span class="cbracket">}</span><span class="symbol">;</span>
|
312
|
-
<span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-set">g_object_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">obj</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"authors"</span><span class="symbol">,</span><span class="normal"> authors</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>
|
313
|
-
|
314
|
-
|
315
|
-
<span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">writers</span><span class="symbol">[];</span>
|
316
|
-
<span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-get">g_object_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">obj</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"authors"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">writers</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>
|
317
|
-
<span class="comment">// do something with writers</span>
|
318
|
-
<span class="function"><a href="./../glib/glib/glib-String-Utility-Functions.html#g-strfreev">g_strfreev</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">writers</span><span class="symbol">);</span></pre></td>
|
319
|
-
</tr>
|
320
|
-
</tbody>
|
321
|
-
</table>
|
322
|
-
</div>
|
323
|
-
|
324
|
-
<p>
|
325
|
-
</p>
|
326
|
-
<p class="since">Since 2.4</p>
|
327
|
-
</div>
|
328
|
-
<hr>
|
329
|
-
<div class="refsect2">
|
330
|
-
<a name="G-TYPE-REGEX:CAPS"></a><h3>G_TYPE_REGEX</h3>
|
331
|
-
<pre class="programlisting">#define G_TYPE_REGEX (g_regex_get_type ())
|
332
|
-
</pre>
|
333
|
-
<p>
|
334
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Perl-compatible-regular-expressions.html#GRegex"><span class="type">GRegex</span></a> reference.
|
335
|
-
</p>
|
336
|
-
<p class="since">Since 2.14</p>
|
337
|
-
</div>
|
338
|
-
<hr>
|
339
|
-
<div class="refsect2">
|
340
|
-
<a name="G-TYPE-ARRAY:CAPS"></a><h3>G_TYPE_ARRAY</h3>
|
341
|
-
<pre class="programlisting">#define G_TYPE_ARRAY (g_array_get_type ())
|
342
|
-
</pre>
|
343
|
-
<p>
|
344
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> reference.
|
345
|
-
</p>
|
346
|
-
<p class="since">Since 2.22</p>
|
347
|
-
</div>
|
348
|
-
<hr>
|
349
|
-
<div class="refsect2">
|
350
|
-
<a name="G-TYPE-BYTE-ARRAY:CAPS"></a><h3>G_TYPE_BYTE_ARRAY</h3>
|
351
|
-
<pre class="programlisting">#define G_TYPE_BYTE_ARRAY (g_byte_array_get_type ())
|
352
|
-
</pre>
|
353
|
-
<p>
|
354
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Byte-Arrays.html#GByteArray"><span class="type">GByteArray</span></a> reference.
|
355
|
-
</p>
|
356
|
-
<p class="since">Since 2.22</p>
|
357
|
-
</div>
|
358
|
-
<hr>
|
359
|
-
<div class="refsect2">
|
360
|
-
<a name="G-TYPE-PTR-ARRAY:CAPS"></a><h3>G_TYPE_PTR_ARRAY</h3>
|
361
|
-
<pre class="programlisting">#define G_TYPE_PTR_ARRAY (g_ptr_array_get_type ())
|
362
|
-
</pre>
|
363
|
-
<p>
|
364
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> reference.
|
365
|
-
</p>
|
366
|
-
<p class="since">Since 2.22</p>
|
367
|
-
</div>
|
368
|
-
<hr>
|
369
|
-
<div class="refsect2">
|
370
|
-
<a name="G-TYPE-VARIANT-TYPE:CAPS"></a><h3>G_TYPE_VARIANT_TYPE</h3>
|
371
|
-
<pre class="programlisting">#define G_TYPE_VARIANT_TYPE (g_variant_type_get_gtype ())
|
372
|
-
</pre>
|
373
|
-
<p>
|
374
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a>.
|
375
|
-
</p>
|
376
|
-
<p class="since">Since 2.24</p>
|
377
|
-
</div>
|
378
|
-
<hr>
|
379
|
-
<div class="refsect2">
|
380
|
-
<a name="G-TYPE-ERROR:CAPS"></a><h3>G_TYPE_ERROR</h3>
|
381
|
-
<pre class="programlisting">#define G_TYPE_ERROR (g_error_get_type ())
|
382
|
-
</pre>
|
383
|
-
<p>
|
384
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.
|
385
|
-
</p>
|
386
|
-
<p class="since">Since 2.26</p>
|
387
|
-
</div>
|
388
|
-
<hr>
|
389
|
-
<div class="refsect2">
|
390
|
-
<a name="G-TYPE-DATE-TIME:CAPS"></a><h3>G_TYPE_DATE_TIME</h3>
|
391
|
-
<pre class="programlisting">#define G_TYPE_DATE_TIME (g_date_time_get_type ())
|
392
|
-
</pre>
|
393
|
-
<p>
|
394
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a>.
|
395
|
-
</p>
|
396
|
-
<p class="since">Since 2.26</p>
|
397
|
-
</div>
|
398
|
-
<hr>
|
399
|
-
<div class="refsect2">
|
400
|
-
<a name="GStrv"></a><h3>GStrv</h3>
|
401
|
-
<pre class="programlisting">typedef gchar** GStrv;
|
402
|
-
</pre>
|
403
|
-
<p>
|
404
|
-
A C representable type name for <a class="link" href="gobject-Boxed-Types.html#G-TYPE-STRV:CAPS" title="G_TYPE_STRV"><span class="type">G_TYPE_STRV</span></a>.
|
405
|
-
</p>
|
406
|
-
</div>
|
407
|
-
</div>
|
408
|
-
<div class="refsect1">
|
409
|
-
<a name="gobject-Boxed-Types.see-also"></a><h2>See Also</h2>
|
410
|
-
<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a>, <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boxed" title="g_param_spec_boxed ()"><code class="function">g_param_spec_boxed()</code></a>
|
411
|
-
</div>
|
412
|
-
</div>
|
413
|
-
<div class="footer">
|
414
|
-
<hr>
|
415
|
-
Generated by GTK-Doc V1.15.1</div>
|
416
|
-
</body>
|
417
|
-
</html>
|
@@ -1,2412 +0,0 @@
|
|
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>Closures</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-Signals.html" title="Signals">
|
10
|
-
<link rel="next" href="gobject-Value-arrays.html" title="Value arrays">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15.1 (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-Signals.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-Value-arrays.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-Closures.synopsis" class="shortcut">Top</a>
|
25
|
-
|
|
26
|
-
<a href="#gobject-Closures.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
29
|
-
<div class="refentry">
|
30
|
-
<a name="gobject-Closures"></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-Closures.top_of_page"></a>Closures</span></h2>
|
34
|
-
<p>Closures — Functions as first-class objects</p>
|
35
|
-
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
37
|
-
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
39
|
-
<a name="gobject-Closures.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">
|
41
|
-
#include <glib-object.h>
|
42
|
-
|
43
|
-
#define <a class="link" href="gobject-Closures.html#G-CLOSURE-NEEDS-MARSHAL:CAPS" title="G_CLOSURE_NEEDS_MARSHAL()">G_CLOSURE_NEEDS_MARSHAL</a> (closure)
|
44
|
-
#define <a class="link" href="gobject-Closures.html#G-CLOSURE-N-NOTIFIERS:CAPS" title="G_CLOSURE_N_NOTIFIERS()">G_CLOSURE_N_NOTIFIERS</a> (cl)
|
45
|
-
#define <a class="link" href="gobject-Closures.html#G-CCLOSURE-SWAP-DATA:CAPS" title="G_CCLOSURE_SWAP_DATA()">G_CCLOSURE_SWAP_DATA</a> (cclosure)
|
46
|
-
#define <a class="link" href="gobject-Closures.html#G-CALLBACK:CAPS" title="G_CALLBACK()">G_CALLBACK</a> (f)
|
47
|
-
<span class="returnvalue">void</span> (<a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()">*GCallback</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
|
48
|
-
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure">GClosure</a>;
|
49
|
-
#define <a class="link" href="gobject-Closures.html#G-TYPE-CLOSURE:CAPS" title="G_TYPE_CLOSURE">G_TYPE_CLOSURE</a>
|
50
|
-
<a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure">GCClosure</a>;
|
51
|
-
<span class="returnvalue">void</span> (<a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()">*GClosureMarshal</a>) (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
52
|
-
<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>,
|
53
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
54
|
-
<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>,
|
55
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
56
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
57
|
-
<span class="returnvalue">void</span> (<a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()">*GClosureNotify</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
58
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
59
|
-
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-cclosure-new" title="g_cclosure_new ()">g_cclosure_new</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
60
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
61
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>);
|
62
|
-
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-cclosure-new-swap" title="g_cclosure_new_swap ()">g_cclosure_new_swap</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
63
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
64
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>);
|
65
|
-
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-cclosure-new-object" title="g_cclosure_new_object ()">g_cclosure_new_object</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
66
|
-
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);
|
67
|
-
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-cclosure-new-object-swap" title="g_cclosure_new_object_swap ()">g_cclosure_new_object_swap</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
68
|
-
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);
|
69
|
-
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-closure-new-object" title="g_closure_new_object ()">g_closure_new_object</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> sizeof_closure</code></em>,
|
70
|
-
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);
|
71
|
-
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()">g_closure_ref</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
72
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()">g_closure_sink</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
73
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-unref" title="g_closure_unref ()">g_closure_unref</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
74
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()">g_closure_invoke</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
75
|
-
<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>,
|
76
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
77
|
-
<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>,
|
78
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>);
|
79
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()">g_closure_invalidate</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
80
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-add-finalize-notifier" title="g_closure_add_finalize_notifier ()">g_closure_add_finalize_notifier</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
81
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
82
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);
|
83
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-add-invalidate-notifier" title="g_closure_add_invalidate_notifier ()">g_closure_add_invalidate_notifier</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
84
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
85
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);
|
86
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-remove-finalize-notifier" title="g_closure_remove_finalize_notifier ()">g_closure_remove_finalize_notifier</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
87
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
88
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);
|
89
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-remove-invalidate-notifier" title="g_closure_remove_invalidate_notifier ()">g_closure_remove_invalidate_notifier</a>
|
90
|
-
(<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
91
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
92
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);
|
93
|
-
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-closure-new-simple" title="g_closure_new_simple ()">g_closure_new_simple</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> sizeof_closure</code></em>,
|
94
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
95
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-set-marshal" title="g_closure_set_marshal ()">g_closure_set_marshal</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
96
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> marshal</code></em>);
|
97
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-add-marshal-guards" title="g_closure_add_marshal_guards ()">g_closure_add_marshal_guards</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
98
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> pre_marshal_data</code></em>,
|
99
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> pre_marshal_notify</code></em>,
|
100
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> post_marshal_data</code></em>,
|
101
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> post_marshal_notify</code></em>);
|
102
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()">g_closure_set_meta_marshal</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
103
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>,
|
104
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> meta_marshal</code></em>);
|
105
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-source-set-closure" title="g_source_set_closure ()">g_source_set_closure</a> (<em class="parameter"><code><a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> *source</code></em>,
|
106
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
107
|
-
#define <a class="link" href="gobject-Closures.html#G-TYPE-IO-CHANNEL:CAPS" title="G_TYPE_IO_CHANNEL">G_TYPE_IO_CHANNEL</a>
|
108
|
-
#define <a class="link" href="gobject-Closures.html#G-TYPE-IO-CONDITION:CAPS" title="G_TYPE_IO_CONDITION">G_TYPE_IO_CONDITION</a>
|
109
|
-
|
110
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--VOID" title="g_cclosure_marshal_VOID__VOID ()">g_cclosure_marshal_VOID__VOID</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
111
|
-
<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>,
|
112
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
113
|
-
<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>,
|
114
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
115
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
116
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--BOOLEAN" title="g_cclosure_marshal_VOID__BOOLEAN ()">g_cclosure_marshal_VOID__BOOLEAN</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
117
|
-
<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>,
|
118
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
119
|
-
<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>,
|
120
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
121
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
122
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--CHAR" title="g_cclosure_marshal_VOID__CHAR ()">g_cclosure_marshal_VOID__CHAR</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
123
|
-
<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>,
|
124
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
125
|
-
<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>,
|
126
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
127
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
128
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UCHAR" title="g_cclosure_marshal_VOID__UCHAR ()">g_cclosure_marshal_VOID__UCHAR</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
129
|
-
<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>,
|
130
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
131
|
-
<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>,
|
132
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
133
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
134
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--INT" title="g_cclosure_marshal_VOID__INT ()">g_cclosure_marshal_VOID__INT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
135
|
-
<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>,
|
136
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
137
|
-
<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>,
|
138
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
139
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
140
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UINT" title="g_cclosure_marshal_VOID__UINT ()">g_cclosure_marshal_VOID__UINT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
141
|
-
<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>,
|
142
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
143
|
-
<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>,
|
144
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
145
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
146
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--LONG" title="g_cclosure_marshal_VOID__LONG ()">g_cclosure_marshal_VOID__LONG</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
147
|
-
<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>,
|
148
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
149
|
-
<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>,
|
150
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
151
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
152
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--ULONG" title="g_cclosure_marshal_VOID__ULONG ()">g_cclosure_marshal_VOID__ULONG</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
153
|
-
<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>,
|
154
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
155
|
-
<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>,
|
156
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
157
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
158
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--ENUM" title="g_cclosure_marshal_VOID__ENUM ()">g_cclosure_marshal_VOID__ENUM</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
159
|
-
<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>,
|
160
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
161
|
-
<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>,
|
162
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
163
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
164
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--FLAGS" title="g_cclosure_marshal_VOID__FLAGS ()">g_cclosure_marshal_VOID__FLAGS</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
165
|
-
<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>,
|
166
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
167
|
-
<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>,
|
168
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
169
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
170
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--FLOAT" title="g_cclosure_marshal_VOID__FLOAT ()">g_cclosure_marshal_VOID__FLOAT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
171
|
-
<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>,
|
172
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
173
|
-
<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>,
|
174
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
175
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
176
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--DOUBLE" title="g_cclosure_marshal_VOID__DOUBLE ()">g_cclosure_marshal_VOID__DOUBLE</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
177
|
-
<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>,
|
178
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
179
|
-
<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>,
|
180
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
181
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
182
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--STRING" title="g_cclosure_marshal_VOID__STRING ()">g_cclosure_marshal_VOID__STRING</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
183
|
-
<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>,
|
184
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
185
|
-
<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>,
|
186
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
187
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
188
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--PARAM" title="g_cclosure_marshal_VOID__PARAM ()">g_cclosure_marshal_VOID__PARAM</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
189
|
-
<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>,
|
190
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
191
|
-
<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>,
|
192
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
193
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
194
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--BOXED" title="g_cclosure_marshal_VOID__BOXED ()">g_cclosure_marshal_VOID__BOXED</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
195
|
-
<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>,
|
196
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
197
|
-
<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>,
|
198
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
199
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
200
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--POINTER" title="g_cclosure_marshal_VOID__POINTER ()">g_cclosure_marshal_VOID__POINTER</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
201
|
-
<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>,
|
202
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
203
|
-
<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>,
|
204
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
205
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
206
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--OBJECT" title="g_cclosure_marshal_VOID__OBJECT ()">g_cclosure_marshal_VOID__OBJECT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
207
|
-
<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>,
|
208
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
209
|
-
<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>,
|
210
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
211
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
212
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--VARIANT" title="g_cclosure_marshal_VOID__VARIANT ()">g_cclosure_marshal_VOID__VARIANT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
213
|
-
<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>,
|
214
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
215
|
-
<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>,
|
216
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
217
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
218
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-STRING--OBJECT-POINTER" title="g_cclosure_marshal_STRING__OBJECT_POINTER ()">g_cclosure_marshal_STRING__OBJECT_POINTER</a>
|
219
|
-
(<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
220
|
-
<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>,
|
221
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
222
|
-
<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>,
|
223
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
224
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
225
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UINT-POINTER" title="g_cclosure_marshal_VOID__UINT_POINTER ()">g_cclosure_marshal_VOID__UINT_POINTER</a>
|
226
|
-
(<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
227
|
-
<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>,
|
228
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
229
|
-
<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>,
|
230
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
231
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
232
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGS" title="g_cclosure_marshal_BOOLEAN__FLAGS ()">g_cclosure_marshal_BOOLEAN__FLAGS</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
233
|
-
<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>,
|
234
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
235
|
-
<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>,
|
236
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
237
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);
|
238
|
-
#define <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOL--FLAGS" title="g_cclosure_marshal_BOOL__FLAGS">g_cclosure_marshal_BOOL__FLAGS</a>
|
239
|
-
</pre>
|
240
|
-
</div>
|
241
|
-
<div class="refsect1">
|
242
|
-
<a name="gobject-Closures.description"></a><h2>Description</h2>
|
243
|
-
<p>
|
244
|
-
A <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> represents a callback supplied by the programmer. It
|
245
|
-
will generally comprise a function of some kind and a marshaller
|
246
|
-
used to call it. It is the reponsibility of the marshaller to
|
247
|
-
convert the arguments for the invocation from <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s into
|
248
|
-
a suitable form, perform the callback on the converted arguments,
|
249
|
-
and transform the return value back into a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>.
|
250
|
-
</p>
|
251
|
-
<p>
|
252
|
-
In the case of C programs, a closure usually just holds a pointer
|
253
|
-
to a function and maybe a data argument, and the marshaller
|
254
|
-
converts between <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> and native C types. The GObject
|
255
|
-
library provides the <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> type for this purpose. Bindings for
|
256
|
-
other languages need marshallers which convert between <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s and suitable representations in the runtime of the language in
|
257
|
-
order to use functions written in that languages as callbacks.
|
258
|
-
</p>
|
259
|
-
<p>
|
260
|
-
Within GObject, closures play an important role in the
|
261
|
-
implementation of signals. When a signal is registered, the
|
262
|
-
<em class="parameter"><code>c_marshaller</code></em> argument to <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> specifies the default C
|
263
|
-
marshaller for any closure which is connected to this
|
264
|
-
signal. GObject provides a number of C marshallers for this
|
265
|
-
purpose, see the g_cclosure_marshal_*() functions. Additional C
|
266
|
-
marshallers can be generated with the <a href="glib-genmarshal.html">glib-genmarshal</a> utility. Closures
|
267
|
-
can be explicitly connected to signals with
|
268
|
-
<a class="link" href="gobject-Signals.html#g-signal-connect-closure" title="g_signal_connect_closure ()"><code class="function">g_signal_connect_closure()</code></a>, but it usually more convenient to let
|
269
|
-
GObject create a closure automatically by using one of the
|
270
|
-
g_signal_connect_*() functions which take a callback function/user
|
271
|
-
data pair.
|
272
|
-
</p>
|
273
|
-
<p>
|
274
|
-
Using closures has a number of important advantages over a simple
|
275
|
-
callback function/data pointer combination:
|
276
|
-
</p>
|
277
|
-
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
278
|
-
<li class="listitem"><p>
|
279
|
-
Closures allow the callee to get the types of the callback parameters,
|
280
|
-
which means that language bindings don't have to write individual glue
|
281
|
-
for each callback type.
|
282
|
-
</p></li>
|
283
|
-
<li class="listitem"><p>
|
284
|
-
The reference counting of <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> makes it easy to handle reentrancy
|
285
|
-
right; if a callback is removed while it is being invoked, the closure
|
286
|
-
and its parameters won't be freed until the invocation finishes.
|
287
|
-
</p></li>
|
288
|
-
<li class="listitem"><p>
|
289
|
-
<a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a> and invalidation notifiers allow callbacks to be
|
290
|
-
automatically removed when the objects they point to go away.
|
291
|
-
</p></li>
|
292
|
-
</ul></div>
|
293
|
-
<p>
|
294
|
-
</p>
|
295
|
-
</div>
|
296
|
-
<div class="refsect1">
|
297
|
-
<a name="gobject-Closures.details"></a><h2>Details</h2>
|
298
|
-
<div class="refsect2">
|
299
|
-
<a name="G-CLOSURE-NEEDS-MARSHAL:CAPS"></a><h3>G_CLOSURE_NEEDS_MARSHAL()</h3>
|
300
|
-
<pre class="programlisting">#define G_CLOSURE_NEEDS_MARSHAL(closure) (((GClosure*) (closure))->marshal == NULL)
|
301
|
-
</pre>
|
302
|
-
<p>
|
303
|
-
Check if the closure still needs a marshaller. See <a class="link" href="gobject-Closures.html#g-closure-set-marshal" title="g_closure_set_marshal ()"><code class="function">g_closure_set_marshal()</code></a>.
|
304
|
-
</p>
|
305
|
-
<div class="variablelist"><table border="0">
|
306
|
-
<col align="left" valign="top">
|
307
|
-
<tbody>
|
308
|
-
<tr>
|
309
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
310
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
311
|
-
</td>
|
312
|
-
</tr>
|
313
|
-
<tr>
|
314
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
315
|
-
<td> <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a <a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> marshaller has not yet been set on
|
316
|
-
<em class="parameter"><code>closure</code></em>.
|
317
|
-
</td>
|
318
|
-
</tr>
|
319
|
-
</tbody>
|
320
|
-
</table></div>
|
321
|
-
</div>
|
322
|
-
<hr>
|
323
|
-
<div class="refsect2">
|
324
|
-
<a name="G-CLOSURE-N-NOTIFIERS:CAPS"></a><h3>G_CLOSURE_N_NOTIFIERS()</h3>
|
325
|
-
<pre class="programlisting">#define G_CLOSURE_N_NOTIFIERS(cl)</pre>
|
326
|
-
<p>
|
327
|
-
Get the total number of notifiers connected with the closure <em class="parameter"><code>cl</code></em>.
|
328
|
-
The count includes the meta marshaller, the finalize and invalidate notifiers
|
329
|
-
and the marshal guards. Note that each guard counts as two notifiers.
|
330
|
-
See <a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()"><code class="function">g_closure_set_meta_marshal()</code></a>, <a class="link" href="gobject-Closures.html#g-closure-add-finalize-notifier" title="g_closure_add_finalize_notifier ()"><code class="function">g_closure_add_finalize_notifier()</code></a>,
|
331
|
-
<a class="link" href="gobject-Closures.html#g-closure-add-invalidate-notifier" title="g_closure_add_invalidate_notifier ()"><code class="function">g_closure_add_invalidate_notifier()</code></a> and <a class="link" href="gobject-Closures.html#g-closure-add-marshal-guards" title="g_closure_add_marshal_guards ()"><code class="function">g_closure_add_marshal_guards()</code></a>.
|
332
|
-
</p>
|
333
|
-
<div class="variablelist"><table border="0">
|
334
|
-
<col align="left" valign="top">
|
335
|
-
<tbody>
|
336
|
-
<tr>
|
337
|
-
<td><p><span class="term"><em class="parameter"><code>cl</code></em> :</span></p></td>
|
338
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
339
|
-
</td>
|
340
|
-
</tr>
|
341
|
-
<tr>
|
342
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
343
|
-
<td> number of notifiers
|
344
|
-
</td>
|
345
|
-
</tr>
|
346
|
-
</tbody>
|
347
|
-
</table></div>
|
348
|
-
</div>
|
349
|
-
<hr>
|
350
|
-
<div class="refsect2">
|
351
|
-
<a name="G-CCLOSURE-SWAP-DATA:CAPS"></a><h3>G_CCLOSURE_SWAP_DATA()</h3>
|
352
|
-
<pre class="programlisting">#define G_CCLOSURE_SWAP_DATA(cclosure) (((GClosure*) (cclosure))->derivative_flag)
|
353
|
-
</pre>
|
354
|
-
<p>
|
355
|
-
Checks whether the user data of the <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> should be passed as the
|
356
|
-
first parameter to the callback. See <a class="link" href="gobject-Closures.html#g-cclosure-new-swap" title="g_cclosure_new_swap ()"><code class="function">g_cclosure_new_swap()</code></a>.
|
357
|
-
</p>
|
358
|
-
<div class="variablelist"><table border="0">
|
359
|
-
<col align="left" valign="top">
|
360
|
-
<tbody>
|
361
|
-
<tr>
|
362
|
-
<td><p><span class="term"><em class="parameter"><code>cclosure</code></em> :</span></p></td>
|
363
|
-
<td>a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a>
|
364
|
-
</td>
|
365
|
-
</tr>
|
366
|
-
<tr>
|
367
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
368
|
-
<td> <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if data has to be swapped.
|
369
|
-
</td>
|
370
|
-
</tr>
|
371
|
-
</tbody>
|
372
|
-
</table></div>
|
373
|
-
</div>
|
374
|
-
<hr>
|
375
|
-
<div class="refsect2">
|
376
|
-
<a name="G-CALLBACK:CAPS"></a><h3>G_CALLBACK()</h3>
|
377
|
-
<pre class="programlisting">#define G_CALLBACK(f) ((GCallback) (f))
|
378
|
-
</pre>
|
379
|
-
<p>
|
380
|
-
Cast a function pointer to a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a>.
|
381
|
-
</p>
|
382
|
-
<div class="variablelist"><table border="0">
|
383
|
-
<col align="left" valign="top">
|
384
|
-
<tbody><tr>
|
385
|
-
<td><p><span class="term"><em class="parameter"><code>f</code></em> :</span></p></td>
|
386
|
-
<td>a function pointer.
|
387
|
-
</td>
|
388
|
-
</tr></tbody>
|
389
|
-
</table></div>
|
390
|
-
</div>
|
391
|
-
<hr>
|
392
|
-
<div class="refsect2">
|
393
|
-
<a name="GCallback"></a><h3>GCallback ()</h3>
|
394
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GCallback) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
395
|
-
<p>
|
396
|
-
The type used for callback functions in structure definitions and function
|
397
|
-
signatures. This doesn't mean that all callback functions must take no
|
398
|
-
parameters and return void. The required signature of a callback function
|
399
|
-
is determined by the context in which is used (e.g. the signal to which it
|
400
|
-
is connected). Use <a class="link" href="gobject-Closures.html#G-CALLBACK:CAPS" title="G_CALLBACK()"><code class="function">G_CALLBACK()</code></a> to cast the callback function to a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a>.
|
401
|
-
</p>
|
402
|
-
</div>
|
403
|
-
<hr>
|
404
|
-
<div class="refsect2">
|
405
|
-
<a name="GClosure"></a><h3>GClosure</h3>
|
406
|
-
<pre class="programlisting">typedef struct {
|
407
|
-
volatile guint in_marshal : 1;
|
408
|
-
volatile guint is_invalid : 1;
|
409
|
-
} GClosure;
|
410
|
-
</pre>
|
411
|
-
<p>
|
412
|
-
A <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> represents a callback supplied by the programmer.
|
413
|
-
</p>
|
414
|
-
<div class="variablelist"><table border="0">
|
415
|
-
<col align="left" valign="top">
|
416
|
-
<tbody>
|
417
|
-
<tr>
|
418
|
-
<td><p><span class="term">volatile <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GClosure.in-marshal"></a>in_marshal</code></em> : 1;</span></p></td>
|
419
|
-
<td>Indicates whether the closure is currently being invoked with
|
420
|
-
<a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
421
|
-
</td>
|
422
|
-
</tr>
|
423
|
-
<tr>
|
424
|
-
<td><p><span class="term">volatile <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GClosure.is-invalid"></a>is_invalid</code></em> : 1;</span></p></td>
|
425
|
-
<td>Indicates whether the closure has been invalidated by
|
426
|
-
<a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a>
|
427
|
-
</td>
|
428
|
-
</tr>
|
429
|
-
</tbody>
|
430
|
-
</table></div>
|
431
|
-
</div>
|
432
|
-
<hr>
|
433
|
-
<div class="refsect2">
|
434
|
-
<a name="G-TYPE-CLOSURE:CAPS"></a><h3>G_TYPE_CLOSURE</h3>
|
435
|
-
<pre class="programlisting">#define G_TYPE_CLOSURE (g_closure_get_type ())
|
436
|
-
</pre>
|
437
|
-
<p>
|
438
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>.
|
439
|
-
</p>
|
440
|
-
</div>
|
441
|
-
<hr>
|
442
|
-
<div class="refsect2">
|
443
|
-
<a name="GCClosure"></a><h3>GCClosure</h3>
|
444
|
-
<pre class="programlisting">typedef struct {
|
445
|
-
GClosure closure;
|
446
|
-
gpointer callback;
|
447
|
-
} GCClosure;
|
448
|
-
</pre>
|
449
|
-
<p>
|
450
|
-
A <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> is a specialization of <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> for C function callbacks.
|
451
|
-
</p>
|
452
|
-
<div class="variablelist"><table border="0">
|
453
|
-
<col align="left" valign="top">
|
454
|
-
<tbody>
|
455
|
-
<tr>
|
456
|
-
<td><p><span class="term"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> <em class="structfield"><code><a name="GCClosure.closure"></a>closure</code></em>;</span></p></td>
|
457
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
458
|
-
</td>
|
459
|
-
</tr>
|
460
|
-
<tr>
|
461
|
-
<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GCClosure.callback"></a>callback</code></em>;</span></p></td>
|
462
|
-
<td>the callback function
|
463
|
-
</td>
|
464
|
-
</tr>
|
465
|
-
</tbody>
|
466
|
-
</table></div>
|
467
|
-
</div>
|
468
|
-
<hr>
|
469
|
-
<div class="refsect2">
|
470
|
-
<a name="GClosureMarshal"></a><h3>GClosureMarshal ()</h3>
|
471
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GClosureMarshal) (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
472
|
-
<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>,
|
473
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
474
|
-
<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>,
|
475
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
476
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
477
|
-
<p>
|
478
|
-
The type used for marshaller functions.
|
479
|
-
</p>
|
480
|
-
<div class="variablelist"><table border="0">
|
481
|
-
<col align="left" valign="top">
|
482
|
-
<tbody>
|
483
|
-
<tr>
|
484
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
485
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
486
|
-
</td>
|
487
|
-
</tr>
|
488
|
-
<tr>
|
489
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
490
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to store the return value. May be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
|
491
|
-
callback of <em class="parameter"><code>closure</code></em> doesn't return a value.
|
492
|
-
</td>
|
493
|
-
</tr>
|
494
|
-
<tr>
|
495
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
496
|
-
<td>the length of the <em class="parameter"><code>param_values</code></em> array
|
497
|
-
</td>
|
498
|
-
</tr>
|
499
|
-
<tr>
|
500
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
501
|
-
<td>an array of <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s holding the arguments on
|
502
|
-
which to invoke the callback of <em class="parameter"><code>closure</code></em>
|
503
|
-
</td>
|
504
|
-
</tr>
|
505
|
-
<tr>
|
506
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
507
|
-
<td>the invocation hint given as the last argument
|
508
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
509
|
-
</td>
|
510
|
-
</tr>
|
511
|
-
<tr>
|
512
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
513
|
-
<td>additional data specified when registering the marshaller,
|
514
|
-
see <a class="link" href="gobject-Closures.html#g-closure-set-marshal" title="g_closure_set_marshal ()"><code class="function">g_closure_set_marshal()</code></a> and <a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()"><code class="function">g_closure_set_meta_marshal()</code></a>
|
515
|
-
</td>
|
516
|
-
</tr>
|
517
|
-
</tbody>
|
518
|
-
</table></div>
|
519
|
-
</div>
|
520
|
-
<hr>
|
521
|
-
<div class="refsect2">
|
522
|
-
<a name="GClosureNotify"></a><h3>GClosureNotify ()</h3>
|
523
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GClosureNotify) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
524
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
525
|
-
<p>
|
526
|
-
The type used for the various notification callbacks which can be registered
|
527
|
-
on closures.
|
528
|
-
</p>
|
529
|
-
<div class="variablelist"><table border="0">
|
530
|
-
<col align="left" valign="top">
|
531
|
-
<tbody>
|
532
|
-
<tr>
|
533
|
-
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
534
|
-
<td>data specified when registering the notification callback
|
535
|
-
</td>
|
536
|
-
</tr>
|
537
|
-
<tr>
|
538
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
539
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> on which the notification is emitted
|
540
|
-
</td>
|
541
|
-
</tr>
|
542
|
-
</tbody>
|
543
|
-
</table></div>
|
544
|
-
</div>
|
545
|
-
<hr>
|
546
|
-
<div class="refsect2">
|
547
|
-
<a name="g-cclosure-new"></a><h3>g_cclosure_new ()</h3>
|
548
|
-
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * g_cclosure_new (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
549
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
550
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>);</pre>
|
551
|
-
<p>
|
552
|
-
Creates a new closure which invokes <em class="parameter"><code>callback_func</code></em> with <em class="parameter"><code>user_data</code></em> as
|
553
|
-
the last parameter.
|
554
|
-
</p>
|
555
|
-
<div class="variablelist"><table border="0">
|
556
|
-
<col align="left" valign="top">
|
557
|
-
<tbody>
|
558
|
-
<tr>
|
559
|
-
<td><p><span class="term"><em class="parameter"><code>callback_func</code></em> :</span></p></td>
|
560
|
-
<td>the function to invoke
|
561
|
-
</td>
|
562
|
-
</tr>
|
563
|
-
<tr>
|
564
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
565
|
-
<td>user data to pass to <em class="parameter"><code>callback_func</code></em>
|
566
|
-
</td>
|
567
|
-
</tr>
|
568
|
-
<tr>
|
569
|
-
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
|
570
|
-
<td>destroy notify to be called when <em class="parameter"><code>user_data</code></em> is no longer used
|
571
|
-
</td>
|
572
|
-
</tr>
|
573
|
-
<tr>
|
574
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
575
|
-
<td> a new <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a>
|
576
|
-
</td>
|
577
|
-
</tr>
|
578
|
-
</tbody>
|
579
|
-
</table></div>
|
580
|
-
</div>
|
581
|
-
<hr>
|
582
|
-
<div class="refsect2">
|
583
|
-
<a name="g-cclosure-new-swap"></a><h3>g_cclosure_new_swap ()</h3>
|
584
|
-
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * g_cclosure_new_swap (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
585
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
586
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>);</pre>
|
587
|
-
<p>
|
588
|
-
Creates a new closure which invokes <em class="parameter"><code>callback_func</code></em> with <em class="parameter"><code>user_data</code></em> as
|
589
|
-
the first parameter.
|
590
|
-
</p>
|
591
|
-
<div class="variablelist"><table border="0">
|
592
|
-
<col align="left" valign="top">
|
593
|
-
<tbody>
|
594
|
-
<tr>
|
595
|
-
<td><p><span class="term"><em class="parameter"><code>callback_func</code></em> :</span></p></td>
|
596
|
-
<td>the function to invoke
|
597
|
-
</td>
|
598
|
-
</tr>
|
599
|
-
<tr>
|
600
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
601
|
-
<td>user data to pass to <em class="parameter"><code>callback_func</code></em>
|
602
|
-
</td>
|
603
|
-
</tr>
|
604
|
-
<tr>
|
605
|
-
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
|
606
|
-
<td>destroy notify to be called when <em class="parameter"><code>user_data</code></em> is no longer used
|
607
|
-
</td>
|
608
|
-
</tr>
|
609
|
-
<tr>
|
610
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
611
|
-
<td> a new <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a>
|
612
|
-
</td>
|
613
|
-
</tr>
|
614
|
-
</tbody>
|
615
|
-
</table></div>
|
616
|
-
</div>
|
617
|
-
<hr>
|
618
|
-
<div class="refsect2">
|
619
|
-
<a name="g-cclosure-new-object"></a><h3>g_cclosure_new_object ()</h3>
|
620
|
-
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * g_cclosure_new_object (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
621
|
-
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre>
|
622
|
-
<p>
|
623
|
-
A variant of <a class="link" href="gobject-Closures.html#g-cclosure-new" title="g_cclosure_new ()"><code class="function">g_cclosure_new()</code></a> which uses <em class="parameter"><code>object</code></em> as <em class="parameter"><code>user_data</code></em> and
|
624
|
-
calls <a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()"><code class="function">g_object_watch_closure()</code></a> on <em class="parameter"><code>object</code></em> and the created
|
625
|
-
closure. This function is useful when you have a callback closely
|
626
|
-
associated with a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>, and want the callback to no longer run
|
627
|
-
after the object is is freed.
|
628
|
-
</p>
|
629
|
-
<div class="variablelist"><table border="0">
|
630
|
-
<col align="left" valign="top">
|
631
|
-
<tbody>
|
632
|
-
<tr>
|
633
|
-
<td><p><span class="term"><em class="parameter"><code>callback_func</code></em> :</span></p></td>
|
634
|
-
<td>the function to invoke
|
635
|
-
</td>
|
636
|
-
</tr>
|
637
|
-
<tr>
|
638
|
-
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
639
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> pointer to pass to <em class="parameter"><code>callback_func</code></em>
|
640
|
-
</td>
|
641
|
-
</tr>
|
642
|
-
<tr>
|
643
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
644
|
-
<td> a new <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a>
|
645
|
-
</td>
|
646
|
-
</tr>
|
647
|
-
</tbody>
|
648
|
-
</table></div>
|
649
|
-
</div>
|
650
|
-
<hr>
|
651
|
-
<div class="refsect2">
|
652
|
-
<a name="g-cclosure-new-object-swap"></a><h3>g_cclosure_new_object_swap ()</h3>
|
653
|
-
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * g_cclosure_new_object_swap (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>,
|
654
|
-
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre>
|
655
|
-
<p>
|
656
|
-
A variant of <a class="link" href="gobject-Closures.html#g-cclosure-new-swap" title="g_cclosure_new_swap ()"><code class="function">g_cclosure_new_swap()</code></a> which uses <em class="parameter"><code>object</code></em> as <em class="parameter"><code>user_data</code></em>
|
657
|
-
and calls <a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()"><code class="function">g_object_watch_closure()</code></a> on <em class="parameter"><code>object</code></em> and the created
|
658
|
-
closure. This function is useful when you have a callback closely
|
659
|
-
associated with a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>, and want the callback to no longer run
|
660
|
-
after the object is is freed.
|
661
|
-
</p>
|
662
|
-
<div class="variablelist"><table border="0">
|
663
|
-
<col align="left" valign="top">
|
664
|
-
<tbody>
|
665
|
-
<tr>
|
666
|
-
<td><p><span class="term"><em class="parameter"><code>callback_func</code></em> :</span></p></td>
|
667
|
-
<td>the function to invoke
|
668
|
-
</td>
|
669
|
-
</tr>
|
670
|
-
<tr>
|
671
|
-
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
672
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> pointer to pass to <em class="parameter"><code>callback_func</code></em>
|
673
|
-
</td>
|
674
|
-
</tr>
|
675
|
-
<tr>
|
676
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
677
|
-
<td> a new <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a>
|
678
|
-
</td>
|
679
|
-
</tr>
|
680
|
-
</tbody>
|
681
|
-
</table></div>
|
682
|
-
</div>
|
683
|
-
<hr>
|
684
|
-
<div class="refsect2">
|
685
|
-
<a name="g-closure-new-object"></a><h3>g_closure_new_object ()</h3>
|
686
|
-
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * g_closure_new_object (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> sizeof_closure</code></em>,
|
687
|
-
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre>
|
688
|
-
<p>
|
689
|
-
A variant of <a class="link" href="gobject-Closures.html#g-closure-new-simple" title="g_closure_new_simple ()"><code class="function">g_closure_new_simple()</code></a> which stores <em class="parameter"><code>object</code></em> in the
|
690
|
-
<em class="parameter"><code>data</code></em> field of the closure and calls <a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()"><code class="function">g_object_watch_closure()</code></a> on
|
691
|
-
<em class="parameter"><code>object</code></em> and the created closure. This function is mainly useful
|
692
|
-
when implementing new types of closures.
|
693
|
-
</p>
|
694
|
-
<div class="variablelist"><table border="0">
|
695
|
-
<col align="left" valign="top">
|
696
|
-
<tbody>
|
697
|
-
<tr>
|
698
|
-
<td><p><span class="term"><em class="parameter"><code>sizeof_closure</code></em> :</span></p></td>
|
699
|
-
<td>the size of the structure to allocate, must be at least
|
700
|
-
<code class="literal">sizeof (GClosure)</code>
|
701
|
-
</td>
|
702
|
-
</tr>
|
703
|
-
<tr>
|
704
|
-
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
705
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> pointer to store in the <em class="parameter"><code>data</code></em> field of the newly
|
706
|
-
allocated <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
707
|
-
</td>
|
708
|
-
</tr>
|
709
|
-
<tr>
|
710
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
711
|
-
<td> a newly allocated <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
712
|
-
</td>
|
713
|
-
</tr>
|
714
|
-
</tbody>
|
715
|
-
</table></div>
|
716
|
-
</div>
|
717
|
-
<hr>
|
718
|
-
<div class="refsect2">
|
719
|
-
<a name="g-closure-ref"></a><h3>g_closure_ref ()</h3>
|
720
|
-
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * g_closure_ref (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
721
|
-
<p>
|
722
|
-
Increments the reference count on a closure to force it staying
|
723
|
-
alive while the caller holds a pointer to it.
|
724
|
-
</p>
|
725
|
-
<div class="variablelist"><table border="0">
|
726
|
-
<col align="left" valign="top">
|
727
|
-
<tbody>
|
728
|
-
<tr>
|
729
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
730
|
-
<td>
|
731
|
-
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to increment the reference count on
|
732
|
-
</td>
|
733
|
-
</tr>
|
734
|
-
<tr>
|
735
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
736
|
-
<td> The <em class="parameter"><code>closure</code></em> passed in, for convenience
|
737
|
-
</td>
|
738
|
-
</tr>
|
739
|
-
</tbody>
|
740
|
-
</table></div>
|
741
|
-
</div>
|
742
|
-
<hr>
|
743
|
-
<div class="refsect2">
|
744
|
-
<a name="g-closure-sink"></a><h3>g_closure_sink ()</h3>
|
745
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_sink (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
746
|
-
<p>
|
747
|
-
Takes over the initial ownership of a closure. Each closure is
|
748
|
-
initially created in a <em class="firstterm">floating</em> state, which
|
749
|
-
means that the initial reference count is not owned by any caller.
|
750
|
-
<a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()"><code class="function">g_closure_sink()</code></a> checks to see if the object is still floating, and
|
751
|
-
if so, unsets the floating state and decreases the reference
|
752
|
-
count. If the closure is not floating, <a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()"><code class="function">g_closure_sink()</code></a> does
|
753
|
-
nothing. The reason for the existance of the floating state is to
|
754
|
-
prevent cumbersome code sequences like:
|
755
|
-
</p>
|
756
|
-
<div class="informalexample">
|
757
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
758
|
-
<tbody>
|
759
|
-
<tr>
|
760
|
-
<td class="listing_lines" align="right"><pre>1
|
761
|
-
2
|
762
|
-
3</pre></td>
|
763
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal">closure </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-cclosure-new">g_cclosure_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cb_func</span><span class="symbol">,</span><span class="normal"> cb_data</span><span class="symbol">);</span>
|
764
|
-
<span class="function"><a href="gobject-Closures.html#g-source-set-closure">g_source_set_closure</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">source</span><span class="symbol">,</span><span class="normal"> closure</span><span class="symbol">);</span>
|
765
|
-
<span class="function"><a href="gobject-Closures.html#g-closure-unref">g_closure_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">closure</span><span class="symbol">);</span><span class="normal"> </span><span class="comment">// XXX GObject doesn't really need this</span></pre></td>
|
766
|
-
</tr>
|
767
|
-
</tbody>
|
768
|
-
</table>
|
769
|
-
</div>
|
770
|
-
|
771
|
-
<p>
|
772
|
-
Because <a class="link" href="gobject-Closures.html#g-source-set-closure" title="g_source_set_closure ()"><code class="function">g_source_set_closure()</code></a> (and similar functions) take ownership of the
|
773
|
-
initial reference count, if it is unowned, we instead can write:
|
774
|
-
</p>
|
775
|
-
<div class="informalexample">
|
776
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
777
|
-
<tbody>
|
778
|
-
<tr>
|
779
|
-
<td class="listing_lines" align="right"><pre>1</pre></td>
|
780
|
-
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="gobject-Closures.html#g-source-set-closure">g_source_set_closure</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">source</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-cclosure-new">g_cclosure_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cb_func</span><span class="symbol">,</span><span class="normal"> cb_data</span><span class="symbol">));</span></pre></td>
|
781
|
-
</tr>
|
782
|
-
</tbody>
|
783
|
-
</table>
|
784
|
-
</div>
|
785
|
-
|
786
|
-
<p>
|
787
|
-
</p>
|
788
|
-
<p>
|
789
|
-
Generally, this function is used together with <a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()"><code class="function">g_closure_ref()</code></a>. Ane example
|
790
|
-
of storing a closure for later notification looks like:
|
791
|
-
</p>
|
792
|
-
<div class="informalexample">
|
793
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
794
|
-
<tbody>
|
795
|
-
<tr>
|
796
|
-
<td class="listing_lines" align="right"><pre>1
|
797
|
-
2
|
798
|
-
3
|
799
|
-
4
|
800
|
-
5
|
801
|
-
6
|
802
|
-
7
|
803
|
-
8
|
804
|
-
9
|
805
|
-
10
|
806
|
-
11
|
807
|
-
12
|
808
|
-
13</pre></td>
|
809
|
-
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="usertype">GClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">notify_closure </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>
|
810
|
-
<span class="type">void</span>
|
811
|
-
<span class="function">foo_notify_set_closure</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">closure</span><span class="symbol">)</span>
|
812
|
-
<span class="cbracket">{</span>
|
813
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">notify_closure</span><span class="symbol">)</span>
|
814
|
-
<span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-closure-unref">g_closure_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">notify_closure</span><span class="symbol">);</span>
|
815
|
-
<span class="normal"> notify_closure </span><span class="symbol">=</span><span class="normal"> closure</span><span class="symbol">;</span>
|
816
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">notify_closure</span><span class="symbol">)</span>
|
817
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
818
|
-
<span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-closure-ref">g_closure_ref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">notify_closure</span><span class="symbol">);</span>
|
819
|
-
<span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-closure-sink">g_closure_sink</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">notify_closure</span><span class="symbol">);</span>
|
820
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
821
|
-
<span class="cbracket">}</span></pre></td>
|
822
|
-
</tr>
|
823
|
-
</tbody>
|
824
|
-
</table>
|
825
|
-
</div>
|
826
|
-
|
827
|
-
<p>
|
828
|
-
</p>
|
829
|
-
<p>
|
830
|
-
Because <a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()"><code class="function">g_closure_sink()</code></a> may decrement the reference count of a closure
|
831
|
-
(if it hasn't been called on <em class="parameter"><code>closure</code></em> yet) just like <a class="link" href="gobject-Closures.html#g-closure-unref" title="g_closure_unref ()"><code class="function">g_closure_unref()</code></a>,
|
832
|
-
<a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()"><code class="function">g_closure_ref()</code></a> should be called prior to this function.
|
833
|
-
</p>
|
834
|
-
<div class="variablelist"><table border="0">
|
835
|
-
<col align="left" valign="top">
|
836
|
-
<tbody><tr>
|
837
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
838
|
-
<td>
|
839
|
-
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to decrement the initial reference count on, if it's
|
840
|
-
still being held
|
841
|
-
</td>
|
842
|
-
</tr></tbody>
|
843
|
-
</table></div>
|
844
|
-
</div>
|
845
|
-
<hr>
|
846
|
-
<div class="refsect2">
|
847
|
-
<a name="g-closure-unref"></a><h3>g_closure_unref ()</h3>
|
848
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_unref (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
849
|
-
<p>
|
850
|
-
Decrements the reference count of a closure after it was previously
|
851
|
-
incremented by the same caller. If no other callers are using the
|
852
|
-
closure, then the closure will be destroyed and freed.
|
853
|
-
</p>
|
854
|
-
<div class="variablelist"><table border="0">
|
855
|
-
<col align="left" valign="top">
|
856
|
-
<tbody><tr>
|
857
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
858
|
-
<td>
|
859
|
-
<a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to decrement the reference count on
|
860
|
-
</td>
|
861
|
-
</tr></tbody>
|
862
|
-
</table></div>
|
863
|
-
</div>
|
864
|
-
<hr>
|
865
|
-
<div class="refsect2">
|
866
|
-
<a name="g-closure-invoke"></a><h3>g_closure_invoke ()</h3>
|
867
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_invoke (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
868
|
-
<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>,
|
869
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
870
|
-
<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>,
|
871
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>);</pre>
|
872
|
-
<p>
|
873
|
-
Invokes the closure, i.e. executes the callback represented by the <em class="parameter"><code>closure</code></em>.
|
874
|
-
</p>
|
875
|
-
<div class="variablelist"><table border="0">
|
876
|
-
<col align="left" valign="top">
|
877
|
-
<tbody>
|
878
|
-
<tr>
|
879
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
880
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
881
|
-
</td>
|
882
|
-
</tr>
|
883
|
-
<tr>
|
884
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
885
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to store the return value. May be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
|
886
|
-
callback of <em class="parameter"><code>closure</code></em> doesn't return a value.
|
887
|
-
</td>
|
888
|
-
</tr>
|
889
|
-
<tr>
|
890
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
891
|
-
<td>the length of the <em class="parameter"><code>param_values</code></em> array
|
892
|
-
</td>
|
893
|
-
</tr>
|
894
|
-
<tr>
|
895
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
896
|
-
<td>an array of <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s holding the arguments on
|
897
|
-
which to invoke the callback of <em class="parameter"><code>closure</code></em>
|
898
|
-
</td>
|
899
|
-
</tr>
|
900
|
-
<tr>
|
901
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
902
|
-
<td>a context-dependent invocation hint
|
903
|
-
</td>
|
904
|
-
</tr>
|
905
|
-
</tbody>
|
906
|
-
</table></div>
|
907
|
-
</div>
|
908
|
-
<hr>
|
909
|
-
<div class="refsect2">
|
910
|
-
<a name="g-closure-invalidate"></a><h3>g_closure_invalidate ()</h3>
|
911
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_invalidate (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
912
|
-
<p>
|
913
|
-
Sets a flag on the closure to indicate that its calling
|
914
|
-
environment has become invalid, and thus causes any future
|
915
|
-
invocations of <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> on this <em class="parameter"><code>closure</code></em> to be
|
916
|
-
ignored. Also, invalidation notifiers installed on the closure will
|
917
|
-
be called at this point. Note that unless you are holding a
|
918
|
-
reference to the closure yourself, the invalidation notifiers may
|
919
|
-
unref the closure and cause it to be destroyed, so if you need to
|
920
|
-
access the closure after calling <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a>, make sure
|
921
|
-
that you've previously called <a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()"><code class="function">g_closure_ref()</code></a>.
|
922
|
-
</p>
|
923
|
-
<p>
|
924
|
-
Note that <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a> will also be called when the
|
925
|
-
reference count of a closure drops to zero (unless it has already
|
926
|
-
been invalidated before).
|
927
|
-
</p>
|
928
|
-
<div class="variablelist"><table border="0">
|
929
|
-
<col align="left" valign="top">
|
930
|
-
<tbody><tr>
|
931
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
932
|
-
<td>GClosure to invalidate
|
933
|
-
</td>
|
934
|
-
</tr></tbody>
|
935
|
-
</table></div>
|
936
|
-
</div>
|
937
|
-
<hr>
|
938
|
-
<div class="refsect2">
|
939
|
-
<a name="g-closure-add-finalize-notifier"></a><h3>g_closure_add_finalize_notifier ()</h3>
|
940
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_add_finalize_notifier (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
941
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
942
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);</pre>
|
943
|
-
<p>
|
944
|
-
Registers a finalization notifier which will be called when the
|
945
|
-
reference count of <em class="parameter"><code>closure</code></em> goes down to 0. Multiple finalization
|
946
|
-
notifiers on a single closure are invoked in unspecified order. If
|
947
|
-
a single call to <a class="link" href="gobject-Closures.html#g-closure-unref" title="g_closure_unref ()"><code class="function">g_closure_unref()</code></a> results in the closure being
|
948
|
-
both invalidated and finalized, then the invalidate notifiers will
|
949
|
-
be run before the finalize notifiers.
|
950
|
-
</p>
|
951
|
-
<div class="variablelist"><table border="0">
|
952
|
-
<col align="left" valign="top">
|
953
|
-
<tbody>
|
954
|
-
<tr>
|
955
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
956
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
957
|
-
</td>
|
958
|
-
</tr>
|
959
|
-
<tr>
|
960
|
-
<td><p><span class="term"><em class="parameter"><code>notify_data</code></em> :</span></p></td>
|
961
|
-
<td>data to pass to <em class="parameter"><code>notify_func</code></em>
|
962
|
-
</td>
|
963
|
-
</tr>
|
964
|
-
<tr>
|
965
|
-
<td><p><span class="term"><em class="parameter"><code>notify_func</code></em> :</span></p></td>
|
966
|
-
<td>the callback function to register
|
967
|
-
</td>
|
968
|
-
</tr>
|
969
|
-
</tbody>
|
970
|
-
</table></div>
|
971
|
-
</div>
|
972
|
-
<hr>
|
973
|
-
<div class="refsect2">
|
974
|
-
<a name="g-closure-add-invalidate-notifier"></a><h3>g_closure_add_invalidate_notifier ()</h3>
|
975
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_add_invalidate_notifier (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
976
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
977
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);</pre>
|
978
|
-
<p>
|
979
|
-
Registers an invalidation notifier which will be called when the
|
980
|
-
<em class="parameter"><code>closure</code></em> is invalidated with <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a>. Invalidation
|
981
|
-
notifiers are invoked before finalization notifiers, in an
|
982
|
-
unspecified order.
|
983
|
-
</p>
|
984
|
-
<div class="variablelist"><table border="0">
|
985
|
-
<col align="left" valign="top">
|
986
|
-
<tbody>
|
987
|
-
<tr>
|
988
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
989
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
990
|
-
</td>
|
991
|
-
</tr>
|
992
|
-
<tr>
|
993
|
-
<td><p><span class="term"><em class="parameter"><code>notify_data</code></em> :</span></p></td>
|
994
|
-
<td>data to pass to <em class="parameter"><code>notify_func</code></em>
|
995
|
-
</td>
|
996
|
-
</tr>
|
997
|
-
<tr>
|
998
|
-
<td><p><span class="term"><em class="parameter"><code>notify_func</code></em> :</span></p></td>
|
999
|
-
<td>the callback function to register
|
1000
|
-
</td>
|
1001
|
-
</tr>
|
1002
|
-
</tbody>
|
1003
|
-
</table></div>
|
1004
|
-
</div>
|
1005
|
-
<hr>
|
1006
|
-
<div class="refsect2">
|
1007
|
-
<a name="g-closure-remove-finalize-notifier"></a><h3>g_closure_remove_finalize_notifier ()</h3>
|
1008
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_remove_finalize_notifier (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1009
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
1010
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);</pre>
|
1011
|
-
<p>
|
1012
|
-
Removes a finalization notifier.
|
1013
|
-
</p>
|
1014
|
-
<p>
|
1015
|
-
Notice that notifiers are automatically removed after they are run.
|
1016
|
-
</p>
|
1017
|
-
<div class="variablelist"><table border="0">
|
1018
|
-
<col align="left" valign="top">
|
1019
|
-
<tbody>
|
1020
|
-
<tr>
|
1021
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1022
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1023
|
-
</td>
|
1024
|
-
</tr>
|
1025
|
-
<tr>
|
1026
|
-
<td><p><span class="term"><em class="parameter"><code>notify_data</code></em> :</span></p></td>
|
1027
|
-
<td>data which was passed to <a class="link" href="gobject-Closures.html#g-closure-add-finalize-notifier" title="g_closure_add_finalize_notifier ()"><code class="function">g_closure_add_finalize_notifier()</code></a>
|
1028
|
-
when registering <em class="parameter"><code>notify_func</code></em>
|
1029
|
-
</td>
|
1030
|
-
</tr>
|
1031
|
-
<tr>
|
1032
|
-
<td><p><span class="term"><em class="parameter"><code>notify_func</code></em> :</span></p></td>
|
1033
|
-
<td>the callback function to remove
|
1034
|
-
</td>
|
1035
|
-
</tr>
|
1036
|
-
</tbody>
|
1037
|
-
</table></div>
|
1038
|
-
</div>
|
1039
|
-
<hr>
|
1040
|
-
<div class="refsect2">
|
1041
|
-
<a name="g-closure-remove-invalidate-notifier"></a><h3>g_closure_remove_invalidate_notifier ()</h3>
|
1042
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_remove_invalidate_notifier
|
1043
|
-
(<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1044
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>,
|
1045
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);</pre>
|
1046
|
-
<p>
|
1047
|
-
Removes an invalidation notifier.
|
1048
|
-
</p>
|
1049
|
-
<p>
|
1050
|
-
Notice that notifiers are automatically removed after they are run.
|
1051
|
-
</p>
|
1052
|
-
<div class="variablelist"><table border="0">
|
1053
|
-
<col align="left" valign="top">
|
1054
|
-
<tbody>
|
1055
|
-
<tr>
|
1056
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1057
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1058
|
-
</td>
|
1059
|
-
</tr>
|
1060
|
-
<tr>
|
1061
|
-
<td><p><span class="term"><em class="parameter"><code>notify_data</code></em> :</span></p></td>
|
1062
|
-
<td>data which was passed to <a class="link" href="gobject-Closures.html#g-closure-add-invalidate-notifier" title="g_closure_add_invalidate_notifier ()"><code class="function">g_closure_add_invalidate_notifier()</code></a>
|
1063
|
-
when registering <em class="parameter"><code>notify_func</code></em>
|
1064
|
-
</td>
|
1065
|
-
</tr>
|
1066
|
-
<tr>
|
1067
|
-
<td><p><span class="term"><em class="parameter"><code>notify_func</code></em> :</span></p></td>
|
1068
|
-
<td>the callback function to remove
|
1069
|
-
</td>
|
1070
|
-
</tr>
|
1071
|
-
</tbody>
|
1072
|
-
</table></div>
|
1073
|
-
</div>
|
1074
|
-
<hr>
|
1075
|
-
<div class="refsect2">
|
1076
|
-
<a name="g-closure-new-simple"></a><h3>g_closure_new_simple ()</h3>
|
1077
|
-
<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="returnvalue">GClosure</span></a> * g_closure_new_simple (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> sizeof_closure</code></em>,
|
1078
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1079
|
-
<p>
|
1080
|
-
Allocates a struct of the given size and initializes the initial
|
1081
|
-
part as a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>. This function is mainly useful when
|
1082
|
-
implementing new types of closures.
|
1083
|
-
</p>
|
1084
|
-
<p>
|
1085
|
-
</p>
|
1086
|
-
<div class="informalexample">
|
1087
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1088
|
-
<tbody>
|
1089
|
-
<tr>
|
1090
|
-
<td class="listing_lines" align="right"><pre>1
|
1091
|
-
2
|
1092
|
-
3
|
1093
|
-
4
|
1094
|
-
5
|
1095
|
-
6
|
1096
|
-
7
|
1097
|
-
8
|
1098
|
-
9
|
1099
|
-
10
|
1100
|
-
11
|
1101
|
-
12
|
1102
|
-
13
|
1103
|
-
14
|
1104
|
-
15
|
1105
|
-
16
|
1106
|
-
17
|
1107
|
-
18
|
1108
|
-
19
|
1109
|
-
20
|
1110
|
-
21
|
1111
|
-
22
|
1112
|
-
23
|
1113
|
-
24
|
1114
|
-
25
|
1115
|
-
26
|
1116
|
-
27
|
1117
|
-
28
|
1118
|
-
29
|
1119
|
-
30</pre></td>
|
1120
|
-
<td class="listing_code"><pre class="programlisting"><span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="classname">_MyClosure</span><span class="normal"> MyClosure</span><span class="symbol">;</span>
|
1121
|
-
<span class="keyword">struct</span><span class="normal"> </span><span class="classname">_MyClosure</span>
|
1122
|
-
<span class="cbracket">{</span>
|
1123
|
-
<span class="normal"> </span><span class="usertype">GClosure</span><span class="normal"> closure</span><span class="symbol">;</span>
|
1124
|
-
<span class="normal"> </span><span class="comment">// extra data goes here</span>
|
1125
|
-
<span class="cbracket">}</span><span class="symbol">;</span>
|
1126
|
-
|
1127
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1128
|
-
<span class="function">my_closure_finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> notify_data</span><span class="symbol">,</span>
|
1129
|
-
<span class="normal"> </span><span class="usertype">GClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">closure</span><span class="symbol">)</span>
|
1130
|
-
<span class="cbracket">{</span>
|
1131
|
-
<span class="normal"> </span><span class="usertype">MyClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">my_closure </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">MyClosure </span><span class="symbol">*)</span><span class="normal">closure</span><span class="symbol">;</span>
|
1132
|
-
|
1133
|
-
<span class="normal"> </span><span class="comment">// free extra data here</span>
|
1134
|
-
<span class="cbracket">}</span>
|
1135
|
-
|
1136
|
-
<span class="usertype">MyClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="function">my_closure_new</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
1137
|
-
<span class="cbracket">{</span>
|
1138
|
-
<span class="normal"> </span><span class="usertype">GClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">closure</span><span class="symbol">;</span>
|
1139
|
-
<span class="normal"> </span><span class="usertype">MyClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">my_closure</span><span class="symbol">;</span>
|
1140
|
-
|
1141
|
-
<span class="normal"> closure </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-closure-new-simple">g_closure_new_simple</a></span><span class="normal"> </span><span class="symbol">(</span><span class="keyword">sizeof</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">MyClosure</span><span class="symbol">),</span><span class="normal"> data</span><span class="symbol">);</span>
|
1142
|
-
<span class="normal"> my_closure </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">MyClosure </span><span class="symbol">*)</span><span class="normal"> closure</span><span class="symbol">;</span>
|
1143
|
-
|
1144
|
-
<span class="normal"> </span><span class="comment">// initialize extra data here</span>
|
1145
|
-
|
1146
|
-
<span class="normal"> </span><span class="function"><a href="gobject-Closures.html#g-closure-add-finalize-notifier">g_closure_add_finalize_notifier</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">closure</span><span class="symbol">,</span><span class="normal"> notify_data</span><span class="symbol">,</span>
|
1147
|
-
<span class="normal"> my_closure_finalize</span><span class="symbol">);</span>
|
1148
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> my_closure</span><span class="symbol">;</span>
|
1149
|
-
<span class="cbracket">}</span></pre></td>
|
1150
|
-
</tr>
|
1151
|
-
</tbody>
|
1152
|
-
</table>
|
1153
|
-
</div>
|
1154
|
-
|
1155
|
-
<p>
|
1156
|
-
</p>
|
1157
|
-
<div class="variablelist"><table border="0">
|
1158
|
-
<col align="left" valign="top">
|
1159
|
-
<tbody>
|
1160
|
-
<tr>
|
1161
|
-
<td><p><span class="term"><em class="parameter"><code>sizeof_closure</code></em> :</span></p></td>
|
1162
|
-
<td>the size of the structure to allocate, must be at least
|
1163
|
-
<code class="literal">sizeof (GClosure)</code>
|
1164
|
-
</td>
|
1165
|
-
</tr>
|
1166
|
-
<tr>
|
1167
|
-
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1168
|
-
<td>data to store in the <em class="parameter"><code>data</code></em> field of the newly allocated <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1169
|
-
</td>
|
1170
|
-
</tr>
|
1171
|
-
<tr>
|
1172
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1173
|
-
<td> a newly allocated <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1174
|
-
</td>
|
1175
|
-
</tr>
|
1176
|
-
</tbody>
|
1177
|
-
</table></div>
|
1178
|
-
</div>
|
1179
|
-
<hr>
|
1180
|
-
<div class="refsect2">
|
1181
|
-
<a name="g-closure-set-marshal"></a><h3>g_closure_set_marshal ()</h3>
|
1182
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_set_marshal (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1183
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> marshal</code></em>);</pre>
|
1184
|
-
<p>
|
1185
|
-
Sets the marshaller of <em class="parameter"><code>closure</code></em>. The <code class="literal">marshal_data</code>
|
1186
|
-
of <em class="parameter"><code>marshal</code></em> provides a way for a meta marshaller to provide additional
|
1187
|
-
information to the marshaller. (See <a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()"><code class="function">g_closure_set_meta_marshal()</code></a>.) For
|
1188
|
-
GObject's C predefined marshallers (the g_cclosure_marshal_*()
|
1189
|
-
functions), what it provides is a callback function to use instead of
|
1190
|
-
<em class="parameter"><code>closure->callback</code></em>.
|
1191
|
-
</p>
|
1192
|
-
<div class="variablelist"><table border="0">
|
1193
|
-
<col align="left" valign="top">
|
1194
|
-
<tbody>
|
1195
|
-
<tr>
|
1196
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1197
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1198
|
-
</td>
|
1199
|
-
</tr>
|
1200
|
-
<tr>
|
1201
|
-
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1202
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> function
|
1203
|
-
</td>
|
1204
|
-
</tr>
|
1205
|
-
</tbody>
|
1206
|
-
</table></div>
|
1207
|
-
</div>
|
1208
|
-
<hr>
|
1209
|
-
<div class="refsect2">
|
1210
|
-
<a name="g-closure-add-marshal-guards"></a><h3>g_closure_add_marshal_guards ()</h3>
|
1211
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_add_marshal_guards (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1212
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> pre_marshal_data</code></em>,
|
1213
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> pre_marshal_notify</code></em>,
|
1214
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> post_marshal_data</code></em>,
|
1215
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> post_marshal_notify</code></em>);</pre>
|
1216
|
-
<p>
|
1217
|
-
Adds a pair of notifiers which get invoked before and after the
|
1218
|
-
closure callback, respectively. This is typically used to protect
|
1219
|
-
the extra arguments for the duration of the callback. See
|
1220
|
-
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()"><code class="function">g_object_watch_closure()</code></a> for an example of marshal guards.
|
1221
|
-
</p>
|
1222
|
-
<div class="variablelist"><table border="0">
|
1223
|
-
<col align="left" valign="top">
|
1224
|
-
<tbody>
|
1225
|
-
<tr>
|
1226
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1227
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1228
|
-
</td>
|
1229
|
-
</tr>
|
1230
|
-
<tr>
|
1231
|
-
<td><p><span class="term"><em class="parameter"><code>pre_marshal_data</code></em> :</span></p></td>
|
1232
|
-
<td>data to pass to <em class="parameter"><code>pre_marshal_notify</code></em>
|
1233
|
-
</td>
|
1234
|
-
</tr>
|
1235
|
-
<tr>
|
1236
|
-
<td><p><span class="term"><em class="parameter"><code>pre_marshal_notify</code></em> :</span></p></td>
|
1237
|
-
<td>a function to call before the closure callback
|
1238
|
-
</td>
|
1239
|
-
</tr>
|
1240
|
-
<tr>
|
1241
|
-
<td><p><span class="term"><em class="parameter"><code>post_marshal_data</code></em> :</span></p></td>
|
1242
|
-
<td>data to pass to <em class="parameter"><code>post_marshal_notify</code></em>
|
1243
|
-
</td>
|
1244
|
-
</tr>
|
1245
|
-
<tr>
|
1246
|
-
<td><p><span class="term"><em class="parameter"><code>post_marshal_notify</code></em> :</span></p></td>
|
1247
|
-
<td>a function to call after the closure callback
|
1248
|
-
</td>
|
1249
|
-
</tr>
|
1250
|
-
</tbody>
|
1251
|
-
</table></div>
|
1252
|
-
</div>
|
1253
|
-
<hr>
|
1254
|
-
<div class="refsect2">
|
1255
|
-
<a name="g-closure-set-meta-marshal"></a><h3>g_closure_set_meta_marshal ()</h3>
|
1256
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_closure_set_meta_marshal (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1257
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>,
|
1258
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> meta_marshal</code></em>);</pre>
|
1259
|
-
<p>
|
1260
|
-
Sets the meta marshaller of <em class="parameter"><code>closure</code></em>. A meta marshaller wraps
|
1261
|
-
<em class="parameter"><code>closure->marshal</code></em> and modifies the way it is called in some
|
1262
|
-
fashion. The most common use of this facility is for C callbacks.
|
1263
|
-
The same marshallers (generated by <a href="glib-genmarshal.html">glib-genmarshal</a>) are used
|
1264
|
-
everywhere, but the way that we get the callback function
|
1265
|
-
differs. In most cases we want to use <em class="parameter"><code>closure->callback</code></em>, but in
|
1266
|
-
other cases we want to use some different technique to retrieve the
|
1267
|
-
callback function.
|
1268
|
-
</p>
|
1269
|
-
<p>
|
1270
|
-
For example, class closures for signals (see
|
1271
|
-
<a class="link" href="gobject-Signals.html#g-signal-type-cclosure-new" title="g_signal_type_cclosure_new ()"><code class="function">g_signal_type_cclosure_new()</code></a>) retrieve the callback function from a
|
1272
|
-
fixed offset in the class structure. The meta marshaller retrieves
|
1273
|
-
the right callback and passes it to the marshaller as the
|
1274
|
-
<em class="parameter"><code>marshal_data</code></em> argument.
|
1275
|
-
</p>
|
1276
|
-
<div class="variablelist"><table border="0">
|
1277
|
-
<col align="left" valign="top">
|
1278
|
-
<tbody>
|
1279
|
-
<tr>
|
1280
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1281
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1282
|
-
</td>
|
1283
|
-
</tr>
|
1284
|
-
<tr>
|
1285
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1286
|
-
<td>context-dependent data to pass to <em class="parameter"><code>meta_marshal</code></em>
|
1287
|
-
</td>
|
1288
|
-
</tr>
|
1289
|
-
<tr>
|
1290
|
-
<td><p><span class="term"><em class="parameter"><code>meta_marshal</code></em> :</span></p></td>
|
1291
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> function
|
1292
|
-
</td>
|
1293
|
-
</tr>
|
1294
|
-
</tbody>
|
1295
|
-
</table></div>
|
1296
|
-
</div>
|
1297
|
-
<hr>
|
1298
|
-
<div class="refsect2">
|
1299
|
-
<a name="g-source-set-closure"></a><h3>g_source_set_closure ()</h3>
|
1300
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_source_set_closure (<em class="parameter"><code><a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> *source</code></em>,
|
1301
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
1302
|
-
<p>
|
1303
|
-
Set the callback for a source as a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>.
|
1304
|
-
</p>
|
1305
|
-
<p>
|
1306
|
-
If the source is not one of the standard GLib types, the <em class="parameter"><code>closure_callback</code></em>
|
1307
|
-
and <em class="parameter"><code>closure_marshal</code></em> fields of the <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSourceFuncs"><span class="type">GSourceFuncs</span></a> structure must have been
|
1308
|
-
filled in with pointers to appropriate functions.
|
1309
|
-
</p>
|
1310
|
-
<div class="variablelist"><table border="0">
|
1311
|
-
<col align="left" valign="top">
|
1312
|
-
<tbody>
|
1313
|
-
<tr>
|
1314
|
-
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
|
1315
|
-
<td>the source
|
1316
|
-
</td>
|
1317
|
-
</tr>
|
1318
|
-
<tr>
|
1319
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1320
|
-
<td>a <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a>
|
1321
|
-
</td>
|
1322
|
-
</tr>
|
1323
|
-
</tbody>
|
1324
|
-
</table></div>
|
1325
|
-
</div>
|
1326
|
-
<hr>
|
1327
|
-
<div class="refsect2">
|
1328
|
-
<a name="G-TYPE-IO-CHANNEL:CAPS"></a><h3>G_TYPE_IO_CHANNEL</h3>
|
1329
|
-
<pre class="programlisting">#define G_TYPE_IO_CHANNEL (g_io_channel_get_type ())
|
1330
|
-
</pre>
|
1331
|
-
<p>
|
1332
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a href="./../glib/glib/glib-IO-Channels.html#GIOChannel"><span class="type">GIOChannel</span></a>.
|
1333
|
-
</p>
|
1334
|
-
</div>
|
1335
|
-
<hr>
|
1336
|
-
<div class="refsect2">
|
1337
|
-
<a name="G-TYPE-IO-CONDITION:CAPS"></a><h3>G_TYPE_IO_CONDITION</h3>
|
1338
|
-
<pre class="programlisting">#define G_TYPE_IO_CONDITION (g_io_condition_get_type ())
|
1339
|
-
</pre>
|
1340
|
-
<p>
|
1341
|
-
The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a>.
|
1342
|
-
</p>
|
1343
|
-
</div>
|
1344
|
-
<hr>
|
1345
|
-
<div class="refsect2">
|
1346
|
-
<a name="g-cclosure-marshal-VOID--VOID"></a><h3>g_cclosure_marshal_VOID__VOID ()</h3>
|
1347
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__VOID (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1348
|
-
<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>,
|
1349
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1350
|
-
<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>,
|
1351
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1352
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1353
|
-
<p>
|
1354
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1355
|
-
<code class="literal">void (*callback) (gpointer instance, gpointer user_data)</code>.
|
1356
|
-
</p>
|
1357
|
-
<div class="variablelist"><table border="0">
|
1358
|
-
<col align="left" valign="top">
|
1359
|
-
<tbody>
|
1360
|
-
<tr>
|
1361
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1362
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1363
|
-
</td>
|
1364
|
-
</tr>
|
1365
|
-
<tr>
|
1366
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1367
|
-
<td>ignored
|
1368
|
-
</td>
|
1369
|
-
</tr>
|
1370
|
-
<tr>
|
1371
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1372
|
-
<td>1
|
1373
|
-
</td>
|
1374
|
-
</tr>
|
1375
|
-
<tr>
|
1376
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1377
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding only the instance
|
1378
|
-
</td>
|
1379
|
-
</tr>
|
1380
|
-
<tr>
|
1381
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1382
|
-
<td>the invocation hint given as the last argument
|
1383
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1384
|
-
</td>
|
1385
|
-
</tr>
|
1386
|
-
<tr>
|
1387
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1388
|
-
<td>additional data specified when registering the marshaller
|
1389
|
-
</td>
|
1390
|
-
</tr>
|
1391
|
-
</tbody>
|
1392
|
-
</table></div>
|
1393
|
-
</div>
|
1394
|
-
<hr>
|
1395
|
-
<div class="refsect2">
|
1396
|
-
<a name="g-cclosure-marshal-VOID--BOOLEAN"></a><h3>g_cclosure_marshal_VOID__BOOLEAN ()</h3>
|
1397
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__BOOLEAN (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1398
|
-
<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>,
|
1399
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1400
|
-
<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>,
|
1401
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1402
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1403
|
-
<p>
|
1404
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1405
|
-
<code class="literal">void (*callback) (gpointer instance, gboolean arg1, gpointer user_data)</code>.
|
1406
|
-
</p>
|
1407
|
-
<div class="variablelist"><table border="0">
|
1408
|
-
<col align="left" valign="top">
|
1409
|
-
<tbody>
|
1410
|
-
<tr>
|
1411
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1412
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1413
|
-
</td>
|
1414
|
-
</tr>
|
1415
|
-
<tr>
|
1416
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1417
|
-
<td>ignored
|
1418
|
-
</td>
|
1419
|
-
</tr>
|
1420
|
-
<tr>
|
1421
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1422
|
-
<td>2
|
1423
|
-
</td>
|
1424
|
-
</tr>
|
1425
|
-
<tr>
|
1426
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1427
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> parameter
|
1428
|
-
</td>
|
1429
|
-
</tr>
|
1430
|
-
<tr>
|
1431
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1432
|
-
<td>the invocation hint given as the last argument
|
1433
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1434
|
-
</td>
|
1435
|
-
</tr>
|
1436
|
-
<tr>
|
1437
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1438
|
-
<td>additional data specified when registering the marshaller
|
1439
|
-
</td>
|
1440
|
-
</tr>
|
1441
|
-
</tbody>
|
1442
|
-
</table></div>
|
1443
|
-
</div>
|
1444
|
-
<hr>
|
1445
|
-
<div class="refsect2">
|
1446
|
-
<a name="g-cclosure-marshal-VOID--CHAR"></a><h3>g_cclosure_marshal_VOID__CHAR ()</h3>
|
1447
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__CHAR (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1448
|
-
<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>,
|
1449
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1450
|
-
<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>,
|
1451
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1452
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1453
|
-
<p>
|
1454
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1455
|
-
<code class="literal">void (*callback) (gpointer instance, gchar arg1, gpointer user_data)</code>.
|
1456
|
-
</p>
|
1457
|
-
<div class="variablelist"><table border="0">
|
1458
|
-
<col align="left" valign="top">
|
1459
|
-
<tbody>
|
1460
|
-
<tr>
|
1461
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1462
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1463
|
-
</td>
|
1464
|
-
</tr>
|
1465
|
-
<tr>
|
1466
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1467
|
-
<td>ignored
|
1468
|
-
</td>
|
1469
|
-
</tr>
|
1470
|
-
<tr>
|
1471
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1472
|
-
<td>2
|
1473
|
-
</td>
|
1474
|
-
</tr>
|
1475
|
-
<tr>
|
1476
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1477
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> parameter
|
1478
|
-
</td>
|
1479
|
-
</tr>
|
1480
|
-
<tr>
|
1481
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1482
|
-
<td>the invocation hint given as the last argument
|
1483
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1484
|
-
</td>
|
1485
|
-
</tr>
|
1486
|
-
<tr>
|
1487
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1488
|
-
<td>additional data specified when registering the marshaller
|
1489
|
-
</td>
|
1490
|
-
</tr>
|
1491
|
-
</tbody>
|
1492
|
-
</table></div>
|
1493
|
-
</div>
|
1494
|
-
<hr>
|
1495
|
-
<div class="refsect2">
|
1496
|
-
<a name="g-cclosure-marshal-VOID--UCHAR"></a><h3>g_cclosure_marshal_VOID__UCHAR ()</h3>
|
1497
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__UCHAR (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1498
|
-
<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>,
|
1499
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1500
|
-
<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>,
|
1501
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1502
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1503
|
-
<p>
|
1504
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1505
|
-
<code class="literal">void (*callback) (gpointer instance, guchar arg1, gpointer user_data)</code>.
|
1506
|
-
</p>
|
1507
|
-
<div class="variablelist"><table border="0">
|
1508
|
-
<col align="left" valign="top">
|
1509
|
-
<tbody>
|
1510
|
-
<tr>
|
1511
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1512
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1513
|
-
</td>
|
1514
|
-
</tr>
|
1515
|
-
<tr>
|
1516
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1517
|
-
<td>ignored
|
1518
|
-
</td>
|
1519
|
-
</tr>
|
1520
|
-
<tr>
|
1521
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1522
|
-
<td>2
|
1523
|
-
</td>
|
1524
|
-
</tr>
|
1525
|
-
<tr>
|
1526
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1527
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> parameter
|
1528
|
-
</td>
|
1529
|
-
</tr>
|
1530
|
-
<tr>
|
1531
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1532
|
-
<td>the invocation hint given as the last argument
|
1533
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1534
|
-
</td>
|
1535
|
-
</tr>
|
1536
|
-
<tr>
|
1537
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1538
|
-
<td>additional data specified when registering the marshaller
|
1539
|
-
</td>
|
1540
|
-
</tr>
|
1541
|
-
</tbody>
|
1542
|
-
</table></div>
|
1543
|
-
</div>
|
1544
|
-
<hr>
|
1545
|
-
<div class="refsect2">
|
1546
|
-
<a name="g-cclosure-marshal-VOID--INT"></a><h3>g_cclosure_marshal_VOID__INT ()</h3>
|
1547
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__INT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1548
|
-
<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>,
|
1549
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1550
|
-
<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>,
|
1551
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1552
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1553
|
-
<p>
|
1554
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1555
|
-
<code class="literal">void (*callback) (gpointer instance, gint arg1, gpointer user_data)</code>.
|
1556
|
-
</p>
|
1557
|
-
<div class="variablelist"><table border="0">
|
1558
|
-
<col align="left" valign="top">
|
1559
|
-
<tbody>
|
1560
|
-
<tr>
|
1561
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1562
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1563
|
-
</td>
|
1564
|
-
</tr>
|
1565
|
-
<tr>
|
1566
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1567
|
-
<td>ignored
|
1568
|
-
</td>
|
1569
|
-
</tr>
|
1570
|
-
<tr>
|
1571
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1572
|
-
<td>2
|
1573
|
-
</td>
|
1574
|
-
</tr>
|
1575
|
-
<tr>
|
1576
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1577
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> parameter
|
1578
|
-
</td>
|
1579
|
-
</tr>
|
1580
|
-
<tr>
|
1581
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1582
|
-
<td>the invocation hint given as the last argument
|
1583
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1584
|
-
</td>
|
1585
|
-
</tr>
|
1586
|
-
<tr>
|
1587
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1588
|
-
<td>additional data specified when registering the marshaller
|
1589
|
-
</td>
|
1590
|
-
</tr>
|
1591
|
-
</tbody>
|
1592
|
-
</table></div>
|
1593
|
-
</div>
|
1594
|
-
<hr>
|
1595
|
-
<div class="refsect2">
|
1596
|
-
<a name="g-cclosure-marshal-VOID--UINT"></a><h3>g_cclosure_marshal_VOID__UINT ()</h3>
|
1597
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__UINT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1598
|
-
<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>,
|
1599
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1600
|
-
<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>,
|
1601
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1602
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1603
|
-
<p>
|
1604
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1605
|
-
<code class="literal">void (*callback) (gpointer instance, guint arg1, gpointer user_data)</code>.
|
1606
|
-
</p>
|
1607
|
-
<div class="variablelist"><table border="0">
|
1608
|
-
<col align="left" valign="top">
|
1609
|
-
<tbody>
|
1610
|
-
<tr>
|
1611
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1612
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1613
|
-
</td>
|
1614
|
-
</tr>
|
1615
|
-
<tr>
|
1616
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1617
|
-
<td>ignored
|
1618
|
-
</td>
|
1619
|
-
</tr>
|
1620
|
-
<tr>
|
1621
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1622
|
-
<td>2
|
1623
|
-
</td>
|
1624
|
-
</tr>
|
1625
|
-
<tr>
|
1626
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1627
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> parameter
|
1628
|
-
</td>
|
1629
|
-
</tr>
|
1630
|
-
<tr>
|
1631
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1632
|
-
<td>the invocation hint given as the last argument
|
1633
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1634
|
-
</td>
|
1635
|
-
</tr>
|
1636
|
-
<tr>
|
1637
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1638
|
-
<td>additional data specified when registering the marshaller
|
1639
|
-
</td>
|
1640
|
-
</tr>
|
1641
|
-
</tbody>
|
1642
|
-
</table></div>
|
1643
|
-
</div>
|
1644
|
-
<hr>
|
1645
|
-
<div class="refsect2">
|
1646
|
-
<a name="g-cclosure-marshal-VOID--LONG"></a><h3>g_cclosure_marshal_VOID__LONG ()</h3>
|
1647
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__LONG (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1648
|
-
<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>,
|
1649
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1650
|
-
<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>,
|
1651
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1652
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1653
|
-
<p>
|
1654
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1655
|
-
<code class="literal">void (*callback) (gpointer instance, glong arg1, gpointer user_data)</code>.
|
1656
|
-
</p>
|
1657
|
-
<div class="variablelist"><table border="0">
|
1658
|
-
<col align="left" valign="top">
|
1659
|
-
<tbody>
|
1660
|
-
<tr>
|
1661
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1662
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1663
|
-
</td>
|
1664
|
-
</tr>
|
1665
|
-
<tr>
|
1666
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1667
|
-
<td>ignored
|
1668
|
-
</td>
|
1669
|
-
</tr>
|
1670
|
-
<tr>
|
1671
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1672
|
-
<td>2
|
1673
|
-
</td>
|
1674
|
-
</tr>
|
1675
|
-
<tr>
|
1676
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1677
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> parameter
|
1678
|
-
</td>
|
1679
|
-
</tr>
|
1680
|
-
<tr>
|
1681
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1682
|
-
<td>the invocation hint given as the last argument
|
1683
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1684
|
-
</td>
|
1685
|
-
</tr>
|
1686
|
-
<tr>
|
1687
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1688
|
-
<td>additional data specified when registering the marshaller
|
1689
|
-
</td>
|
1690
|
-
</tr>
|
1691
|
-
</tbody>
|
1692
|
-
</table></div>
|
1693
|
-
</div>
|
1694
|
-
<hr>
|
1695
|
-
<div class="refsect2">
|
1696
|
-
<a name="g-cclosure-marshal-VOID--ULONG"></a><h3>g_cclosure_marshal_VOID__ULONG ()</h3>
|
1697
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__ULONG (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1698
|
-
<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>,
|
1699
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1700
|
-
<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>,
|
1701
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1702
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1703
|
-
<p>
|
1704
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1705
|
-
<code class="literal">void (*callback) (gpointer instance, gulong arg1, gpointer user_data)</code>.
|
1706
|
-
</p>
|
1707
|
-
<div class="variablelist"><table border="0">
|
1708
|
-
<col align="left" valign="top">
|
1709
|
-
<tbody>
|
1710
|
-
<tr>
|
1711
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1712
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1713
|
-
</td>
|
1714
|
-
</tr>
|
1715
|
-
<tr>
|
1716
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1717
|
-
<td>ignored
|
1718
|
-
</td>
|
1719
|
-
</tr>
|
1720
|
-
<tr>
|
1721
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1722
|
-
<td>2
|
1723
|
-
</td>
|
1724
|
-
</tr>
|
1725
|
-
<tr>
|
1726
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1727
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> parameter
|
1728
|
-
</td>
|
1729
|
-
</tr>
|
1730
|
-
<tr>
|
1731
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1732
|
-
<td>the invocation hint given as the last argument
|
1733
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1734
|
-
</td>
|
1735
|
-
</tr>
|
1736
|
-
<tr>
|
1737
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1738
|
-
<td>additional data specified when registering the marshaller
|
1739
|
-
</td>
|
1740
|
-
</tr>
|
1741
|
-
</tbody>
|
1742
|
-
</table></div>
|
1743
|
-
</div>
|
1744
|
-
<hr>
|
1745
|
-
<div class="refsect2">
|
1746
|
-
<a name="g-cclosure-marshal-VOID--ENUM"></a><h3>g_cclosure_marshal_VOID__ENUM ()</h3>
|
1747
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__ENUM (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1748
|
-
<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>,
|
1749
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1750
|
-
<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>,
|
1751
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1752
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1753
|
-
<p>
|
1754
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1755
|
-
<code class="literal">void (*callback) (gpointer instance, gint arg1, gpointer user_data)</code> where the <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> parameter denotes an enumeration type..
|
1756
|
-
</p>
|
1757
|
-
<div class="variablelist"><table border="0">
|
1758
|
-
<col align="left" valign="top">
|
1759
|
-
<tbody>
|
1760
|
-
<tr>
|
1761
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1762
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1763
|
-
</td>
|
1764
|
-
</tr>
|
1765
|
-
<tr>
|
1766
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1767
|
-
<td>ignored
|
1768
|
-
</td>
|
1769
|
-
</tr>
|
1770
|
-
<tr>
|
1771
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1772
|
-
<td>2
|
1773
|
-
</td>
|
1774
|
-
</tr>
|
1775
|
-
<tr>
|
1776
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1777
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the enumeration parameter
|
1778
|
-
</td>
|
1779
|
-
</tr>
|
1780
|
-
<tr>
|
1781
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1782
|
-
<td>the invocation hint given as the last argument
|
1783
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1784
|
-
</td>
|
1785
|
-
</tr>
|
1786
|
-
<tr>
|
1787
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1788
|
-
<td>additional data specified when registering the marshaller
|
1789
|
-
</td>
|
1790
|
-
</tr>
|
1791
|
-
</tbody>
|
1792
|
-
</table></div>
|
1793
|
-
</div>
|
1794
|
-
<hr>
|
1795
|
-
<div class="refsect2">
|
1796
|
-
<a name="g-cclosure-marshal-VOID--FLAGS"></a><h3>g_cclosure_marshal_VOID__FLAGS ()</h3>
|
1797
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__FLAGS (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1798
|
-
<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>,
|
1799
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1800
|
-
<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>,
|
1801
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1802
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1803
|
-
<p>
|
1804
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1805
|
-
<code class="literal">void (*callback) (gpointer instance, gint arg1, gpointer user_data)</code> where the <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> parameter denotes a flags type.
|
1806
|
-
</p>
|
1807
|
-
<div class="variablelist"><table border="0">
|
1808
|
-
<col align="left" valign="top">
|
1809
|
-
<tbody>
|
1810
|
-
<tr>
|
1811
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1812
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1813
|
-
</td>
|
1814
|
-
</tr>
|
1815
|
-
<tr>
|
1816
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1817
|
-
<td>ignored
|
1818
|
-
</td>
|
1819
|
-
</tr>
|
1820
|
-
<tr>
|
1821
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1822
|
-
<td>2
|
1823
|
-
</td>
|
1824
|
-
</tr>
|
1825
|
-
<tr>
|
1826
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1827
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the flags parameter
|
1828
|
-
</td>
|
1829
|
-
</tr>
|
1830
|
-
<tr>
|
1831
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1832
|
-
<td>the invocation hint given as the last argument
|
1833
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1834
|
-
</td>
|
1835
|
-
</tr>
|
1836
|
-
<tr>
|
1837
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1838
|
-
<td>additional data specified when registering the marshaller
|
1839
|
-
</td>
|
1840
|
-
</tr>
|
1841
|
-
</tbody>
|
1842
|
-
</table></div>
|
1843
|
-
</div>
|
1844
|
-
<hr>
|
1845
|
-
<div class="refsect2">
|
1846
|
-
<a name="g-cclosure-marshal-VOID--FLOAT"></a><h3>g_cclosure_marshal_VOID__FLOAT ()</h3>
|
1847
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__FLOAT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1848
|
-
<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>,
|
1849
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1850
|
-
<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>,
|
1851
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1852
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1853
|
-
<p>
|
1854
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1855
|
-
<code class="literal">void (*callback) (gpointer instance, gfloat arg1, gpointer user_data)</code>.
|
1856
|
-
</p>
|
1857
|
-
<div class="variablelist"><table border="0">
|
1858
|
-
<col align="left" valign="top">
|
1859
|
-
<tbody>
|
1860
|
-
<tr>
|
1861
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1862
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1863
|
-
</td>
|
1864
|
-
</tr>
|
1865
|
-
<tr>
|
1866
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1867
|
-
<td>ignored
|
1868
|
-
</td>
|
1869
|
-
</tr>
|
1870
|
-
<tr>
|
1871
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1872
|
-
<td>2
|
1873
|
-
</td>
|
1874
|
-
</tr>
|
1875
|
-
<tr>
|
1876
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1877
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> parameter
|
1878
|
-
</td>
|
1879
|
-
</tr>
|
1880
|
-
<tr>
|
1881
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1882
|
-
<td>the invocation hint given as the last argument
|
1883
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1884
|
-
</td>
|
1885
|
-
</tr>
|
1886
|
-
<tr>
|
1887
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1888
|
-
<td>additional data specified when registering the marshaller
|
1889
|
-
</td>
|
1890
|
-
</tr>
|
1891
|
-
</tbody>
|
1892
|
-
</table></div>
|
1893
|
-
</div>
|
1894
|
-
<hr>
|
1895
|
-
<div class="refsect2">
|
1896
|
-
<a name="g-cclosure-marshal-VOID--DOUBLE"></a><h3>g_cclosure_marshal_VOID__DOUBLE ()</h3>
|
1897
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__DOUBLE (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1898
|
-
<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>,
|
1899
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1900
|
-
<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>,
|
1901
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1902
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1903
|
-
<p>
|
1904
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1905
|
-
<code class="literal">void (*callback) (gpointer instance, gdouble arg1, gpointer user_data)</code>.
|
1906
|
-
</p>
|
1907
|
-
<div class="variablelist"><table border="0">
|
1908
|
-
<col align="left" valign="top">
|
1909
|
-
<tbody>
|
1910
|
-
<tr>
|
1911
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1912
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1913
|
-
</td>
|
1914
|
-
</tr>
|
1915
|
-
<tr>
|
1916
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1917
|
-
<td>ignored
|
1918
|
-
</td>
|
1919
|
-
</tr>
|
1920
|
-
<tr>
|
1921
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1922
|
-
<td>2
|
1923
|
-
</td>
|
1924
|
-
</tr>
|
1925
|
-
<tr>
|
1926
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1927
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> parameter
|
1928
|
-
</td>
|
1929
|
-
</tr>
|
1930
|
-
<tr>
|
1931
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1932
|
-
<td>the invocation hint given as the last argument
|
1933
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1934
|
-
</td>
|
1935
|
-
</tr>
|
1936
|
-
<tr>
|
1937
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1938
|
-
<td>additional data specified when registering the marshaller
|
1939
|
-
</td>
|
1940
|
-
</tr>
|
1941
|
-
</tbody>
|
1942
|
-
</table></div>
|
1943
|
-
</div>
|
1944
|
-
<hr>
|
1945
|
-
<div class="refsect2">
|
1946
|
-
<a name="g-cclosure-marshal-VOID--STRING"></a><h3>g_cclosure_marshal_VOID__STRING ()</h3>
|
1947
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__STRING (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1948
|
-
<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>,
|
1949
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
1950
|
-
<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>,
|
1951
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
1952
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
1953
|
-
<p>
|
1954
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
1955
|
-
<code class="literal">void (*callback) (gpointer instance, const gchar *arg1, gpointer user_data)</code>.
|
1956
|
-
</p>
|
1957
|
-
<div class="variablelist"><table border="0">
|
1958
|
-
<col align="left" valign="top">
|
1959
|
-
<tbody>
|
1960
|
-
<tr>
|
1961
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
1962
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
1963
|
-
</td>
|
1964
|
-
</tr>
|
1965
|
-
<tr>
|
1966
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
1967
|
-
<td>ignored
|
1968
|
-
</td>
|
1969
|
-
</tr>
|
1970
|
-
<tr>
|
1971
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
1972
|
-
<td>2
|
1973
|
-
</td>
|
1974
|
-
</tr>
|
1975
|
-
<tr>
|
1976
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
1977
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* parameter
|
1978
|
-
</td>
|
1979
|
-
</tr>
|
1980
|
-
<tr>
|
1981
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
1982
|
-
<td>the invocation hint given as the last argument
|
1983
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
1984
|
-
</td>
|
1985
|
-
</tr>
|
1986
|
-
<tr>
|
1987
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
1988
|
-
<td>additional data specified when registering the marshaller
|
1989
|
-
</td>
|
1990
|
-
</tr>
|
1991
|
-
</tbody>
|
1992
|
-
</table></div>
|
1993
|
-
</div>
|
1994
|
-
<hr>
|
1995
|
-
<div class="refsect2">
|
1996
|
-
<a name="g-cclosure-marshal-VOID--PARAM"></a><h3>g_cclosure_marshal_VOID__PARAM ()</h3>
|
1997
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__PARAM (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
1998
|
-
<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>,
|
1999
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2000
|
-
<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>,
|
2001
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2002
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2003
|
-
<p>
|
2004
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2005
|
-
<code class="literal">void (*callback) (gpointer instance, GParamSpec *arg1, gpointer user_data)</code>.
|
2006
|
-
</p>
|
2007
|
-
<div class="variablelist"><table border="0">
|
2008
|
-
<col align="left" valign="top">
|
2009
|
-
<tbody>
|
2010
|
-
<tr>
|
2011
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2012
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2013
|
-
</td>
|
2014
|
-
</tr>
|
2015
|
-
<tr>
|
2016
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2017
|
-
<td>ignored
|
2018
|
-
</td>
|
2019
|
-
</tr>
|
2020
|
-
<tr>
|
2021
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2022
|
-
<td>2
|
2023
|
-
</td>
|
2024
|
-
</tr>
|
2025
|
-
<tr>
|
2026
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2027
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a>* parameter
|
2028
|
-
</td>
|
2029
|
-
</tr>
|
2030
|
-
<tr>
|
2031
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2032
|
-
<td>the invocation hint given as the last argument
|
2033
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2034
|
-
</td>
|
2035
|
-
</tr>
|
2036
|
-
<tr>
|
2037
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2038
|
-
<td>additional data specified when registering the marshaller
|
2039
|
-
</td>
|
2040
|
-
</tr>
|
2041
|
-
</tbody>
|
2042
|
-
</table></div>
|
2043
|
-
</div>
|
2044
|
-
<hr>
|
2045
|
-
<div class="refsect2">
|
2046
|
-
<a name="g-cclosure-marshal-VOID--BOXED"></a><h3>g_cclosure_marshal_VOID__BOXED ()</h3>
|
2047
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__BOXED (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2048
|
-
<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>,
|
2049
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2050
|
-
<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>,
|
2051
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2052
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2053
|
-
<p>
|
2054
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2055
|
-
<code class="literal">void (*callback) (gpointer instance, GBoxed *arg1, gpointer user_data)</code>.
|
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>closure</code></em> :</span></p></td>
|
2062
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2063
|
-
</td>
|
2064
|
-
</tr>
|
2065
|
-
<tr>
|
2066
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2067
|
-
<td>ignored
|
2068
|
-
</td>
|
2069
|
-
</tr>
|
2070
|
-
<tr>
|
2071
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2072
|
-
<td>2
|
2073
|
-
</td>
|
2074
|
-
</tr>
|
2075
|
-
<tr>
|
2076
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2077
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <span class="type">GBoxed</span>* parameter
|
2078
|
-
</td>
|
2079
|
-
</tr>
|
2080
|
-
<tr>
|
2081
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2082
|
-
<td>the invocation hint given as the last argument
|
2083
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2084
|
-
</td>
|
2085
|
-
</tr>
|
2086
|
-
<tr>
|
2087
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2088
|
-
<td>additional data specified when registering the marshaller
|
2089
|
-
</td>
|
2090
|
-
</tr>
|
2091
|
-
</tbody>
|
2092
|
-
</table></div>
|
2093
|
-
</div>
|
2094
|
-
<hr>
|
2095
|
-
<div class="refsect2">
|
2096
|
-
<a name="g-cclosure-marshal-VOID--POINTER"></a><h3>g_cclosure_marshal_VOID__POINTER ()</h3>
|
2097
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__POINTER (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2098
|
-
<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>,
|
2099
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2100
|
-
<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>,
|
2101
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2102
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2103
|
-
<p>
|
2104
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2105
|
-
<code class="literal">void (*callback) (gpointer instance, gpointer arg1, gpointer user_data)</code>.
|
2106
|
-
</p>
|
2107
|
-
<div class="variablelist"><table border="0">
|
2108
|
-
<col align="left" valign="top">
|
2109
|
-
<tbody>
|
2110
|
-
<tr>
|
2111
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2112
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2113
|
-
</td>
|
2114
|
-
</tr>
|
2115
|
-
<tr>
|
2116
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2117
|
-
<td>ignored
|
2118
|
-
</td>
|
2119
|
-
</tr>
|
2120
|
-
<tr>
|
2121
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2122
|
-
<td>2
|
2123
|
-
</td>
|
2124
|
-
</tr>
|
2125
|
-
<tr>
|
2126
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2127
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> parameter
|
2128
|
-
</td>
|
2129
|
-
</tr>
|
2130
|
-
<tr>
|
2131
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2132
|
-
<td>the invocation hint given as the last argument
|
2133
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2134
|
-
</td>
|
2135
|
-
</tr>
|
2136
|
-
<tr>
|
2137
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2138
|
-
<td>additional data specified when registering the marshaller
|
2139
|
-
</td>
|
2140
|
-
</tr>
|
2141
|
-
</tbody>
|
2142
|
-
</table></div>
|
2143
|
-
</div>
|
2144
|
-
<hr>
|
2145
|
-
<div class="refsect2">
|
2146
|
-
<a name="g-cclosure-marshal-VOID--OBJECT"></a><h3>g_cclosure_marshal_VOID__OBJECT ()</h3>
|
2147
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__OBJECT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2148
|
-
<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>,
|
2149
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2150
|
-
<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>,
|
2151
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2152
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2153
|
-
<p>
|
2154
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2155
|
-
<code class="literal">void (*callback) (gpointer instance, GObject *arg1, gpointer user_data)</code>.
|
2156
|
-
</p>
|
2157
|
-
<div class="variablelist"><table border="0">
|
2158
|
-
<col align="left" valign="top">
|
2159
|
-
<tbody>
|
2160
|
-
<tr>
|
2161
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2162
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2163
|
-
</td>
|
2164
|
-
</tr>
|
2165
|
-
<tr>
|
2166
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2167
|
-
<td>ignored
|
2168
|
-
</td>
|
2169
|
-
</tr>
|
2170
|
-
<tr>
|
2171
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2172
|
-
<td>2
|
2173
|
-
</td>
|
2174
|
-
</tr>
|
2175
|
-
<tr>
|
2176
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2177
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>* parameter
|
2178
|
-
</td>
|
2179
|
-
</tr>
|
2180
|
-
<tr>
|
2181
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2182
|
-
<td>the invocation hint given as the last argument
|
2183
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2184
|
-
</td>
|
2185
|
-
</tr>
|
2186
|
-
<tr>
|
2187
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2188
|
-
<td>additional data specified when registering the marshaller
|
2189
|
-
</td>
|
2190
|
-
</tr>
|
2191
|
-
</tbody>
|
2192
|
-
</table></div>
|
2193
|
-
</div>
|
2194
|
-
<hr>
|
2195
|
-
<div class="refsect2">
|
2196
|
-
<a name="g-cclosure-marshal-VOID--VARIANT"></a><h3>g_cclosure_marshal_VOID__VARIANT ()</h3>
|
2197
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__VARIANT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2198
|
-
<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>,
|
2199
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2200
|
-
<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>,
|
2201
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2202
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2203
|
-
<p>
|
2204
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2205
|
-
<code class="literal">void (*callback) (gpointer instance, GVariant *arg1, gpointer user_data)</code>.
|
2206
|
-
</p>
|
2207
|
-
<div class="variablelist"><table border="0">
|
2208
|
-
<col align="left" valign="top">
|
2209
|
-
<tbody>
|
2210
|
-
<tr>
|
2211
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2212
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2213
|
-
</td>
|
2214
|
-
</tr>
|
2215
|
-
<tr>
|
2216
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2217
|
-
<td>ignored
|
2218
|
-
</td>
|
2219
|
-
</tr>
|
2220
|
-
<tr>
|
2221
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2222
|
-
<td>2
|
2223
|
-
</td>
|
2224
|
-
</tr>
|
2225
|
-
<tr>
|
2226
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2227
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>* parameter
|
2228
|
-
</td>
|
2229
|
-
</tr>
|
2230
|
-
<tr>
|
2231
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2232
|
-
<td>the invocation hint given as the last argument
|
2233
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2234
|
-
</td>
|
2235
|
-
</tr>
|
2236
|
-
<tr>
|
2237
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2238
|
-
<td>additional data specified when registering the marshaller
|
2239
|
-
</td>
|
2240
|
-
</tr>
|
2241
|
-
</tbody>
|
2242
|
-
</table></div>
|
2243
|
-
<p class="since">Since 2.26</p>
|
2244
|
-
</div>
|
2245
|
-
<hr>
|
2246
|
-
<div class="refsect2">
|
2247
|
-
<a name="g-cclosure-marshal-STRING--OBJECT-POINTER"></a><h3>g_cclosure_marshal_STRING__OBJECT_POINTER ()</h3>
|
2248
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_STRING__OBJECT_POINTER
|
2249
|
-
(<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2250
|
-
<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>,
|
2251
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2252
|
-
<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>,
|
2253
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2254
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2255
|
-
<p>
|
2256
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2257
|
-
<code class="literal">gchar* (*callback) (gpointer instance, GObject *arg1, gpointer arg2, gpointer user_data)</code>.
|
2258
|
-
</p>
|
2259
|
-
<div class="variablelist"><table border="0">
|
2260
|
-
<col align="left" valign="top">
|
2261
|
-
<tbody>
|
2262
|
-
<tr>
|
2263
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2264
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2265
|
-
</td>
|
2266
|
-
</tr>
|
2267
|
-
<tr>
|
2268
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2269
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>, which can store the returned string
|
2270
|
-
</td>
|
2271
|
-
</tr>
|
2272
|
-
<tr>
|
2273
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2274
|
-
<td>3
|
2275
|
-
</td>
|
2276
|
-
</tr>
|
2277
|
-
<tr>
|
2278
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2279
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding instance, arg1 and arg2
|
2280
|
-
</td>
|
2281
|
-
</tr>
|
2282
|
-
<tr>
|
2283
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2284
|
-
<td>the invocation hint given as the last argument
|
2285
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2286
|
-
</td>
|
2287
|
-
</tr>
|
2288
|
-
<tr>
|
2289
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2290
|
-
<td>additional data specified when registering the marshaller
|
2291
|
-
</td>
|
2292
|
-
</tr>
|
2293
|
-
</tbody>
|
2294
|
-
</table></div>
|
2295
|
-
</div>
|
2296
|
-
<hr>
|
2297
|
-
<div class="refsect2">
|
2298
|
-
<a name="g-cclosure-marshal-VOID--UINT-POINTER"></a><h3>g_cclosure_marshal_VOID__UINT_POINTER ()</h3>
|
2299
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__UINT_POINTER
|
2300
|
-
(<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2301
|
-
<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>,
|
2302
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2303
|
-
<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>,
|
2304
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2305
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2306
|
-
<p>
|
2307
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2308
|
-
<code class="literal">void (*callback) (gpointer instance, guint arg1, gpointer arg2, gpointer user_data)</code>.
|
2309
|
-
</p>
|
2310
|
-
<div class="variablelist"><table border="0">
|
2311
|
-
<col align="left" valign="top">
|
2312
|
-
<tbody>
|
2313
|
-
<tr>
|
2314
|
-
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2315
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2316
|
-
</td>
|
2317
|
-
</tr>
|
2318
|
-
<tr>
|
2319
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2320
|
-
<td>ignored
|
2321
|
-
</td>
|
2322
|
-
</tr>
|
2323
|
-
<tr>
|
2324
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2325
|
-
<td>3
|
2326
|
-
</td>
|
2327
|
-
</tr>
|
2328
|
-
<tr>
|
2329
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2330
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding instance, arg1 and arg2
|
2331
|
-
</td>
|
2332
|
-
</tr>
|
2333
|
-
<tr>
|
2334
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2335
|
-
<td>the invocation hint given as the last argument
|
2336
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2337
|
-
</td>
|
2338
|
-
</tr>
|
2339
|
-
<tr>
|
2340
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2341
|
-
<td>additional data specified when registering the marshaller
|
2342
|
-
</td>
|
2343
|
-
</tr>
|
2344
|
-
</tbody>
|
2345
|
-
</table></div>
|
2346
|
-
</div>
|
2347
|
-
<hr>
|
2348
|
-
<div class="refsect2">
|
2349
|
-
<a name="g-cclosure-marshal-BOOLEAN--FLAGS"></a><h3>g_cclosure_marshal_BOOLEAN__FLAGS ()</h3>
|
2350
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_BOOLEAN__FLAGS (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>,
|
2351
|
-
<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>,
|
2352
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>,
|
2353
|
-
<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>,
|
2354
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>,
|
2355
|
-
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre>
|
2356
|
-
<p>
|
2357
|
-
A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="GCClosure"><span class="type">GCClosure</span></a> with a callback of type
|
2358
|
-
<code class="literal">gboolean (*callback) (gpointer instance, gint arg1, gpointer user_data)</code> where the <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> parameter
|
2359
|
-
denotes a flags type.
|
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>closure</code></em> :</span></p></td>
|
2366
|
-
<td>the <a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs
|
2367
|
-
</td>
|
2368
|
-
</tr>
|
2369
|
-
<tr>
|
2370
|
-
<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td>
|
2371
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> which can store the returned <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>
|
2372
|
-
</td>
|
2373
|
-
</tr>
|
2374
|
-
<tr>
|
2375
|
-
<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td>
|
2376
|
-
<td>2
|
2377
|
-
</td>
|
2378
|
-
</tr>
|
2379
|
-
<tr>
|
2380
|
-
<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td>
|
2381
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding instance and arg1
|
2382
|
-
</td>
|
2383
|
-
</tr>
|
2384
|
-
<tr>
|
2385
|
-
<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td>
|
2386
|
-
<td>the invocation hint given as the last argument
|
2387
|
-
to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>
|
2388
|
-
</td>
|
2389
|
-
</tr>
|
2390
|
-
<tr>
|
2391
|
-
<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td>
|
2392
|
-
<td>additional data specified when registering the marshaller
|
2393
|
-
</td>
|
2394
|
-
</tr>
|
2395
|
-
</tbody>
|
2396
|
-
</table></div>
|
2397
|
-
</div>
|
2398
|
-
<hr>
|
2399
|
-
<div class="refsect2">
|
2400
|
-
<a name="g-cclosure-marshal-BOOL--FLAGS"></a><h3>g_cclosure_marshal_BOOL__FLAGS</h3>
|
2401
|
-
<pre class="programlisting">#define g_cclosure_marshal_BOOL__FLAGS</pre>
|
2402
|
-
<p>
|
2403
|
-
Another name for <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGS" title="g_cclosure_marshal_BOOLEAN__FLAGS ()"><code class="function">g_cclosure_marshal_BOOLEAN__FLAGS()</code></a>.
|
2404
|
-
</p>
|
2405
|
-
</div>
|
2406
|
-
</div>
|
2407
|
-
</div>
|
2408
|
-
<div class="footer">
|
2409
|
-
<hr>
|
2410
|
-
Generated by GTK-Doc V1.15.1</div>
|
2411
|
-
</body>
|
2412
|
-
</html>
|