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,2740 +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>Key-value file parser</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-utilities.html" title="GLib Utilities">
|
9
|
-
<link rel="prev" href="glib-Simple-XML-Subset-Parser.html" title="Simple XML Subset Parser">
|
10
|
-
<link rel="next" href="glib-Bookmark-file-parser.html" title="Bookmark file parser">
|
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-Simple-XML-Subset-Parser.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
-
<td><a accesskey="u" href="glib-utilities.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-Bookmark-file-parser.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-Key-value-file-parser.synopsis" class="shortcut">Top</a>
|
25
|
-
|
|
26
|
-
<a href="#glib-Key-value-file-parser.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
29
|
-
<div class="refentry">
|
30
|
-
<a name="glib-Key-value-file-parser"></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-Key-value-file-parser.top_of_page"></a>Key-value file parser</span></h2>
|
34
|
-
<p>Key-value file parser — parses <code class="filename">.ini</code>-like config files</p>
|
35
|
-
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
37
|
-
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
39
|
-
<a name="glib-Key-value-file-parser.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">
|
41
|
-
#include <glib.h>
|
42
|
-
|
43
|
-
<a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile">GKeyFile</a>;
|
44
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR:CAPS" title="G_KEY_FILE_ERROR">G_KEY_FILE_ERROR</a>
|
45
|
-
enum <a class="link" href="glib-Key-value-file-parser.html#GKeyFileError" title="enum GKeyFileError">GKeyFileError</a>;
|
46
|
-
enum <a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags">GKeyFileFlags</a>;
|
47
|
-
|
48
|
-
<a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="returnvalue">GKeyFile</span></a> * <a class="link" href="glib-Key-value-file-parser.html#g-key-file-new" title="g_key_file_new ()">g_key_file_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
49
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-free" title="g_key_file_free ()">g_key_file_free</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>);
|
50
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-list-separator" title="g_key_file_set_list_separator ()">g_key_file_set_list_separator</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
51
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> separator</code></em>);
|
52
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-load-from-file" title="g_key_file_load_from_file ()">g_key_file_load_from_file</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
53
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file</code></em>,
|
54
|
-
<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a> flags</code></em>,
|
55
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
56
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-load-from-data" title="g_key_file_load_from_data ()">g_key_file_load_from_data</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
57
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *data</code></em>,
|
58
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>,
|
59
|
-
<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a> flags</code></em>,
|
60
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
61
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-load-from-data-dirs" title="g_key_file_load_from_data_dirs ()">g_key_file_load_from_data_dirs</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
62
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file</code></em>,
|
63
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **full_path</code></em>,
|
64
|
-
<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a> flags</code></em>,
|
65
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
66
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-load-from-dirs" title="g_key_file_load_from_dirs ()">g_key_file_load_from_dirs</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
67
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file</code></em>,
|
68
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **search_dirs</code></em>,
|
69
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **full_path</code></em>,
|
70
|
-
<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a> flags</code></em>,
|
71
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
72
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Key-value-file-parser.html#g-key-file-to-data" title="g_key_file_to_data ()">g_key_file_to_data</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
73
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
74
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
75
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-start-group" title="g_key_file_get_start_group ()">g_key_file_get_start_group</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>);
|
76
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-groups" title="g_key_file_get_groups ()">g_key_file_get_groups</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
77
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
78
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-keys" title="g_key_file_get_keys ()">g_key_file_get_keys</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
79
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
80
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
81
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
82
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-has-group" title="g_key_file_has_group ()">g_key_file_has_group</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
83
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>);
|
84
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-has-key" title="g_key_file_has_key ()">g_key_file_has_key</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
85
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
86
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
87
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
88
|
-
|
89
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-value" title="g_key_file_get_value ()">g_key_file_get_value</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
90
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
91
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
92
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
93
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-string" title="g_key_file_get_string ()">g_key_file_get_string</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
94
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
95
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
96
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
97
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-locale-string" title="g_key_file_get_locale_string ()">g_key_file_get_locale_string</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
98
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
99
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
100
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *locale</code></em>,
|
101
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
102
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-boolean" title="g_key_file_get_boolean ()">g_key_file_get_boolean</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
103
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
104
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
105
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
106
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-integer" title="g_key_file_get_integer ()">g_key_file_get_integer</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
107
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
108
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
109
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
110
|
-
<a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-int64" title="g_key_file_get_int64 ()">g_key_file_get_int64</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
111
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
112
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
113
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
114
|
-
<a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="returnvalue">guint64</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-uint64" title="g_key_file_get_uint64 ()">g_key_file_get_uint64</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
115
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
116
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
117
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
118
|
-
<a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-double" title="g_key_file_get_double ()">g_key_file_get_double</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
119
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
120
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
121
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
122
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-string-list" title="g_key_file_get_string_list ()">g_key_file_get_string_list</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
123
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
124
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
125
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
126
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
127
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-locale-string-list" title="g_key_file_get_locale_string_list ()">g_key_file_get_locale_string_list</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
128
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
129
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
130
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *locale</code></em>,
|
131
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
132
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
133
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> * <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-boolean-list" title="g_key_file_get_boolean_list ()">g_key_file_get_boolean_list</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
134
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
135
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
136
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
137
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
138
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> * <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-integer-list" title="g_key_file_get_integer_list ()">g_key_file_get_integer_list</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
139
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
140
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
141
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
142
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
143
|
-
<a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> * <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-double-list" title="g_key_file_get_double_list ()">g_key_file_get_double_list</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
144
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
145
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
146
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
147
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
148
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-comment" title="g_key_file_get_comment ()">g_key_file_get_comment</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
149
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
150
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
151
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
152
|
-
|
153
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-value" title="g_key_file_set_value ()">g_key_file_set_value</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
154
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
155
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
156
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *value</code></em>);
|
157
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-string" title="g_key_file_set_string ()">g_key_file_set_string</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
158
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
159
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
160
|
-
<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>);
|
161
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-locale-string" title="g_key_file_set_locale_string ()">g_key_file_set_locale_string</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
162
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
163
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
164
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *locale</code></em>,
|
165
|
-
<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>);
|
166
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-boolean" title="g_key_file_set_boolean ()">g_key_file_set_boolean</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
167
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
168
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
169
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> value</code></em>);
|
170
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-integer" title="g_key_file_set_integer ()">g_key_file_set_integer</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
171
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
172
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
173
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> value</code></em>);
|
174
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-int64" title="g_key_file_set_int64 ()">g_key_file_set_int64</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
175
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
176
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
177
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> value</code></em>);
|
178
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-uint64" title="g_key_file_set_uint64 ()">g_key_file_set_uint64</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
179
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
180
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
181
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> value</code></em>);
|
182
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-double" title="g_key_file_set_double ()">g_key_file_set_double</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
183
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
184
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
185
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> value</code></em>);
|
186
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-string-list" title="g_key_file_set_string_list ()">g_key_file_set_string_list</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
187
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
188
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
189
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const list[]</code></em>,
|
190
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);
|
191
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-locale-string-list" title="g_key_file_set_locale_string_list ()">g_key_file_set_locale_string_list</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
192
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
193
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
194
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *locale</code></em>,
|
195
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const list[]</code></em>,
|
196
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);
|
197
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-boolean-list" title="g_key_file_set_boolean_list ()">g_key_file_set_boolean_list</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
198
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
199
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
200
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> list[]</code></em>,
|
201
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);
|
202
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-integer-list" title="g_key_file_set_integer_list ()">g_key_file_set_integer_list</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
203
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
204
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
205
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> list[]</code></em>,
|
206
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);
|
207
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-double-list" title="g_key_file_set_double_list ()">g_key_file_set_double_list</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
208
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
209
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
210
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> list[]</code></em>,
|
211
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);
|
212
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-comment" title="g_key_file_set_comment ()">g_key_file_set_comment</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
213
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
214
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
215
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *comment</code></em>,
|
216
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
217
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-remove-group" title="g_key_file_remove_group ()">g_key_file_remove_group</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
218
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
219
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
220
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-remove-key" title="g_key_file_remove_key ()">g_key_file_remove_key</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
221
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
222
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
223
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
224
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Key-value-file-parser.html#g-key-file-remove-comment" title="g_key_file_remove_comment ()">g_key_file_remove_comment</a> (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
225
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
226
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
227
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
228
|
-
|
229
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP">G_KEY_FILE_DESKTOP_GROUP</a>
|
230
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-TYPE:CAPS" title="G_KEY_FILE_DESKTOP_KEY_TYPE">G_KEY_FILE_DESKTOP_KEY_TYPE</a>
|
231
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-VERSION:CAPS" title="G_KEY_FILE_DESKTOP_KEY_VERSION">G_KEY_FILE_DESKTOP_KEY_VERSION</a>
|
232
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-NAME:CAPS" title="G_KEY_FILE_DESKTOP_KEY_NAME">G_KEY_FILE_DESKTOP_KEY_NAME</a>
|
233
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-GENERIC-NAME:CAPS" title="G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME">G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME</a>
|
234
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-NO-DISPLAY:CAPS" title="G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY">G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY</a>
|
235
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-COMMENT:CAPS" title="G_KEY_FILE_DESKTOP_KEY_COMMENT">G_KEY_FILE_DESKTOP_KEY_COMMENT</a>
|
236
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-ICON:CAPS" title="G_KEY_FILE_DESKTOP_KEY_ICON">G_KEY_FILE_DESKTOP_KEY_ICON</a>
|
237
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-HIDDEN:CAPS" title="G_KEY_FILE_DESKTOP_KEY_HIDDEN">G_KEY_FILE_DESKTOP_KEY_HIDDEN</a>
|
238
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-ONLY-SHOW-IN:CAPS" title="G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN">G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN</a>
|
239
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-NOT-SHOW-IN:CAPS" title="G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN">G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN</a>
|
240
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-TRY-EXEC:CAPS" title="G_KEY_FILE_DESKTOP_KEY_TRY_EXEC">G_KEY_FILE_DESKTOP_KEY_TRY_EXEC</a>
|
241
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-EXEC:CAPS" title="G_KEY_FILE_DESKTOP_KEY_EXEC">G_KEY_FILE_DESKTOP_KEY_EXEC</a>
|
242
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-PATH:CAPS" title="G_KEY_FILE_DESKTOP_KEY_PATH">G_KEY_FILE_DESKTOP_KEY_PATH</a>
|
243
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-TERMINAL:CAPS" title="G_KEY_FILE_DESKTOP_KEY_TERMINAL">G_KEY_FILE_DESKTOP_KEY_TERMINAL</a>
|
244
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-MIME-TYPE:CAPS" title="G_KEY_FILE_DESKTOP_KEY_MIME_TYPE">G_KEY_FILE_DESKTOP_KEY_MIME_TYPE</a>
|
245
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-CATEGORIES:CAPS" title="G_KEY_FILE_DESKTOP_KEY_CATEGORIES">G_KEY_FILE_DESKTOP_KEY_CATEGORIES</a>
|
246
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-STARTUP-NOTIFY:CAPS" title="G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY">G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY</a>
|
247
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-STARTUP-WM-CLASS:CAPS" title="G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS">G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS</a>
|
248
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-URL:CAPS" title="G_KEY_FILE_DESKTOP_KEY_URL">G_KEY_FILE_DESKTOP_KEY_URL</a>
|
249
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-TYPE-APPLICATION:CAPS" title="G_KEY_FILE_DESKTOP_TYPE_APPLICATION">G_KEY_FILE_DESKTOP_TYPE_APPLICATION</a>
|
250
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-TYPE-LINK:CAPS" title="G_KEY_FILE_DESKTOP_TYPE_LINK">G_KEY_FILE_DESKTOP_TYPE_LINK</a>
|
251
|
-
#define <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-TYPE-DIRECTORY:CAPS" title="G_KEY_FILE_DESKTOP_TYPE_DIRECTORY">G_KEY_FILE_DESKTOP_TYPE_DIRECTORY</a>
|
252
|
-
</pre>
|
253
|
-
</div>
|
254
|
-
<div class="refsect1">
|
255
|
-
<a name="glib-Key-value-file-parser.description"></a><h2>Description</h2>
|
256
|
-
<p>
|
257
|
-
<a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> lets you parse, edit or create files containing groups of
|
258
|
-
key-value pairs, which we call <em class="firstterm">key files</em> for
|
259
|
-
lack of a better name. Several freedesktop.org specifications use
|
260
|
-
key files now, e.g the
|
261
|
-
<a class="ulink" href="http://freedesktop.org/Standards/desktop-entry-spec" target="_top">Desktop
|
262
|
-
Entry Specification</a> and the
|
263
|
-
<a class="ulink" href="http://freedesktop.org/Standards/icon-theme-spec" target="_top">Icon
|
264
|
-
Theme Specification</a>.
|
265
|
-
</p>
|
266
|
-
<p>
|
267
|
-
The syntax of key files is described in detail in the
|
268
|
-
<a class="ulink" href="http://freedesktop.org/Standards/desktop-entry-spec" target="_top">Desktop
|
269
|
-
Entry Specification</a>, here is a quick summary: Key files
|
270
|
-
consists of groups of key-value pairs, interspersed with comments.
|
271
|
-
</p>
|
272
|
-
<div class="informalexample">
|
273
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
274
|
-
<tbody>
|
275
|
-
<tr>
|
276
|
-
<td class="listing_lines" align="right"><pre>1
|
277
|
-
2
|
278
|
-
3
|
279
|
-
4
|
280
|
-
5
|
281
|
-
6
|
282
|
-
7
|
283
|
-
8
|
284
|
-
9
|
285
|
-
10
|
286
|
-
11
|
287
|
-
12
|
288
|
-
13</pre></td>
|
289
|
-
<td class="listing_code"><pre class="programlisting"><span class="preproc"># this</span><span class="normal"> is just an example</span>
|
290
|
-
<span class="preproc"># there</span><span class="normal"> can be comments before the first group</span>
|
291
|
-
<span class="symbol">[</span><span class="usertype">First</span><span class="normal"> Group</span><span class="symbol">]</span>
|
292
|
-
<span class="normal">Name</span><span class="symbol">=</span><span class="normal">Key </span><span class="usertype">File</span><span class="normal"> Example</span><span class="symbol">\</span><span class="normal">tthis </span><span class="usertype">value</span><span class="normal"> shows</span><span class="symbol">\</span><span class="normal">nescaping</span>
|
293
|
-
<span class="preproc"># localized</span><span class="normal"> strings are stored in </span><span class="usertype">multiple</span><span class="normal"> key</span><span class="symbol">-</span><span class="normal">value pairs</span>
|
294
|
-
<span class="normal">Welcome</span><span class="symbol">=</span><span class="normal">Hello</span>
|
295
|
-
<span class="normal">Welcome</span><span class="symbol">[</span><span class="normal">de</span><span class="symbol">]=</span><span class="normal">Hallo</span>
|
296
|
-
<span class="normal">Welcome</span><span class="symbol">[</span><span class="normal">fr_FR</span><span class="symbol">]=</span><span class="normal">Bonjour</span>
|
297
|
-
<span class="normal">Welcome</span><span class="symbol">[</span><span class="normal">it</span><span class="symbol">]=</span><span class="normal">Ciao</span>
|
298
|
-
<span class="normal">Welcome</span><span class="symbol">[</span><span class="normal">be@latin</span><span class="symbol">]=</span><span class="normal">Hello</span>
|
299
|
-
<span class="symbol">[</span><span class="usertype">Another</span><span class="normal"> Group</span><span class="symbol">]</span>
|
300
|
-
<span class="normal">Numbers</span><span class="symbol">=</span><span class="number">2</span><span class="symbol">;</span><span class="number">20</span><span class="symbol">;-</span><span class="number">200</span><span class="symbol">;</span><span class="number">0</span>
|
301
|
-
<span class="normal">Booleans</span><span class="symbol">=</span><span class="normal">true</span><span class="symbol">;</span><span class="normal">false</span><span class="symbol">;</span><span class="normal">true</span><span class="symbol">;</span><span class="normal">true</span></pre></td>
|
302
|
-
</tr>
|
303
|
-
</tbody>
|
304
|
-
</table>
|
305
|
-
</div>
|
306
|
-
|
307
|
-
<p>
|
308
|
-
Lines beginning with a '#' and blank lines are considered comments.
|
309
|
-
</p>
|
310
|
-
<p>
|
311
|
-
Groups are started by a header line containing the group name enclosed
|
312
|
-
in '[' and ']', and ended implicitly by the start of the next group or
|
313
|
-
the end of the file. Each key-value pair must be contained in a group.
|
314
|
-
</p>
|
315
|
-
<p>
|
316
|
-
Key-value pairs generally have the form <code class="literal">key=value</code>,
|
317
|
-
with the exception of localized strings, which have the form
|
318
|
-
<code class="literal">key[locale]=value</code>, with a locale identifier of the form
|
319
|
-
<code class="literal">lang_COUNTRY<em class="parameter"><code>MODIFIER</code></em></code> where <code class="literal">COUNTRY</code> and
|
320
|
-
<code class="literal">MODIFIER</code> are optional. Space before and after the
|
321
|
-
'=' character are ignored. Newline, tab, carriage return and backslash
|
322
|
-
characters in value are escaped as \n, \t, \r, and \\, respectively.
|
323
|
-
To preserve leading spaces in values, these can also be escaped as \s.
|
324
|
-
</p>
|
325
|
-
<p>
|
326
|
-
Key files can store strings (possibly with localized variants), integers,
|
327
|
-
booleans and lists of these. Lists are separated by a separator character,
|
328
|
-
typically ';' or ','. To use the list separator character in a value in
|
329
|
-
a list, it has to be escaped by prefixing it with a backslash.
|
330
|
-
</p>
|
331
|
-
<p>
|
332
|
-
This syntax is obviously inspired by the <code class="filename">.ini</code>
|
333
|
-
files commonly met on Windows, but there are some important differences:
|
334
|
-
</p>
|
335
|
-
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
336
|
-
<li class="listitem"><p>
|
337
|
-
<code class="filename">.ini</code> files use the ';' character to begin comments,
|
338
|
-
key files use the '#' character.
|
339
|
-
</p></li>
|
340
|
-
<li class="listitem"><p>
|
341
|
-
Key files do not allow for ungrouped keys meaning only comments can precede the first group.
|
342
|
-
</p></li>
|
343
|
-
<li class="listitem"><p>
|
344
|
-
Key files are always encoded in UTF-8.
|
345
|
-
</p></li>
|
346
|
-
<li class="listitem"><p>
|
347
|
-
Key and Group names are case-sensitive, for example a group called
|
348
|
-
<code class="literal">[GROUP]</code> is a different group from <code class="literal">[group]</code>.
|
349
|
-
</p></li>
|
350
|
-
<li class="listitem"><p>
|
351
|
-
<code class="filename">.ini</code> files don't have a strongly typed boolean entry type, they only
|
352
|
-
have <code class="literal">GetProfileInt</code>. In <span class="structname">GKeyFile</span> only
|
353
|
-
<code class="literal">true</code> and <code class="literal">false</code> (in lower case) are allowed.
|
354
|
-
</p></li>
|
355
|
-
</ul></div>
|
356
|
-
<p>
|
357
|
-
</p>
|
358
|
-
<p>
|
359
|
-
Note that in contrast to the
|
360
|
-
<a class="ulink" href="http://freedesktop.org/Standards/desktop-entry-spec" target="_top">Desktop
|
361
|
-
Entry Specification</a>, groups in key files may contain the same
|
362
|
-
key multiple times; the last entry wins. Key files may also contain
|
363
|
-
multiple groups with the same name; they are merged together.
|
364
|
-
Another difference is that keys and group names in key files are not
|
365
|
-
restricted to ASCII characters.
|
366
|
-
</p>
|
367
|
-
</div>
|
368
|
-
<div class="refsect1">
|
369
|
-
<a name="glib-Key-value-file-parser.details"></a><h2>Details</h2>
|
370
|
-
<div class="refsect2">
|
371
|
-
<a name="GKeyFile"></a><h3>GKeyFile</h3>
|
372
|
-
<pre class="programlisting">typedef struct _GKeyFile GKeyFile;</pre>
|
373
|
-
<p>
|
374
|
-
The <span class="structname">GKeyFile</span> struct contains only private fields
|
375
|
-
and should not be used directly.
|
376
|
-
</p>
|
377
|
-
</div>
|
378
|
-
<hr>
|
379
|
-
<div class="refsect2">
|
380
|
-
<a name="G-KEY-FILE-ERROR:CAPS"></a><h3>G_KEY_FILE_ERROR</h3>
|
381
|
-
<pre class="programlisting">#define G_KEY_FILE_ERROR g_key_file_error_quark()
|
382
|
-
</pre>
|
383
|
-
<p>
|
384
|
-
Error domain for key file parsing. Errors in this domain will
|
385
|
-
be from the <a class="link" href="glib-Key-value-file-parser.html#GKeyFileError" title="enum GKeyFileError"><span class="type">GKeyFileError</span></a> enumeration. See <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> for information on
|
386
|
-
error domains.
|
387
|
-
</p>
|
388
|
-
</div>
|
389
|
-
<hr>
|
390
|
-
<div class="refsect2">
|
391
|
-
<a name="GKeyFileError"></a><h3>enum GKeyFileError</h3>
|
392
|
-
<pre class="programlisting">typedef enum
|
393
|
-
{
|
394
|
-
G_KEY_FILE_ERROR_UNKNOWN_ENCODING,
|
395
|
-
G_KEY_FILE_ERROR_PARSE,
|
396
|
-
G_KEY_FILE_ERROR_NOT_FOUND,
|
397
|
-
G_KEY_FILE_ERROR_KEY_NOT_FOUND,
|
398
|
-
G_KEY_FILE_ERROR_GROUP_NOT_FOUND,
|
399
|
-
G_KEY_FILE_ERROR_INVALID_VALUE
|
400
|
-
} GKeyFileError;
|
401
|
-
</pre>
|
402
|
-
<p>
|
403
|
-
Error codes returned by key file parsing.
|
404
|
-
</p>
|
405
|
-
<div class="variablelist"><table border="0">
|
406
|
-
<col align="left" valign="top">
|
407
|
-
<tbody>
|
408
|
-
<tr>
|
409
|
-
<td><p><a name="G-KEY-FILE-ERROR-UNKNOWN-ENCODING:CAPS"></a><span class="term"><code class="literal">G_KEY_FILE_ERROR_UNKNOWN_ENCODING</code></span></p></td>
|
410
|
-
<td>the text being parsed was in an unknown encoding
|
411
|
-
</td>
|
412
|
-
</tr>
|
413
|
-
<tr>
|
414
|
-
<td><p><a name="G-KEY-FILE-ERROR-PARSE:CAPS"></a><span class="term"><code class="literal">G_KEY_FILE_ERROR_PARSE</code></span></p></td>
|
415
|
-
<td>document was ill-formed
|
416
|
-
</td>
|
417
|
-
</tr>
|
418
|
-
<tr>
|
419
|
-
<td><p><a name="G-KEY-FILE-ERROR-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">G_KEY_FILE_ERROR_NOT_FOUND</code></span></p></td>
|
420
|
-
<td>the file was not found
|
421
|
-
</td>
|
422
|
-
</tr>
|
423
|
-
<tr>
|
424
|
-
<td><p><a name="G-KEY-FILE-ERROR-KEY-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">G_KEY_FILE_ERROR_KEY_NOT_FOUND</code></span></p></td>
|
425
|
-
<td>a requested key was not found
|
426
|
-
</td>
|
427
|
-
</tr>
|
428
|
-
<tr>
|
429
|
-
<td><p><a name="G-KEY-FILE-ERROR-GROUP-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">G_KEY_FILE_ERROR_GROUP_NOT_FOUND</code></span></p></td>
|
430
|
-
<td>a requested group was not found
|
431
|
-
</td>
|
432
|
-
</tr>
|
433
|
-
<tr>
|
434
|
-
<td><p><a name="G-KEY-FILE-ERROR-INVALID-VALUE:CAPS"></a><span class="term"><code class="literal">G_KEY_FILE_ERROR_INVALID_VALUE</code></span></p></td>
|
435
|
-
<td>a value could not be parsed
|
436
|
-
</td>
|
437
|
-
</tr>
|
438
|
-
</tbody>
|
439
|
-
</table></div>
|
440
|
-
</div>
|
441
|
-
<hr>
|
442
|
-
<div class="refsect2">
|
443
|
-
<a name="GKeyFileFlags"></a><h3>enum GKeyFileFlags</h3>
|
444
|
-
<pre class="programlisting">typedef enum
|
445
|
-
{
|
446
|
-
G_KEY_FILE_NONE = 0,
|
447
|
-
G_KEY_FILE_KEEP_COMMENTS = 1 << 0,
|
448
|
-
G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1
|
449
|
-
} GKeyFileFlags;
|
450
|
-
</pre>
|
451
|
-
<p>
|
452
|
-
Flags which influence the parsing.
|
453
|
-
</p>
|
454
|
-
<div class="variablelist"><table border="0">
|
455
|
-
<col align="left" valign="top">
|
456
|
-
<tbody>
|
457
|
-
<tr>
|
458
|
-
<td><p><a name="G-KEY-FILE-NONE:CAPS"></a><span class="term"><code class="literal">G_KEY_FILE_NONE</code></span></p></td>
|
459
|
-
<td>No flags, default behaviour
|
460
|
-
</td>
|
461
|
-
</tr>
|
462
|
-
<tr>
|
463
|
-
<td><p><a name="G-KEY-FILE-KEEP-COMMENTS:CAPS"></a><span class="term"><code class="literal">G_KEY_FILE_KEEP_COMMENTS</code></span></p></td>
|
464
|
-
<td>Use this flag if you plan to write the (possibly modified)
|
465
|
-
contents of the key file back to a file; otherwise all comments will be lost when
|
466
|
-
the key file is written back.
|
467
|
-
</td>
|
468
|
-
</tr>
|
469
|
-
<tr>
|
470
|
-
<td><p><a name="G-KEY-FILE-KEEP-TRANSLATIONS:CAPS"></a><span class="term"><code class="literal">G_KEY_FILE_KEEP_TRANSLATIONS</code></span></p></td>
|
471
|
-
<td>Use this flag if you plan to write the (possibly modified)
|
472
|
-
contents of the key file back to a file; otherwise only the translations for the current
|
473
|
-
language will be written back.
|
474
|
-
</td>
|
475
|
-
</tr>
|
476
|
-
</tbody>
|
477
|
-
</table></div>
|
478
|
-
</div>
|
479
|
-
<hr>
|
480
|
-
<div class="refsect2">
|
481
|
-
<a name="g-key-file-new"></a><h3>g_key_file_new ()</h3>
|
482
|
-
<pre class="programlisting"><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="returnvalue">GKeyFile</span></a> * g_key_file_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
483
|
-
<p>
|
484
|
-
Creates a new empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> object. Use
|
485
|
-
<a class="link" href="glib-Key-value-file-parser.html#g-key-file-load-from-file" title="g_key_file_load_from_file ()"><code class="function">g_key_file_load_from_file()</code></a>, <a class="link" href="glib-Key-value-file-parser.html#g-key-file-load-from-data" title="g_key_file_load_from_data ()"><code class="function">g_key_file_load_from_data()</code></a>,
|
486
|
-
<a class="link" href="glib-Key-value-file-parser.html#g-key-file-load-from-dirs" title="g_key_file_load_from_dirs ()"><code class="function">g_key_file_load_from_dirs()</code></a> or <a class="link" href="glib-Key-value-file-parser.html#g-key-file-load-from-data-dirs" title="g_key_file_load_from_data_dirs ()"><code class="function">g_key_file_load_from_data_dirs()</code></a> to
|
487
|
-
read an existing key file.
|
488
|
-
</p>
|
489
|
-
<div class="variablelist"><table border="0">
|
490
|
-
<col align="left" valign="top">
|
491
|
-
<tbody><tr>
|
492
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
493
|
-
<td> an empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>.
|
494
|
-
|
495
|
-
</td>
|
496
|
-
</tr></tbody>
|
497
|
-
</table></div>
|
498
|
-
<p class="since">Since 2.6</p>
|
499
|
-
</div>
|
500
|
-
<hr>
|
501
|
-
<div class="refsect2">
|
502
|
-
<a name="g-key-file-free"></a><h3>g_key_file_free ()</h3>
|
503
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_free (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>);</pre>
|
504
|
-
<p>
|
505
|
-
Frees a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>.
|
506
|
-
</p>
|
507
|
-
<div class="variablelist"><table border="0">
|
508
|
-
<col align="left" valign="top">
|
509
|
-
<tbody><tr>
|
510
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
511
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
512
|
-
</td>
|
513
|
-
</tr></tbody>
|
514
|
-
</table></div>
|
515
|
-
<p class="since">Since 2.6</p>
|
516
|
-
</div>
|
517
|
-
<hr>
|
518
|
-
<div class="refsect2">
|
519
|
-
<a name="g-key-file-set-list-separator"></a><h3>g_key_file_set_list_separator ()</h3>
|
520
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_list_separator (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
521
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> separator</code></em>);</pre>
|
522
|
-
<p>
|
523
|
-
Sets the character which is used to separate
|
524
|
-
values in lists. Typically ';' or ',' are used
|
525
|
-
as separators. The default list separator is ';'.
|
526
|
-
</p>
|
527
|
-
<div class="variablelist"><table border="0">
|
528
|
-
<col align="left" valign="top">
|
529
|
-
<tbody>
|
530
|
-
<tr>
|
531
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
532
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
533
|
-
</td>
|
534
|
-
</tr>
|
535
|
-
<tr>
|
536
|
-
<td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
|
537
|
-
<td>the separator
|
538
|
-
</td>
|
539
|
-
</tr>
|
540
|
-
</tbody>
|
541
|
-
</table></div>
|
542
|
-
<p class="since">Since 2.6</p>
|
543
|
-
</div>
|
544
|
-
<hr>
|
545
|
-
<div class="refsect2">
|
546
|
-
<a name="g-key-file-load-from-file"></a><h3>g_key_file_load_from_file ()</h3>
|
547
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_key_file_load_from_file (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
548
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file</code></em>,
|
549
|
-
<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a> flags</code></em>,
|
550
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
551
|
-
<p>
|
552
|
-
Loads a key file into an empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> structure.
|
553
|
-
If the file could not be loaded then <code class="literal">error</code> is set to
|
554
|
-
either a <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> or <a class="link" href="glib-Key-value-file-parser.html#GKeyFileError" title="enum GKeyFileError"><span class="type">GKeyFileError</span></a>.
|
555
|
-
</p>
|
556
|
-
<div class="variablelist"><table border="0">
|
557
|
-
<col align="left" valign="top">
|
558
|
-
<tbody>
|
559
|
-
<tr>
|
560
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
561
|
-
<td>an empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> struct
|
562
|
-
</td>
|
563
|
-
</tr>
|
564
|
-
<tr>
|
565
|
-
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
566
|
-
<td>the path of a filename to load, in the GLib filename encoding
|
567
|
-
</td>
|
568
|
-
</tr>
|
569
|
-
<tr>
|
570
|
-
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
571
|
-
<td>flags from <a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a>
|
572
|
-
</td>
|
573
|
-
</tr>
|
574
|
-
<tr>
|
575
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
576
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
577
|
-
</td>
|
578
|
-
</tr>
|
579
|
-
<tr>
|
580
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
581
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a key file could be loaded, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise
|
582
|
-
|
583
|
-
</td>
|
584
|
-
</tr>
|
585
|
-
</tbody>
|
586
|
-
</table></div>
|
587
|
-
<p class="since">Since 2.6</p>
|
588
|
-
</div>
|
589
|
-
<hr>
|
590
|
-
<div class="refsect2">
|
591
|
-
<a name="g-key-file-load-from-data"></a><h3>g_key_file_load_from_data ()</h3>
|
592
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_key_file_load_from_data (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
593
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *data</code></em>,
|
594
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>,
|
595
|
-
<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a> flags</code></em>,
|
596
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
597
|
-
<p>
|
598
|
-
Loads a key file from memory into an empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> structure.
|
599
|
-
If the object cannot be created then <code class="literal">error</code> is set to a <a class="link" href="glib-Key-value-file-parser.html#GKeyFileError" title="enum GKeyFileError"><span class="type">GKeyFileError</span></a>.
|
600
|
-
</p>
|
601
|
-
<div class="variablelist"><table border="0">
|
602
|
-
<col align="left" valign="top">
|
603
|
-
<tbody>
|
604
|
-
<tr>
|
605
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
606
|
-
<td>an empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> struct
|
607
|
-
</td>
|
608
|
-
</tr>
|
609
|
-
<tr>
|
610
|
-
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
611
|
-
<td>key file loaded in memory
|
612
|
-
</td>
|
613
|
-
</tr>
|
614
|
-
<tr>
|
615
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
616
|
-
<td>the length of <em class="parameter"><code>data</code></em> in bytes
|
617
|
-
</td>
|
618
|
-
</tr>
|
619
|
-
<tr>
|
620
|
-
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
621
|
-
<td>flags from <a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a>
|
622
|
-
</td>
|
623
|
-
</tr>
|
624
|
-
<tr>
|
625
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
626
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
627
|
-
</td>
|
628
|
-
</tr>
|
629
|
-
<tr>
|
630
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
631
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a key file could be loaded, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise
|
632
|
-
|
633
|
-
</td>
|
634
|
-
</tr>
|
635
|
-
</tbody>
|
636
|
-
</table></div>
|
637
|
-
<p class="since">Since 2.6</p>
|
638
|
-
</div>
|
639
|
-
<hr>
|
640
|
-
<div class="refsect2">
|
641
|
-
<a name="g-key-file-load-from-data-dirs"></a><h3>g_key_file_load_from_data_dirs ()</h3>
|
642
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_key_file_load_from_data_dirs (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
643
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file</code></em>,
|
644
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **full_path</code></em>,
|
645
|
-
<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a> flags</code></em>,
|
646
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
647
|
-
<p>
|
648
|
-
This function looks for a key file named <em class="parameter"><code>file</code></em> in the paths
|
649
|
-
returned from <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-data-dir" title="g_get_user_data_dir ()"><code class="function">g_get_user_data_dir()</code></a> and <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-system-data-dirs" title="g_get_system_data_dirs ()"><code class="function">g_get_system_data_dirs()</code></a>,
|
650
|
-
loads the file into <em class="parameter"><code>key_file</code></em> and returns the file's full path in
|
651
|
-
<em class="parameter"><code>full_path</code></em>. If the file could not be loaded then an <code class="literal">error</code> is
|
652
|
-
set to either a <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> or <a class="link" href="glib-Key-value-file-parser.html#GKeyFileError" title="enum GKeyFileError"><span class="type">GKeyFileError</span></a>.
|
653
|
-
</p>
|
654
|
-
<div class="variablelist"><table border="0">
|
655
|
-
<col align="left" valign="top">
|
656
|
-
<tbody>
|
657
|
-
<tr>
|
658
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
659
|
-
<td>an empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> struct
|
660
|
-
</td>
|
661
|
-
</tr>
|
662
|
-
<tr>
|
663
|
-
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
664
|
-
<td>a relative path to a filename to open and parse
|
665
|
-
</td>
|
666
|
-
</tr>
|
667
|
-
<tr>
|
668
|
-
<td><p><span class="term"><em class="parameter"><code>full_path</code></em> :</span></p></td>
|
669
|
-
<td>return location for a string containing the full path
|
670
|
-
of the file, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
671
|
-
</td>
|
672
|
-
</tr>
|
673
|
-
<tr>
|
674
|
-
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
675
|
-
<td>flags from <a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a>
|
676
|
-
</td>
|
677
|
-
</tr>
|
678
|
-
<tr>
|
679
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
680
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
681
|
-
</td>
|
682
|
-
</tr>
|
683
|
-
<tr>
|
684
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
685
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a key file could be loaded, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> othewise
|
686
|
-
</td>
|
687
|
-
</tr>
|
688
|
-
</tbody>
|
689
|
-
</table></div>
|
690
|
-
<p class="since">Since 2.6</p>
|
691
|
-
</div>
|
692
|
-
<hr>
|
693
|
-
<div class="refsect2">
|
694
|
-
<a name="g-key-file-load-from-dirs"></a><h3>g_key_file_load_from_dirs ()</h3>
|
695
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_key_file_load_from_dirs (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
696
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file</code></em>,
|
697
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **search_dirs</code></em>,
|
698
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **full_path</code></em>,
|
699
|
-
<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a> flags</code></em>,
|
700
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
701
|
-
<p>
|
702
|
-
This function looks for a key file named <em class="parameter"><code>file</code></em> in the paths
|
703
|
-
specified in <em class="parameter"><code>search_dirs</code></em>, loads the file into <em class="parameter"><code>key_file</code></em> and
|
704
|
-
returns the file's full path in <em class="parameter"><code>full_path</code></em>. If the file could not
|
705
|
-
be loaded then an <code class="literal">error</code> is set to either a <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> or
|
706
|
-
<a class="link" href="glib-Key-value-file-parser.html#GKeyFileError" title="enum GKeyFileError"><span class="type">GKeyFileError</span></a>.
|
707
|
-
</p>
|
708
|
-
<div class="variablelist"><table border="0">
|
709
|
-
<col align="left" valign="top">
|
710
|
-
<tbody>
|
711
|
-
<tr>
|
712
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
713
|
-
<td>an empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> struct
|
714
|
-
</td>
|
715
|
-
</tr>
|
716
|
-
<tr>
|
717
|
-
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
718
|
-
<td>a relative path to a filename to open and parse
|
719
|
-
</td>
|
720
|
-
</tr>
|
721
|
-
<tr>
|
722
|
-
<td><p><span class="term"><em class="parameter"><code>search_dirs</code></em> :</span></p></td>
|
723
|
-
<td>
|
724
|
-
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of directories to search
|
725
|
-
</td>
|
726
|
-
</tr>
|
727
|
-
<tr>
|
728
|
-
<td><p><span class="term"><em class="parameter"><code>full_path</code></em> :</span></p></td>
|
729
|
-
<td>return location for a string containing the full path
|
730
|
-
of the file, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
731
|
-
</td>
|
732
|
-
</tr>
|
733
|
-
<tr>
|
734
|
-
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
735
|
-
<td>flags from <a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a>
|
736
|
-
</td>
|
737
|
-
</tr>
|
738
|
-
<tr>
|
739
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
740
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
741
|
-
</td>
|
742
|
-
</tr>
|
743
|
-
<tr>
|
744
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
745
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a key file could be loaded, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise
|
746
|
-
|
747
|
-
</td>
|
748
|
-
</tr>
|
749
|
-
</tbody>
|
750
|
-
</table></div>
|
751
|
-
<p class="since">Since 2.14</p>
|
752
|
-
</div>
|
753
|
-
<hr>
|
754
|
-
<div class="refsect2">
|
755
|
-
<a name="g-key-file-to-data"></a><h3>g_key_file_to_data ()</h3>
|
756
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_key_file_to_data (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
757
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
758
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
759
|
-
<p>
|
760
|
-
This function outputs <em class="parameter"><code>key_file</code></em> as a string.
|
761
|
-
</p>
|
762
|
-
<p>
|
763
|
-
Note that this function never reports an error,
|
764
|
-
so it is safe to pass <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> as <em class="parameter"><code>error</code></em>.
|
765
|
-
</p>
|
766
|
-
<div class="variablelist"><table border="0">
|
767
|
-
<col align="left" valign="top">
|
768
|
-
<tbody>
|
769
|
-
<tr>
|
770
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
771
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
772
|
-
</td>
|
773
|
-
</tr>
|
774
|
-
<tr>
|
775
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
776
|
-
<td>return location for the length of the
|
777
|
-
returned string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
778
|
-
</td>
|
779
|
-
</tr>
|
780
|
-
<tr>
|
781
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
782
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
783
|
-
</td>
|
784
|
-
</tr>
|
785
|
-
<tr>
|
786
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
787
|
-
<td> a newly allocated string holding
|
788
|
-
the contents of the <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
789
|
-
|
790
|
-
</td>
|
791
|
-
</tr>
|
792
|
-
</tbody>
|
793
|
-
</table></div>
|
794
|
-
<p class="since">Since 2.6</p>
|
795
|
-
</div>
|
796
|
-
<hr>
|
797
|
-
<div class="refsect2">
|
798
|
-
<a name="g-key-file-get-start-group"></a><h3>g_key_file_get_start_group ()</h3>
|
799
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_key_file_get_start_group (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>);</pre>
|
800
|
-
<p>
|
801
|
-
Returns the name of the start group of the file.
|
802
|
-
</p>
|
803
|
-
<div class="variablelist"><table border="0">
|
804
|
-
<col align="left" valign="top">
|
805
|
-
<tbody>
|
806
|
-
<tr>
|
807
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
808
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
809
|
-
</td>
|
810
|
-
</tr>
|
811
|
-
<tr>
|
812
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
813
|
-
<td> The start group of the key file.
|
814
|
-
|
815
|
-
</td>
|
816
|
-
</tr>
|
817
|
-
</tbody>
|
818
|
-
</table></div>
|
819
|
-
<p class="since">Since 2.6</p>
|
820
|
-
</div>
|
821
|
-
<hr>
|
822
|
-
<div class="refsect2">
|
823
|
-
<a name="g-key-file-get-groups"></a><h3>g_key_file_get_groups ()</h3>
|
824
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_key_file_get_groups (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
825
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
826
|
-
<p>
|
827
|
-
Returns all groups in the key file loaded with <em class="parameter"><code>key_file</code></em>.
|
828
|
-
The array of returned groups will be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated, so
|
829
|
-
<em class="parameter"><code>length</code></em> may optionally be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
830
|
-
</p>
|
831
|
-
<div class="variablelist"><table border="0">
|
832
|
-
<col align="left" valign="top">
|
833
|
-
<tbody>
|
834
|
-
<tr>
|
835
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
836
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
837
|
-
</td>
|
838
|
-
</tr>
|
839
|
-
<tr>
|
840
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
841
|
-
<td>return location for the number of returned groups, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
842
|
-
</td>
|
843
|
-
</tr>
|
844
|
-
<tr>
|
845
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
846
|
-
<td> a newly-allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings.
|
847
|
-
Use <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> to free it.
|
848
|
-
</td>
|
849
|
-
</tr>
|
850
|
-
</tbody>
|
851
|
-
</table></div>
|
852
|
-
<p class="since">Since 2.6</p>
|
853
|
-
</div>
|
854
|
-
<hr>
|
855
|
-
<div class="refsect2">
|
856
|
-
<a name="g-key-file-get-keys"></a><h3>g_key_file_get_keys ()</h3>
|
857
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_key_file_get_keys (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
858
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
859
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
860
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
861
|
-
<p>
|
862
|
-
Returns all keys for the group name <em class="parameter"><code>group_name</code></em>. The array of
|
863
|
-
returned keys will be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated, so <em class="parameter"><code>length</code></em> may
|
864
|
-
optionally be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. In the event that the <em class="parameter"><code>group_name</code></em> cannot
|
865
|
-
be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and <em class="parameter"><code>error</code></em> is set to
|
866
|
-
<a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-GROUP-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_GROUP_NOT_FOUND</span></a>.
|
867
|
-
</p>
|
868
|
-
<div class="variablelist"><table border="0">
|
869
|
-
<col align="left" valign="top">
|
870
|
-
<tbody>
|
871
|
-
<tr>
|
872
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
873
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
874
|
-
</td>
|
875
|
-
</tr>
|
876
|
-
<tr>
|
877
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
878
|
-
<td>a group name
|
879
|
-
</td>
|
880
|
-
</tr>
|
881
|
-
<tr>
|
882
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
883
|
-
<td>return location for the number of keys returned, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
884
|
-
</td>
|
885
|
-
</tr>
|
886
|
-
<tr>
|
887
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
888
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
889
|
-
</td>
|
890
|
-
</tr>
|
891
|
-
<tr>
|
892
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
893
|
-
<td> a newly-allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings.
|
894
|
-
Use <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> to free it.
|
895
|
-
|
896
|
-
</td>
|
897
|
-
</tr>
|
898
|
-
</tbody>
|
899
|
-
</table></div>
|
900
|
-
<p class="since">Since 2.6</p>
|
901
|
-
</div>
|
902
|
-
<hr>
|
903
|
-
<div class="refsect2">
|
904
|
-
<a name="g-key-file-has-group"></a><h3>g_key_file_has_group ()</h3>
|
905
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_key_file_has_group (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
906
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>);</pre>
|
907
|
-
<p>
|
908
|
-
Looks whether the key file has the group <em class="parameter"><code>group_name</code></em>.
|
909
|
-
</p>
|
910
|
-
<div class="variablelist"><table border="0">
|
911
|
-
<col align="left" valign="top">
|
912
|
-
<tbody>
|
913
|
-
<tr>
|
914
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
915
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
916
|
-
</td>
|
917
|
-
</tr>
|
918
|
-
<tr>
|
919
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
920
|
-
<td>a group name
|
921
|
-
</td>
|
922
|
-
</tr>
|
923
|
-
<tr>
|
924
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
925
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>group_name</code></em> is a part of <em class="parameter"><code>key_file</code></em>, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>
|
926
|
-
otherwise.
|
927
|
-
</td>
|
928
|
-
</tr>
|
929
|
-
</tbody>
|
930
|
-
</table></div>
|
931
|
-
<p class="since">Since 2.6</p>
|
932
|
-
</div>
|
933
|
-
<hr>
|
934
|
-
<div class="refsect2">
|
935
|
-
<a name="g-key-file-has-key"></a><h3>g_key_file_has_key ()</h3>
|
936
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_key_file_has_key (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
937
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
938
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
939
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
940
|
-
<p>
|
941
|
-
Looks whether the key file has the key <em class="parameter"><code>key</code></em> in the group
|
942
|
-
<em class="parameter"><code>group_name</code></em>.
|
943
|
-
</p>
|
944
|
-
<div class="variablelist"><table border="0">
|
945
|
-
<col align="left" valign="top">
|
946
|
-
<tbody>
|
947
|
-
<tr>
|
948
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
949
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
950
|
-
</td>
|
951
|
-
</tr>
|
952
|
-
<tr>
|
953
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
954
|
-
<td>a group name
|
955
|
-
</td>
|
956
|
-
</tr>
|
957
|
-
<tr>
|
958
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
959
|
-
<td>a key name
|
960
|
-
</td>
|
961
|
-
</tr>
|
962
|
-
<tr>
|
963
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
964
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
965
|
-
</td>
|
966
|
-
</tr>
|
967
|
-
<tr>
|
968
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
969
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>key</code></em> is a part of <em class="parameter"><code>group_name</code></em>, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>
|
970
|
-
otherwise.
|
971
|
-
|
972
|
-
</td>
|
973
|
-
</tr>
|
974
|
-
</tbody>
|
975
|
-
</table></div>
|
976
|
-
<p class="since">Since 2.6</p>
|
977
|
-
</div>
|
978
|
-
<hr>
|
979
|
-
<div class="refsect2">
|
980
|
-
<a name="g-key-file-get-value"></a><h3>g_key_file_get_value ()</h3>
|
981
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_key_file_get_value (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
982
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
983
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
984
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
985
|
-
<p>
|
986
|
-
Returns the raw value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
987
|
-
Use <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-string" title="g_key_file_get_string ()"><code class="function">g_key_file_get_string()</code></a> to retrieve an unescaped UTF-8 string.
|
988
|
-
</p>
|
989
|
-
<p>
|
990
|
-
In the event the key cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
|
991
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-KEY-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_KEY_NOT_FOUND</span></a>. In the
|
992
|
-
event that the <em class="parameter"><code>group_name</code></em> cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned
|
993
|
-
and <em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-GROUP-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_GROUP_NOT_FOUND</span></a>.
|
994
|
-
</p>
|
995
|
-
<div class="variablelist"><table border="0">
|
996
|
-
<col align="left" valign="top">
|
997
|
-
<tbody>
|
998
|
-
<tr>
|
999
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1000
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1001
|
-
</td>
|
1002
|
-
</tr>
|
1003
|
-
<tr>
|
1004
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1005
|
-
<td>a group name
|
1006
|
-
</td>
|
1007
|
-
</tr>
|
1008
|
-
<tr>
|
1009
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1010
|
-
<td>a key
|
1011
|
-
</td>
|
1012
|
-
</tr>
|
1013
|
-
<tr>
|
1014
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1015
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1016
|
-
</td>
|
1017
|
-
</tr>
|
1018
|
-
<tr>
|
1019
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1020
|
-
<td> a newly allocated string or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
|
1021
|
-
key cannot be found.
|
1022
|
-
|
1023
|
-
</td>
|
1024
|
-
</tr>
|
1025
|
-
</tbody>
|
1026
|
-
</table></div>
|
1027
|
-
<p class="since">Since 2.6</p>
|
1028
|
-
</div>
|
1029
|
-
<hr>
|
1030
|
-
<div class="refsect2">
|
1031
|
-
<a name="g-key-file-get-string"></a><h3>g_key_file_get_string ()</h3>
|
1032
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_key_file_get_string (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1033
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1034
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1035
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1036
|
-
<p>
|
1037
|
-
Returns the string value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1038
|
-
Unlike <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-value" title="g_key_file_get_value ()"><code class="function">g_key_file_get_value()</code></a>, this function handles escape sequences
|
1039
|
-
like \s.
|
1040
|
-
</p>
|
1041
|
-
<p>
|
1042
|
-
In the event the key cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
|
1043
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-KEY-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_KEY_NOT_FOUND</span></a>. In the
|
1044
|
-
event that the <em class="parameter"><code>group_name</code></em> cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned
|
1045
|
-
and <em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-GROUP-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_GROUP_NOT_FOUND</span></a>.
|
1046
|
-
</p>
|
1047
|
-
<div class="variablelist"><table border="0">
|
1048
|
-
<col align="left" valign="top">
|
1049
|
-
<tbody>
|
1050
|
-
<tr>
|
1051
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1052
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1053
|
-
</td>
|
1054
|
-
</tr>
|
1055
|
-
<tr>
|
1056
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1057
|
-
<td>a group name
|
1058
|
-
</td>
|
1059
|
-
</tr>
|
1060
|
-
<tr>
|
1061
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1062
|
-
<td>a key
|
1063
|
-
</td>
|
1064
|
-
</tr>
|
1065
|
-
<tr>
|
1066
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1067
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1068
|
-
</td>
|
1069
|
-
</tr>
|
1070
|
-
<tr>
|
1071
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1072
|
-
<td> a newly allocated string or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
|
1073
|
-
key cannot be found.
|
1074
|
-
|
1075
|
-
</td>
|
1076
|
-
</tr>
|
1077
|
-
</tbody>
|
1078
|
-
</table></div>
|
1079
|
-
<p class="since">Since 2.6</p>
|
1080
|
-
</div>
|
1081
|
-
<hr>
|
1082
|
-
<div class="refsect2">
|
1083
|
-
<a name="g-key-file-get-locale-string"></a><h3>g_key_file_get_locale_string ()</h3>
|
1084
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_key_file_get_locale_string (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1085
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1086
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1087
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *locale</code></em>,
|
1088
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1089
|
-
<p>
|
1090
|
-
Returns the value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>
|
1091
|
-
translated in the given <em class="parameter"><code>locale</code></em> if available. If <em class="parameter"><code>locale</code></em> is
|
1092
|
-
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then the current locale is assumed.
|
1093
|
-
</p>
|
1094
|
-
<p>
|
1095
|
-
If <em class="parameter"><code>key</code></em> cannot be found then <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and <em class="parameter"><code>error</code></em> is set
|
1096
|
-
to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-KEY-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_KEY_NOT_FOUND</span></a>. If the value associated
|
1097
|
-
with <em class="parameter"><code>key</code></em> cannot be interpreted or no suitable translation can
|
1098
|
-
be found then the untranslated value is returned.
|
1099
|
-
</p>
|
1100
|
-
<div class="variablelist"><table border="0">
|
1101
|
-
<col align="left" valign="top">
|
1102
|
-
<tbody>
|
1103
|
-
<tr>
|
1104
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1105
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1106
|
-
</td>
|
1107
|
-
</tr>
|
1108
|
-
<tr>
|
1109
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1110
|
-
<td>a group name
|
1111
|
-
</td>
|
1112
|
-
</tr>
|
1113
|
-
<tr>
|
1114
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1115
|
-
<td>a key
|
1116
|
-
</td>
|
1117
|
-
</tr>
|
1118
|
-
<tr>
|
1119
|
-
<td><p><span class="term"><em class="parameter"><code>locale</code></em> :</span></p></td>
|
1120
|
-
<td>a locale identifier or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1121
|
-
</td>
|
1122
|
-
</tr>
|
1123
|
-
<tr>
|
1124
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1125
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1126
|
-
</td>
|
1127
|
-
</tr>
|
1128
|
-
<tr>
|
1129
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1130
|
-
<td> a newly allocated string or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
|
1131
|
-
key cannot be found.
|
1132
|
-
|
1133
|
-
</td>
|
1134
|
-
</tr>
|
1135
|
-
</tbody>
|
1136
|
-
</table></div>
|
1137
|
-
<p class="since">Since 2.6</p>
|
1138
|
-
</div>
|
1139
|
-
<hr>
|
1140
|
-
<div class="refsect2">
|
1141
|
-
<a name="g-key-file-get-boolean"></a><h3>g_key_file_get_boolean ()</h3>
|
1142
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_key_file_get_boolean (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1143
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1144
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1145
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1146
|
-
<p>
|
1147
|
-
Returns the value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as a
|
1148
|
-
boolean.
|
1149
|
-
</p>
|
1150
|
-
<p>
|
1151
|
-
If <em class="parameter"><code>key</code></em> cannot be found then <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and <em class="parameter"><code>error</code></em> is set
|
1152
|
-
to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-KEY-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_KEY_NOT_FOUND</span></a>. Likewise, if the value
|
1153
|
-
associated with <em class="parameter"><code>key</code></em> cannot be interpreted as a boolean then <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>
|
1154
|
-
is returned and <em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-INVALID-VALUE:CAPS"><span class="type">G_KEY_FILE_ERROR_INVALID_VALUE</span></a>.
|
1155
|
-
</p>
|
1156
|
-
<div class="variablelist"><table border="0">
|
1157
|
-
<col align="left" valign="top">
|
1158
|
-
<tbody>
|
1159
|
-
<tr>
|
1160
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1161
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1162
|
-
</td>
|
1163
|
-
</tr>
|
1164
|
-
<tr>
|
1165
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1166
|
-
<td>a group name
|
1167
|
-
</td>
|
1168
|
-
</tr>
|
1169
|
-
<tr>
|
1170
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1171
|
-
<td>a key
|
1172
|
-
</td>
|
1173
|
-
</tr>
|
1174
|
-
<tr>
|
1175
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1176
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1177
|
-
</td>
|
1178
|
-
</tr>
|
1179
|
-
<tr>
|
1180
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1181
|
-
<td> the value associated with the key as a boolean,
|
1182
|
-
or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if the key was not found or could not be parsed.
|
1183
|
-
|
1184
|
-
</td>
|
1185
|
-
</tr>
|
1186
|
-
</tbody>
|
1187
|
-
</table></div>
|
1188
|
-
<p class="since">Since 2.6</p>
|
1189
|
-
</div>
|
1190
|
-
<hr>
|
1191
|
-
<div class="refsect2">
|
1192
|
-
<a name="g-key-file-get-integer"></a><h3>g_key_file_get_integer ()</h3>
|
1193
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_key_file_get_integer (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1194
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1195
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1196
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1197
|
-
<p>
|
1198
|
-
Returns the value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as an
|
1199
|
-
integer.
|
1200
|
-
</p>
|
1201
|
-
<p>
|
1202
|
-
If <em class="parameter"><code>key</code></em> cannot be found then 0 is returned and <em class="parameter"><code>error</code></em> is set to
|
1203
|
-
<a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-KEY-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_KEY_NOT_FOUND</span></a>. Likewise, if the value associated
|
1204
|
-
with <em class="parameter"><code>key</code></em> cannot be interpreted as an integer then 0 is returned
|
1205
|
-
and <em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-INVALID-VALUE:CAPS"><span class="type">G_KEY_FILE_ERROR_INVALID_VALUE</span></a>.
|
1206
|
-
</p>
|
1207
|
-
<div class="variablelist"><table border="0">
|
1208
|
-
<col align="left" valign="top">
|
1209
|
-
<tbody>
|
1210
|
-
<tr>
|
1211
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1212
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1213
|
-
</td>
|
1214
|
-
</tr>
|
1215
|
-
<tr>
|
1216
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1217
|
-
<td>a group name
|
1218
|
-
</td>
|
1219
|
-
</tr>
|
1220
|
-
<tr>
|
1221
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1222
|
-
<td>a key
|
1223
|
-
</td>
|
1224
|
-
</tr>
|
1225
|
-
<tr>
|
1226
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1227
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1228
|
-
</td>
|
1229
|
-
</tr>
|
1230
|
-
<tr>
|
1231
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1232
|
-
<td> the value associated with the key as an integer, or
|
1233
|
-
0 if the key was not found or could not be parsed.
|
1234
|
-
|
1235
|
-
</td>
|
1236
|
-
</tr>
|
1237
|
-
</tbody>
|
1238
|
-
</table></div>
|
1239
|
-
<p class="since">Since 2.6</p>
|
1240
|
-
</div>
|
1241
|
-
<hr>
|
1242
|
-
<div class="refsect2">
|
1243
|
-
<a name="g-key-file-get-int64"></a><h3>g_key_file_get_int64 ()</h3>
|
1244
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> g_key_file_get_int64 (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1245
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1246
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1247
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1248
|
-
<p>
|
1249
|
-
Returns the value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as a signed
|
1250
|
-
64-bit integer. This is similar to <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-integer" title="g_key_file_get_integer ()"><code class="function">g_key_file_get_integer()</code></a> but can return
|
1251
|
-
64-bit results without truncation.
|
1252
|
-
</p>
|
1253
|
-
<div class="variablelist"><table border="0">
|
1254
|
-
<col align="left" valign="top">
|
1255
|
-
<tbody>
|
1256
|
-
<tr>
|
1257
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1258
|
-
<td>a non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1259
|
-
</td>
|
1260
|
-
</tr>
|
1261
|
-
<tr>
|
1262
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1263
|
-
<td>a non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> group name
|
1264
|
-
</td>
|
1265
|
-
</tr>
|
1266
|
-
<tr>
|
1267
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1268
|
-
<td>a non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> key
|
1269
|
-
</td>
|
1270
|
-
</tr>
|
1271
|
-
<tr>
|
1272
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1273
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1274
|
-
</td>
|
1275
|
-
</tr>
|
1276
|
-
<tr>
|
1277
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1278
|
-
<td> the value associated with the key as a signed 64-bit integer, or
|
1279
|
-
0 if the key was not found or could not be parsed.
|
1280
|
-
|
1281
|
-
</td>
|
1282
|
-
</tr>
|
1283
|
-
</tbody>
|
1284
|
-
</table></div>
|
1285
|
-
<p class="since">Since 2.26</p>
|
1286
|
-
</div>
|
1287
|
-
<hr>
|
1288
|
-
<div class="refsect2">
|
1289
|
-
<a name="g-key-file-get-uint64"></a><h3>g_key_file_get_uint64 ()</h3>
|
1290
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="returnvalue">guint64</span></a> g_key_file_get_uint64 (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1291
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1292
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1293
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1294
|
-
<p>
|
1295
|
-
Returns the value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as an unsigned
|
1296
|
-
64-bit integer. This is similar to <a class="link" href="glib-Key-value-file-parser.html#g-key-file-get-integer" title="g_key_file_get_integer ()"><code class="function">g_key_file_get_integer()</code></a> but can return
|
1297
|
-
large positive results without truncation.
|
1298
|
-
</p>
|
1299
|
-
<div class="variablelist"><table border="0">
|
1300
|
-
<col align="left" valign="top">
|
1301
|
-
<tbody>
|
1302
|
-
<tr>
|
1303
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1304
|
-
<td>a non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1305
|
-
</td>
|
1306
|
-
</tr>
|
1307
|
-
<tr>
|
1308
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1309
|
-
<td>a non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> group name
|
1310
|
-
</td>
|
1311
|
-
</tr>
|
1312
|
-
<tr>
|
1313
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1314
|
-
<td>a non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> key
|
1315
|
-
</td>
|
1316
|
-
</tr>
|
1317
|
-
<tr>
|
1318
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1319
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1320
|
-
</td>
|
1321
|
-
</tr>
|
1322
|
-
<tr>
|
1323
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1324
|
-
<td> the value associated with the key as an unsigned 64-bit integer,
|
1325
|
-
or 0 if the key was not found or could not be parsed.
|
1326
|
-
|
1327
|
-
</td>
|
1328
|
-
</tr>
|
1329
|
-
</tbody>
|
1330
|
-
</table></div>
|
1331
|
-
<p class="since">Since 2.26</p>
|
1332
|
-
</div>
|
1333
|
-
<hr>
|
1334
|
-
<div class="refsect2">
|
1335
|
-
<a name="g-key-file-get-double"></a><h3>g_key_file_get_double ()</h3>
|
1336
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> g_key_file_get_double (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1337
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1338
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1339
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1340
|
-
<p>
|
1341
|
-
Returns the value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as a
|
1342
|
-
double. If <em class="parameter"><code>group_name</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the start_group is used.
|
1343
|
-
</p>
|
1344
|
-
<p>
|
1345
|
-
If <em class="parameter"><code>key</code></em> cannot be found then 0.0 is returned and <em class="parameter"><code>error</code></em> is set to
|
1346
|
-
<a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-KEY-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_KEY_NOT_FOUND</span></a>. Likewise, if the value associated
|
1347
|
-
with <em class="parameter"><code>key</code></em> cannot be interpreted as a double then 0.0 is returned
|
1348
|
-
and <em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-INVALID-VALUE:CAPS"><span class="type">G_KEY_FILE_ERROR_INVALID_VALUE</span></a>.
|
1349
|
-
</p>
|
1350
|
-
<div class="variablelist"><table border="0">
|
1351
|
-
<col align="left" valign="top">
|
1352
|
-
<tbody>
|
1353
|
-
<tr>
|
1354
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1355
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1356
|
-
</td>
|
1357
|
-
</tr>
|
1358
|
-
<tr>
|
1359
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1360
|
-
<td>a group name
|
1361
|
-
</td>
|
1362
|
-
</tr>
|
1363
|
-
<tr>
|
1364
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1365
|
-
<td>a key
|
1366
|
-
</td>
|
1367
|
-
</tr>
|
1368
|
-
<tr>
|
1369
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1370
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1371
|
-
</td>
|
1372
|
-
</tr>
|
1373
|
-
<tr>
|
1374
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1375
|
-
<td> the value associated with the key as a double, or
|
1376
|
-
0.0 if the key was not found or could not be parsed.
|
1377
|
-
|
1378
|
-
</td>
|
1379
|
-
</tr>
|
1380
|
-
</tbody>
|
1381
|
-
</table></div>
|
1382
|
-
<p class="since">Since 2.12</p>
|
1383
|
-
</div>
|
1384
|
-
<hr>
|
1385
|
-
<div class="refsect2">
|
1386
|
-
<a name="g-key-file-get-string-list"></a><h3>g_key_file_get_string_list ()</h3>
|
1387
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_key_file_get_string_list (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1388
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1389
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1390
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
1391
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1392
|
-
<p>
|
1393
|
-
Returns the values associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1394
|
-
</p>
|
1395
|
-
<p>
|
1396
|
-
In the event the key cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
|
1397
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-KEY-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_KEY_NOT_FOUND</span></a>. In the
|
1398
|
-
event that the <em class="parameter"><code>group_name</code></em> cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned
|
1399
|
-
and <em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-GROUP-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_GROUP_NOT_FOUND</span></a>.
|
1400
|
-
</p>
|
1401
|
-
<div class="variablelist"><table border="0">
|
1402
|
-
<col align="left" valign="top">
|
1403
|
-
<tbody>
|
1404
|
-
<tr>
|
1405
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1406
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1407
|
-
</td>
|
1408
|
-
</tr>
|
1409
|
-
<tr>
|
1410
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1411
|
-
<td>a group name
|
1412
|
-
</td>
|
1413
|
-
</tr>
|
1414
|
-
<tr>
|
1415
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1416
|
-
<td>a key
|
1417
|
-
</td>
|
1418
|
-
</tr>
|
1419
|
-
<tr>
|
1420
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1421
|
-
<td>return location for the number of returned strings, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1422
|
-
</td>
|
1423
|
-
</tr>
|
1424
|
-
<tr>
|
1425
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1426
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1427
|
-
</td>
|
1428
|
-
</tr>
|
1429
|
-
<tr>
|
1430
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1431
|
-
<td> a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated string array or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
|
1432
|
-
key cannot be found. The array should be freed with <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a>.
|
1433
|
-
|
1434
|
-
</td>
|
1435
|
-
</tr>
|
1436
|
-
</tbody>
|
1437
|
-
</table></div>
|
1438
|
-
<p class="since">Since 2.6</p>
|
1439
|
-
</div>
|
1440
|
-
<hr>
|
1441
|
-
<div class="refsect2">
|
1442
|
-
<a name="g-key-file-get-locale-string-list"></a><h3>g_key_file_get_locale_string_list ()</h3>
|
1443
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_key_file_get_locale_string_list (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1444
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1445
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1446
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *locale</code></em>,
|
1447
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
1448
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1449
|
-
<p>
|
1450
|
-
Returns the values associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>
|
1451
|
-
translated in the given <em class="parameter"><code>locale</code></em> if available. If <em class="parameter"><code>locale</code></em> is
|
1452
|
-
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then the current locale is assumed.
|
1453
|
-
</p>
|
1454
|
-
<p>
|
1455
|
-
If <em class="parameter"><code>key</code></em> cannot be found then <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and <em class="parameter"><code>error</code></em> is set
|
1456
|
-
to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-KEY-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_KEY_NOT_FOUND</span></a>. If the values associated
|
1457
|
-
with <em class="parameter"><code>key</code></em> cannot be interpreted or no suitable translations
|
1458
|
-
can be found then the untranslated values are returned. The
|
1459
|
-
returned array is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated, so <em class="parameter"><code>length</code></em> may optionally
|
1460
|
-
be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
1461
|
-
</p>
|
1462
|
-
<div class="variablelist"><table border="0">
|
1463
|
-
<col align="left" valign="top">
|
1464
|
-
<tbody>
|
1465
|
-
<tr>
|
1466
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1467
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1468
|
-
</td>
|
1469
|
-
</tr>
|
1470
|
-
<tr>
|
1471
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1472
|
-
<td>a group name
|
1473
|
-
</td>
|
1474
|
-
</tr>
|
1475
|
-
<tr>
|
1476
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1477
|
-
<td>a key
|
1478
|
-
</td>
|
1479
|
-
</tr>
|
1480
|
-
<tr>
|
1481
|
-
<td><p><span class="term"><em class="parameter"><code>locale</code></em> :</span></p></td>
|
1482
|
-
<td>a locale identifier or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1483
|
-
</td>
|
1484
|
-
</tr>
|
1485
|
-
<tr>
|
1486
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1487
|
-
<td>return location for the number of returned strings or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1488
|
-
</td>
|
1489
|
-
</tr>
|
1490
|
-
<tr>
|
1491
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1492
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1493
|
-
</td>
|
1494
|
-
</tr>
|
1495
|
-
<tr>
|
1496
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1497
|
-
<td> a newly allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated string array
|
1498
|
-
or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the key isn't found. The string array should be freed
|
1499
|
-
with <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a>.
|
1500
|
-
|
1501
|
-
</td>
|
1502
|
-
</tr>
|
1503
|
-
</tbody>
|
1504
|
-
</table></div>
|
1505
|
-
<p class="since">Since 2.6</p>
|
1506
|
-
</div>
|
1507
|
-
<hr>
|
1508
|
-
<div class="refsect2">
|
1509
|
-
<a name="g-key-file-get-boolean-list"></a><h3>g_key_file_get_boolean_list ()</h3>
|
1510
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> * g_key_file_get_boolean_list (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1511
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1512
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1513
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
1514
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1515
|
-
<p>
|
1516
|
-
Returns the values associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as
|
1517
|
-
booleans.
|
1518
|
-
</p>
|
1519
|
-
<p>
|
1520
|
-
If <em class="parameter"><code>key</code></em> cannot be found then <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and <em class="parameter"><code>error</code></em> is set to
|
1521
|
-
<a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-KEY-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_KEY_NOT_FOUND</span></a>. Likewise, if the values associated
|
1522
|
-
with <em class="parameter"><code>key</code></em> cannot be interpreted as booleans then <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned
|
1523
|
-
and <em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-INVALID-VALUE:CAPS"><span class="type">G_KEY_FILE_ERROR_INVALID_VALUE</span></a>.
|
1524
|
-
</p>
|
1525
|
-
<div class="variablelist"><table border="0">
|
1526
|
-
<col align="left" valign="top">
|
1527
|
-
<tbody>
|
1528
|
-
<tr>
|
1529
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1530
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1531
|
-
</td>
|
1532
|
-
</tr>
|
1533
|
-
<tr>
|
1534
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1535
|
-
<td>a group name
|
1536
|
-
</td>
|
1537
|
-
</tr>
|
1538
|
-
<tr>
|
1539
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1540
|
-
<td>a key
|
1541
|
-
</td>
|
1542
|
-
</tr>
|
1543
|
-
<tr>
|
1544
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1545
|
-
<td>the number of booleans returned
|
1546
|
-
</td>
|
1547
|
-
</tr>
|
1548
|
-
<tr>
|
1549
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1550
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1551
|
-
</td>
|
1552
|
-
</tr>
|
1553
|
-
<tr>
|
1554
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1555
|
-
<td> the values associated with the key as a list of
|
1556
|
-
booleans, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the key was not found or could not be parsed.
|
1557
|
-
|
1558
|
-
</td>
|
1559
|
-
</tr>
|
1560
|
-
</tbody>
|
1561
|
-
</table></div>
|
1562
|
-
<p class="since">Since 2.6</p>
|
1563
|
-
</div>
|
1564
|
-
<hr>
|
1565
|
-
<div class="refsect2">
|
1566
|
-
<a name="g-key-file-get-integer-list"></a><h3>g_key_file_get_integer_list ()</h3>
|
1567
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> * g_key_file_get_integer_list (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1568
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1569
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1570
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
1571
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1572
|
-
<p>
|
1573
|
-
Returns the values associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as
|
1574
|
-
integers.
|
1575
|
-
</p>
|
1576
|
-
<p>
|
1577
|
-
If <em class="parameter"><code>key</code></em> cannot be found then <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and <em class="parameter"><code>error</code></em> is set to
|
1578
|
-
<a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-KEY-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_KEY_NOT_FOUND</span></a>. Likewise, if the values associated
|
1579
|
-
with <em class="parameter"><code>key</code></em> cannot be interpreted as integers then <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned
|
1580
|
-
and <em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-INVALID-VALUE:CAPS"><span class="type">G_KEY_FILE_ERROR_INVALID_VALUE</span></a>.
|
1581
|
-
</p>
|
1582
|
-
<div class="variablelist"><table border="0">
|
1583
|
-
<col align="left" valign="top">
|
1584
|
-
<tbody>
|
1585
|
-
<tr>
|
1586
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1587
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1588
|
-
</td>
|
1589
|
-
</tr>
|
1590
|
-
<tr>
|
1591
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1592
|
-
<td>a group name
|
1593
|
-
</td>
|
1594
|
-
</tr>
|
1595
|
-
<tr>
|
1596
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1597
|
-
<td>a key
|
1598
|
-
</td>
|
1599
|
-
</tr>
|
1600
|
-
<tr>
|
1601
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1602
|
-
<td>the number of integers returned
|
1603
|
-
</td>
|
1604
|
-
</tr>
|
1605
|
-
<tr>
|
1606
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1607
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1608
|
-
</td>
|
1609
|
-
</tr>
|
1610
|
-
<tr>
|
1611
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1612
|
-
<td> the values associated with the key as a list of
|
1613
|
-
integers, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the key was not found or could not be parsed.
|
1614
|
-
|
1615
|
-
</td>
|
1616
|
-
</tr>
|
1617
|
-
</tbody>
|
1618
|
-
</table></div>
|
1619
|
-
<p class="since">Since 2.6</p>
|
1620
|
-
</div>
|
1621
|
-
<hr>
|
1622
|
-
<div class="refsect2">
|
1623
|
-
<a name="g-key-file-get-double-list"></a><h3>g_key_file_get_double_list ()</h3>
|
1624
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> * g_key_file_get_double_list (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1625
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1626
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1627
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
1628
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1629
|
-
<p>
|
1630
|
-
Returns the values associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as
|
1631
|
-
doubles.
|
1632
|
-
</p>
|
1633
|
-
<p>
|
1634
|
-
If <em class="parameter"><code>key</code></em> cannot be found then <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and <em class="parameter"><code>error</code></em> is set to
|
1635
|
-
<a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-KEY-NOT-FOUND:CAPS"><span class="type">G_KEY_FILE_ERROR_KEY_NOT_FOUND</span></a>. Likewise, if the values associated
|
1636
|
-
with <em class="parameter"><code>key</code></em> cannot be interpreted as doubles then <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned
|
1637
|
-
and <em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-ERROR-INVALID-VALUE:CAPS"><span class="type">G_KEY_FILE_ERROR_INVALID_VALUE</span></a>.
|
1638
|
-
</p>
|
1639
|
-
<div class="variablelist"><table border="0">
|
1640
|
-
<col align="left" valign="top">
|
1641
|
-
<tbody>
|
1642
|
-
<tr>
|
1643
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1644
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1645
|
-
</td>
|
1646
|
-
</tr>
|
1647
|
-
<tr>
|
1648
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1649
|
-
<td>a group name
|
1650
|
-
</td>
|
1651
|
-
</tr>
|
1652
|
-
<tr>
|
1653
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1654
|
-
<td>a key
|
1655
|
-
</td>
|
1656
|
-
</tr>
|
1657
|
-
<tr>
|
1658
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1659
|
-
<td>the number of doubles returned
|
1660
|
-
</td>
|
1661
|
-
</tr>
|
1662
|
-
<tr>
|
1663
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1664
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1665
|
-
</td>
|
1666
|
-
</tr>
|
1667
|
-
<tr>
|
1668
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1669
|
-
<td> the values associated with the key as a list of
|
1670
|
-
doubles, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the key was not found or could not be parsed.
|
1671
|
-
|
1672
|
-
</td>
|
1673
|
-
</tr>
|
1674
|
-
</tbody>
|
1675
|
-
</table></div>
|
1676
|
-
<p class="since">Since 2.12</p>
|
1677
|
-
</div>
|
1678
|
-
<hr>
|
1679
|
-
<div class="refsect2">
|
1680
|
-
<a name="g-key-file-get-comment"></a><h3>g_key_file_get_comment ()</h3>
|
1681
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_key_file_get_comment (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1682
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1683
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1684
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1685
|
-
<p>
|
1686
|
-
Retrieves a comment above <em class="parameter"><code>key</code></em> from <em class="parameter"><code>group_name</code></em>.
|
1687
|
-
If <em class="parameter"><code>key</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then <em class="parameter"><code>comment</code></em> will be read from above
|
1688
|
-
<em class="parameter"><code>group_name</code></em>. If both <em class="parameter"><code>key</code></em> and <em class="parameter"><code>group_name</code></em> are <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, then
|
1689
|
-
<em class="parameter"><code>comment</code></em> will be read from above the first group in the file.
|
1690
|
-
</p>
|
1691
|
-
<div class="variablelist"><table border="0">
|
1692
|
-
<col align="left" valign="top">
|
1693
|
-
<tbody>
|
1694
|
-
<tr>
|
1695
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1696
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1697
|
-
</td>
|
1698
|
-
</tr>
|
1699
|
-
<tr>
|
1700
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1701
|
-
<td>a group name, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1702
|
-
</td>
|
1703
|
-
</tr>
|
1704
|
-
<tr>
|
1705
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1706
|
-
<td>a key
|
1707
|
-
</td>
|
1708
|
-
</tr>
|
1709
|
-
<tr>
|
1710
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1711
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1712
|
-
</td>
|
1713
|
-
</tr>
|
1714
|
-
<tr>
|
1715
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1716
|
-
<td> a comment that should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>
|
1717
|
-
|
1718
|
-
</td>
|
1719
|
-
</tr>
|
1720
|
-
</tbody>
|
1721
|
-
</table></div>
|
1722
|
-
<p class="since">Since 2.6</p>
|
1723
|
-
</div>
|
1724
|
-
<hr>
|
1725
|
-
<div class="refsect2">
|
1726
|
-
<a name="g-key-file-set-value"></a><h3>g_key_file_set_value ()</h3>
|
1727
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_value (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1728
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1729
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1730
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
|
1731
|
-
<p>
|
1732
|
-
Associates a new value with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1733
|
-
</p>
|
1734
|
-
<p>
|
1735
|
-
If <em class="parameter"><code>key</code></em> cannot be found then it is created. If <em class="parameter"><code>group_name</code></em> cannot
|
1736
|
-
be found then it is created. To set an UTF-8 string which may contain
|
1737
|
-
characters that need escaping (such as newlines or spaces), use
|
1738
|
-
<a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-string" title="g_key_file_set_string ()"><code class="function">g_key_file_set_string()</code></a>.
|
1739
|
-
</p>
|
1740
|
-
<div class="variablelist"><table border="0">
|
1741
|
-
<col align="left" valign="top">
|
1742
|
-
<tbody>
|
1743
|
-
<tr>
|
1744
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1745
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1746
|
-
</td>
|
1747
|
-
</tr>
|
1748
|
-
<tr>
|
1749
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1750
|
-
<td>a group name
|
1751
|
-
</td>
|
1752
|
-
</tr>
|
1753
|
-
<tr>
|
1754
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1755
|
-
<td>a key
|
1756
|
-
</td>
|
1757
|
-
</tr>
|
1758
|
-
<tr>
|
1759
|
-
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1760
|
-
<td>a string
|
1761
|
-
</td>
|
1762
|
-
</tr>
|
1763
|
-
</tbody>
|
1764
|
-
</table></div>
|
1765
|
-
<p class="since">Since 2.6</p>
|
1766
|
-
</div>
|
1767
|
-
<hr>
|
1768
|
-
<div class="refsect2">
|
1769
|
-
<a name="g-key-file-set-string"></a><h3>g_key_file_set_string ()</h3>
|
1770
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_string (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1771
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1772
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1773
|
-
<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>);</pre>
|
1774
|
-
<p>
|
1775
|
-
Associates a new string value with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1776
|
-
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1777
|
-
If <em class="parameter"><code>group_name</code></em> cannot be found then it is created.
|
1778
|
-
Unlike <a class="link" href="glib-Key-value-file-parser.html#g-key-file-set-value" title="g_key_file_set_value ()"><code class="function">g_key_file_set_value()</code></a>, this function handles characters
|
1779
|
-
that need escaping, such as newlines.
|
1780
|
-
</p>
|
1781
|
-
<div class="variablelist"><table border="0">
|
1782
|
-
<col align="left" valign="top">
|
1783
|
-
<tbody>
|
1784
|
-
<tr>
|
1785
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1786
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1787
|
-
</td>
|
1788
|
-
</tr>
|
1789
|
-
<tr>
|
1790
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1791
|
-
<td>a group name
|
1792
|
-
</td>
|
1793
|
-
</tr>
|
1794
|
-
<tr>
|
1795
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1796
|
-
<td>a key
|
1797
|
-
</td>
|
1798
|
-
</tr>
|
1799
|
-
<tr>
|
1800
|
-
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1801
|
-
<td>a string
|
1802
|
-
</td>
|
1803
|
-
</tr>
|
1804
|
-
</tbody>
|
1805
|
-
</table></div>
|
1806
|
-
<p class="since">Since 2.6</p>
|
1807
|
-
</div>
|
1808
|
-
<hr>
|
1809
|
-
<div class="refsect2">
|
1810
|
-
<a name="g-key-file-set-locale-string"></a><h3>g_key_file_set_locale_string ()</h3>
|
1811
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_locale_string (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1812
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1813
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1814
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *locale</code></em>,
|
1815
|
-
<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>);</pre>
|
1816
|
-
<p>
|
1817
|
-
Associates a string value for <em class="parameter"><code>key</code></em> and <em class="parameter"><code>locale</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1818
|
-
If the translation for <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1819
|
-
</p>
|
1820
|
-
<div class="variablelist"><table border="0">
|
1821
|
-
<col align="left" valign="top">
|
1822
|
-
<tbody>
|
1823
|
-
<tr>
|
1824
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1825
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1826
|
-
</td>
|
1827
|
-
</tr>
|
1828
|
-
<tr>
|
1829
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1830
|
-
<td>a group name
|
1831
|
-
</td>
|
1832
|
-
</tr>
|
1833
|
-
<tr>
|
1834
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1835
|
-
<td>a key
|
1836
|
-
</td>
|
1837
|
-
</tr>
|
1838
|
-
<tr>
|
1839
|
-
<td><p><span class="term"><em class="parameter"><code>locale</code></em> :</span></p></td>
|
1840
|
-
<td>a locale identifier
|
1841
|
-
</td>
|
1842
|
-
</tr>
|
1843
|
-
<tr>
|
1844
|
-
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1845
|
-
<td>a string
|
1846
|
-
</td>
|
1847
|
-
</tr>
|
1848
|
-
</tbody>
|
1849
|
-
</table></div>
|
1850
|
-
<p class="since">Since 2.6</p>
|
1851
|
-
</div>
|
1852
|
-
<hr>
|
1853
|
-
<div class="refsect2">
|
1854
|
-
<a name="g-key-file-set-boolean"></a><h3>g_key_file_set_boolean ()</h3>
|
1855
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_boolean (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1856
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1857
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1858
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> value</code></em>);</pre>
|
1859
|
-
<p>
|
1860
|
-
Associates a new boolean value with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1861
|
-
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1862
|
-
</p>
|
1863
|
-
<div class="variablelist"><table border="0">
|
1864
|
-
<col align="left" valign="top">
|
1865
|
-
<tbody>
|
1866
|
-
<tr>
|
1867
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1868
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1869
|
-
</td>
|
1870
|
-
</tr>
|
1871
|
-
<tr>
|
1872
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1873
|
-
<td>a group name
|
1874
|
-
</td>
|
1875
|
-
</tr>
|
1876
|
-
<tr>
|
1877
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1878
|
-
<td>a key
|
1879
|
-
</td>
|
1880
|
-
</tr>
|
1881
|
-
<tr>
|
1882
|
-
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1883
|
-
<td>
|
1884
|
-
<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>
|
1885
|
-
</td>
|
1886
|
-
</tr>
|
1887
|
-
</tbody>
|
1888
|
-
</table></div>
|
1889
|
-
<p class="since">Since 2.6</p>
|
1890
|
-
</div>
|
1891
|
-
<hr>
|
1892
|
-
<div class="refsect2">
|
1893
|
-
<a name="g-key-file-set-integer"></a><h3>g_key_file_set_integer ()</h3>
|
1894
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_integer (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1895
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1896
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1897
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> value</code></em>);</pre>
|
1898
|
-
<p>
|
1899
|
-
Associates a new integer value with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1900
|
-
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1901
|
-
</p>
|
1902
|
-
<div class="variablelist"><table border="0">
|
1903
|
-
<col align="left" valign="top">
|
1904
|
-
<tbody>
|
1905
|
-
<tr>
|
1906
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1907
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1908
|
-
</td>
|
1909
|
-
</tr>
|
1910
|
-
<tr>
|
1911
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1912
|
-
<td>a group name
|
1913
|
-
</td>
|
1914
|
-
</tr>
|
1915
|
-
<tr>
|
1916
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1917
|
-
<td>a key
|
1918
|
-
</td>
|
1919
|
-
</tr>
|
1920
|
-
<tr>
|
1921
|
-
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1922
|
-
<td>an integer value
|
1923
|
-
</td>
|
1924
|
-
</tr>
|
1925
|
-
</tbody>
|
1926
|
-
</table></div>
|
1927
|
-
<p class="since">Since 2.6</p>
|
1928
|
-
</div>
|
1929
|
-
<hr>
|
1930
|
-
<div class="refsect2">
|
1931
|
-
<a name="g-key-file-set-int64"></a><h3>g_key_file_set_int64 ()</h3>
|
1932
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_int64 (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1933
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1934
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1935
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> value</code></em>);</pre>
|
1936
|
-
<p>
|
1937
|
-
Associates a new integer value with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1938
|
-
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1939
|
-
</p>
|
1940
|
-
<div class="variablelist"><table border="0">
|
1941
|
-
<col align="left" valign="top">
|
1942
|
-
<tbody>
|
1943
|
-
<tr>
|
1944
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1945
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1946
|
-
</td>
|
1947
|
-
</tr>
|
1948
|
-
<tr>
|
1949
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1950
|
-
<td>a group name
|
1951
|
-
</td>
|
1952
|
-
</tr>
|
1953
|
-
<tr>
|
1954
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1955
|
-
<td>a key
|
1956
|
-
</td>
|
1957
|
-
</tr>
|
1958
|
-
<tr>
|
1959
|
-
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1960
|
-
<td>an integer value
|
1961
|
-
</td>
|
1962
|
-
</tr>
|
1963
|
-
</tbody>
|
1964
|
-
</table></div>
|
1965
|
-
<p class="since">Since 2.26</p>
|
1966
|
-
</div>
|
1967
|
-
<hr>
|
1968
|
-
<div class="refsect2">
|
1969
|
-
<a name="g-key-file-set-uint64"></a><h3>g_key_file_set_uint64 ()</h3>
|
1970
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_uint64 (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
1971
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
1972
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
1973
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> value</code></em>);</pre>
|
1974
|
-
<p>
|
1975
|
-
Associates a new integer value with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1976
|
-
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1977
|
-
</p>
|
1978
|
-
<div class="variablelist"><table border="0">
|
1979
|
-
<col align="left" valign="top">
|
1980
|
-
<tbody>
|
1981
|
-
<tr>
|
1982
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1983
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1984
|
-
</td>
|
1985
|
-
</tr>
|
1986
|
-
<tr>
|
1987
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1988
|
-
<td>a group name
|
1989
|
-
</td>
|
1990
|
-
</tr>
|
1991
|
-
<tr>
|
1992
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1993
|
-
<td>a key
|
1994
|
-
</td>
|
1995
|
-
</tr>
|
1996
|
-
<tr>
|
1997
|
-
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1998
|
-
<td>an integer value
|
1999
|
-
</td>
|
2000
|
-
</tr>
|
2001
|
-
</tbody>
|
2002
|
-
</table></div>
|
2003
|
-
<p class="since">Since 2.26</p>
|
2004
|
-
</div>
|
2005
|
-
<hr>
|
2006
|
-
<div class="refsect2">
|
2007
|
-
<a name="g-key-file-set-double"></a><h3>g_key_file_set_double ()</h3>
|
2008
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_double (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
2009
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
2010
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2011
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> value</code></em>);</pre>
|
2012
|
-
<p>
|
2013
|
-
Associates a new double value with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
2014
|
-
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
2015
|
-
</p>
|
2016
|
-
<div class="variablelist"><table border="0">
|
2017
|
-
<col align="left" valign="top">
|
2018
|
-
<tbody>
|
2019
|
-
<tr>
|
2020
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2021
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2022
|
-
</td>
|
2023
|
-
</tr>
|
2024
|
-
<tr>
|
2025
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2026
|
-
<td>a group name
|
2027
|
-
</td>
|
2028
|
-
</tr>
|
2029
|
-
<tr>
|
2030
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2031
|
-
<td>a key
|
2032
|
-
</td>
|
2033
|
-
</tr>
|
2034
|
-
<tr>
|
2035
|
-
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2036
|
-
<td>an double value
|
2037
|
-
</td>
|
2038
|
-
</tr>
|
2039
|
-
</tbody>
|
2040
|
-
</table></div>
|
2041
|
-
<p class="since">Since 2.12</p>
|
2042
|
-
</div>
|
2043
|
-
<hr>
|
2044
|
-
<div class="refsect2">
|
2045
|
-
<a name="g-key-file-set-string-list"></a><h3>g_key_file_set_string_list ()</h3>
|
2046
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_string_list (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
2047
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
2048
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2049
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const list[]</code></em>,
|
2050
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);</pre>
|
2051
|
-
<p>
|
2052
|
-
Associates a list of string values for <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
2053
|
-
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
2054
|
-
If <em class="parameter"><code>group_name</code></em> cannot be found then it is created.
|
2055
|
-
</p>
|
2056
|
-
<div class="variablelist"><table border="0">
|
2057
|
-
<col align="left" valign="top">
|
2058
|
-
<tbody>
|
2059
|
-
<tr>
|
2060
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2061
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2062
|
-
</td>
|
2063
|
-
</tr>
|
2064
|
-
<tr>
|
2065
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2066
|
-
<td>a group name
|
2067
|
-
</td>
|
2068
|
-
</tr>
|
2069
|
-
<tr>
|
2070
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2071
|
-
<td>a key
|
2072
|
-
</td>
|
2073
|
-
</tr>
|
2074
|
-
<tr>
|
2075
|
-
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2076
|
-
<td>an array of string values
|
2077
|
-
</td>
|
2078
|
-
</tr>
|
2079
|
-
<tr>
|
2080
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2081
|
-
<td>number of string values in <em class="parameter"><code>list</code></em>
|
2082
|
-
</td>
|
2083
|
-
</tr>
|
2084
|
-
</tbody>
|
2085
|
-
</table></div>
|
2086
|
-
<p class="since">Since 2.6</p>
|
2087
|
-
</div>
|
2088
|
-
<hr>
|
2089
|
-
<div class="refsect2">
|
2090
|
-
<a name="g-key-file-set-locale-string-list"></a><h3>g_key_file_set_locale_string_list ()</h3>
|
2091
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_locale_string_list (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
2092
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
2093
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2094
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *locale</code></em>,
|
2095
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const list[]</code></em>,
|
2096
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);</pre>
|
2097
|
-
<p>
|
2098
|
-
Associates a list of string values for <em class="parameter"><code>key</code></em> and <em class="parameter"><code>locale</code></em> under
|
2099
|
-
<em class="parameter"><code>group_name</code></em>. If the translation for <em class="parameter"><code>key</code></em> cannot be found then
|
2100
|
-
it is created.
|
2101
|
-
</p>
|
2102
|
-
<div class="variablelist"><table border="0">
|
2103
|
-
<col align="left" valign="top">
|
2104
|
-
<tbody>
|
2105
|
-
<tr>
|
2106
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2107
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2108
|
-
</td>
|
2109
|
-
</tr>
|
2110
|
-
<tr>
|
2111
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2112
|
-
<td>a group name
|
2113
|
-
</td>
|
2114
|
-
</tr>
|
2115
|
-
<tr>
|
2116
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2117
|
-
<td>a key
|
2118
|
-
</td>
|
2119
|
-
</tr>
|
2120
|
-
<tr>
|
2121
|
-
<td><p><span class="term"><em class="parameter"><code>locale</code></em> :</span></p></td>
|
2122
|
-
<td>a locale identifier
|
2123
|
-
</td>
|
2124
|
-
</tr>
|
2125
|
-
<tr>
|
2126
|
-
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2127
|
-
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of locale string values
|
2128
|
-
</td>
|
2129
|
-
</tr>
|
2130
|
-
<tr>
|
2131
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2132
|
-
<td>the length of <em class="parameter"><code>list</code></em>
|
2133
|
-
</td>
|
2134
|
-
</tr>
|
2135
|
-
</tbody>
|
2136
|
-
</table></div>
|
2137
|
-
<p class="since">Since 2.6</p>
|
2138
|
-
</div>
|
2139
|
-
<hr>
|
2140
|
-
<div class="refsect2">
|
2141
|
-
<a name="g-key-file-set-boolean-list"></a><h3>g_key_file_set_boolean_list ()</h3>
|
2142
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_boolean_list (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
2143
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
2144
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2145
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> list[]</code></em>,
|
2146
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);</pre>
|
2147
|
-
<p>
|
2148
|
-
Associates a list of boolean values with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
2149
|
-
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
2150
|
-
If <em class="parameter"><code>group_name</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the start_group is used.
|
2151
|
-
</p>
|
2152
|
-
<div class="variablelist"><table border="0">
|
2153
|
-
<col align="left" valign="top">
|
2154
|
-
<tbody>
|
2155
|
-
<tr>
|
2156
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2157
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2158
|
-
</td>
|
2159
|
-
</tr>
|
2160
|
-
<tr>
|
2161
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2162
|
-
<td>a group name
|
2163
|
-
</td>
|
2164
|
-
</tr>
|
2165
|
-
<tr>
|
2166
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2167
|
-
<td>a key
|
2168
|
-
</td>
|
2169
|
-
</tr>
|
2170
|
-
<tr>
|
2171
|
-
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2172
|
-
<td>an array of boolean values
|
2173
|
-
</td>
|
2174
|
-
</tr>
|
2175
|
-
<tr>
|
2176
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2177
|
-
<td>length of <em class="parameter"><code>list</code></em>
|
2178
|
-
</td>
|
2179
|
-
</tr>
|
2180
|
-
</tbody>
|
2181
|
-
</table></div>
|
2182
|
-
<p class="since">Since 2.6</p>
|
2183
|
-
</div>
|
2184
|
-
<hr>
|
2185
|
-
<div class="refsect2">
|
2186
|
-
<a name="g-key-file-set-integer-list"></a><h3>g_key_file_set_integer_list ()</h3>
|
2187
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_integer_list (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
2188
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
2189
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2190
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> list[]</code></em>,
|
2191
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);</pre>
|
2192
|
-
<p>
|
2193
|
-
Associates a list of integer values with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
2194
|
-
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
2195
|
-
</p>
|
2196
|
-
<div class="variablelist"><table border="0">
|
2197
|
-
<col align="left" valign="top">
|
2198
|
-
<tbody>
|
2199
|
-
<tr>
|
2200
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2201
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2202
|
-
</td>
|
2203
|
-
</tr>
|
2204
|
-
<tr>
|
2205
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2206
|
-
<td>a group name
|
2207
|
-
</td>
|
2208
|
-
</tr>
|
2209
|
-
<tr>
|
2210
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2211
|
-
<td>a key
|
2212
|
-
</td>
|
2213
|
-
</tr>
|
2214
|
-
<tr>
|
2215
|
-
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2216
|
-
<td>an array of integer values
|
2217
|
-
</td>
|
2218
|
-
</tr>
|
2219
|
-
<tr>
|
2220
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2221
|
-
<td>number of integer values in <em class="parameter"><code>list</code></em>
|
2222
|
-
</td>
|
2223
|
-
</tr>
|
2224
|
-
</tbody>
|
2225
|
-
</table></div>
|
2226
|
-
<p class="since">Since 2.6</p>
|
2227
|
-
</div>
|
2228
|
-
<hr>
|
2229
|
-
<div class="refsect2">
|
2230
|
-
<a name="g-key-file-set-double-list"></a><h3>g_key_file_set_double_list ()</h3>
|
2231
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_key_file_set_double_list (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
2232
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
2233
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2234
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> list[]</code></em>,
|
2235
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);</pre>
|
2236
|
-
<p>
|
2237
|
-
Associates a list of double values with <em class="parameter"><code>key</code></em> under
|
2238
|
-
<em class="parameter"><code>group_name</code></em>. If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
2239
|
-
</p>
|
2240
|
-
<div class="variablelist"><table border="0">
|
2241
|
-
<col align="left" valign="top">
|
2242
|
-
<tbody>
|
2243
|
-
<tr>
|
2244
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2245
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2246
|
-
</td>
|
2247
|
-
</tr>
|
2248
|
-
<tr>
|
2249
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2250
|
-
<td>a group name
|
2251
|
-
</td>
|
2252
|
-
</tr>
|
2253
|
-
<tr>
|
2254
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2255
|
-
<td>a key
|
2256
|
-
</td>
|
2257
|
-
</tr>
|
2258
|
-
<tr>
|
2259
|
-
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2260
|
-
<td>an array of double values
|
2261
|
-
</td>
|
2262
|
-
</tr>
|
2263
|
-
<tr>
|
2264
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2265
|
-
<td>number of double values in <em class="parameter"><code>list</code></em>
|
2266
|
-
</td>
|
2267
|
-
</tr>
|
2268
|
-
</tbody>
|
2269
|
-
</table></div>
|
2270
|
-
<p class="since">Since 2.12</p>
|
2271
|
-
</div>
|
2272
|
-
<hr>
|
2273
|
-
<div class="refsect2">
|
2274
|
-
<a name="g-key-file-set-comment"></a><h3>g_key_file_set_comment ()</h3>
|
2275
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_key_file_set_comment (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
2276
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
2277
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2278
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *comment</code></em>,
|
2279
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2280
|
-
<p>
|
2281
|
-
Places a comment above <em class="parameter"><code>key</code></em> from <em class="parameter"><code>group_name</code></em>.
|
2282
|
-
If <em class="parameter"><code>key</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then <em class="parameter"><code>comment</code></em> will be written above <em class="parameter"><code>group_name</code></em>.
|
2283
|
-
If both <em class="parameter"><code>key</code></em> and <em class="parameter"><code>group_name</code></em> are <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, then <em class="parameter"><code>comment</code></em> will be
|
2284
|
-
written above the first group in the file.
|
2285
|
-
</p>
|
2286
|
-
<div class="variablelist"><table border="0">
|
2287
|
-
<col align="left" valign="top">
|
2288
|
-
<tbody>
|
2289
|
-
<tr>
|
2290
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2291
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2292
|
-
</td>
|
2293
|
-
</tr>
|
2294
|
-
<tr>
|
2295
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2296
|
-
<td>a group name, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2297
|
-
</td>
|
2298
|
-
</tr>
|
2299
|
-
<tr>
|
2300
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2301
|
-
<td>a key
|
2302
|
-
</td>
|
2303
|
-
</tr>
|
2304
|
-
<tr>
|
2305
|
-
<td><p><span class="term"><em class="parameter"><code>comment</code></em> :</span></p></td>
|
2306
|
-
<td>a comment
|
2307
|
-
</td>
|
2308
|
-
</tr>
|
2309
|
-
<tr>
|
2310
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2311
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
2312
|
-
</td>
|
2313
|
-
</tr>
|
2314
|
-
<tr>
|
2315
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2316
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the comment was written, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise
|
2317
|
-
|
2318
|
-
</td>
|
2319
|
-
</tr>
|
2320
|
-
</tbody>
|
2321
|
-
</table></div>
|
2322
|
-
<p class="since">Since 2.6</p>
|
2323
|
-
</div>
|
2324
|
-
<hr>
|
2325
|
-
<div class="refsect2">
|
2326
|
-
<a name="g-key-file-remove-group"></a><h3>g_key_file_remove_group ()</h3>
|
2327
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_key_file_remove_group (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
2328
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
2329
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2330
|
-
<p>
|
2331
|
-
Removes the specified group, <em class="parameter"><code>group_name</code></em>,
|
2332
|
-
from the key file.
|
2333
|
-
</p>
|
2334
|
-
<div class="variablelist"><table border="0">
|
2335
|
-
<col align="left" valign="top">
|
2336
|
-
<tbody>
|
2337
|
-
<tr>
|
2338
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2339
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2340
|
-
</td>
|
2341
|
-
</tr>
|
2342
|
-
<tr>
|
2343
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2344
|
-
<td>a group name
|
2345
|
-
</td>
|
2346
|
-
</tr>
|
2347
|
-
<tr>
|
2348
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2349
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2350
|
-
</td>
|
2351
|
-
</tr>
|
2352
|
-
<tr>
|
2353
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2354
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the group was removed, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise
|
2355
|
-
|
2356
|
-
</td>
|
2357
|
-
</tr>
|
2358
|
-
</tbody>
|
2359
|
-
</table></div>
|
2360
|
-
<p class="since">Since 2.6</p>
|
2361
|
-
</div>
|
2362
|
-
<hr>
|
2363
|
-
<div class="refsect2">
|
2364
|
-
<a name="g-key-file-remove-key"></a><h3>g_key_file_remove_key ()</h3>
|
2365
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_key_file_remove_key (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
2366
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
2367
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2368
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2369
|
-
<p>
|
2370
|
-
Removes <em class="parameter"><code>key</code></em> in <em class="parameter"><code>group_name</code></em> from the key file.
|
2371
|
-
</p>
|
2372
|
-
<div class="variablelist"><table border="0">
|
2373
|
-
<col align="left" valign="top">
|
2374
|
-
<tbody>
|
2375
|
-
<tr>
|
2376
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2377
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2378
|
-
</td>
|
2379
|
-
</tr>
|
2380
|
-
<tr>
|
2381
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2382
|
-
<td>a group name
|
2383
|
-
</td>
|
2384
|
-
</tr>
|
2385
|
-
<tr>
|
2386
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2387
|
-
<td>a key name to remove
|
2388
|
-
</td>
|
2389
|
-
</tr>
|
2390
|
-
<tr>
|
2391
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2392
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2393
|
-
</td>
|
2394
|
-
</tr>
|
2395
|
-
<tr>
|
2396
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2397
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the key was removed, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise
|
2398
|
-
|
2399
|
-
</td>
|
2400
|
-
</tr>
|
2401
|
-
</tbody>
|
2402
|
-
</table></div>
|
2403
|
-
<p class="since">Since 2.6</p>
|
2404
|
-
</div>
|
2405
|
-
<hr>
|
2406
|
-
<div class="refsect2">
|
2407
|
-
<a name="g-key-file-remove-comment"></a><h3>g_key_file_remove_comment ()</h3>
|
2408
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_key_file_remove_comment (<em class="parameter"><code><a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> *key_file</code></em>,
|
2409
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group_name</code></em>,
|
2410
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2411
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2412
|
-
<p>
|
2413
|
-
Removes a comment above <em class="parameter"><code>key</code></em> from <em class="parameter"><code>group_name</code></em>.
|
2414
|
-
If <em class="parameter"><code>key</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then <em class="parameter"><code>comment</code></em> will be removed above <em class="parameter"><code>group_name</code></em>.
|
2415
|
-
If both <em class="parameter"><code>key</code></em> and <em class="parameter"><code>group_name</code></em> are <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, then <em class="parameter"><code>comment</code></em> will
|
2416
|
-
be removed above the first group in the file.
|
2417
|
-
</p>
|
2418
|
-
<div class="variablelist"><table border="0">
|
2419
|
-
<col align="left" valign="top">
|
2420
|
-
<tbody>
|
2421
|
-
<tr>
|
2422
|
-
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2423
|
-
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2424
|
-
</td>
|
2425
|
-
</tr>
|
2426
|
-
<tr>
|
2427
|
-
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2428
|
-
<td>a group name, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2429
|
-
</td>
|
2430
|
-
</tr>
|
2431
|
-
<tr>
|
2432
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2433
|
-
<td>a key
|
2434
|
-
</td>
|
2435
|
-
</tr>
|
2436
|
-
<tr>
|
2437
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2438
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
2439
|
-
</td>
|
2440
|
-
</tr>
|
2441
|
-
<tr>
|
2442
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2443
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the comment was removed, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise
|
2444
|
-
|
2445
|
-
</td>
|
2446
|
-
</tr>
|
2447
|
-
</tbody>
|
2448
|
-
</table></div>
|
2449
|
-
<p class="since">Since 2.6</p>
|
2450
|
-
</div>
|
2451
|
-
<hr>
|
2452
|
-
<div class="refsect2">
|
2453
|
-
<a name="G-KEY-FILE-DESKTOP-GROUP:CAPS"></a><h3>G_KEY_FILE_DESKTOP_GROUP</h3>
|
2454
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_GROUP "Desktop Entry"
|
2455
|
-
</pre>
|
2456
|
-
<p>
|
2457
|
-
The name of the main group of a desktop entry file, as defined in the
|
2458
|
-
<a class="ulink" href="http://freedesktop.org/Standards/desktop-entry-spec" target="_top">Desktop
|
2459
|
-
Entry Specification</a>. Consult the specification for more
|
2460
|
-
details about the meanings of the keys below.
|
2461
|
-
</p>
|
2462
|
-
<p class="since">Since 2.14</p>
|
2463
|
-
</div>
|
2464
|
-
<hr>
|
2465
|
-
<div class="refsect2">
|
2466
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-TYPE:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_TYPE</h3>
|
2467
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_TYPE "Type"
|
2468
|
-
</pre>
|
2469
|
-
<p>
|
2470
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2471
|
-
whose value is a string giving the type of the desktop entry. Usually
|
2472
|
-
<a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-TYPE-APPLICATION:CAPS" title="G_KEY_FILE_DESKTOP_TYPE_APPLICATION"><code class="literal">G_KEY_FILE_DESKTOP_TYPE_APPLICATION</code></a>,
|
2473
|
-
<a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-TYPE-LINK:CAPS" title="G_KEY_FILE_DESKTOP_TYPE_LINK"><code class="literal">G_KEY_FILE_DESKTOP_TYPE_LINK</code></a>, or
|
2474
|
-
<a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-TYPE-DIRECTORY:CAPS" title="G_KEY_FILE_DESKTOP_TYPE_DIRECTORY"><code class="literal">G_KEY_FILE_DESKTOP_TYPE_DIRECTORY</code></a>.
|
2475
|
-
</p>
|
2476
|
-
<p class="since">Since 2.14</p>
|
2477
|
-
</div>
|
2478
|
-
<hr>
|
2479
|
-
<div class="refsect2">
|
2480
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-VERSION:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_VERSION</h3>
|
2481
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_VERSION "Version"
|
2482
|
-
</pre>
|
2483
|
-
<p>
|
2484
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2485
|
-
whose value is a string giving the version of the Desktop
|
2486
|
-
Entry Specification used for the desktop entry file.
|
2487
|
-
</p>
|
2488
|
-
<p class="since">Since 2.14</p>
|
2489
|
-
</div>
|
2490
|
-
<hr>
|
2491
|
-
<div class="refsect2">
|
2492
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-NAME:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_NAME</h3>
|
2493
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_NAME "Name"
|
2494
|
-
</pre>
|
2495
|
-
<p>
|
2496
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2497
|
-
whose value is a localized string giving the specific name of the
|
2498
|
-
desktop entry.
|
2499
|
-
</p>
|
2500
|
-
<p class="since">Since 2.14</p>
|
2501
|
-
</div>
|
2502
|
-
<hr>
|
2503
|
-
<div class="refsect2">
|
2504
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-GENERIC-NAME:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME</h3>
|
2505
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME "GenericName"
|
2506
|
-
</pre>
|
2507
|
-
<p>
|
2508
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2509
|
-
whose value is a localized string giving the generic name of the
|
2510
|
-
desktop entry.
|
2511
|
-
</p>
|
2512
|
-
<p class="since">Since 2.14</p>
|
2513
|
-
</div>
|
2514
|
-
<hr>
|
2515
|
-
<div class="refsect2">
|
2516
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-NO-DISPLAY:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY</h3>
|
2517
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY "NoDisplay"
|
2518
|
-
</pre>
|
2519
|
-
<p>
|
2520
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2521
|
-
whose value is a boolean stating whether the desktop entry should be
|
2522
|
-
shown in menus.
|
2523
|
-
</p>
|
2524
|
-
<p class="since">Since 2.14</p>
|
2525
|
-
</div>
|
2526
|
-
<hr>
|
2527
|
-
<div class="refsect2">
|
2528
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-COMMENT:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_COMMENT</h3>
|
2529
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_COMMENT "Comment"
|
2530
|
-
</pre>
|
2531
|
-
<p>
|
2532
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2533
|
-
whose value is a localized string giving the tooltip for the desktop
|
2534
|
-
entry.
|
2535
|
-
</p>
|
2536
|
-
<p class="since">Since 2.14</p>
|
2537
|
-
</div>
|
2538
|
-
<hr>
|
2539
|
-
<div class="refsect2">
|
2540
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-ICON:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_ICON</h3>
|
2541
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_ICON "Icon"
|
2542
|
-
</pre>
|
2543
|
-
<p>
|
2544
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2545
|
-
whose value is a localized string giving the name of the icon to be
|
2546
|
-
displayed for the desktop entry.
|
2547
|
-
</p>
|
2548
|
-
<p class="since">Since 2.14</p>
|
2549
|
-
</div>
|
2550
|
-
<hr>
|
2551
|
-
<div class="refsect2">
|
2552
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-HIDDEN:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_HIDDEN</h3>
|
2553
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_HIDDEN "Hidden"
|
2554
|
-
</pre>
|
2555
|
-
<p>
|
2556
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2557
|
-
whose value is a boolean stating whether the desktop entry has been
|
2558
|
-
deleted by the user.
|
2559
|
-
</p>
|
2560
|
-
<p class="since">Since 2.14</p>
|
2561
|
-
</div>
|
2562
|
-
<hr>
|
2563
|
-
<div class="refsect2">
|
2564
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-ONLY-SHOW-IN:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN</h3>
|
2565
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN "OnlyShowIn"
|
2566
|
-
</pre>
|
2567
|
-
<p>
|
2568
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2569
|
-
whose value is a list of strings identifying the environments that
|
2570
|
-
should display the desktop entry.
|
2571
|
-
</p>
|
2572
|
-
<p class="since">Since 2.14</p>
|
2573
|
-
</div>
|
2574
|
-
<hr>
|
2575
|
-
<div class="refsect2">
|
2576
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-NOT-SHOW-IN:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN</h3>
|
2577
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN "NotShowIn"
|
2578
|
-
</pre>
|
2579
|
-
<p>
|
2580
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2581
|
-
whose value is a list of strings identifying the environments that
|
2582
|
-
should not display the desktop entry.
|
2583
|
-
</p>
|
2584
|
-
<p class="since">Since 2.14</p>
|
2585
|
-
</div>
|
2586
|
-
<hr>
|
2587
|
-
<div class="refsect2">
|
2588
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-TRY-EXEC:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_TRY_EXEC</h3>
|
2589
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_TRY_EXEC "TryExec"
|
2590
|
-
</pre>
|
2591
|
-
<p>
|
2592
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2593
|
-
whose value is a string giving the file name of a binary on disk
|
2594
|
-
used to determine if the program is actually installed. It is only
|
2595
|
-
valid for desktop entries with the <code class="literal">Application</code>
|
2596
|
-
type.
|
2597
|
-
</p>
|
2598
|
-
<p class="since">Since 2.14</p>
|
2599
|
-
</div>
|
2600
|
-
<hr>
|
2601
|
-
<div class="refsect2">
|
2602
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-EXEC:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_EXEC</h3>
|
2603
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_EXEC "Exec"
|
2604
|
-
</pre>
|
2605
|
-
<p>
|
2606
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2607
|
-
whose value is a string giving the command line to execute. It is only
|
2608
|
-
valid for desktop entries with the <code class="literal">Application</code>
|
2609
|
-
type.
|
2610
|
-
</p>
|
2611
|
-
<p class="since">Since 2.14</p>
|
2612
|
-
</div>
|
2613
|
-
<hr>
|
2614
|
-
<div class="refsect2">
|
2615
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-PATH:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_PATH</h3>
|
2616
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_PATH "Path"
|
2617
|
-
</pre>
|
2618
|
-
<p>
|
2619
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2620
|
-
whose value is a string containing the working directory to run the
|
2621
|
-
program in. It is only valid for desktop entries with the
|
2622
|
-
<code class="literal">Application</code> type.
|
2623
|
-
</p>
|
2624
|
-
<p class="since">Since 2.14</p>
|
2625
|
-
</div>
|
2626
|
-
<hr>
|
2627
|
-
<div class="refsect2">
|
2628
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-TERMINAL:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_TERMINAL</h3>
|
2629
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_TERMINAL "Terminal"
|
2630
|
-
</pre>
|
2631
|
-
<p>
|
2632
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2633
|
-
whose value is a boolean stating whether the program should be
|
2634
|
-
run in a terminal window. It is only valid for desktop entries with
|
2635
|
-
the <code class="literal">Application</code> type.
|
2636
|
-
</p>
|
2637
|
-
<p class="since">Since 2.14</p>
|
2638
|
-
</div>
|
2639
|
-
<hr>
|
2640
|
-
<div class="refsect2">
|
2641
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-MIME-TYPE:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_MIME_TYPE</h3>
|
2642
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_MIME_TYPE "MimeType"
|
2643
|
-
</pre>
|
2644
|
-
<p>
|
2645
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2646
|
-
whose value is a list of strings giving the MIME types supported
|
2647
|
-
by this desktop entry.
|
2648
|
-
</p>
|
2649
|
-
<p class="since">Since 2.14</p>
|
2650
|
-
</div>
|
2651
|
-
<hr>
|
2652
|
-
<div class="refsect2">
|
2653
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-CATEGORIES:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_CATEGORIES</h3>
|
2654
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_CATEGORIES "Categories"
|
2655
|
-
</pre>
|
2656
|
-
<p>
|
2657
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2658
|
-
whose value is a list of strings giving the categories in which the
|
2659
|
-
desktop entry should be shown in a menu.
|
2660
|
-
</p>
|
2661
|
-
<p class="since">Since 2.14</p>
|
2662
|
-
</div>
|
2663
|
-
<hr>
|
2664
|
-
<div class="refsect2">
|
2665
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-STARTUP-NOTIFY:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY</h3>
|
2666
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY "StartupNotify"
|
2667
|
-
</pre>
|
2668
|
-
<p>
|
2669
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2670
|
-
whose value is a boolean stating whether the application supports
|
2671
|
-
the <a class="ulink" href="http://www.freedesktop.org/Standards/startup-notification-spec" target="_top">Startup
|
2672
|
-
Notification Protocol Specification</a>.
|
2673
|
-
</p>
|
2674
|
-
<p class="since">Since 2.14</p>
|
2675
|
-
</div>
|
2676
|
-
<hr>
|
2677
|
-
<div class="refsect2">
|
2678
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-STARTUP-WM-CLASS:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS</h3>
|
2679
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS "StartupWMClass"
|
2680
|
-
</pre>
|
2681
|
-
<p>
|
2682
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2683
|
-
whose value is string identifying the WM class or name hint of a
|
2684
|
-
window that the application will create, which can be used to emulate
|
2685
|
-
Startup Notification with older applications.
|
2686
|
-
</p>
|
2687
|
-
<p class="since">Since 2.14</p>
|
2688
|
-
</div>
|
2689
|
-
<hr>
|
2690
|
-
<div class="refsect2">
|
2691
|
-
<a name="G-KEY-FILE-DESKTOP-KEY-URL:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_URL</h3>
|
2692
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_URL "URL"
|
2693
|
-
</pre>
|
2694
|
-
<p>
|
2695
|
-
A key under <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-GROUP:CAPS" title="G_KEY_FILE_DESKTOP_GROUP"><code class="literal">G_KEY_FILE_DESKTOP_GROUP</code></a>
|
2696
|
-
whose value is a string giving the URL to access. It is only valid
|
2697
|
-
for desktop entries with the <code class="literal">Link</code> type.
|
2698
|
-
</p>
|
2699
|
-
<p class="since">Since 2.14</p>
|
2700
|
-
</div>
|
2701
|
-
<hr>
|
2702
|
-
<div class="refsect2">
|
2703
|
-
<a name="G-KEY-FILE-DESKTOP-TYPE-APPLICATION:CAPS"></a><h3>G_KEY_FILE_DESKTOP_TYPE_APPLICATION</h3>
|
2704
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_TYPE_APPLICATION "Application"
|
2705
|
-
</pre>
|
2706
|
-
<p>
|
2707
|
-
The value of the <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-TYPE:CAPS" title="G_KEY_FILE_DESKTOP_KEY_TYPE"><code class="literal">G_KEY_FILE_DESKTOP_KEY_TYPE</code></a>
|
2708
|
-
key for desktop entries representing applications.
|
2709
|
-
</p>
|
2710
|
-
<p class="since">Since 2.14</p>
|
2711
|
-
</div>
|
2712
|
-
<hr>
|
2713
|
-
<div class="refsect2">
|
2714
|
-
<a name="G-KEY-FILE-DESKTOP-TYPE-LINK:CAPS"></a><h3>G_KEY_FILE_DESKTOP_TYPE_LINK</h3>
|
2715
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_TYPE_LINK "Link"
|
2716
|
-
</pre>
|
2717
|
-
<p>
|
2718
|
-
The value of the <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-TYPE:CAPS" title="G_KEY_FILE_DESKTOP_KEY_TYPE"><code class="literal">G_KEY_FILE_DESKTOP_KEY_TYPE</code></a>
|
2719
|
-
key for desktop entries representing links to documents.
|
2720
|
-
</p>
|
2721
|
-
<p class="since">Since 2.14</p>
|
2722
|
-
</div>
|
2723
|
-
<hr>
|
2724
|
-
<div class="refsect2">
|
2725
|
-
<a name="G-KEY-FILE-DESKTOP-TYPE-DIRECTORY:CAPS"></a><h3>G_KEY_FILE_DESKTOP_TYPE_DIRECTORY</h3>
|
2726
|
-
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_TYPE_DIRECTORY "Directory"
|
2727
|
-
</pre>
|
2728
|
-
<p>
|
2729
|
-
The value of the <a class="link" href="glib-Key-value-file-parser.html#G-KEY-FILE-DESKTOP-KEY-TYPE:CAPS" title="G_KEY_FILE_DESKTOP_KEY_TYPE"><code class="literal">G_KEY_FILE_DESKTOP_KEY_TYPE</code></a>
|
2730
|
-
key for desktop entries representing directories.
|
2731
|
-
</p>
|
2732
|
-
<p class="since">Since 2.14</p>
|
2733
|
-
</div>
|
2734
|
-
</div>
|
2735
|
-
</div>
|
2736
|
-
<div class="footer">
|
2737
|
-
<hr>
|
2738
|
-
Generated by GTK-Doc V1.15.1</div>
|
2739
|
-
</body>
|
2740
|
-
</html>
|