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
@@ -1,1864 +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>GVariantType</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
7
|
-
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
|
-
<link rel="up" href="glib-data-types.html" title="GLib Data Types">
|
9
|
-
<link rel="prev" href="glib-Memory-Allocators.html" title="Memory Allocators">
|
10
|
-
<link rel="next" href="glib-GVariant.html" title="GVariant">
|
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="glib-Memory-Allocators.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
-
<td><a accesskey="u" href="glib-data-types.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">GLib Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="glib-GVariant.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="#glib-GVariantType.synopsis" class="shortcut">Top</a>
|
25
|
-
|
|
26
|
-
<a href="#glib-GVariantType.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
29
|
-
<div class="refentry">
|
30
|
-
<a name="glib-GVariantType"></a><div class="titlepage"></div>
|
31
|
-
<div class="refnamediv"><table width="100%"><tr>
|
32
|
-
<td valign="top">
|
33
|
-
<h2><span class="refentrytitle"><a name="glib-GVariantType.top_of_page"></a>GVariantType</span></h2>
|
34
|
-
<p>GVariantType — introduction to the GVariant type system</p>
|
35
|
-
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
37
|
-
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
39
|
-
<a name="glib-GVariantType.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">
|
41
|
-
#include <glib.h>
|
42
|
-
|
43
|
-
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType">GVariantType</a>;
|
44
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BOOLEAN:CAPS" title="G_VARIANT_TYPE_BOOLEAN">G_VARIANT_TYPE_BOOLEAN</a>
|
45
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BYTE:CAPS" title="G_VARIANT_TYPE_BYTE">G_VARIANT_TYPE_BYTE</a>
|
46
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT16:CAPS" title="G_VARIANT_TYPE_INT16">G_VARIANT_TYPE_INT16</a>
|
47
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT16:CAPS" title="G_VARIANT_TYPE_UINT16">G_VARIANT_TYPE_UINT16</a>
|
48
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT32:CAPS" title="G_VARIANT_TYPE_INT32">G_VARIANT_TYPE_INT32</a>
|
49
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT32:CAPS" title="G_VARIANT_TYPE_UINT32">G_VARIANT_TYPE_UINT32</a>
|
50
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT64:CAPS" title="G_VARIANT_TYPE_INT64">G_VARIANT_TYPE_INT64</a>
|
51
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT64:CAPS" title="G_VARIANT_TYPE_UINT64">G_VARIANT_TYPE_UINT64</a>
|
52
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-HANDLE:CAPS" title="G_VARIANT_TYPE_HANDLE">G_VARIANT_TYPE_HANDLE</a>
|
53
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DOUBLE:CAPS" title="G_VARIANT_TYPE_DOUBLE">G_VARIANT_TYPE_DOUBLE</a>
|
54
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-STRING:CAPS" title="G_VARIANT_TYPE_STRING">G_VARIANT_TYPE_STRING</a>
|
55
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-OBJECT-PATH:CAPS" title="G_VARIANT_TYPE_OBJECT_PATH">G_VARIANT_TYPE_OBJECT_PATH</a>
|
56
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-SIGNATURE:CAPS" title="G_VARIANT_TYPE_SIGNATURE">G_VARIANT_TYPE_SIGNATURE</a>
|
57
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-VARIANT:CAPS" title="G_VARIANT_TYPE_VARIANT">G_VARIANT_TYPE_VARIANT</a>
|
58
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ANY:CAPS" title="G_VARIANT_TYPE_ANY">G_VARIANT_TYPE_ANY</a>
|
59
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BASIC:CAPS" title="G_VARIANT_TYPE_BASIC">G_VARIANT_TYPE_BASIC</a>
|
60
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-MAYBE:CAPS" title="G_VARIANT_TYPE_MAYBE">G_VARIANT_TYPE_MAYBE</a>
|
61
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ARRAY:CAPS" title="G_VARIANT_TYPE_ARRAY">G_VARIANT_TYPE_ARRAY</a>
|
62
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-TUPLE:CAPS" title="G_VARIANT_TYPE_TUPLE">G_VARIANT_TYPE_TUPLE</a>
|
63
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UNIT:CAPS" title="G_VARIANT_TYPE_UNIT">G_VARIANT_TYPE_UNIT</a>
|
64
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DICT-ENTRY:CAPS" title="G_VARIANT_TYPE_DICT_ENTRY">G_VARIANT_TYPE_DICT_ENTRY</a>
|
65
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DICTIONARY:CAPS" title="G_VARIANT_TYPE_DICTIONARY">G_VARIANT_TYPE_DICTIONARY</a>
|
66
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-STRING-ARRAY:CAPS" title="G_VARIANT_TYPE_STRING_ARRAY">G_VARIANT_TYPE_STRING_ARRAY</a>
|
67
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BYTESTRING:CAPS" title="G_VARIANT_TYPE_BYTESTRING">G_VARIANT_TYPE_BYTESTRING</a>
|
68
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BYTESTRING-ARRAY:CAPS" title="G_VARIANT_TYPE_BYTESTRING_ARRAY">G_VARIANT_TYPE_BYTESTRING_ARRAY</a>
|
69
|
-
|
70
|
-
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE:CAPS" title="G_VARIANT_TYPE()">G_VARIANT_TYPE</a> (type_string)
|
71
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()">g_variant_type_free</a> (<em class="parameter"><code><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
72
|
-
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-copy" title="g_variant_type_copy ()">g_variant_type_copy</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
73
|
-
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-new" title="g_variant_type_new ()">g_variant_type_new</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *type_string</code></em>);
|
74
|
-
|
75
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-string-is-valid" title="g_variant_type_string_is_valid ()">g_variant_type_string_is_valid</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *type_string</code></em>);
|
76
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-string-scan" title="g_variant_type_string_scan ()">g_variant_type_string_scan</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
77
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *limit</code></em>,
|
78
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>);
|
79
|
-
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-get-string-length" title="g_variant_type_get_string_length ()">g_variant_type_get_string_length</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
80
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-peek-string" title="g_variant_type_peek_string ()">g_variant_type_peek_string</a>
|
81
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
82
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-dup-string" title="g_variant_type_dup_string ()">g_variant_type_dup_string</a>
|
83
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
84
|
-
|
85
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-definite" title="g_variant_type_is_definite ()">g_variant_type_is_definite</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
86
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-container" title="g_variant_type_is_container ()">g_variant_type_is_container</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
87
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-basic" title="g_variant_type_is_basic ()">g_variant_type_is_basic</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
88
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-maybe" title="g_variant_type_is_maybe ()">g_variant_type_is_maybe</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
89
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-array" title="g_variant_type_is_array ()">g_variant_type_is_array</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
90
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-tuple" title="g_variant_type_is_tuple ()">g_variant_type_is_tuple</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
91
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-dict-entry" title="g_variant_type_is_dict_entry ()">g_variant_type_is_dict_entry</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
92
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-variant" title="g_variant_type_is_variant ()">g_variant_type_is_variant</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
93
|
-
|
94
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-hash" title="g_variant_type_hash ()">g_variant_type_hash</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> type</code></em>);
|
95
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-equal" title="g_variant_type_equal ()">g_variant_type_equal</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> type1</code></em>,
|
96
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> type2</code></em>);
|
97
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-subtype-of" title="g_variant_type_is_subtype_of ()">g_variant_type_is_subtype_of</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
98
|
-
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *supertype</code></em>);
|
99
|
-
|
100
|
-
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-new-maybe" title="g_variant_type_new_maybe ()">g_variant_type_new_maybe</a>
|
101
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *element</code></em>);
|
102
|
-
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-new-array" title="g_variant_type_new_array ()">g_variant_type_new_array</a>
|
103
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *element</code></em>);
|
104
|
-
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-new-tuple" title="g_variant_type_new_tuple ()">g_variant_type_new_tuple</a>
|
105
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> * const *items</code></em>,
|
106
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> length</code></em>);
|
107
|
-
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-new-dict-entry" title="g_variant_type_new_dict_entry ()">g_variant_type_new_dict_entry</a>
|
108
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *key</code></em>,
|
109
|
-
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *value</code></em>);
|
110
|
-
|
111
|
-
const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-element" title="g_variant_type_element ()">g_variant_type_element</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
112
|
-
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-n-items" title="g_variant_type_n_items ()">g_variant_type_n_items</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
113
|
-
const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-first" title="g_variant_type_first ()">g_variant_type_first</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
114
|
-
const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-next" title="g_variant_type_next ()">g_variant_type_next</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
115
|
-
const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-key" title="g_variant_type_key ()">g_variant_type_key</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
116
|
-
const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-value" title="g_variant_type_value ()">g_variant_type_value</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
117
|
-
</pre>
|
118
|
-
</div>
|
119
|
-
<div class="refsect1">
|
120
|
-
<a name="glib-GVariantType.description"></a><h2>Description</h2>
|
121
|
-
<p>
|
122
|
-
This section introduces the GVariant type system. It is based, in
|
123
|
-
large part, on the DBus type system, with two major changes and some minor
|
124
|
-
lifting of restrictions. The <a class="ulink" href="http://dbus.freedesktop.org/doc/dbus-specification.html" target="_top">DBus
|
125
|
-
specification</a>, therefore, provides a significant amount of
|
126
|
-
information that is useful when working with GVariant.
|
127
|
-
</p>
|
128
|
-
<p>
|
129
|
-
The first major change with respect to the DBus type system is the
|
130
|
-
introduction of maybe (or "nullable") types. Any type in GVariant can be
|
131
|
-
converted to a maybe type, in which case, "nothing" (or "null") becomes a
|
132
|
-
valid value. Maybe types have been added by introducing the
|
133
|
-
character "<code class="literal">m</code>" to type strings.
|
134
|
-
</p>
|
135
|
-
<p>
|
136
|
-
The second major change is that the GVariant type system supports the
|
137
|
-
concept of "indefinite types" -- types that are less specific than
|
138
|
-
the normal types found in DBus. For example, it is possible to speak
|
139
|
-
of "an array of any type" in GVariant, where the DBus type system
|
140
|
-
would require you to speak of "an array of integers" or "an array of
|
141
|
-
strings". Indefinite types have been added by introducing the
|
142
|
-
characters "<code class="literal">*</code>", "<code class="literal">?</code>" and
|
143
|
-
"<code class="literal">r</code>" to type strings.
|
144
|
-
</p>
|
145
|
-
<p>
|
146
|
-
Finally, all arbitrary restrictions relating to the complexity of
|
147
|
-
types are lifted along with the restriction that dictionary entries
|
148
|
-
may only appear nested inside of arrays.
|
149
|
-
</p>
|
150
|
-
<p>
|
151
|
-
Just as in DBus, GVariant types are described with strings ("type
|
152
|
-
strings"). Subject to the differences mentioned above, these strings
|
153
|
-
are of the same form as those found in DBus. Note, however: DBus
|
154
|
-
always works in terms of messages and therefore individual type
|
155
|
-
strings appear nowhere in its interface. Instead, "signatures"
|
156
|
-
are a concatenation of the strings of the type of each argument in a
|
157
|
-
message. GVariant deals with single values directly so GVariant type
|
158
|
-
strings always describe the type of exactly one value. This means
|
159
|
-
that a DBus signature string is generally not a valid GVariant type
|
160
|
-
string -- except in the case that it is the signature of a message
|
161
|
-
containing exactly one argument.
|
162
|
-
</p>
|
163
|
-
<p>
|
164
|
-
An indefinite type is similar in spirit to what may be called an
|
165
|
-
abstract type in other type systems. No value can exist that has an
|
166
|
-
indefinite type as its type, but values can exist that have types
|
167
|
-
that are subtypes of indefinite types. That is to say,
|
168
|
-
<a class="link" href="glib-GVariant.html#g-variant-get-type" title="g_variant_get_type ()"><code class="function">g_variant_get_type()</code></a> will never return an indefinite type, but
|
169
|
-
calling <code class="function">g_variant_is_a()</code> with an indefinite type may return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.
|
170
|
-
For example, you can not have a value that represents "an array of no
|
171
|
-
particular type", but you can have an "array of integers" which
|
172
|
-
certainly matches the type of "an array of no particular type", since
|
173
|
-
"array of integers" is a subtype of "array of no particular type".
|
174
|
-
</p>
|
175
|
-
<p>
|
176
|
-
This is similar to how instances of abstract classes may not
|
177
|
-
directly exist in other type systems, but instances of their
|
178
|
-
non-abstract subtypes may. For example, in GTK, no object that has
|
179
|
-
the type of <a href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html"><span class="type">GtkBin</span></a> can exist (since <a href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html"><span class="type">GtkBin</span></a> is an abstract class),
|
180
|
-
but a <a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"><span class="type">GtkWindow</span></a> can certainly be instantiated, and you would say
|
181
|
-
that the <a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"><span class="type">GtkWindow</span></a> is a <a href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html"><span class="type">GtkBin</span></a> (since <a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"><span class="type">GtkWindow</span></a> is a subclass of
|
182
|
-
<a href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html"><span class="type">GtkBin</span></a>).
|
183
|
-
</p>
|
184
|
-
<p>
|
185
|
-
A detailed description of GVariant type strings is given here:
|
186
|
-
</p>
|
187
|
-
<p>
|
188
|
-
</p>
|
189
|
-
<div class="refsect2">
|
190
|
-
<a name="gvariant-typestrings"></a><h3>GVariant Type Strings</h3>
|
191
|
-
<p>
|
192
|
-
A GVariant type string can be any of the following:
|
193
|
-
</p>
|
194
|
-
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
195
|
-
<li class="listitem"><p>
|
196
|
-
any basic type string (listed below)
|
197
|
-
</p></li>
|
198
|
-
<li class="listitem"><p>
|
199
|
-
"<code class="literal">v</code>", "<code class="literal">r</code>" or
|
200
|
-
"<code class="literal">*</code>"
|
201
|
-
</p></li>
|
202
|
-
<li class="listitem"><p>
|
203
|
-
one of the characters '<code class="literal">a</code>' or
|
204
|
-
'<code class="literal">m</code>', followed by another type string
|
205
|
-
</p></li>
|
206
|
-
<li class="listitem"><p>
|
207
|
-
the character '<code class="literal">(</code>', followed by a concatenation
|
208
|
-
of zero or more other type strings, followed by the character
|
209
|
-
'<code class="literal">)</code>'
|
210
|
-
</p></li>
|
211
|
-
<li class="listitem"><p>
|
212
|
-
the character '<code class="literal">{</code>', followed by a basic type
|
213
|
-
string (see below), followed by another type string, followed by
|
214
|
-
the character '<code class="literal">}</code>'
|
215
|
-
</p></li>
|
216
|
-
</ul></div>
|
217
|
-
<p>
|
218
|
-
A basic type string describes a basic type (as per
|
219
|
-
<a class="link" href="glib-GVariantType.html#g-variant-type-is-basic" title="g_variant_type_is_basic ()"><code class="function">g_variant_type_is_basic()</code></a>) and is always a single
|
220
|
-
character in length. The valid basic type strings are
|
221
|
-
"<code class="literal">b</code>", "<code class="literal">y</code>",
|
222
|
-
"<code class="literal">n</code>", "<code class="literal">q</code>",
|
223
|
-
"<code class="literal">i</code>", "<code class="literal">u</code>",
|
224
|
-
"<code class="literal">x</code>", "<code class="literal">t</code>",
|
225
|
-
"<code class="literal">h</code>", "<code class="literal">d</code>",
|
226
|
-
"<code class="literal">s</code>", "<code class="literal">o</code>",
|
227
|
-
"<code class="literal">g</code>" and "<code class="literal">?</code>".
|
228
|
-
</p>
|
229
|
-
<p>
|
230
|
-
The above definition is recursive to arbitrary depth.
|
231
|
-
"<code class="literal">aaaaai</code>" and "<code class="literal">(ui(nq((y)))s)</code>"
|
232
|
-
are both valid type strings, as is
|
233
|
-
"<code class="literal">a(aa(ui)(qna{ya(yd)}))</code>".
|
234
|
-
</p>
|
235
|
-
<p>
|
236
|
-
The meaning of each of the characters is as follows:
|
237
|
-
</p>
|
238
|
-
<div class="informaltable"><table border="1">
|
239
|
-
<colgroup>
|
240
|
-
<col>
|
241
|
-
<col>
|
242
|
-
</colgroup>
|
243
|
-
<tbody>
|
244
|
-
<tr>
|
245
|
-
<td>
|
246
|
-
<p>
|
247
|
-
<span class="strong"><strong>Character</strong></span>
|
248
|
-
</p>
|
249
|
-
</td>
|
250
|
-
<td>
|
251
|
-
<p>
|
252
|
-
<span class="strong"><strong>Meaning</strong></span>
|
253
|
-
</p>
|
254
|
-
</td>
|
255
|
-
</tr>
|
256
|
-
<tr>
|
257
|
-
<td>
|
258
|
-
<p>
|
259
|
-
<code class="literal">b</code>
|
260
|
-
</p>
|
261
|
-
</td>
|
262
|
-
<td>
|
263
|
-
<p>
|
264
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BOOLEAN:CAPS" title="G_VARIANT_TYPE_BOOLEAN"><code class="literal">G_VARIANT_TYPE_BOOLEAN</code></a>; a boolean value.
|
265
|
-
</p>
|
266
|
-
</td>
|
267
|
-
</tr>
|
268
|
-
<tr>
|
269
|
-
<td>
|
270
|
-
<p>
|
271
|
-
<code class="literal">y</code>
|
272
|
-
</p>
|
273
|
-
</td>
|
274
|
-
<td>
|
275
|
-
<p>
|
276
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BYTE:CAPS" title="G_VARIANT_TYPE_BYTE"><code class="literal">G_VARIANT_TYPE_BYTE</code></a>; a byte.
|
277
|
-
</p>
|
278
|
-
</td>
|
279
|
-
</tr>
|
280
|
-
<tr>
|
281
|
-
<td>
|
282
|
-
<p>
|
283
|
-
<code class="literal">n</code>
|
284
|
-
</p>
|
285
|
-
</td>
|
286
|
-
<td>
|
287
|
-
<p>
|
288
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT16:CAPS" title="G_VARIANT_TYPE_INT16"><code class="literal">G_VARIANT_TYPE_INT16</code></a>; a signed 16 bit
|
289
|
-
integer.
|
290
|
-
</p>
|
291
|
-
</td>
|
292
|
-
</tr>
|
293
|
-
<tr>
|
294
|
-
<td>
|
295
|
-
<p>
|
296
|
-
<code class="literal">q</code>
|
297
|
-
</p>
|
298
|
-
</td>
|
299
|
-
<td>
|
300
|
-
<p>
|
301
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT16:CAPS" title="G_VARIANT_TYPE_UINT16"><code class="literal">G_VARIANT_TYPE_UINT16</code></a>; an unsigned 16 bit
|
302
|
-
integer.
|
303
|
-
</p>
|
304
|
-
</td>
|
305
|
-
</tr>
|
306
|
-
<tr>
|
307
|
-
<td>
|
308
|
-
<p>
|
309
|
-
<code class="literal">i</code>
|
310
|
-
</p>
|
311
|
-
</td>
|
312
|
-
<td>
|
313
|
-
<p>
|
314
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT32:CAPS" title="G_VARIANT_TYPE_INT32"><code class="literal">G_VARIANT_TYPE_INT32</code></a>; a signed 32 bit
|
315
|
-
integer.
|
316
|
-
</p>
|
317
|
-
</td>
|
318
|
-
</tr>
|
319
|
-
<tr>
|
320
|
-
<td>
|
321
|
-
<p>
|
322
|
-
<code class="literal">u</code>
|
323
|
-
</p>
|
324
|
-
</td>
|
325
|
-
<td>
|
326
|
-
<p>
|
327
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT32:CAPS" title="G_VARIANT_TYPE_UINT32"><code class="literal">G_VARIANT_TYPE_UINT32</code></a>; an unsigned 32 bit
|
328
|
-
integer.
|
329
|
-
</p>
|
330
|
-
</td>
|
331
|
-
</tr>
|
332
|
-
<tr>
|
333
|
-
<td>
|
334
|
-
<p>
|
335
|
-
<code class="literal">x</code>
|
336
|
-
</p>
|
337
|
-
</td>
|
338
|
-
<td>
|
339
|
-
<p>
|
340
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT64:CAPS" title="G_VARIANT_TYPE_INT64"><code class="literal">G_VARIANT_TYPE_INT64</code></a>; a signed 64 bit
|
341
|
-
integer.
|
342
|
-
</p>
|
343
|
-
</td>
|
344
|
-
</tr>
|
345
|
-
<tr>
|
346
|
-
<td>
|
347
|
-
<p>
|
348
|
-
<code class="literal">t</code>
|
349
|
-
</p>
|
350
|
-
</td>
|
351
|
-
<td>
|
352
|
-
<p>
|
353
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT64:CAPS" title="G_VARIANT_TYPE_UINT64"><code class="literal">G_VARIANT_TYPE_UINT64</code></a>; an unsigned 64 bit
|
354
|
-
integer.
|
355
|
-
</p>
|
356
|
-
</td>
|
357
|
-
</tr>
|
358
|
-
<tr>
|
359
|
-
<td>
|
360
|
-
<p>
|
361
|
-
<code class="literal">h</code>
|
362
|
-
</p>
|
363
|
-
</td>
|
364
|
-
<td>
|
365
|
-
<p>
|
366
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-HANDLE:CAPS" title="G_VARIANT_TYPE_HANDLE"><code class="literal">G_VARIANT_TYPE_HANDLE</code></a>; a signed 32 bit
|
367
|
-
value that, by convention, is used as an index into an array
|
368
|
-
of file descriptors that are sent alongside a DBus message.
|
369
|
-
</p>
|
370
|
-
</td>
|
371
|
-
</tr>
|
372
|
-
<tr>
|
373
|
-
<td>
|
374
|
-
<p>
|
375
|
-
<code class="literal">d</code>
|
376
|
-
</p>
|
377
|
-
</td>
|
378
|
-
<td>
|
379
|
-
<p>
|
380
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DOUBLE:CAPS" title="G_VARIANT_TYPE_DOUBLE"><code class="literal">G_VARIANT_TYPE_DOUBLE</code></a>; a double precision
|
381
|
-
floating point value.
|
382
|
-
</p>
|
383
|
-
</td>
|
384
|
-
</tr>
|
385
|
-
<tr>
|
386
|
-
<td>
|
387
|
-
<p>
|
388
|
-
<code class="literal">s</code>
|
389
|
-
</p>
|
390
|
-
</td>
|
391
|
-
<td>
|
392
|
-
<p>
|
393
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-STRING:CAPS" title="G_VARIANT_TYPE_STRING"><code class="literal">G_VARIANT_TYPE_STRING</code></a>; a string.
|
394
|
-
</p>
|
395
|
-
</td>
|
396
|
-
</tr>
|
397
|
-
<tr>
|
398
|
-
<td>
|
399
|
-
<p>
|
400
|
-
<code class="literal">o</code>
|
401
|
-
</p>
|
402
|
-
</td>
|
403
|
-
<td>
|
404
|
-
<p>
|
405
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-OBJECT-PATH:CAPS" title="G_VARIANT_TYPE_OBJECT_PATH"><code class="literal">G_VARIANT_TYPE_OBJECT_PATH</code></a>; a string in
|
406
|
-
the form of a DBus object path.
|
407
|
-
</p>
|
408
|
-
</td>
|
409
|
-
</tr>
|
410
|
-
<tr>
|
411
|
-
<td>
|
412
|
-
<p>
|
413
|
-
<code class="literal">g</code>
|
414
|
-
</p>
|
415
|
-
</td>
|
416
|
-
<td>
|
417
|
-
<p>
|
418
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-STRING:CAPS" title="G_VARIANT_TYPE_STRING"><code class="literal">G_VARIANT_TYPE_STRING</code></a>; a string in the
|
419
|
-
form of a DBus type signature.
|
420
|
-
</p>
|
421
|
-
</td>
|
422
|
-
</tr>
|
423
|
-
<tr>
|
424
|
-
<td>
|
425
|
-
<p>
|
426
|
-
<code class="literal">?</code>
|
427
|
-
</p>
|
428
|
-
</td>
|
429
|
-
<td>
|
430
|
-
<p>
|
431
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BASIC:CAPS" title="G_VARIANT_TYPE_BASIC"><code class="literal">G_VARIANT_TYPE_BASIC</code></a>; an indefinite type
|
432
|
-
that is a supertype of any of the basic types.
|
433
|
-
</p>
|
434
|
-
</td>
|
435
|
-
</tr>
|
436
|
-
<tr>
|
437
|
-
<td>
|
438
|
-
<p>
|
439
|
-
<code class="literal">v</code>
|
440
|
-
</p>
|
441
|
-
</td>
|
442
|
-
<td>
|
443
|
-
<p>
|
444
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-VARIANT:CAPS" title="G_VARIANT_TYPE_VARIANT"><code class="literal">G_VARIANT_TYPE_VARIANT</code></a>; a container type
|
445
|
-
that contain any other type of value.
|
446
|
-
</p>
|
447
|
-
</td>
|
448
|
-
</tr>
|
449
|
-
<tr>
|
450
|
-
<td>
|
451
|
-
<p>
|
452
|
-
<code class="literal">a</code>
|
453
|
-
</p>
|
454
|
-
</td>
|
455
|
-
<td>
|
456
|
-
<p>
|
457
|
-
used as a prefix on another type string to mean an array of
|
458
|
-
that type; the type string "<code class="literal">ai</code>", for
|
459
|
-
example, is the type of an array of 32 bit signed integers.
|
460
|
-
</p>
|
461
|
-
</td>
|
462
|
-
</tr>
|
463
|
-
<tr>
|
464
|
-
<td>
|
465
|
-
<p>
|
466
|
-
<code class="literal">m</code>
|
467
|
-
</p>
|
468
|
-
</td>
|
469
|
-
<td>
|
470
|
-
<p>
|
471
|
-
used as a prefix on another type string to mean a "maybe", or
|
472
|
-
"nullable", version of that type; the type string
|
473
|
-
"<code class="literal">ms</code>", for example, is the type of a value
|
474
|
-
that maybe contains a string, or maybe contains nothing.
|
475
|
-
</p>
|
476
|
-
</td>
|
477
|
-
</tr>
|
478
|
-
<tr>
|
479
|
-
<td>
|
480
|
-
<p>
|
481
|
-
<code class="literal">()</code>
|
482
|
-
</p>
|
483
|
-
</td>
|
484
|
-
<td>
|
485
|
-
<p>
|
486
|
-
used to enclose zero or more other concatenated type strings
|
487
|
-
to create a tuple type; the type string
|
488
|
-
"<code class="literal">(is)</code>", for example, is the type of a pair
|
489
|
-
of an integer and a string.
|
490
|
-
</p>
|
491
|
-
</td>
|
492
|
-
</tr>
|
493
|
-
<tr>
|
494
|
-
<td>
|
495
|
-
<p>
|
496
|
-
<code class="literal">r</code>
|
497
|
-
</p>
|
498
|
-
</td>
|
499
|
-
<td>
|
500
|
-
<p>
|
501
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-TUPLE:CAPS" title="G_VARIANT_TYPE_TUPLE"><code class="literal">G_VARIANT_TYPE_TUPLE</code></a>; an indefinite type
|
502
|
-
that is a supertype of any tuple type, regardless of the
|
503
|
-
number of items.
|
504
|
-
</p>
|
505
|
-
</td>
|
506
|
-
</tr>
|
507
|
-
<tr>
|
508
|
-
<td>
|
509
|
-
<p>
|
510
|
-
<code class="literal">{}</code>
|
511
|
-
</p>
|
512
|
-
</td>
|
513
|
-
<td>
|
514
|
-
<p>
|
515
|
-
used to enclose a basic type string concatenated with another
|
516
|
-
type string to create a dictionary entry type, which usually
|
517
|
-
appears inside of an array to form a dictionary; the type
|
518
|
-
string "<code class="literal">a{sd}</code>", for example, is the type of
|
519
|
-
a dictionary that maps strings to double precision floating
|
520
|
-
point values.
|
521
|
-
</p>
|
522
|
-
<p>
|
523
|
-
The first type (the basic type) is the key type and the second
|
524
|
-
type is the value type. The reason that the first type is
|
525
|
-
restricted to being a basic type is so that it can easily be
|
526
|
-
hashed.
|
527
|
-
</p>
|
528
|
-
</td>
|
529
|
-
</tr>
|
530
|
-
<tr>
|
531
|
-
<td>
|
532
|
-
<p>
|
533
|
-
<code class="literal">*</code>
|
534
|
-
</p>
|
535
|
-
</td>
|
536
|
-
<td>
|
537
|
-
<p>
|
538
|
-
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ANY:CAPS" title="G_VARIANT_TYPE_ANY"><code class="literal">G_VARIANT_TYPE_ANY</code></a>; the indefinite type
|
539
|
-
that is a supertype of all types. Note that, as with all type
|
540
|
-
strings, this character represents exactly one type. It
|
541
|
-
cannot be used inside of tuples to mean "any number of items".
|
542
|
-
</p>
|
543
|
-
</td>
|
544
|
-
</tr>
|
545
|
-
</tbody>
|
546
|
-
</table></div>
|
547
|
-
<p>
|
548
|
-
Any type string of a container that contains an indefinite type is,
|
549
|
-
itself, an indefinite type. For example, the type string
|
550
|
-
"<code class="literal">a*</code>" (corresponding to <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ARRAY:CAPS" title="G_VARIANT_TYPE_ARRAY"><code class="literal">G_VARIANT_TYPE_ARRAY</code></a>) is
|
551
|
-
an indefinite type that is a supertype of every array type.
|
552
|
-
"<code class="literal">(*s)</code>" is a supertype of all tuples that
|
553
|
-
contain exactly two items where the second item is a string.
|
554
|
-
</p>
|
555
|
-
<p>
|
556
|
-
"<code class="literal">a{?*}</code>" is an indefinite type that is a
|
557
|
-
supertype of all arrays containing dictionary entries where the key
|
558
|
-
is any basic type and the value is any type at all. This is, by
|
559
|
-
definition, a dictionary, so this type string corresponds to
|
560
|
-
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DICTIONARY:CAPS" title="G_VARIANT_TYPE_DICTIONARY"><code class="literal">G_VARIANT_TYPE_DICTIONARY</code></a>. Note that, due to the restriction that
|
561
|
-
the key of a dictionary entry must be a basic type,
|
562
|
-
"<code class="literal">{**}</code>" is not a valid type string.
|
563
|
-
</p>
|
564
|
-
</div>
|
565
|
-
<p>
|
566
|
-
</p>
|
567
|
-
</div>
|
568
|
-
<div class="refsect1">
|
569
|
-
<a name="glib-GVariantType.details"></a><h2>Details</h2>
|
570
|
-
<div class="refsect2">
|
571
|
-
<a name="GVariantType"></a><h3>GVariantType</h3>
|
572
|
-
<pre class="programlisting">typedef struct _GVariantType GVariantType;</pre>
|
573
|
-
<p>
|
574
|
-
A type in the GVariant type system.
|
575
|
-
</p>
|
576
|
-
<p>
|
577
|
-
Two types may not be compared by value; use <a class="link" href="glib-GVariantType.html#g-variant-type-equal" title="g_variant_type_equal ()"><code class="function">g_variant_type_equal()</code></a> or
|
578
|
-
<code class="function">g_variant_type_is_subtype()</code>. May be copied using
|
579
|
-
<a class="link" href="glib-GVariantType.html#g-variant-type-copy" title="g_variant_type_copy ()"><code class="function">g_variant_type_copy()</code></a> and freed using <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a>.
|
580
|
-
</p>
|
581
|
-
</div>
|
582
|
-
<hr>
|
583
|
-
<div class="refsect2">
|
584
|
-
<a name="G-VARIANT-TYPE-BOOLEAN:CAPS"></a><h3>G_VARIANT_TYPE_BOOLEAN</h3>
|
585
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_BOOLEAN ((const GVariantType *) "b")
|
586
|
-
</pre>
|
587
|
-
<p>
|
588
|
-
The type of a value that can be either <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>.
|
589
|
-
</p>
|
590
|
-
</div>
|
591
|
-
<hr>
|
592
|
-
<div class="refsect2">
|
593
|
-
<a name="G-VARIANT-TYPE-BYTE:CAPS"></a><h3>G_VARIANT_TYPE_BYTE</h3>
|
594
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_BYTE ((const GVariantType *) "y")
|
595
|
-
</pre>
|
596
|
-
<p>
|
597
|
-
The type of an integer value that can range from 0 to 255.
|
598
|
-
</p>
|
599
|
-
</div>
|
600
|
-
<hr>
|
601
|
-
<div class="refsect2">
|
602
|
-
<a name="G-VARIANT-TYPE-INT16:CAPS"></a><h3>G_VARIANT_TYPE_INT16</h3>
|
603
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_INT16 ((const GVariantType *) "n")
|
604
|
-
</pre>
|
605
|
-
<p>
|
606
|
-
The type of an integer value that can range from -32768 to 32767.
|
607
|
-
</p>
|
608
|
-
</div>
|
609
|
-
<hr>
|
610
|
-
<div class="refsect2">
|
611
|
-
<a name="G-VARIANT-TYPE-UINT16:CAPS"></a><h3>G_VARIANT_TYPE_UINT16</h3>
|
612
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_UINT16 ((const GVariantType *) "q")
|
613
|
-
</pre>
|
614
|
-
<p>
|
615
|
-
The type of an integer value that can range from 0 to 65535.
|
616
|
-
There were about this many people living in Toronto in the 1870s.
|
617
|
-
</p>
|
618
|
-
</div>
|
619
|
-
<hr>
|
620
|
-
<div class="refsect2">
|
621
|
-
<a name="G-VARIANT-TYPE-INT32:CAPS"></a><h3>G_VARIANT_TYPE_INT32</h3>
|
622
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_INT32 ((const GVariantType *) "i")
|
623
|
-
</pre>
|
624
|
-
<p>
|
625
|
-
The type of an integer value that can range from -2147483648 to
|
626
|
-
2147483647.
|
627
|
-
</p>
|
628
|
-
</div>
|
629
|
-
<hr>
|
630
|
-
<div class="refsect2">
|
631
|
-
<a name="G-VARIANT-TYPE-UINT32:CAPS"></a><h3>G_VARIANT_TYPE_UINT32</h3>
|
632
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_UINT32 ((const GVariantType *) "u")
|
633
|
-
</pre>
|
634
|
-
<p>
|
635
|
-
The type of an integer value that can range from 0 to 4294967295.
|
636
|
-
That's one number for everyone who was around in the late 1970s.
|
637
|
-
</p>
|
638
|
-
</div>
|
639
|
-
<hr>
|
640
|
-
<div class="refsect2">
|
641
|
-
<a name="G-VARIANT-TYPE-INT64:CAPS"></a><h3>G_VARIANT_TYPE_INT64</h3>
|
642
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_INT64 ((const GVariantType *) "x")
|
643
|
-
</pre>
|
644
|
-
<p>
|
645
|
-
The type of an integer value that can range from
|
646
|
-
-9223372036854775808 to 9223372036854775807.
|
647
|
-
</p>
|
648
|
-
</div>
|
649
|
-
<hr>
|
650
|
-
<div class="refsect2">
|
651
|
-
<a name="G-VARIANT-TYPE-UINT64:CAPS"></a><h3>G_VARIANT_TYPE_UINT64</h3>
|
652
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_UINT64 ((const GVariantType *) "t")
|
653
|
-
</pre>
|
654
|
-
<p>
|
655
|
-
The type of an integer value that can range from 0 to
|
656
|
-
18446744073709551616. That's a really big number, but a Rubik's
|
657
|
-
cube can have a bit more than twice as many possible positions.
|
658
|
-
</p>
|
659
|
-
</div>
|
660
|
-
<hr>
|
661
|
-
<div class="refsect2">
|
662
|
-
<a name="G-VARIANT-TYPE-HANDLE:CAPS"></a><h3>G_VARIANT_TYPE_HANDLE</h3>
|
663
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_HANDLE ((const GVariantType *) "h")
|
664
|
-
</pre>
|
665
|
-
<p>
|
666
|
-
The type of a 32bit signed integer value, that by convention, is used
|
667
|
-
as an index into an array of file descriptors that are sent alongside
|
668
|
-
a DBus message.
|
669
|
-
</p>
|
670
|
-
<p>
|
671
|
-
If you are not interacting with DBus, then there is no reason to make
|
672
|
-
use of this type.
|
673
|
-
</p>
|
674
|
-
</div>
|
675
|
-
<hr>
|
676
|
-
<div class="refsect2">
|
677
|
-
<a name="G-VARIANT-TYPE-DOUBLE:CAPS"></a><h3>G_VARIANT_TYPE_DOUBLE</h3>
|
678
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_DOUBLE ((const GVariantType *) "d")
|
679
|
-
</pre>
|
680
|
-
<p>
|
681
|
-
The type of a double precision IEEE754 floating point number.
|
682
|
-
These guys go up to about 1.80e308 (plus and minus) but miss out on
|
683
|
-
some numbers in between. In any case, that's far greater than the
|
684
|
-
estimated number of fundamental particles in the observable
|
685
|
-
universe.
|
686
|
-
</p>
|
687
|
-
</div>
|
688
|
-
<hr>
|
689
|
-
<div class="refsect2">
|
690
|
-
<a name="G-VARIANT-TYPE-STRING:CAPS"></a><h3>G_VARIANT_TYPE_STRING</h3>
|
691
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_STRING ((const GVariantType *) "s")
|
692
|
-
</pre>
|
693
|
-
<p>
|
694
|
-
The type of a string. "" is a string. <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is not a string.
|
695
|
-
</p>
|
696
|
-
</div>
|
697
|
-
<hr>
|
698
|
-
<div class="refsect2">
|
699
|
-
<a name="G-VARIANT-TYPE-OBJECT-PATH:CAPS"></a><h3>G_VARIANT_TYPE_OBJECT_PATH</h3>
|
700
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_OBJECT_PATH ((const GVariantType *) "o")
|
701
|
-
</pre>
|
702
|
-
<p>
|
703
|
-
The type of a DBus object reference. These are strings of a
|
704
|
-
specific format used to identify objects at a given destination on
|
705
|
-
the bus.
|
706
|
-
</p>
|
707
|
-
<p>
|
708
|
-
If you are not interacting with DBus, then there is no reason to make
|
709
|
-
use of this type. If you are, then the DBus specification contains a
|
710
|
-
precise description of valid object paths.
|
711
|
-
</p>
|
712
|
-
</div>
|
713
|
-
<hr>
|
714
|
-
<div class="refsect2">
|
715
|
-
<a name="G-VARIANT-TYPE-SIGNATURE:CAPS"></a><h3>G_VARIANT_TYPE_SIGNATURE</h3>
|
716
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_SIGNATURE ((const GVariantType *) "g")
|
717
|
-
</pre>
|
718
|
-
<p>
|
719
|
-
The type of a DBus type signature. These are strings of a specific
|
720
|
-
format used as type signatures for DBus methods and messages.
|
721
|
-
</p>
|
722
|
-
<p>
|
723
|
-
If you are not interacting with DBus, then there is no reason to make
|
724
|
-
use of this type. If you are, then the DBus specification contains a
|
725
|
-
precise description of valid signature strings.
|
726
|
-
</p>
|
727
|
-
</div>
|
728
|
-
<hr>
|
729
|
-
<div class="refsect2">
|
730
|
-
<a name="G-VARIANT-TYPE-VARIANT:CAPS"></a><h3>G_VARIANT_TYPE_VARIANT</h3>
|
731
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_VARIANT ((const GVariantType *) "v")
|
732
|
-
</pre>
|
733
|
-
<p>
|
734
|
-
The type of a box that contains any other value (including another
|
735
|
-
variant).
|
736
|
-
</p>
|
737
|
-
</div>
|
738
|
-
<hr>
|
739
|
-
<div class="refsect2">
|
740
|
-
<a name="G-VARIANT-TYPE-ANY:CAPS"></a><h3>G_VARIANT_TYPE_ANY</h3>
|
741
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_ANY ((const GVariantType *) "*")
|
742
|
-
</pre>
|
743
|
-
<p>
|
744
|
-
An indefinite type that is a supertype of every type (including
|
745
|
-
itself).
|
746
|
-
</p>
|
747
|
-
</div>
|
748
|
-
<hr>
|
749
|
-
<div class="refsect2">
|
750
|
-
<a name="G-VARIANT-TYPE-BASIC:CAPS"></a><h3>G_VARIANT_TYPE_BASIC</h3>
|
751
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_BASIC ((const GVariantType *) "?")
|
752
|
-
</pre>
|
753
|
-
<p>
|
754
|
-
An indefinite type that is a supertype of every basic (ie:
|
755
|
-
non-container) type.
|
756
|
-
</p>
|
757
|
-
</div>
|
758
|
-
<hr>
|
759
|
-
<div class="refsect2">
|
760
|
-
<a name="G-VARIANT-TYPE-MAYBE:CAPS"></a><h3>G_VARIANT_TYPE_MAYBE</h3>
|
761
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_MAYBE ((const GVariantType *) "m*")
|
762
|
-
</pre>
|
763
|
-
<p>
|
764
|
-
An indefinite type that is a supertype of every maybe type.
|
765
|
-
</p>
|
766
|
-
</div>
|
767
|
-
<hr>
|
768
|
-
<div class="refsect2">
|
769
|
-
<a name="G-VARIANT-TYPE-ARRAY:CAPS"></a><h3>G_VARIANT_TYPE_ARRAY</h3>
|
770
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_ARRAY ((const GVariantType *) "a*")
|
771
|
-
</pre>
|
772
|
-
<p>
|
773
|
-
An indefinite type that is a supertype of every array type.
|
774
|
-
</p>
|
775
|
-
</div>
|
776
|
-
<hr>
|
777
|
-
<div class="refsect2">
|
778
|
-
<a name="G-VARIANT-TYPE-TUPLE:CAPS"></a><h3>G_VARIANT_TYPE_TUPLE</h3>
|
779
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_TUPLE ((const GVariantType *) "r")
|
780
|
-
</pre>
|
781
|
-
<p>
|
782
|
-
An indefinite type that is a supertype of every tuple type,
|
783
|
-
regardless of the number of items in the tuple.
|
784
|
-
</p>
|
785
|
-
</div>
|
786
|
-
<hr>
|
787
|
-
<div class="refsect2">
|
788
|
-
<a name="G-VARIANT-TYPE-UNIT:CAPS"></a><h3>G_VARIANT_TYPE_UNIT</h3>
|
789
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_UNIT ((const GVariantType *) "()")
|
790
|
-
</pre>
|
791
|
-
<p>
|
792
|
-
The empty tuple type. Has only one instance. Known also as "triv"
|
793
|
-
or "void".
|
794
|
-
</p>
|
795
|
-
</div>
|
796
|
-
<hr>
|
797
|
-
<div class="refsect2">
|
798
|
-
<a name="G-VARIANT-TYPE-DICT-ENTRY:CAPS"></a><h3>G_VARIANT_TYPE_DICT_ENTRY</h3>
|
799
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_DICT_ENTRY ((const GVariantType *) "{?*}")
|
800
|
-
</pre>
|
801
|
-
<p>
|
802
|
-
An indefinite type that is a supertype of every dictionary entry
|
803
|
-
type.
|
804
|
-
</p>
|
805
|
-
</div>
|
806
|
-
<hr>
|
807
|
-
<div class="refsect2">
|
808
|
-
<a name="G-VARIANT-TYPE-DICTIONARY:CAPS"></a><h3>G_VARIANT_TYPE_DICTIONARY</h3>
|
809
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_DICTIONARY ((const GVariantType *) "a{?*}")
|
810
|
-
</pre>
|
811
|
-
<p>
|
812
|
-
An indefinite type that is a supertype of every dictionary type --
|
813
|
-
that is, any array type that has an element type equal to any
|
814
|
-
dictionary entry type.
|
815
|
-
</p>
|
816
|
-
</div>
|
817
|
-
<hr>
|
818
|
-
<div class="refsect2">
|
819
|
-
<a name="G-VARIANT-TYPE-STRING-ARRAY:CAPS"></a><h3>G_VARIANT_TYPE_STRING_ARRAY</h3>
|
820
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_STRING_ARRAY ((const GVariantType *) "as")
|
821
|
-
</pre>
|
822
|
-
<p>
|
823
|
-
The type of an array of strings.
|
824
|
-
</p>
|
825
|
-
</div>
|
826
|
-
<hr>
|
827
|
-
<div class="refsect2">
|
828
|
-
<a name="G-VARIANT-TYPE-BYTESTRING:CAPS"></a><h3>G_VARIANT_TYPE_BYTESTRING</h3>
|
829
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_BYTESTRING ((const GVariantType *) "ay")
|
830
|
-
</pre>
|
831
|
-
<p>
|
832
|
-
The type of an array of bytes. This type is commonly used to pass
|
833
|
-
around strings that may not be valid utf8. In that case, the
|
834
|
-
convention is that the nul terminator character should be included as
|
835
|
-
the last character in the array.
|
836
|
-
</p>
|
837
|
-
</div>
|
838
|
-
<hr>
|
839
|
-
<div class="refsect2">
|
840
|
-
<a name="G-VARIANT-TYPE-BYTESTRING-ARRAY:CAPS"></a><h3>G_VARIANT_TYPE_BYTESTRING_ARRAY</h3>
|
841
|
-
<pre class="programlisting">#define G_VARIANT_TYPE_BYTESTRING_ARRAY ((const GVariantType *) "aay")
|
842
|
-
</pre>
|
843
|
-
<p>
|
844
|
-
The type of an array of byte strings (an array of arrays of bytes).
|
845
|
-
</p>
|
846
|
-
</div>
|
847
|
-
<hr>
|
848
|
-
<div class="refsect2">
|
849
|
-
<a name="G-VARIANT-TYPE:CAPS"></a><h3>G_VARIANT_TYPE()</h3>
|
850
|
-
<pre class="programlisting">#define G_VARIANT_TYPE(type_string)</pre>
|
851
|
-
<p>
|
852
|
-
Converts a string to a const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>. Depending on the
|
853
|
-
current debugging level, this function may perform a runtime check
|
854
|
-
to ensure that <em class="parameter"><code>string</code></em> is a valid GVariant type string.
|
855
|
-
</p>
|
856
|
-
<p>
|
857
|
-
It is always a programmer error to use this macro with an invalid
|
858
|
-
type string.
|
859
|
-
</p>
|
860
|
-
<p>
|
861
|
-
Since 2.24
|
862
|
-
</p>
|
863
|
-
<div class="variablelist"><table border="0">
|
864
|
-
<col align="left" valign="top">
|
865
|
-
<tbody><tr>
|
866
|
-
<td><p><span class="term"><em class="parameter"><code>type_string</code></em> :</span></p></td>
|
867
|
-
<td>a well-formed <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> type string
|
868
|
-
</td>
|
869
|
-
</tr></tbody>
|
870
|
-
</table></div>
|
871
|
-
</div>
|
872
|
-
<hr>
|
873
|
-
<div class="refsect2">
|
874
|
-
<a name="g-variant-type-free"></a><h3>g_variant_type_free ()</h3>
|
875
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_type_free (<em class="parameter"><code><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
876
|
-
<p>
|
877
|
-
Frees a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> that was allocated with
|
878
|
-
<a class="link" href="glib-GVariantType.html#g-variant-type-copy" title="g_variant_type_copy ()"><code class="function">g_variant_type_copy()</code></a>, <a class="link" href="glib-GVariantType.html#g-variant-type-new" title="g_variant_type_new ()"><code class="function">g_variant_type_new()</code></a> or one of the container
|
879
|
-
type constructor functions.
|
880
|
-
</p>
|
881
|
-
<p>
|
882
|
-
In the case that <em class="parameter"><code>type</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, this function does nothing.
|
883
|
-
</p>
|
884
|
-
<p>
|
885
|
-
Since 2.24
|
886
|
-
</p>
|
887
|
-
<div class="variablelist"><table border="0">
|
888
|
-
<col align="left" valign="top">
|
889
|
-
<tbody><tr>
|
890
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
891
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
892
|
-
</td>
|
893
|
-
</tr></tbody>
|
894
|
-
</table></div>
|
895
|
-
</div>
|
896
|
-
<hr>
|
897
|
-
<div class="refsect2">
|
898
|
-
<a name="g-variant-type-copy"></a><h3>g_variant_type_copy ()</h3>
|
899
|
-
<pre class="programlisting"><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_copy (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
900
|
-
<p>
|
901
|
-
Makes a copy of a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>. It is appropriate to call
|
902
|
-
<a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a> on the return value. <em class="parameter"><code>type</code></em> may not be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
903
|
-
</p>
|
904
|
-
<p>
|
905
|
-
Since 2.24
|
906
|
-
</p>
|
907
|
-
<div class="variablelist"><table border="0">
|
908
|
-
<col align="left" valign="top">
|
909
|
-
<tbody>
|
910
|
-
<tr>
|
911
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
912
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
913
|
-
</td>
|
914
|
-
</tr>
|
915
|
-
<tr>
|
916
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
917
|
-
<td>a new <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
918
|
-
</td>
|
919
|
-
</tr>
|
920
|
-
</tbody>
|
921
|
-
</table></div>
|
922
|
-
</div>
|
923
|
-
<hr>
|
924
|
-
<div class="refsect2">
|
925
|
-
<a name="g-variant-type-new"></a><h3>g_variant_type_new ()</h3>
|
926
|
-
<pre class="programlisting"><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *type_string</code></em>);</pre>
|
927
|
-
<p>
|
928
|
-
Creates a new <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> corresponding to the type string given
|
929
|
-
by <em class="parameter"><code>type_string</code></em>. It is appropriate to call <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a> on
|
930
|
-
the return value.
|
931
|
-
</p>
|
932
|
-
<p>
|
933
|
-
It is a programmer error to call this function with an invalid type
|
934
|
-
string. Use <a class="link" href="glib-GVariantType.html#g-variant-type-string-is-valid" title="g_variant_type_string_is_valid ()"><code class="function">g_variant_type_string_is_valid()</code></a> if you are unsure.
|
935
|
-
</p>
|
936
|
-
<div class="variablelist"><table border="0">
|
937
|
-
<col align="left" valign="top">
|
938
|
-
<tbody>
|
939
|
-
<tr>
|
940
|
-
<td><p><span class="term"><em class="parameter"><code>type_string</code></em> :</span></p></td>
|
941
|
-
<td>a valid GVariant type string
|
942
|
-
</td>
|
943
|
-
</tr>
|
944
|
-
<tr>
|
945
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
946
|
-
<td>a new <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
947
|
-
</td>
|
948
|
-
</tr>
|
949
|
-
</tbody>
|
950
|
-
</table></div>
|
951
|
-
<p class="since">Since 2.24</p>
|
952
|
-
</div>
|
953
|
-
<hr>
|
954
|
-
<div class="refsect2">
|
955
|
-
<a name="g-variant-type-string-is-valid"></a><h3>g_variant_type_string_is_valid ()</h3>
|
956
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_string_is_valid (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *type_string</code></em>);</pre>
|
957
|
-
<p>
|
958
|
-
Checks if <em class="parameter"><code>type_string</code></em> is a valid GVariant type string. This call is
|
959
|
-
equivalent to calling <a class="link" href="glib-GVariantType.html#g-variant-type-string-scan" title="g_variant_type_string_scan ()"><code class="function">g_variant_type_string_scan()</code></a> and confirming
|
960
|
-
that the following character is a nul terminator.
|
961
|
-
</p>
|
962
|
-
<p>
|
963
|
-
Since 2.24
|
964
|
-
</p>
|
965
|
-
<div class="variablelist"><table border="0">
|
966
|
-
<col align="left" valign="top">
|
967
|
-
<tbody>
|
968
|
-
<tr>
|
969
|
-
<td><p><span class="term"><em class="parameter"><code>type_string</code></em> :</span></p></td>
|
970
|
-
<td>a pointer to any string
|
971
|
-
</td>
|
972
|
-
</tr>
|
973
|
-
<tr>
|
974
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
975
|
-
<td>
|
976
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type_string</code></em> is exactly one valid type string
|
977
|
-
</td>
|
978
|
-
</tr>
|
979
|
-
</tbody>
|
980
|
-
</table></div>
|
981
|
-
</div>
|
982
|
-
<hr>
|
983
|
-
<div class="refsect2">
|
984
|
-
<a name="g-variant-type-string-scan"></a><h3>g_variant_type_string_scan ()</h3>
|
985
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_string_scan (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
986
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *limit</code></em>,
|
987
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>);</pre>
|
988
|
-
<p>
|
989
|
-
Scan for a single complete and valid GVariant type string in <em class="parameter"><code>string</code></em>.
|
990
|
-
The memory pointed to by <em class="parameter"><code>limit</code></em> (or bytes beyond it) is never
|
991
|
-
accessed.
|
992
|
-
</p>
|
993
|
-
<p>
|
994
|
-
If a valid type string is found, <em class="parameter"><code>endptr</code></em> is updated to point to the
|
995
|
-
first character past the end of the string that was found and <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>
|
996
|
-
is returned.
|
997
|
-
</p>
|
998
|
-
<p>
|
999
|
-
If there is no valid type string starting at <em class="parameter"><code>string</code></em>, or if the type
|
1000
|
-
string does not end before <em class="parameter"><code>limit</code></em> then <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned.
|
1001
|
-
</p>
|
1002
|
-
<p>
|
1003
|
-
For the simple case of checking if a string is a valid type string,
|
1004
|
-
see <a class="link" href="glib-GVariantType.html#g-variant-type-string-is-valid" title="g_variant_type_string_is_valid ()"><code class="function">g_variant_type_string_is_valid()</code></a>.
|
1005
|
-
</p>
|
1006
|
-
<div class="variablelist"><table border="0">
|
1007
|
-
<col align="left" valign="top">
|
1008
|
-
<tbody>
|
1009
|
-
<tr>
|
1010
|
-
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1011
|
-
<td>a pointer to any string
|
1012
|
-
</td>
|
1013
|
-
</tr>
|
1014
|
-
<tr>
|
1015
|
-
<td><p><span class="term"><em class="parameter"><code>limit</code></em> :</span></p></td>
|
1016
|
-
<td>the end of <em class="parameter"><code>string</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1017
|
-
</td>
|
1018
|
-
</tr>
|
1019
|
-
<tr>
|
1020
|
-
<td><p><span class="term"><em class="parameter"><code>endptr</code></em> :</span></p></td>
|
1021
|
-
<td>location to store the end pointer, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1022
|
-
</td>
|
1023
|
-
</tr>
|
1024
|
-
<tr>
|
1025
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1026
|
-
<td>
|
1027
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a valid type string was found
|
1028
|
-
</td>
|
1029
|
-
</tr>
|
1030
|
-
</tbody>
|
1031
|
-
</table></div>
|
1032
|
-
<p class="since">Since 2.24</p>
|
1033
|
-
</div>
|
1034
|
-
<hr>
|
1035
|
-
<div class="refsect2">
|
1036
|
-
<a name="g-variant-type-get-string-length"></a><h3>g_variant_type_get_string_length ()</h3>
|
1037
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_variant_type_get_string_length (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1038
|
-
<p>
|
1039
|
-
Returns the length of the type string corresponding to the given
|
1040
|
-
<em class="parameter"><code>type</code></em>. This function must be used to determine the valid extent of
|
1041
|
-
the memory region returned by <a class="link" href="glib-GVariantType.html#g-variant-type-peek-string" title="g_variant_type_peek_string ()"><code class="function">g_variant_type_peek_string()</code></a>.
|
1042
|
-
</p>
|
1043
|
-
<p>
|
1044
|
-
Since 2.24
|
1045
|
-
</p>
|
1046
|
-
<div class="variablelist"><table border="0">
|
1047
|
-
<col align="left" valign="top">
|
1048
|
-
<tbody>
|
1049
|
-
<tr>
|
1050
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1051
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1052
|
-
</td>
|
1053
|
-
</tr>
|
1054
|
-
<tr>
|
1055
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1056
|
-
<td>the length of the corresponding type string
|
1057
|
-
</td>
|
1058
|
-
</tr>
|
1059
|
-
</tbody>
|
1060
|
-
</table></div>
|
1061
|
-
</div>
|
1062
|
-
<hr>
|
1063
|
-
<div class="refsect2">
|
1064
|
-
<a name="g-variant-type-peek-string"></a><h3>g_variant_type_peek_string ()</h3>
|
1065
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_type_peek_string
|
1066
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1067
|
-
<p>
|
1068
|
-
Returns the type string corresponding to the given <em class="parameter"><code>type</code></em>. The
|
1069
|
-
result is not nul-terminated; in order to determine its length you
|
1070
|
-
must call <a class="link" href="glib-GVariantType.html#g-variant-type-get-string-length" title="g_variant_type_get_string_length ()"><code class="function">g_variant_type_get_string_length()</code></a>.
|
1071
|
-
</p>
|
1072
|
-
<p>
|
1073
|
-
To get a nul-terminated string, see <a class="link" href="glib-GVariantType.html#g-variant-type-dup-string" title="g_variant_type_dup_string ()"><code class="function">g_variant_type_dup_string()</code></a>.
|
1074
|
-
</p>
|
1075
|
-
<p>
|
1076
|
-
Since 2.24
|
1077
|
-
</p>
|
1078
|
-
<div class="variablelist"><table border="0">
|
1079
|
-
<col align="left" valign="top">
|
1080
|
-
<tbody>
|
1081
|
-
<tr>
|
1082
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1083
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1084
|
-
</td>
|
1085
|
-
</tr>
|
1086
|
-
<tr>
|
1087
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1088
|
-
<td>the corresponding type string (not nul-terminated)
|
1089
|
-
</td>
|
1090
|
-
</tr>
|
1091
|
-
</tbody>
|
1092
|
-
</table></div>
|
1093
|
-
</div>
|
1094
|
-
<hr>
|
1095
|
-
<div class="refsect2">
|
1096
|
-
<a name="g-variant-type-dup-string"></a><h3>g_variant_type_dup_string ()</h3>
|
1097
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_type_dup_string
|
1098
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1099
|
-
<p>
|
1100
|
-
Returns a newly-allocated copy of the type string corresponding to
|
1101
|
-
<em class="parameter"><code>type</code></em>. The returned string is nul-terminated. It is appropriate to
|
1102
|
-
call <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a> on the return value.
|
1103
|
-
</p>
|
1104
|
-
<p>
|
1105
|
-
Since 2.24
|
1106
|
-
</p>
|
1107
|
-
<div class="variablelist"><table border="0">
|
1108
|
-
<col align="left" valign="top">
|
1109
|
-
<tbody>
|
1110
|
-
<tr>
|
1111
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1112
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1113
|
-
</td>
|
1114
|
-
</tr>
|
1115
|
-
<tr>
|
1116
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1117
|
-
<td>the corresponding type string
|
1118
|
-
</td>
|
1119
|
-
</tr>
|
1120
|
-
</tbody>
|
1121
|
-
</table></div>
|
1122
|
-
</div>
|
1123
|
-
<hr>
|
1124
|
-
<div class="refsect2">
|
1125
|
-
<a name="g-variant-type-is-definite"></a><h3>g_variant_type_is_definite ()</h3>
|
1126
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_definite (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1127
|
-
<p>
|
1128
|
-
Determines if the given <em class="parameter"><code>type</code></em> is definite (ie: not indefinite).
|
1129
|
-
</p>
|
1130
|
-
<p>
|
1131
|
-
A type is definite if its type string does not contain any indefinite
|
1132
|
-
type characters ('*', '?', or 'r').
|
1133
|
-
</p>
|
1134
|
-
<p>
|
1135
|
-
A <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance may not have an indefinite type, so calling
|
1136
|
-
this function on the result of <a class="link" href="glib-GVariant.html#g-variant-get-type" title="g_variant_get_type ()"><code class="function">g_variant_get_type()</code></a> will always
|
1137
|
-
result in <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> being returned. Calling this function on an
|
1138
|
-
indefinite type like <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ARRAY:CAPS" title="G_VARIANT_TYPE_ARRAY"><code class="literal">G_VARIANT_TYPE_ARRAY</code></a>, however, will result in
|
1139
|
-
<a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> being returned.
|
1140
|
-
</p>
|
1141
|
-
<p>
|
1142
|
-
Since 2.24
|
1143
|
-
</p>
|
1144
|
-
<div class="variablelist"><table border="0">
|
1145
|
-
<col align="left" valign="top">
|
1146
|
-
<tbody>
|
1147
|
-
<tr>
|
1148
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1149
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1150
|
-
</td>
|
1151
|
-
</tr>
|
1152
|
-
<tr>
|
1153
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1154
|
-
<td>
|
1155
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is definite
|
1156
|
-
</td>
|
1157
|
-
</tr>
|
1158
|
-
</tbody>
|
1159
|
-
</table></div>
|
1160
|
-
</div>
|
1161
|
-
<hr>
|
1162
|
-
<div class="refsect2">
|
1163
|
-
<a name="g-variant-type-is-container"></a><h3>g_variant_type_is_container ()</h3>
|
1164
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_container (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1165
|
-
<p>
|
1166
|
-
Determines if the given <em class="parameter"><code>type</code></em> is a container type.
|
1167
|
-
</p>
|
1168
|
-
<p>
|
1169
|
-
Container types are any array, maybe, tuple, or dictionary
|
1170
|
-
entry types plus the variant type.
|
1171
|
-
</p>
|
1172
|
-
<p>
|
1173
|
-
This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for any indefinite type for which every
|
1174
|
-
definite subtype is a container -- <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ARRAY:CAPS" title="G_VARIANT_TYPE_ARRAY"><code class="literal">G_VARIANT_TYPE_ARRAY</code></a>, for
|
1175
|
-
example.
|
1176
|
-
</p>
|
1177
|
-
<p>
|
1178
|
-
Since 2.24
|
1179
|
-
</p>
|
1180
|
-
<div class="variablelist"><table border="0">
|
1181
|
-
<col align="left" valign="top">
|
1182
|
-
<tbody>
|
1183
|
-
<tr>
|
1184
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1185
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1186
|
-
</td>
|
1187
|
-
</tr>
|
1188
|
-
<tr>
|
1189
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1190
|
-
<td>
|
1191
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a container type
|
1192
|
-
</td>
|
1193
|
-
</tr>
|
1194
|
-
</tbody>
|
1195
|
-
</table></div>
|
1196
|
-
</div>
|
1197
|
-
<hr>
|
1198
|
-
<div class="refsect2">
|
1199
|
-
<a name="g-variant-type-is-basic"></a><h3>g_variant_type_is_basic ()</h3>
|
1200
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_basic (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1201
|
-
<p>
|
1202
|
-
Determines if the given <em class="parameter"><code>type</code></em> is a basic type.
|
1203
|
-
</p>
|
1204
|
-
<p>
|
1205
|
-
Basic types are booleans, bytes, integers, doubles, strings, object
|
1206
|
-
paths and signatures.
|
1207
|
-
</p>
|
1208
|
-
<p>
|
1209
|
-
Only a basic type may be used as the key of a dictionary entry.
|
1210
|
-
</p>
|
1211
|
-
<p>
|
1212
|
-
This function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> for all indefinite types except
|
1213
|
-
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BASIC:CAPS" title="G_VARIANT_TYPE_BASIC"><code class="literal">G_VARIANT_TYPE_BASIC</code></a>.
|
1214
|
-
</p>
|
1215
|
-
<p>
|
1216
|
-
Since 2.24
|
1217
|
-
</p>
|
1218
|
-
<div class="variablelist"><table border="0">
|
1219
|
-
<col align="left" valign="top">
|
1220
|
-
<tbody>
|
1221
|
-
<tr>
|
1222
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1223
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1224
|
-
</td>
|
1225
|
-
</tr>
|
1226
|
-
<tr>
|
1227
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1228
|
-
<td>
|
1229
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a basic type
|
1230
|
-
</td>
|
1231
|
-
</tr>
|
1232
|
-
</tbody>
|
1233
|
-
</table></div>
|
1234
|
-
</div>
|
1235
|
-
<hr>
|
1236
|
-
<div class="refsect2">
|
1237
|
-
<a name="g-variant-type-is-maybe"></a><h3>g_variant_type_is_maybe ()</h3>
|
1238
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_maybe (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1239
|
-
<p>
|
1240
|
-
Determines if the given <em class="parameter"><code>type</code></em> is a maybe type. This is true if the
|
1241
|
-
type string for <em class="parameter"><code>type</code></em> starts with an 'm'.
|
1242
|
-
</p>
|
1243
|
-
<p>
|
1244
|
-
This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for any indefinite type for which every
|
1245
|
-
definite subtype is a maybe type -- <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-MAYBE:CAPS" title="G_VARIANT_TYPE_MAYBE"><code class="literal">G_VARIANT_TYPE_MAYBE</code></a>, for
|
1246
|
-
example.
|
1247
|
-
</p>
|
1248
|
-
<p>
|
1249
|
-
Since 2.24
|
1250
|
-
</p>
|
1251
|
-
<div class="variablelist"><table border="0">
|
1252
|
-
<col align="left" valign="top">
|
1253
|
-
<tbody>
|
1254
|
-
<tr>
|
1255
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1256
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1257
|
-
</td>
|
1258
|
-
</tr>
|
1259
|
-
<tr>
|
1260
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1261
|
-
<td>
|
1262
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a maybe type
|
1263
|
-
</td>
|
1264
|
-
</tr>
|
1265
|
-
</tbody>
|
1266
|
-
</table></div>
|
1267
|
-
</div>
|
1268
|
-
<hr>
|
1269
|
-
<div class="refsect2">
|
1270
|
-
<a name="g-variant-type-is-array"></a><h3>g_variant_type_is_array ()</h3>
|
1271
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_array (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1272
|
-
<p>
|
1273
|
-
Determines if the given <em class="parameter"><code>type</code></em> is an array type. This is true if the
|
1274
|
-
type string for <em class="parameter"><code>type</code></em> starts with an 'a'.
|
1275
|
-
</p>
|
1276
|
-
<p>
|
1277
|
-
This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for any indefinite type for which every
|
1278
|
-
definite subtype is an array type -- <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ARRAY:CAPS" title="G_VARIANT_TYPE_ARRAY"><code class="literal">G_VARIANT_TYPE_ARRAY</code></a>, for
|
1279
|
-
example.
|
1280
|
-
</p>
|
1281
|
-
<p>
|
1282
|
-
Since 2.24
|
1283
|
-
</p>
|
1284
|
-
<div class="variablelist"><table border="0">
|
1285
|
-
<col align="left" valign="top">
|
1286
|
-
<tbody>
|
1287
|
-
<tr>
|
1288
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1289
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1290
|
-
</td>
|
1291
|
-
</tr>
|
1292
|
-
<tr>
|
1293
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1294
|
-
<td>
|
1295
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is an array type
|
1296
|
-
</td>
|
1297
|
-
</tr>
|
1298
|
-
</tbody>
|
1299
|
-
</table></div>
|
1300
|
-
</div>
|
1301
|
-
<hr>
|
1302
|
-
<div class="refsect2">
|
1303
|
-
<a name="g-variant-type-is-tuple"></a><h3>g_variant_type_is_tuple ()</h3>
|
1304
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_tuple (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1305
|
-
<p>
|
1306
|
-
Determines if the given <em class="parameter"><code>type</code></em> is a tuple type. This is true if the
|
1307
|
-
type string for <em class="parameter"><code>type</code></em> starts with a '(' or if <em class="parameter"><code>type</code></em> is
|
1308
|
-
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-TUPLE:CAPS" title="G_VARIANT_TYPE_TUPLE"><code class="literal">G_VARIANT_TYPE_TUPLE</code></a>.
|
1309
|
-
</p>
|
1310
|
-
<p>
|
1311
|
-
This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for any indefinite type for which every
|
1312
|
-
definite subtype is a tuple type -- <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-TUPLE:CAPS" title="G_VARIANT_TYPE_TUPLE"><code class="literal">G_VARIANT_TYPE_TUPLE</code></a>, for
|
1313
|
-
example.
|
1314
|
-
</p>
|
1315
|
-
<p>
|
1316
|
-
Since 2.24
|
1317
|
-
</p>
|
1318
|
-
<div class="variablelist"><table border="0">
|
1319
|
-
<col align="left" valign="top">
|
1320
|
-
<tbody>
|
1321
|
-
<tr>
|
1322
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1323
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1324
|
-
</td>
|
1325
|
-
</tr>
|
1326
|
-
<tr>
|
1327
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1328
|
-
<td>
|
1329
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a tuple type
|
1330
|
-
</td>
|
1331
|
-
</tr>
|
1332
|
-
</tbody>
|
1333
|
-
</table></div>
|
1334
|
-
</div>
|
1335
|
-
<hr>
|
1336
|
-
<div class="refsect2">
|
1337
|
-
<a name="g-variant-type-is-dict-entry"></a><h3>g_variant_type_is_dict_entry ()</h3>
|
1338
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_dict_entry (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1339
|
-
<p>
|
1340
|
-
Determines if the given <em class="parameter"><code>type</code></em> is a dictionary entry type. This is
|
1341
|
-
true if the type string for <em class="parameter"><code>type</code></em> starts with a '{'.
|
1342
|
-
</p>
|
1343
|
-
<p>
|
1344
|
-
This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for any indefinite type for which every
|
1345
|
-
definite subtype is a dictionary entry type --
|
1346
|
-
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DICT-ENTRY:CAPS" title="G_VARIANT_TYPE_DICT_ENTRY"><code class="literal">G_VARIANT_TYPE_DICT_ENTRY</code></a>, for example.
|
1347
|
-
</p>
|
1348
|
-
<p>
|
1349
|
-
Since 2.24
|
1350
|
-
</p>
|
1351
|
-
<div class="variablelist"><table border="0">
|
1352
|
-
<col align="left" valign="top">
|
1353
|
-
<tbody>
|
1354
|
-
<tr>
|
1355
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1356
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1357
|
-
</td>
|
1358
|
-
</tr>
|
1359
|
-
<tr>
|
1360
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1361
|
-
<td>
|
1362
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a dictionary entry type
|
1363
|
-
</td>
|
1364
|
-
</tr>
|
1365
|
-
</tbody>
|
1366
|
-
</table></div>
|
1367
|
-
</div>
|
1368
|
-
<hr>
|
1369
|
-
<div class="refsect2">
|
1370
|
-
<a name="g-variant-type-is-variant"></a><h3>g_variant_type_is_variant ()</h3>
|
1371
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_variant (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1372
|
-
<p>
|
1373
|
-
Determines if the given <em class="parameter"><code>type</code></em> is the variant type.
|
1374
|
-
</p>
|
1375
|
-
<p>
|
1376
|
-
Since 2.24
|
1377
|
-
</p>
|
1378
|
-
<div class="variablelist"><table border="0">
|
1379
|
-
<col align="left" valign="top">
|
1380
|
-
<tbody>
|
1381
|
-
<tr>
|
1382
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1383
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1384
|
-
</td>
|
1385
|
-
</tr>
|
1386
|
-
<tr>
|
1387
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1388
|
-
<td>
|
1389
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is the variant type
|
1390
|
-
</td>
|
1391
|
-
</tr>
|
1392
|
-
</tbody>
|
1393
|
-
</table></div>
|
1394
|
-
</div>
|
1395
|
-
<hr>
|
1396
|
-
<div class="refsect2">
|
1397
|
-
<a name="g-variant-type-hash"></a><h3>g_variant_type_hash ()</h3>
|
1398
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_variant_type_hash (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> type</code></em>);</pre>
|
1399
|
-
<p>
|
1400
|
-
Hashes <em class="parameter"><code>type</code></em>.
|
1401
|
-
</p>
|
1402
|
-
<p>
|
1403
|
-
The argument type of <em class="parameter"><code>type</code></em> is only <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> to allow use with
|
1404
|
-
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> without function pointer casting. A valid
|
1405
|
-
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> must be provided.
|
1406
|
-
</p>
|
1407
|
-
<p>
|
1408
|
-
Since 2.24
|
1409
|
-
</p>
|
1410
|
-
<div class="variablelist"><table border="0">
|
1411
|
-
<col align="left" valign="top">
|
1412
|
-
<tbody>
|
1413
|
-
<tr>
|
1414
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1415
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1416
|
-
</td>
|
1417
|
-
</tr>
|
1418
|
-
<tr>
|
1419
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1420
|
-
<td>the hash value
|
1421
|
-
</td>
|
1422
|
-
</tr>
|
1423
|
-
</tbody>
|
1424
|
-
</table></div>
|
1425
|
-
</div>
|
1426
|
-
<hr>
|
1427
|
-
<div class="refsect2">
|
1428
|
-
<a name="g-variant-type-equal"></a><h3>g_variant_type_equal ()</h3>
|
1429
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_equal (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> type1</code></em>,
|
1430
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> type2</code></em>);</pre>
|
1431
|
-
<p>
|
1432
|
-
Compares <em class="parameter"><code>type1</code></em> and <em class="parameter"><code>type2</code></em> for equality.
|
1433
|
-
</p>
|
1434
|
-
<p>
|
1435
|
-
Only returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the types are exactly equal. Even if one type
|
1436
|
-
is an indefinite type and the other is a subtype of it, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> will
|
1437
|
-
be returned if they are not exactly equal. If you want to check for
|
1438
|
-
subtypes, use <a class="link" href="glib-GVariantType.html#g-variant-type-is-subtype-of" title="g_variant_type_is_subtype_of ()"><code class="function">g_variant_type_is_subtype_of()</code></a>.
|
1439
|
-
</p>
|
1440
|
-
<p>
|
1441
|
-
The argument types of <em class="parameter"><code>type1</code></em> and <em class="parameter"><code>type2</code></em> are only <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> to
|
1442
|
-
allow use with <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> without function pointer casting. For
|
1443
|
-
both arguments, a valid <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> must be provided.
|
1444
|
-
</p>
|
1445
|
-
<p>
|
1446
|
-
Since 2.24
|
1447
|
-
</p>
|
1448
|
-
<div class="variablelist"><table border="0">
|
1449
|
-
<col align="left" valign="top">
|
1450
|
-
<tbody>
|
1451
|
-
<tr>
|
1452
|
-
<td><p><span class="term"><em class="parameter"><code>type1</code></em> :</span></p></td>
|
1453
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1454
|
-
</td>
|
1455
|
-
</tr>
|
1456
|
-
<tr>
|
1457
|
-
<td><p><span class="term"><em class="parameter"><code>type2</code></em> :</span></p></td>
|
1458
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1459
|
-
</td>
|
1460
|
-
</tr>
|
1461
|
-
<tr>
|
1462
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1463
|
-
<td>
|
1464
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type1</code></em> and <em class="parameter"><code>type2</code></em> are exactly equal
|
1465
|
-
</td>
|
1466
|
-
</tr>
|
1467
|
-
</tbody>
|
1468
|
-
</table></div>
|
1469
|
-
</div>
|
1470
|
-
<hr>
|
1471
|
-
<div class="refsect2">
|
1472
|
-
<a name="g-variant-type-is-subtype-of"></a><h3>g_variant_type_is_subtype_of ()</h3>
|
1473
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_subtype_of (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
1474
|
-
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *supertype</code></em>);</pre>
|
1475
|
-
<p>
|
1476
|
-
Checks if <em class="parameter"><code>type</code></em> is a subtype of <em class="parameter"><code>supertype</code></em>.
|
1477
|
-
</p>
|
1478
|
-
<p>
|
1479
|
-
This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a subtype of <em class="parameter"><code>supertype</code></em>. All
|
1480
|
-
types are considered to be subtypes of themselves. Aside from that,
|
1481
|
-
only indefinite types can have subtypes.
|
1482
|
-
</p>
|
1483
|
-
<p>
|
1484
|
-
Since 2.24
|
1485
|
-
</p>
|
1486
|
-
<div class="variablelist"><table border="0">
|
1487
|
-
<col align="left" valign="top">
|
1488
|
-
<tbody>
|
1489
|
-
<tr>
|
1490
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1491
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1492
|
-
</td>
|
1493
|
-
</tr>
|
1494
|
-
<tr>
|
1495
|
-
<td><p><span class="term"><em class="parameter"><code>supertype</code></em> :</span></p></td>
|
1496
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1497
|
-
</td>
|
1498
|
-
</tr>
|
1499
|
-
<tr>
|
1500
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1501
|
-
<td>
|
1502
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a subtype of <em class="parameter"><code>supertype</code></em>
|
1503
|
-
</td>
|
1504
|
-
</tr>
|
1505
|
-
</tbody>
|
1506
|
-
</table></div>
|
1507
|
-
</div>
|
1508
|
-
<hr>
|
1509
|
-
<div class="refsect2">
|
1510
|
-
<a name="g-variant-type-new-maybe"></a><h3>g_variant_type_new_maybe ()</h3>
|
1511
|
-
<pre class="programlisting"><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_new_maybe
|
1512
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *element</code></em>);</pre>
|
1513
|
-
<p>
|
1514
|
-
Constructs the type corresponding to a maybe instance containing
|
1515
|
-
type <em class="parameter"><code>type</code></em> or Nothing.
|
1516
|
-
</p>
|
1517
|
-
<p>
|
1518
|
-
It is appropriate to call <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a> on the return value.
|
1519
|
-
</p>
|
1520
|
-
<p>
|
1521
|
-
Since 2.24
|
1522
|
-
</p>
|
1523
|
-
<div class="variablelist"><table border="0">
|
1524
|
-
<col align="left" valign="top">
|
1525
|
-
<tbody>
|
1526
|
-
<tr>
|
1527
|
-
<td><p><span class="term"><em class="parameter"><code>element</code></em> :</span></p></td>
|
1528
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1529
|
-
</td>
|
1530
|
-
</tr>
|
1531
|
-
<tr>
|
1532
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1533
|
-
<td>a new maybe <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1534
|
-
</td>
|
1535
|
-
</tr>
|
1536
|
-
</tbody>
|
1537
|
-
</table></div>
|
1538
|
-
</div>
|
1539
|
-
<hr>
|
1540
|
-
<div class="refsect2">
|
1541
|
-
<a name="g-variant-type-new-array"></a><h3>g_variant_type_new_array ()</h3>
|
1542
|
-
<pre class="programlisting"><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_new_array
|
1543
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *element</code></em>);</pre>
|
1544
|
-
<p>
|
1545
|
-
Constructs the type corresponding to an array of elements of the
|
1546
|
-
type <em class="parameter"><code>type</code></em>.
|
1547
|
-
</p>
|
1548
|
-
<p>
|
1549
|
-
It is appropriate to call <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a> on the return value.
|
1550
|
-
</p>
|
1551
|
-
<p>
|
1552
|
-
Since 2.24
|
1553
|
-
</p>
|
1554
|
-
<div class="variablelist"><table border="0">
|
1555
|
-
<col align="left" valign="top">
|
1556
|
-
<tbody>
|
1557
|
-
<tr>
|
1558
|
-
<td><p><span class="term"><em class="parameter"><code>element</code></em> :</span></p></td>
|
1559
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1560
|
-
</td>
|
1561
|
-
</tr>
|
1562
|
-
<tr>
|
1563
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1564
|
-
<td>a new array <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1565
|
-
</td>
|
1566
|
-
</tr>
|
1567
|
-
</tbody>
|
1568
|
-
</table></div>
|
1569
|
-
</div>
|
1570
|
-
<hr>
|
1571
|
-
<div class="refsect2">
|
1572
|
-
<a name="g-variant-type-new-tuple"></a><h3>g_variant_type_new_tuple ()</h3>
|
1573
|
-
<pre class="programlisting"><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_new_tuple
|
1574
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> * const *items</code></em>,
|
1575
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> length</code></em>);</pre>
|
1576
|
-
<p>
|
1577
|
-
Constructs a new tuple type, from <em class="parameter"><code>items</code></em>.
|
1578
|
-
</p>
|
1579
|
-
<p>
|
1580
|
-
<em class="parameter"><code>length</code></em> is the number of items in <em class="parameter"><code>items</code></em>, or -1 to indicate that
|
1581
|
-
<em class="parameter"><code>items</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.
|
1582
|
-
</p>
|
1583
|
-
<p>
|
1584
|
-
It is appropriate to call <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a> on the return value.
|
1585
|
-
</p>
|
1586
|
-
<p>
|
1587
|
-
Since 2.24
|
1588
|
-
</p>
|
1589
|
-
<div class="variablelist"><table border="0">
|
1590
|
-
<col align="left" valign="top">
|
1591
|
-
<tbody>
|
1592
|
-
<tr>
|
1593
|
-
<td><p><span class="term"><em class="parameter"><code>items</code></em> :</span></p></td>
|
1594
|
-
<td>an array of <a href="glib-GVariantType.html#GVariantType"><span class="type">GVariantTypes</span></a>, one for each item
|
1595
|
-
</td>
|
1596
|
-
</tr>
|
1597
|
-
<tr>
|
1598
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1599
|
-
<td>the length of <em class="parameter"><code>items</code></em>, or -1
|
1600
|
-
</td>
|
1601
|
-
</tr>
|
1602
|
-
<tr>
|
1603
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1604
|
-
<td>a new tuple <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1605
|
-
</td>
|
1606
|
-
</tr>
|
1607
|
-
</tbody>
|
1608
|
-
</table></div>
|
1609
|
-
</div>
|
1610
|
-
<hr>
|
1611
|
-
<div class="refsect2">
|
1612
|
-
<a name="g-variant-type-new-dict-entry"></a><h3>g_variant_type_new_dict_entry ()</h3>
|
1613
|
-
<pre class="programlisting"><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_new_dict_entry
|
1614
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *key</code></em>,
|
1615
|
-
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *value</code></em>);</pre>
|
1616
|
-
<p>
|
1617
|
-
Constructs the type corresponding to a dictionary entry with a key
|
1618
|
-
of type <em class="parameter"><code>key</code></em> and a value of type <em class="parameter"><code>value</code></em>.
|
1619
|
-
</p>
|
1620
|
-
<p>
|
1621
|
-
It is appropriate to call <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a> on the return value.
|
1622
|
-
</p>
|
1623
|
-
<p>
|
1624
|
-
Since 2.24
|
1625
|
-
</p>
|
1626
|
-
<div class="variablelist"><table border="0">
|
1627
|
-
<col align="left" valign="top">
|
1628
|
-
<tbody>
|
1629
|
-
<tr>
|
1630
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1631
|
-
<td>a basic <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1632
|
-
</td>
|
1633
|
-
</tr>
|
1634
|
-
<tr>
|
1635
|
-
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1636
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1637
|
-
</td>
|
1638
|
-
</tr>
|
1639
|
-
<tr>
|
1640
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1641
|
-
<td>a new dictionary entry <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1642
|
-
</td>
|
1643
|
-
</tr>
|
1644
|
-
</tbody>
|
1645
|
-
</table></div>
|
1646
|
-
</div>
|
1647
|
-
<hr>
|
1648
|
-
<div class="refsect2">
|
1649
|
-
<a name="g-variant-type-element"></a><h3>g_variant_type_element ()</h3>
|
1650
|
-
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_element (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1651
|
-
<p>
|
1652
|
-
Determines the element type of an array or maybe type.
|
1653
|
-
</p>
|
1654
|
-
<p>
|
1655
|
-
This function may only be used with array or maybe types.
|
1656
|
-
</p>
|
1657
|
-
<p>
|
1658
|
-
Since 2.24
|
1659
|
-
</p>
|
1660
|
-
<div class="variablelist"><table border="0">
|
1661
|
-
<col align="left" valign="top">
|
1662
|
-
<tbody>
|
1663
|
-
<tr>
|
1664
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1665
|
-
<td>an array or maybe <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1666
|
-
</td>
|
1667
|
-
</tr>
|
1668
|
-
<tr>
|
1669
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1670
|
-
<td>the element type of <em class="parameter"><code>type</code></em>
|
1671
|
-
</td>
|
1672
|
-
</tr>
|
1673
|
-
</tbody>
|
1674
|
-
</table></div>
|
1675
|
-
</div>
|
1676
|
-
<hr>
|
1677
|
-
<div class="refsect2">
|
1678
|
-
<a name="g-variant-type-n-items"></a><h3>g_variant_type_n_items ()</h3>
|
1679
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_variant_type_n_items (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1680
|
-
<p>
|
1681
|
-
Determines the number of items contained in a tuple or
|
1682
|
-
dictionary entry type.
|
1683
|
-
</p>
|
1684
|
-
<p>
|
1685
|
-
This function may only be used with tuple or dictionary entry types,
|
1686
|
-
but must not be used with the generic tuple type
|
1687
|
-
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-TUPLE:CAPS" title="G_VARIANT_TYPE_TUPLE"><code class="literal">G_VARIANT_TYPE_TUPLE</code></a>.
|
1688
|
-
</p>
|
1689
|
-
<p>
|
1690
|
-
In the case of a dictionary entry type, this function will always
|
1691
|
-
return 2.
|
1692
|
-
</p>
|
1693
|
-
<p>
|
1694
|
-
Since 2.24
|
1695
|
-
</p>
|
1696
|
-
<div class="variablelist"><table border="0">
|
1697
|
-
<col align="left" valign="top">
|
1698
|
-
<tbody>
|
1699
|
-
<tr>
|
1700
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1701
|
-
<td>a tuple or dictionary entry <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1702
|
-
</td>
|
1703
|
-
</tr>
|
1704
|
-
<tr>
|
1705
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1706
|
-
<td>the number of items in <em class="parameter"><code>type</code></em>
|
1707
|
-
</td>
|
1708
|
-
</tr>
|
1709
|
-
</tbody>
|
1710
|
-
</table></div>
|
1711
|
-
</div>
|
1712
|
-
<hr>
|
1713
|
-
<div class="refsect2">
|
1714
|
-
<a name="g-variant-type-first"></a><h3>g_variant_type_first ()</h3>
|
1715
|
-
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_first (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1716
|
-
<p>
|
1717
|
-
Determines the first item type of a tuple or dictionary entry
|
1718
|
-
type.
|
1719
|
-
</p>
|
1720
|
-
<p>
|
1721
|
-
This function may only be used with tuple or dictionary entry types,
|
1722
|
-
but must not be used with the generic tuple type
|
1723
|
-
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-TUPLE:CAPS" title="G_VARIANT_TYPE_TUPLE"><code class="literal">G_VARIANT_TYPE_TUPLE</code></a>.
|
1724
|
-
</p>
|
1725
|
-
<p>
|
1726
|
-
In the case of a dictionary entry type, this returns the type of
|
1727
|
-
the key.
|
1728
|
-
</p>
|
1729
|
-
<p>
|
1730
|
-
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned in case of <em class="parameter"><code>type</code></em> being <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UNIT:CAPS" title="G_VARIANT_TYPE_UNIT"><code class="literal">G_VARIANT_TYPE_UNIT</code></a>.
|
1731
|
-
</p>
|
1732
|
-
<p>
|
1733
|
-
This call, together with <a class="link" href="glib-GVariantType.html#g-variant-type-next" title="g_variant_type_next ()"><code class="function">g_variant_type_next()</code></a> provides an iterator
|
1734
|
-
interface over tuple and dictionary entry types.
|
1735
|
-
</p>
|
1736
|
-
<p>
|
1737
|
-
Since 2.24
|
1738
|
-
</p>
|
1739
|
-
<div class="variablelist"><table border="0">
|
1740
|
-
<col align="left" valign="top">
|
1741
|
-
<tbody>
|
1742
|
-
<tr>
|
1743
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1744
|
-
<td>a tuple or dictionary entry <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1745
|
-
</td>
|
1746
|
-
</tr>
|
1747
|
-
<tr>
|
1748
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1749
|
-
<td>the first item type of <em class="parameter"><code>type</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1750
|
-
</td>
|
1751
|
-
</tr>
|
1752
|
-
</tbody>
|
1753
|
-
</table></div>
|
1754
|
-
</div>
|
1755
|
-
<hr>
|
1756
|
-
<div class="refsect2">
|
1757
|
-
<a name="g-variant-type-next"></a><h3>g_variant_type_next ()</h3>
|
1758
|
-
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_next (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1759
|
-
<p>
|
1760
|
-
Determines the next item type of a tuple or dictionary entry
|
1761
|
-
type.
|
1762
|
-
</p>
|
1763
|
-
<p>
|
1764
|
-
<em class="parameter"><code>type</code></em> must be the result of a previous call to
|
1765
|
-
<a class="link" href="glib-GVariantType.html#g-variant-type-first" title="g_variant_type_first ()"><code class="function">g_variant_type_first()</code></a> or <a class="link" href="glib-GVariantType.html#g-variant-type-next" title="g_variant_type_next ()"><code class="function">g_variant_type_next()</code></a>.
|
1766
|
-
</p>
|
1767
|
-
<p>
|
1768
|
-
If called on the key type of a dictionary entry then this call
|
1769
|
-
returns the value type. If called on the value type of a dictionary
|
1770
|
-
entry then this call returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
1771
|
-
</p>
|
1772
|
-
<p>
|
1773
|
-
For tuples, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned when <em class="parameter"><code>type</code></em> is the last item in a tuple.
|
1774
|
-
</p>
|
1775
|
-
<p>
|
1776
|
-
Since 2.24
|
1777
|
-
</p>
|
1778
|
-
<div class="variablelist"><table border="0">
|
1779
|
-
<col align="left" valign="top">
|
1780
|
-
<tbody>
|
1781
|
-
<tr>
|
1782
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1783
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> from a previous call
|
1784
|
-
</td>
|
1785
|
-
</tr>
|
1786
|
-
<tr>
|
1787
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1788
|
-
<td>the next <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> after <em class="parameter"><code>type</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1789
|
-
</td>
|
1790
|
-
</tr>
|
1791
|
-
</tbody>
|
1792
|
-
</table></div>
|
1793
|
-
</div>
|
1794
|
-
<hr>
|
1795
|
-
<div class="refsect2">
|
1796
|
-
<a name="g-variant-type-key"></a><h3>g_variant_type_key ()</h3>
|
1797
|
-
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_key (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1798
|
-
<p>
|
1799
|
-
Determines the key type of a dictionary entry type.
|
1800
|
-
</p>
|
1801
|
-
<p>
|
1802
|
-
This function may only be used with a dictionary entry type. Other
|
1803
|
-
than the additional restriction, this call is equivalent to
|
1804
|
-
<a class="link" href="glib-GVariantType.html#g-variant-type-first" title="g_variant_type_first ()"><code class="function">g_variant_type_first()</code></a>.
|
1805
|
-
</p>
|
1806
|
-
<p>
|
1807
|
-
Since 2.24
|
1808
|
-
</p>
|
1809
|
-
<div class="variablelist"><table border="0">
|
1810
|
-
<col align="left" valign="top">
|
1811
|
-
<tbody>
|
1812
|
-
<tr>
|
1813
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1814
|
-
<td>a dictionary entry <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1815
|
-
</td>
|
1816
|
-
</tr>
|
1817
|
-
<tr>
|
1818
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1819
|
-
<td>the key type of the dictionary entry
|
1820
|
-
</td>
|
1821
|
-
</tr>
|
1822
|
-
</tbody>
|
1823
|
-
</table></div>
|
1824
|
-
</div>
|
1825
|
-
<hr>
|
1826
|
-
<div class="refsect2">
|
1827
|
-
<a name="g-variant-type-value"></a><h3>g_variant_type_value ()</h3>
|
1828
|
-
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_value (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1829
|
-
<p>
|
1830
|
-
Determines the value type of a dictionary entry type.
|
1831
|
-
</p>
|
1832
|
-
<p>
|
1833
|
-
This function may only be used with a dictionary entry type.
|
1834
|
-
</p>
|
1835
|
-
<p>
|
1836
|
-
Since 2.24
|
1837
|
-
</p>
|
1838
|
-
<div class="variablelist"><table border="0">
|
1839
|
-
<col align="left" valign="top">
|
1840
|
-
<tbody>
|
1841
|
-
<tr>
|
1842
|
-
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1843
|
-
<td>a dictionary entry <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1844
|
-
</td>
|
1845
|
-
</tr>
|
1846
|
-
<tr>
|
1847
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1848
|
-
<td>the value type of the dictionary entry
|
1849
|
-
</td>
|
1850
|
-
</tr>
|
1851
|
-
</tbody>
|
1852
|
-
</table></div>
|
1853
|
-
</div>
|
1854
|
-
</div>
|
1855
|
-
<div class="refsect1">
|
1856
|
-
<a name="glib-GVariantType.see-also"></a><h2>See Also</h2>
|
1857
|
-
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
1858
|
-
</div>
|
1859
|
-
</div>
|
1860
|
-
<div class="footer">
|
1861
|
-
<hr>
|
1862
|
-
Generated by GTK-Doc V1.15.1</div>
|
1863
|
-
</body>
|
1864
|
-
</html>
|