glib2 0.90.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +3115 -0
- data/README +40 -0
- data/Rakefile +69 -0
- data/ext/glib2/depend +10 -0
- data/ext/glib2/extconf.rb +61 -0
- data/ext/glib2/glib2.def +89 -0
- data/ext/glib2/rbgcompat.h +30 -0
- data/ext/glib2/rbglib.c +330 -0
- data/ext/glib2/rbglib.h +96 -0
- data/ext/glib2/rbglib_bookmarkfile.c +595 -0
- data/ext/glib2/rbglib_completion.c +192 -0
- data/ext/glib2/rbglib_convert.c +195 -0
- data/ext/glib2/rbglib_error.c +95 -0
- data/ext/glib2/rbglib_fileutils.c +83 -0
- data/ext/glib2/rbglib_i18n.c +44 -0
- data/ext/glib2/rbglib_int64.c +157 -0
- data/ext/glib2/rbglib_iochannel.c +883 -0
- data/ext/glib2/rbglib_keyfile.c +846 -0
- data/ext/glib2/rbglib_maincontext.c +915 -0
- data/ext/glib2/rbglib_mainloop.c +87 -0
- data/ext/glib2/rbglib_messages.c +150 -0
- data/ext/glib2/rbglib_pollfd.c +111 -0
- data/ext/glib2/rbglib_shell.c +68 -0
- data/ext/glib2/rbglib_source.c +190 -0
- data/ext/glib2/rbglib_spawn.c +345 -0
- data/ext/glib2/rbglib_threads.c +51 -0
- data/ext/glib2/rbglib_timer.c +127 -0
- data/ext/glib2/rbglib_unicode.c +611 -0
- data/ext/glib2/rbglib_utils.c +386 -0
- data/ext/glib2/rbglib_win32.c +136 -0
- data/ext/glib2/rbgobj_boxed.c +251 -0
- data/ext/glib2/rbgobj_closure.c +337 -0
- data/ext/glib2/rbgobj_convert.c +167 -0
- data/ext/glib2/rbgobj_enums.c +961 -0
- data/ext/glib2/rbgobj_fundamental.c +30 -0
- data/ext/glib2/rbgobj_object.c +892 -0
- data/ext/glib2/rbgobj_param.c +390 -0
- data/ext/glib2/rbgobj_paramspecs.c +305 -0
- data/ext/glib2/rbgobj_signal.c +963 -0
- data/ext/glib2/rbgobj_strv.c +61 -0
- data/ext/glib2/rbgobj_type.c +851 -0
- data/ext/glib2/rbgobj_typeinstance.c +121 -0
- data/ext/glib2/rbgobj_typeinterface.c +148 -0
- data/ext/glib2/rbgobj_typemodule.c +66 -0
- data/ext/glib2/rbgobj_typeplugin.c +49 -0
- data/ext/glib2/rbgobj_value.c +313 -0
- data/ext/glib2/rbgobj_valuearray.c +59 -0
- data/ext/glib2/rbgobj_valuetypes.c +298 -0
- data/ext/glib2/rbgobject.c +406 -0
- data/ext/glib2/rbgobject.h +265 -0
- data/ext/glib2/rbgprivate.h +88 -0
- data/ext/glib2/rbgutil.c +316 -0
- data/ext/glib2/rbgutil.h +82 -0
- data/ext/glib2/rbgutil_callback.c +231 -0
- data/extconf.rb +49 -0
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/glib-mkenums.rb +199 -0
- data/lib/glib2.rb +239 -0
- data/lib/gnome2-win32-binary-downloader.rb +92 -0
- data/lib/mkmf-gnome2.rb +377 -0
- data/sample/bookmarkfile.rb +66 -0
- data/sample/completion.rb +45 -0
- data/sample/idle.rb +41 -0
- data/sample/iochannel.rb +44 -0
- data/sample/keyfile.rb +62 -0
- data/sample/shell.rb +36 -0
- data/sample/spawn.rb +25 -0
- data/sample/timeout.rb +28 -0
- data/sample/timeout2.rb +35 -0
- data/sample/timer.rb +40 -0
- data/sample/type-register.rb +103 -0
- data/sample/type-register2.rb +104 -0
- data/sample/utils.rb +54 -0
- data/test/glib-test-init.rb +6 -0
- data/test/glib-test-utils.rb +12 -0
- data/test/run-test.rb +21 -0
- data/test/test_enum.rb +99 -0
- data/test/test_file_utils.rb +15 -0
- data/test/test_glib2.rb +120 -0
- data/test/test_iochannel.rb +275 -0
- data/test/test_key_file.rb +38 -0
- data/test/test_mkenums.rb +25 -0
- data/test/test_signal.rb +20 -0
- data/test/test_timeout.rb +28 -0
- data/test/test_unicode.rb +369 -0
- data/test/test_utils.rb +37 -0
- data/test/test_win32.rb +13 -0
- data/test-unit/COPYING +56 -0
- data/test-unit/GPL +340 -0
- data/test-unit/History.txt +232 -0
- data/test-unit/Manifest.txt +110 -0
- data/test-unit/PSFL +271 -0
- data/test-unit/README.txt +75 -0
- data/test-unit/Rakefile +53 -0
- data/test-unit/TODO +5 -0
- data/test-unit/bin/testrb +5 -0
- data/test-unit/html/bar.png +0 -0
- data/test-unit/html/bar.svg +153 -0
- data/test-unit/html/developer.png +0 -0
- data/test-unit/html/developer.svg +469 -0
- data/test-unit/html/famfamfam-logo.png +0 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.png +0 -0
- data/test-unit/html/favicon.svg +82 -0
- data/test-unit/html/heading-mark.png +0 -0
- data/test-unit/html/heading-mark.svg +393 -0
- data/test-unit/html/index.html +247 -0
- data/test-unit/html/index.html.ja +270 -0
- data/test-unit/html/install.png +0 -0
- data/test-unit/html/install.svg +636 -0
- data/test-unit/html/jp.png +0 -0
- data/test-unit/html/kinotan-failure.png +0 -0
- data/test-unit/html/kinotan-pass.png +0 -0
- data/test-unit/html/logo.png +0 -0
- data/test-unit/html/logo.svg +483 -0
- data/test-unit/html/reference.png +0 -0
- data/test-unit/html/rubyforge.png +0 -0
- data/test-unit/html/tango-logo.png +0 -0
- data/test-unit/html/test-unit.css +339 -0
- data/test-unit/html/tutorial.png +0 -0
- data/test-unit/html/tutorial.svg +559 -0
- data/test-unit/html/us.png +0 -0
- data/test-unit/images/color-diff.png +0 -0
- data/test-unit/lib/test/unit/assertionfailederror.rb +25 -0
- data/test-unit/lib/test/unit/assertions.rb +1334 -0
- data/test-unit/lib/test/unit/attribute.rb +125 -0
- data/test-unit/lib/test/unit/autorunner.rb +363 -0
- data/test-unit/lib/test/unit/collector/descendant.rb +23 -0
- data/test-unit/lib/test/unit/collector/dir.rb +108 -0
- data/test-unit/lib/test/unit/collector/load.rb +144 -0
- data/test-unit/lib/test/unit/collector/objectspace.rb +34 -0
- data/test-unit/lib/test/unit/collector.rb +36 -0
- data/test-unit/lib/test/unit/color-scheme.rb +106 -0
- data/test-unit/lib/test/unit/color.rb +96 -0
- data/test-unit/lib/test/unit/diff.rb +740 -0
- data/test-unit/lib/test/unit/error.rb +130 -0
- data/test-unit/lib/test/unit/exceptionhandler.rb +39 -0
- data/test-unit/lib/test/unit/failure.rb +136 -0
- data/test-unit/lib/test/unit/fixture.rb +176 -0
- data/test-unit/lib/test/unit/notification.rb +129 -0
- data/test-unit/lib/test/unit/omission.rb +191 -0
- data/test-unit/lib/test/unit/pending.rb +150 -0
- data/test-unit/lib/test/unit/priority.rb +180 -0
- data/test-unit/lib/test/unit/runner/console.rb +52 -0
- data/test-unit/lib/test/unit/runner/emacs.rb +8 -0
- data/test-unit/lib/test/unit/runner/tap.rb +8 -0
- data/test-unit/lib/test/unit/testcase.rb +483 -0
- data/test-unit/lib/test/unit/testresult.rb +121 -0
- data/test-unit/lib/test/unit/testsuite.rb +110 -0
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +14 -0
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +430 -0
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +63 -0
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +82 -0
- data/test-unit/lib/test/unit/ui/testrunner.rb +53 -0
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +77 -0
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/test-unit/lib/test/unit/util/backtracefilter.rb +42 -0
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +28 -0
- data/test-unit/lib/test/unit/util/observable.rb +90 -0
- data/test-unit/lib/test/unit/util/output.rb +31 -0
- data/test-unit/lib/test/unit/util/procwrapper.rb +48 -0
- data/test-unit/lib/test/unit/version.rb +7 -0
- data/test-unit/lib/test/unit.rb +328 -0
- data/test-unit/sample/adder.rb +13 -0
- data/test-unit/sample/subtracter.rb +12 -0
- data/test-unit/sample/test_adder.rb +20 -0
- data/test-unit/sample/test_subtracter.rb +20 -0
- data/test-unit/sample/test_user.rb +23 -0
- data/test-unit/test/collector/test-descendant.rb +133 -0
- data/test-unit/test/collector/test-load.rb +442 -0
- data/test-unit/test/collector/test_dir.rb +406 -0
- data/test-unit/test/collector/test_objectspace.rb +100 -0
- data/test-unit/test/run-test.rb +15 -0
- data/test-unit/test/test-attribute.rb +86 -0
- data/test-unit/test/test-color-scheme.rb +69 -0
- data/test-unit/test/test-color.rb +47 -0
- data/test-unit/test/test-diff.rb +518 -0
- data/test-unit/test/test-emacs-runner.rb +60 -0
- data/test-unit/test/test-fixture.rb +287 -0
- data/test-unit/test/test-notification.rb +33 -0
- data/test-unit/test/test-omission.rb +81 -0
- data/test-unit/test/test-pending.rb +70 -0
- data/test-unit/test/test-priority.rb +119 -0
- data/test-unit/test/test-testcase.rb +544 -0
- data/test-unit/test/test_assertions.rb +1197 -0
- data/test-unit/test/test_error.rb +26 -0
- data/test-unit/test/test_failure.rb +33 -0
- data/test-unit/test/test_testresult.rb +113 -0
- data/test-unit/test/test_testsuite.rb +129 -0
- data/test-unit/test/testunit-test-util.rb +14 -0
- data/test-unit/test/ui/test_tap.rb +33 -0
- data/test-unit/test/ui/test_testrunmediator.rb +20 -0
- data/test-unit/test/util/test-method-owner-finder.rb +38 -0
- data/test-unit/test/util/test-output.rb +11 -0
- data/test-unit/test/util/test_backtracefilter.rb +41 -0
- data/test-unit/test/util/test_observable.rb +102 -0
- data/test-unit/test/util/test_procwrapper.rb +36 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +123 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +188 -0
- data/vendor/local/bin/glib-mkenums +511 -0
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/intl.dll +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/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 +66 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +237 -0
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +119 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +73 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +103 -0
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +60 -0
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +57 -0
- data/vendor/local/include/glib-2.0/gio/gconverter.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +133 -0
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +116 -0
- data/vendor/local/include/glib-2.0/gio/gdrive.h +225 -0
- data/vendor/local/include/glib-2.0/gio/gemblem.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +62 -0
- data/vendor/local/include/glib-2.0/gio/gfile.h +1017 -0
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +77 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +133 -0
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +56 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +951 -0
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +112 -0
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +119 -0
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gicon.h +91 -0
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +103 -0
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +69 -0
- data/vendor/local/include/glib-2.0/gio/ginitable.h +96 -0
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +172 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +703 -0
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +48 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +132 -0
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +52 -0
- data/vendor/local/include/glib-2.0/gio/giostream.h +112 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +339 -0
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gmount.h +242 -0
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +62 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +69 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +207 -0
- data/vendor/local/include/glib-2.0/gio/gresolver.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gseekable.h +99 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +125 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +176 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +89 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +130 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +105 -0
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +138 -0
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +88 -0
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +52 -0
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +63 -0
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gvfs.h +125 -0
- data/vendor/local/include/glib-2.0/gio/gvolume.h +211 -0
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +55 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +54 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +63 -0
- data/vendor/local/include/glib-2.0/glib/garray.h +179 -0
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +120 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +85 -0
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +68 -0
- data/vendor/local/include/glib-2.0/glib/gbase64.h +57 -0
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +43 -0
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +191 -0
- data/vendor/local/include/glib-2.0/glib/gcache.h +69 -0
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +86 -0
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +77 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +138 -0
- data/vendor/local/include/glib-2.0/glib/gdataset.h +122 -0
- data/vendor/local/include/glib-2.0/glib/gdate.h +263 -0
- data/vendor/local/include/glib-2.0/glib/gdir.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gerror.h +98 -0
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +128 -0
- data/vendor/local/include/glib-2.0/glib/ghash.h +166 -0
- data/vendor/local/include/glib-2.0/glib/ghook.h +181 -0
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +40 -0
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +38 -0
- data/vendor/local/include/glib-2.0/glib/gi18n.h +34 -0
- data/vendor/local/include/glib-2.0/glib/giochannel.h +366 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +250 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +120 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +277 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +304 -0
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +49 -0
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +163 -0
- data/vendor/local/include/glib-2.0/glib/gmem.h +203 -0
- data/vendor/local/include/glib-2.0/glib/gmessages.h +343 -0
- data/vendor/local/include/glib-2.0/glib/gnode.h +288 -0
- data/vendor/local/include/glib-2.0/glib/goption.h +370 -0
- data/vendor/local/include/glib-2.0/glib/gpattern.h +49 -0
- data/vendor/local/include/glib-2.0/glib/gpoll.h +93 -0
- data/vendor/local/include/glib-2.0/glib/gprimes.h +51 -0
- data/vendor/local/include/glib-2.0/glib/gprintf.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gqsort.h +46 -0
- data/vendor/local/include/glib-2.0/glib/gquark.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gqueue.h +127 -0
- data/vendor/local/include/glib-2.0/glib/grand.h +85 -0
- data/vendor/local/include/glib-2.0/glib/gregex.h +243 -0
- data/vendor/local/include/glib-2.0/glib/grel.h +97 -0
- data/vendor/local/include/glib-2.0/glib/gscanner.h +278 -0
- data/vendor/local/include/glib-2.0/glib/gsequence.h +128 -0
- data/vendor/local/include/glib-2.0/glib/gshell.h +55 -0
- data/vendor/local/include/glib-2.0/glib/gslice.h +86 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +114 -0
- data/vendor/local/include/glib-2.0/glib/gspawn.h +139 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +159 -0
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +267 -0
- data/vendor/local/include/glib-2.0/glib/gstring.h +178 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +292 -0
- data/vendor/local/include/glib-2.0/glib/gthread.h +408 -0
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +114 -0
- data/vendor/local/include/glib-2.0/glib/gtimer.h +65 -0
- data/vendor/local/include/glib-2.0/glib/gtree.h +91 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +451 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +404 -0
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +81 -0
- data/vendor/local/include/glib-2.0/glib/gutils.h +490 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +224 -0
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +305 -0
- data/vendor/local/include/glib-2.0/glib/gwin32.h +114 -0
- data/vendor/local/include/glib-2.0/glib-object.h +41 -0
- data/vendor/local/include/glib-2.0/glib.h +97 -0
- data/vendor/local/include/glib-2.0/gmodule.h +101 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +236 -0
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +251 -0
- data/vendor/local/include/glib-2.0/gobject/genums.h +261 -0
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +169 -0
- data/vendor/local/include/glib-2.0/gobject/gobject.h +562 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +166 -0
- data/vendor/local/include/glib-2.0/gobject/gparam.h +410 -0
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +1083 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +509 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +51 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +1608 -0
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +263 -0
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +134 -0
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +159 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +77 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +222 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +243 -0
- data/vendor/local/include/libintl.h +464 -0
- data/vendor/local/lib/GNU.Gettext.dll +0 -0
- data/vendor/local/lib/gio-2.0.def +800 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +284 -0
- data/vendor/local/lib/glib-2.0.def +1381 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/gmodule-2.0.def +11 -0
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +349 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.def +3 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/intl.lib +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libintl.def +31 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +11 -0
- data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +81 -0
- data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +3 -0
- data/vendor/local/manifest/glib-dev_2.24.2-2_win32.mft +491 -0
- data/vendor/local/manifest/glib_2.24.2-2_win32.mft +101 -0
- data/vendor/local/share/aclocal/glib-2.0.m4 +211 -0
- data/vendor/local/share/aclocal/glib-gettext.m4 +432 -0
- data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +165 -0
- data/vendor/local/share/doc/gettext/bindtextdomain.3.html +160 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +8 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +305 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +356 -0
- data/vendor/local/share/doc/gettext/csharpdoc/begin.html +11 -0
- data/vendor/local/share/doc/gettext/csharpdoc/index.html +10 -0
- data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +6 -0
- data/vendor/local/share/doc/gettext/envsubst.1.html +213 -0
- data/vendor/local/share/doc/gettext/gettext.1.html +266 -0
- data/vendor/local/share/doc/gettext/gettext.3.html +186 -0
- data/vendor/local/share/doc/gettext/ngettext.1.html +280 -0
- data/vendor/local/share/doc/gettext/ngettext.3.html +143 -0
- data/vendor/local/share/doc/gettext/textdomain.3.html +150 -0
- data/vendor/local/share/doc/glib-2.24.2/COPYING +482 -0
- data/vendor/local/share/doc/glib-dev-2.24.2/COPYING +482 -0
- data/vendor/local/share/doc/libasprintf/autosprintf_all.html +174 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +252 -0
- data/vendor/local/share/glib-2.0/gdb/gobject.py +305 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +111 -0
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +277 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1390 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +531 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +343 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +568 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +295 -0
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +620 -0
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +245 -0
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +388 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +993 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +544 -0
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1416 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +272 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +206 -0
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +7450 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +115 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +520 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +155 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +3116 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +262 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +353 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +182 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +183 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +261 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +479 -0
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +331 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +717 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +195 -0
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +388 -0
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +808 -0
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +185 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +362 -0
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1465 -0
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +848 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +263 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +248 -0
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +1006 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +787 -0
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +350 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +979 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +2152 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +297 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +930 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +548 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +274 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +741 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +258 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +377 -0
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +197 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +381 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +280 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +237 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +237 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +306 -0
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +274 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1028 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +709 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +180 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +128 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +153 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +155 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +1088 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +206 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +97 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +4499 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +171 -0
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +45 -0
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +80 -0
- data/vendor/local/share/gtk-doc/html/gio/ch19.html +75 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20s02.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20s03.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/extending.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +465 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +381 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +163 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +163 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +927 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +328 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +297 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +313 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +918 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +1235 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +1384 -0
- data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +47 -0
- data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/icons.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/index.html +318 -0
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +1795 -0
- data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +42 -0
- data/vendor/local/share/gtk-doc/html/gio/networking.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +293 -0
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +47 -0
- data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +92 -0
- data/vendor/local/share/gtk-doc/html/gio/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/utils.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +47 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +180 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +312 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +563 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +362 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +102 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +124 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +83 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +194 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +419 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +389 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +413 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +158 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +340 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +7835 -0
- data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +893 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +818 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +413 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +430 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +802 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +372 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +500 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2054 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +560 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +1686 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +398 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1187 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +1665 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +460 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +528 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2042 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +1278 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +1406 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +548 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1023 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +1810 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +3798 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +1815 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +295 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +1512 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +1367 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +229 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +629 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2196 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +2556 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +612 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +1451 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +389 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +1029 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +141 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +706 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +510 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +703 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1045 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +1523 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +1466 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +204 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +2648 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +752 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +269 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +578 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +483 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +1353 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +238 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1283 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +1212 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +924 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +466 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +301 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2947 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +1290 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +1719 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +3379 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +606 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +3411 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +245 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +188 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +263 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +314 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +3356 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +150 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +438 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +476 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +438 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +159 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +118 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +64 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +160 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +120 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +59 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +93 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2395 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +121 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +302 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +2084 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +2556 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.html +80 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +72 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +131 -0
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +1171 -0
- data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +336 -0
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +2717 -0
- data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
- data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +41 -0
- data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +710 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +453 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +85 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +51 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +46 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +38 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +46 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +72 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +178 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +42 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +42 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +50 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2577 -0
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +136 -0
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +113 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +293 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +263 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +92 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +214 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +355 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +295 -0
- data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +406 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +2355 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +847 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +1423 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +776 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +2741 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +5242 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +2609 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +4227 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +413 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +230 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +234 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +270 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +117 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +723 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +757 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +143 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +287 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +316 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +76 -0
- data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +100 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +86 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +113 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +122 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +257 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +283 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +125 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +167 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +160 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +121 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.html +187 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +734 -0
- data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +72 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +80 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +66 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +82 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +377 -0
- data/vendor/local/share/gtk-doc/html/gobject/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +40 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +63 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +43 -0
- data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/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/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 +77 -0
- 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 +54 -0
- data/vendor/local/share/man/man1/gettext.1 +69 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +307 -0
- data/vendor/local/share/man/man1/glib-mkenums.1 +234 -0
- data/vendor/local/share/man/man1/gobject-query.1 +83 -0
- data/vendor/local/share/man/man1/ngettext.1 +68 -0
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +72 -0
- data/vendor/local/share/man/man3/bindtextdomain.3 +69 -0
- data/vendor/local/share/man/man3/dcgettext.3 +1 -0
- data/vendor/local/share/man/man3/dcngettext.3 +1 -0
- data/vendor/local/share/man/man3/dgettext.3 +1 -0
- data/vendor/local/share/man/man3/dngettext.3 +1 -0
- data/vendor/local/share/man/man3/gettext.3 +99 -0
- data/vendor/local/share/man/man3/ngettext.3 +60 -0
- data/vendor/local/share/man/man3/textdomain.3 +57 -0
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +10423 -0
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +457 -0
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.log +2602 -0
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +290 -0
- metadata +940 -0
@@ -0,0 +1,2556 @@
|
|
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.14 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="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" title="Key-value file parser">
|
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" title="Synopsis">
|
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#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>,
|
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#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>,
|
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-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
118
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
119
|
+
<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>,
|
120
|
+
<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>,
|
121
|
+
<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>,
|
122
|
+
<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>,
|
123
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
124
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
125
|
+
<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>,
|
126
|
+
<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>,
|
127
|
+
<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>,
|
128
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
129
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
130
|
+
<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>,
|
131
|
+
<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>,
|
132
|
+
<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>,
|
133
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
134
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
135
|
+
<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>,
|
136
|
+
<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>,
|
137
|
+
<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>,
|
138
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
139
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
140
|
+
<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>,
|
141
|
+
<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>,
|
142
|
+
<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>,
|
143
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
144
|
+
|
145
|
+
<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>,
|
146
|
+
<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>,
|
147
|
+
<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>,
|
148
|
+
<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>);
|
149
|
+
<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>,
|
150
|
+
<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>,
|
151
|
+
<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>,
|
152
|
+
<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>);
|
153
|
+
<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>,
|
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> *locale</code></em>,
|
157
|
+
<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>);
|
158
|
+
<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>,
|
159
|
+
<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>,
|
160
|
+
<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>,
|
161
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> value</code></em>);
|
162
|
+
<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>,
|
163
|
+
<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>,
|
164
|
+
<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>,
|
165
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> value</code></em>);
|
166
|
+
<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>,
|
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#gdouble" title="gdouble"><span class="type">gdouble</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-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>,
|
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>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const list[]</code></em>,
|
174
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);
|
175
|
+
<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>,
|
176
|
+
<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>,
|
177
|
+
<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>,
|
178
|
+
<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>,
|
179
|
+
<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>,
|
180
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);
|
181
|
+
<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>,
|
182
|
+
<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>,
|
183
|
+
<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>,
|
184
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> list[]</code></em>,
|
185
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);
|
186
|
+
<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>,
|
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><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> 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-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>,
|
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><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> list[]</code></em>,
|
195
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);
|
196
|
+
<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>,
|
197
|
+
<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>,
|
198
|
+
<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>,
|
199
|
+
<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>,
|
200
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
201
|
+
<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>,
|
202
|
+
<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>,
|
203
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
204
|
+
<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>,
|
205
|
+
<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>,
|
206
|
+
<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>,
|
207
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
208
|
+
<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>,
|
209
|
+
<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>,
|
210
|
+
<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>,
|
211
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
212
|
+
|
213
|
+
#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>
|
214
|
+
#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>
|
215
|
+
#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>
|
216
|
+
#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>
|
217
|
+
#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>
|
218
|
+
#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>
|
219
|
+
#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>
|
220
|
+
#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>
|
221
|
+
#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>
|
222
|
+
#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>
|
223
|
+
#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>
|
224
|
+
#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>
|
225
|
+
#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>
|
226
|
+
#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>
|
227
|
+
#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>
|
228
|
+
#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>
|
229
|
+
#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>
|
230
|
+
#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>
|
231
|
+
#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>
|
232
|
+
#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>
|
233
|
+
#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>
|
234
|
+
#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>
|
235
|
+
#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>
|
236
|
+
</pre>
|
237
|
+
</div>
|
238
|
+
<div class="refsect1" title="Description">
|
239
|
+
<a name="glib-Key-value-file-parser.description"></a><h2>Description</h2>
|
240
|
+
<p>
|
241
|
+
<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
|
242
|
+
key-value pairs, which we call <em class="firstterm">key files</em> for
|
243
|
+
lack of a better name. Several freedesktop.org specifications use
|
244
|
+
key files now, e.g the
|
245
|
+
<a class="ulink" href="http://freedesktop.org/Standards/desktop-entry-spec" target="_top">Desktop
|
246
|
+
Entry Specification</a> and the
|
247
|
+
<a class="ulink" href="http://freedesktop.org/Standards/icon-theme-spec" target="_top">Icon
|
248
|
+
Theme Specification</a>.
|
249
|
+
</p>
|
250
|
+
<p>
|
251
|
+
The syntax of key files is described in detail in the
|
252
|
+
<a class="ulink" href="http://freedesktop.org/Standards/desktop-entry-spec" target="_top">Desktop
|
253
|
+
Entry Specification</a>, here is a quick summary: Key files
|
254
|
+
consists of groups of key-value pairs, interspersed with comments.
|
255
|
+
</p>
|
256
|
+
<div class="informalexample">
|
257
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
258
|
+
<tbody>
|
259
|
+
<tr>
|
260
|
+
<td class="listing_lines" align="right"><pre>1
|
261
|
+
2
|
262
|
+
3
|
263
|
+
4
|
264
|
+
5
|
265
|
+
6
|
266
|
+
7
|
267
|
+
8
|
268
|
+
9
|
269
|
+
10
|
270
|
+
11
|
271
|
+
12
|
272
|
+
13</pre></td>
|
273
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc"># this</span><span class="normal"> is just an example</span>
|
274
|
+
<span class="preproc"># there</span><span class="normal"> can be comments before the first group</span>
|
275
|
+
<span class="symbol">[</span><span class="usertype">First</span><span class="normal"> Group</span><span class="symbol">]</span>
|
276
|
+
<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>
|
277
|
+
<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>
|
278
|
+
<span class="normal">Welcome</span><span class="symbol">=</span><span class="normal">Hello</span>
|
279
|
+
<span class="normal">Welcome</span><span class="symbol">[</span><span class="normal">de</span><span class="symbol">]=</span><span class="normal">Hallo</span>
|
280
|
+
<span class="normal">Welcome</span><span class="symbol">[</span><span class="normal">fr_FR</span><span class="symbol">]=</span><span class="normal">Bonjour</span>
|
281
|
+
<span class="normal">Welcome</span><span class="symbol">[</span><span class="normal">it</span><span class="symbol">]=</span><span class="normal">Ciao</span>
|
282
|
+
<span class="normal">Welcome</span><span class="symbol">[</span><span class="normal">be@latin</span><span class="symbol">]=</span><span class="normal">Hello</span>
|
283
|
+
<span class="symbol">[</span><span class="usertype">Another</span><span class="normal"> Group</span><span class="symbol">]</span>
|
284
|
+
<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>
|
285
|
+
<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>
|
286
|
+
</tr>
|
287
|
+
</tbody>
|
288
|
+
</table>
|
289
|
+
</div>
|
290
|
+
|
291
|
+
<p>
|
292
|
+
Lines beginning with a '#' and blank lines are considered comments.
|
293
|
+
</p>
|
294
|
+
<p>
|
295
|
+
Groups are started by a header line containing the group name enclosed
|
296
|
+
in '[' and ']', and ended implicitly by the start of the next group or
|
297
|
+
the end of the file. Each key-value pair must be contained in a group.
|
298
|
+
</p>
|
299
|
+
<p>
|
300
|
+
Key-value pairs generally have the form <code class="literal">key=value</code>,
|
301
|
+
with the exception of localized strings, which have the form
|
302
|
+
<code class="literal">key[locale]=value</code>, with a locale identifier of the form
|
303
|
+
<code class="literal">lang_COUNTRY<em class="parameter"><code>MODIFIER</code></em></code> where <code class="literal">COUNTRY</code> and
|
304
|
+
<code class="literal">MODIFIER</code> are optional. Space before and after the
|
305
|
+
'=' character are ignored. Newline, tab, carriage return and backslash
|
306
|
+
characters in value are escaped as \n, \t, \r, and \\, respectively.
|
307
|
+
To preserve leading spaces in values, these can also be escaped as \s.
|
308
|
+
</p>
|
309
|
+
<p>
|
310
|
+
Key files can store strings (possibly with localized variants), integers,
|
311
|
+
booleans and lists of these. Lists are separated by a separator character,
|
312
|
+
typically ';' or ','. To use the list separator character in a value in
|
313
|
+
a list, it has to be escaped by prefixing it with a backslash.
|
314
|
+
</p>
|
315
|
+
<p>
|
316
|
+
This syntax is obviously inspired by the <code class="filename">.ini</code>
|
317
|
+
files commonly met on Windows, but there are some important differences:
|
318
|
+
</p>
|
319
|
+
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
320
|
+
<li class="listitem"><p>
|
321
|
+
<code class="filename">.ini</code> files use the ';' character to begin comments,
|
322
|
+
key files use the '#' character.
|
323
|
+
</p></li>
|
324
|
+
<li class="listitem"><p>
|
325
|
+
Key files do not allow for ungrouped keys meaning only comments can precede the first group.
|
326
|
+
</p></li>
|
327
|
+
<li class="listitem"><p>
|
328
|
+
Key files are always encoded in UTF-8.
|
329
|
+
</p></li>
|
330
|
+
<li class="listitem"><p>
|
331
|
+
Key and Group names are case-sensitive, for example a group called
|
332
|
+
<code class="literal">[GROUP]</code> is a different group from <code class="literal">[group]</code>.
|
333
|
+
</p></li>
|
334
|
+
<li class="listitem"><p>
|
335
|
+
<code class="filename">.ini</code> files don't have a strongly typed boolean entry type, they only
|
336
|
+
have <code class="literal">GetProfileInt</code>. In <span class="structname">GKeyFile</span> only
|
337
|
+
<code class="literal">true</code> and <code class="literal">false</code> (in lower case) are allowed.
|
338
|
+
</p></li>
|
339
|
+
</ul></div>
|
340
|
+
<p>
|
341
|
+
</p>
|
342
|
+
<p>
|
343
|
+
Note that in contrast to the
|
344
|
+
<a class="ulink" href="http://freedesktop.org/Standards/desktop-entry-spec" target="_top">Desktop
|
345
|
+
Entry Specification</a>, groups in key files may contain the same
|
346
|
+
key multiple times; the last entry wins. Key files may also contain
|
347
|
+
multiple groups with the same name; they are merged together.
|
348
|
+
Another difference is that keys and group names in key files are not
|
349
|
+
restricted to ASCII characters.
|
350
|
+
</p>
|
351
|
+
</div>
|
352
|
+
<div class="refsect1" title="Details">
|
353
|
+
<a name="glib-Key-value-file-parser.details"></a><h2>Details</h2>
|
354
|
+
<div class="refsect2" title="GKeyFile">
|
355
|
+
<a name="GKeyFile"></a><h3>GKeyFile</h3>
|
356
|
+
<pre class="programlisting">typedef struct _GKeyFile GKeyFile;</pre>
|
357
|
+
<p>
|
358
|
+
The <span class="structname">GKeyFile</span> struct contains only private fields
|
359
|
+
and should not be used directly.
|
360
|
+
</p>
|
361
|
+
</div>
|
362
|
+
<hr>
|
363
|
+
<div class="refsect2" title="G_KEY_FILE_ERROR">
|
364
|
+
<a name="G-KEY-FILE-ERROR:CAPS"></a><h3>G_KEY_FILE_ERROR</h3>
|
365
|
+
<pre class="programlisting">#define G_KEY_FILE_ERROR g_key_file_error_quark()
|
366
|
+
</pre>
|
367
|
+
<p>
|
368
|
+
Error domain for key file parsing. Errors in this domain will
|
369
|
+
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
|
370
|
+
error domains.
|
371
|
+
</p>
|
372
|
+
</div>
|
373
|
+
<hr>
|
374
|
+
<div class="refsect2" title="enum GKeyFileError">
|
375
|
+
<a name="GKeyFileError"></a><h3>enum GKeyFileError</h3>
|
376
|
+
<pre class="programlisting">typedef enum
|
377
|
+
{
|
378
|
+
G_KEY_FILE_ERROR_UNKNOWN_ENCODING,
|
379
|
+
G_KEY_FILE_ERROR_PARSE,
|
380
|
+
G_KEY_FILE_ERROR_NOT_FOUND,
|
381
|
+
G_KEY_FILE_ERROR_KEY_NOT_FOUND,
|
382
|
+
G_KEY_FILE_ERROR_GROUP_NOT_FOUND,
|
383
|
+
G_KEY_FILE_ERROR_INVALID_VALUE
|
384
|
+
} GKeyFileError;
|
385
|
+
</pre>
|
386
|
+
<p>
|
387
|
+
Error codes returned by key file parsing.
|
388
|
+
</p>
|
389
|
+
<div class="variablelist"><table border="0">
|
390
|
+
<col align="left" valign="top">
|
391
|
+
<tbody>
|
392
|
+
<tr>
|
393
|
+
<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>
|
394
|
+
<td>the text being parsed was in an unknown encoding
|
395
|
+
</td>
|
396
|
+
</tr>
|
397
|
+
<tr>
|
398
|
+
<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>
|
399
|
+
<td>document was ill-formed
|
400
|
+
</td>
|
401
|
+
</tr>
|
402
|
+
<tr>
|
403
|
+
<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>
|
404
|
+
<td>the file was not found
|
405
|
+
</td>
|
406
|
+
</tr>
|
407
|
+
<tr>
|
408
|
+
<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>
|
409
|
+
<td>a requested key was not found
|
410
|
+
</td>
|
411
|
+
</tr>
|
412
|
+
<tr>
|
413
|
+
<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>
|
414
|
+
<td>a requested group was not found
|
415
|
+
</td>
|
416
|
+
</tr>
|
417
|
+
<tr>
|
418
|
+
<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>
|
419
|
+
<td>a value could not be parsed
|
420
|
+
</td>
|
421
|
+
</tr>
|
422
|
+
</tbody>
|
423
|
+
</table></div>
|
424
|
+
</div>
|
425
|
+
<hr>
|
426
|
+
<div class="refsect2" title="enum GKeyFileFlags">
|
427
|
+
<a name="GKeyFileFlags"></a><h3>enum GKeyFileFlags</h3>
|
428
|
+
<pre class="programlisting">typedef enum
|
429
|
+
{
|
430
|
+
G_KEY_FILE_NONE = 0,
|
431
|
+
G_KEY_FILE_KEEP_COMMENTS = 1 << 0,
|
432
|
+
G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1
|
433
|
+
} GKeyFileFlags;
|
434
|
+
</pre>
|
435
|
+
<p>
|
436
|
+
Flags which influence the parsing.
|
437
|
+
</p>
|
438
|
+
<div class="variablelist"><table border="0">
|
439
|
+
<col align="left" valign="top">
|
440
|
+
<tbody>
|
441
|
+
<tr>
|
442
|
+
<td><p><a name="G-KEY-FILE-NONE:CAPS"></a><span class="term"><code class="literal">G_KEY_FILE_NONE</code></span></p></td>
|
443
|
+
<td>No flags, default behaviour
|
444
|
+
</td>
|
445
|
+
</tr>
|
446
|
+
<tr>
|
447
|
+
<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>
|
448
|
+
<td>Use this flag if you plan to write the (possibly modified)
|
449
|
+
contents of the key file back to a file; otherwise all comments will be lost when
|
450
|
+
the key file is written back.
|
451
|
+
</td>
|
452
|
+
</tr>
|
453
|
+
<tr>
|
454
|
+
<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>
|
455
|
+
<td>Use this flag if you plan to write the (possibly modified)
|
456
|
+
contents of the key file back to a file; otherwise only the translations for the current
|
457
|
+
language will be written back.
|
458
|
+
</td>
|
459
|
+
</tr>
|
460
|
+
</tbody>
|
461
|
+
</table></div>
|
462
|
+
</div>
|
463
|
+
<hr>
|
464
|
+
<div class="refsect2" title="g_key_file_new ()">
|
465
|
+
<a name="g-key-file-new"></a><h3>g_key_file_new ()</h3>
|
466
|
+
<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>
|
467
|
+
<p>
|
468
|
+
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
|
469
|
+
<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>,
|
470
|
+
<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
|
471
|
+
read an existing key file.
|
472
|
+
</p>
|
473
|
+
<div class="variablelist"><table border="0">
|
474
|
+
<col align="left" valign="top">
|
475
|
+
<tbody><tr>
|
476
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
477
|
+
<td> an empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>.
|
478
|
+
|
479
|
+
</td>
|
480
|
+
</tr></tbody>
|
481
|
+
</table></div>
|
482
|
+
<p class="since">Since 2.6</p>
|
483
|
+
</div>
|
484
|
+
<hr>
|
485
|
+
<div class="refsect2" title="g_key_file_free ()">
|
486
|
+
<a name="g-key-file-free"></a><h3>g_key_file_free ()</h3>
|
487
|
+
<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>
|
488
|
+
<p>
|
489
|
+
Frees a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>.
|
490
|
+
</p>
|
491
|
+
<div class="variablelist"><table border="0">
|
492
|
+
<col align="left" valign="top">
|
493
|
+
<tbody><tr>
|
494
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
495
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
496
|
+
</td>
|
497
|
+
</tr></tbody>
|
498
|
+
</table></div>
|
499
|
+
<p class="since">Since 2.6</p>
|
500
|
+
</div>
|
501
|
+
<hr>
|
502
|
+
<div class="refsect2" title="g_key_file_set_list_separator ()">
|
503
|
+
<a name="g-key-file-set-list-separator"></a><h3>g_key_file_set_list_separator ()</h3>
|
504
|
+
<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>,
|
505
|
+
<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>
|
506
|
+
<p>
|
507
|
+
Sets the character which is used to separate
|
508
|
+
values in lists. Typically ';' or ',' are used
|
509
|
+
as separators. The default list separator is ';'.
|
510
|
+
</p>
|
511
|
+
<div class="variablelist"><table border="0">
|
512
|
+
<col align="left" valign="top">
|
513
|
+
<tbody>
|
514
|
+
<tr>
|
515
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
516
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
517
|
+
</td>
|
518
|
+
</tr>
|
519
|
+
<tr>
|
520
|
+
<td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
|
521
|
+
<td>the separator
|
522
|
+
</td>
|
523
|
+
</tr>
|
524
|
+
</tbody>
|
525
|
+
</table></div>
|
526
|
+
<p class="since">Since 2.6</p>
|
527
|
+
</div>
|
528
|
+
<hr>
|
529
|
+
<div class="refsect2" title="g_key_file_load_from_file ()">
|
530
|
+
<a name="g-key-file-load-from-file"></a><h3>g_key_file_load_from_file ()</h3>
|
531
|
+
<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>,
|
532
|
+
<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>,
|
533
|
+
<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>,
|
534
|
+
<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>
|
535
|
+
<p>
|
536
|
+
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.
|
537
|
+
If the file could not be loaded then <code class="literal">error</code> is set to
|
538
|
+
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>.
|
539
|
+
</p>
|
540
|
+
<div class="variablelist"><table border="0">
|
541
|
+
<col align="left" valign="top">
|
542
|
+
<tbody>
|
543
|
+
<tr>
|
544
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
545
|
+
<td>an empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> struct
|
546
|
+
</td>
|
547
|
+
</tr>
|
548
|
+
<tr>
|
549
|
+
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
550
|
+
<td>the path of a filename to load, in the GLib filename encoding
|
551
|
+
</td>
|
552
|
+
</tr>
|
553
|
+
<tr>
|
554
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
555
|
+
<td>flags from <a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a>
|
556
|
+
</td>
|
557
|
+
</tr>
|
558
|
+
<tr>
|
559
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
560
|
+
<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>
|
561
|
+
</td>
|
562
|
+
</tr>
|
563
|
+
<tr>
|
564
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
565
|
+
<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
|
566
|
+
|
567
|
+
</td>
|
568
|
+
</tr>
|
569
|
+
</tbody>
|
570
|
+
</table></div>
|
571
|
+
<p class="since">Since 2.6</p>
|
572
|
+
</div>
|
573
|
+
<hr>
|
574
|
+
<div class="refsect2" title="g_key_file_load_from_data ()">
|
575
|
+
<a name="g-key-file-load-from-data"></a><h3>g_key_file_load_from_data ()</h3>
|
576
|
+
<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>,
|
577
|
+
<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>,
|
578
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>,
|
579
|
+
<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>,
|
580
|
+
<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>
|
581
|
+
<p>
|
582
|
+
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.
|
583
|
+
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>.
|
584
|
+
</p>
|
585
|
+
<div class="variablelist"><table border="0">
|
586
|
+
<col align="left" valign="top">
|
587
|
+
<tbody>
|
588
|
+
<tr>
|
589
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
590
|
+
<td>an empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> struct
|
591
|
+
</td>
|
592
|
+
</tr>
|
593
|
+
<tr>
|
594
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
595
|
+
<td>key file loaded in memory
|
596
|
+
</td>
|
597
|
+
</tr>
|
598
|
+
<tr>
|
599
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
600
|
+
<td>the length of <em class="parameter"><code>data</code></em> in bytes
|
601
|
+
</td>
|
602
|
+
</tr>
|
603
|
+
<tr>
|
604
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
605
|
+
<td>flags from <a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a>
|
606
|
+
</td>
|
607
|
+
</tr>
|
608
|
+
<tr>
|
609
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
610
|
+
<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>
|
611
|
+
</td>
|
612
|
+
</tr>
|
613
|
+
<tr>
|
614
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
615
|
+
<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
|
616
|
+
|
617
|
+
</td>
|
618
|
+
</tr>
|
619
|
+
</tbody>
|
620
|
+
</table></div>
|
621
|
+
<p class="since">Since 2.6</p>
|
622
|
+
</div>
|
623
|
+
<hr>
|
624
|
+
<div class="refsect2" title="g_key_file_load_from_data_dirs ()">
|
625
|
+
<a name="g-key-file-load-from-data-dirs"></a><h3>g_key_file_load_from_data_dirs ()</h3>
|
626
|
+
<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>,
|
627
|
+
<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>,
|
628
|
+
<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>,
|
629
|
+
<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>,
|
630
|
+
<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>
|
631
|
+
<p>
|
632
|
+
This function looks for a key file named <em class="parameter"><code>file</code></em> in the paths
|
633
|
+
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>,
|
634
|
+
loads the file into <em class="parameter"><code>key_file</code></em> and returns the file's full path in
|
635
|
+
<em class="parameter"><code>full_path</code></em>. If the file could not be loaded then an <code class="literal">error</code> is
|
636
|
+
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>.
|
637
|
+
</p>
|
638
|
+
<div class="variablelist"><table border="0">
|
639
|
+
<col align="left" valign="top">
|
640
|
+
<tbody>
|
641
|
+
<tr>
|
642
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
643
|
+
<td>an empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> struct
|
644
|
+
</td>
|
645
|
+
</tr>
|
646
|
+
<tr>
|
647
|
+
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
648
|
+
<td>a relative path to a filename to open and parse
|
649
|
+
</td>
|
650
|
+
</tr>
|
651
|
+
<tr>
|
652
|
+
<td><p><span class="term"><em class="parameter"><code>full_path</code></em> :</span></p></td>
|
653
|
+
<td>return location for a string containing the full path
|
654
|
+
of the file, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
655
|
+
</td>
|
656
|
+
</tr>
|
657
|
+
<tr>
|
658
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
659
|
+
<td>flags from <a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a>
|
660
|
+
</td>
|
661
|
+
</tr>
|
662
|
+
<tr>
|
663
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
664
|
+
<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>
|
665
|
+
</td>
|
666
|
+
</tr>
|
667
|
+
<tr>
|
668
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
669
|
+
<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
|
670
|
+
</td>
|
671
|
+
</tr>
|
672
|
+
</tbody>
|
673
|
+
</table></div>
|
674
|
+
<p class="since">Since 2.6</p>
|
675
|
+
</div>
|
676
|
+
<hr>
|
677
|
+
<div class="refsect2" title="g_key_file_load_from_dirs ()">
|
678
|
+
<a name="g-key-file-load-from-dirs"></a><h3>g_key_file_load_from_dirs ()</h3>
|
679
|
+
<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>,
|
680
|
+
<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>,
|
681
|
+
<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>,
|
682
|
+
<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>,
|
683
|
+
<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>,
|
684
|
+
<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>
|
685
|
+
<p>
|
686
|
+
This function looks for a key file named <em class="parameter"><code>file</code></em> in the paths
|
687
|
+
specified in <em class="parameter"><code>search_dirs</code></em>, loads the file into <em class="parameter"><code>key_file</code></em> and
|
688
|
+
returns the file's full path in <em class="parameter"><code>full_path</code></em>. If the file could not
|
689
|
+
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
|
690
|
+
<a class="link" href="glib-Key-value-file-parser.html#GKeyFileError" title="enum GKeyFileError"><span class="type">GKeyFileError</span></a>.
|
691
|
+
</p>
|
692
|
+
<div class="variablelist"><table border="0">
|
693
|
+
<col align="left" valign="top">
|
694
|
+
<tbody>
|
695
|
+
<tr>
|
696
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
697
|
+
<td>an empty <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a> struct
|
698
|
+
</td>
|
699
|
+
</tr>
|
700
|
+
<tr>
|
701
|
+
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
702
|
+
<td>a relative path to a filename to open and parse
|
703
|
+
</td>
|
704
|
+
</tr>
|
705
|
+
<tr>
|
706
|
+
<td><p><span class="term"><em class="parameter"><code>search_dirs</code></em> :</span></p></td>
|
707
|
+
<td>
|
708
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of directories to search
|
709
|
+
</td>
|
710
|
+
</tr>
|
711
|
+
<tr>
|
712
|
+
<td><p><span class="term"><em class="parameter"><code>full_path</code></em> :</span></p></td>
|
713
|
+
<td>return location for a string containing the full path
|
714
|
+
of the file, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
715
|
+
</td>
|
716
|
+
</tr>
|
717
|
+
<tr>
|
718
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
719
|
+
<td>flags from <a class="link" href="glib-Key-value-file-parser.html#GKeyFileFlags" title="enum GKeyFileFlags"><span class="type">GKeyFileFlags</span></a>
|
720
|
+
</td>
|
721
|
+
</tr>
|
722
|
+
<tr>
|
723
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
724
|
+
<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>
|
725
|
+
</td>
|
726
|
+
</tr>
|
727
|
+
<tr>
|
728
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
729
|
+
<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
|
730
|
+
|
731
|
+
</td>
|
732
|
+
</tr>
|
733
|
+
</tbody>
|
734
|
+
</table></div>
|
735
|
+
<p class="since">Since 2.14</p>
|
736
|
+
</div>
|
737
|
+
<hr>
|
738
|
+
<div class="refsect2" title="g_key_file_to_data ()">
|
739
|
+
<a name="g-key-file-to-data"></a><h3>g_key_file_to_data ()</h3>
|
740
|
+
<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>,
|
741
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
742
|
+
<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>
|
743
|
+
<p>
|
744
|
+
This function outputs <em class="parameter"><code>key_file</code></em> as a string.
|
745
|
+
</p>
|
746
|
+
<p>
|
747
|
+
Note that this function never reports an error,
|
748
|
+
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>.
|
749
|
+
</p>
|
750
|
+
<div class="variablelist"><table border="0">
|
751
|
+
<col align="left" valign="top">
|
752
|
+
<tbody>
|
753
|
+
<tr>
|
754
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
755
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
756
|
+
</td>
|
757
|
+
</tr>
|
758
|
+
<tr>
|
759
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
760
|
+
<td>return location for the length of the
|
761
|
+
returned string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
762
|
+
</td>
|
763
|
+
</tr>
|
764
|
+
<tr>
|
765
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
766
|
+
<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>
|
767
|
+
</td>
|
768
|
+
</tr>
|
769
|
+
<tr>
|
770
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
771
|
+
<td> a newly allocated string holding
|
772
|
+
the contents of the <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
773
|
+
|
774
|
+
</td>
|
775
|
+
</tr>
|
776
|
+
</tbody>
|
777
|
+
</table></div>
|
778
|
+
<p class="since">Since 2.6</p>
|
779
|
+
</div>
|
780
|
+
<hr>
|
781
|
+
<div class="refsect2" title="g_key_file_get_start_group ()">
|
782
|
+
<a name="g-key-file-get-start-group"></a><h3>g_key_file_get_start_group ()</h3>
|
783
|
+
<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>
|
784
|
+
<p>
|
785
|
+
Returns the name of the start group of the file.
|
786
|
+
</p>
|
787
|
+
<div class="variablelist"><table border="0">
|
788
|
+
<col align="left" valign="top">
|
789
|
+
<tbody>
|
790
|
+
<tr>
|
791
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
792
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
793
|
+
</td>
|
794
|
+
</tr>
|
795
|
+
<tr>
|
796
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
797
|
+
<td> The start group of the key file.
|
798
|
+
|
799
|
+
</td>
|
800
|
+
</tr>
|
801
|
+
</tbody>
|
802
|
+
</table></div>
|
803
|
+
<p class="since">Since 2.6</p>
|
804
|
+
</div>
|
805
|
+
<hr>
|
806
|
+
<div class="refsect2" title="g_key_file_get_groups ()">
|
807
|
+
<a name="g-key-file-get-groups"></a><h3>g_key_file_get_groups ()</h3>
|
808
|
+
<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>,
|
809
|
+
<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>
|
810
|
+
<p>
|
811
|
+
Returns all groups in the key file loaded with <em class="parameter"><code>key_file</code></em>.
|
812
|
+
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
|
813
|
+
<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>.
|
814
|
+
</p>
|
815
|
+
<div class="variablelist"><table border="0">
|
816
|
+
<col align="left" valign="top">
|
817
|
+
<tbody>
|
818
|
+
<tr>
|
819
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
820
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
821
|
+
</td>
|
822
|
+
</tr>
|
823
|
+
<tr>
|
824
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
825
|
+
<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>
|
826
|
+
</td>
|
827
|
+
</tr>
|
828
|
+
<tr>
|
829
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
830
|
+
<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.
|
831
|
+
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.
|
832
|
+
</td>
|
833
|
+
</tr>
|
834
|
+
</tbody>
|
835
|
+
</table></div>
|
836
|
+
<p class="since">Since 2.6</p>
|
837
|
+
</div>
|
838
|
+
<hr>
|
839
|
+
<div class="refsect2" title="g_key_file_get_keys ()">
|
840
|
+
<a name="g-key-file-get-keys"></a><h3>g_key_file_get_keys ()</h3>
|
841
|
+
<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>,
|
842
|
+
<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>,
|
843
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
844
|
+
<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>
|
845
|
+
<p>
|
846
|
+
Returns all keys for the group name <em class="parameter"><code>group_name</code></em>. The array of
|
847
|
+
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
|
848
|
+
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
|
849
|
+
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
|
850
|
+
<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>.
|
851
|
+
</p>
|
852
|
+
<div class="variablelist"><table border="0">
|
853
|
+
<col align="left" valign="top">
|
854
|
+
<tbody>
|
855
|
+
<tr>
|
856
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
857
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
858
|
+
</td>
|
859
|
+
</tr>
|
860
|
+
<tr>
|
861
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
862
|
+
<td>a group name
|
863
|
+
</td>
|
864
|
+
</tr>
|
865
|
+
<tr>
|
866
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
867
|
+
<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>
|
868
|
+
</td>
|
869
|
+
</tr>
|
870
|
+
<tr>
|
871
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
872
|
+
<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>
|
873
|
+
</td>
|
874
|
+
</tr>
|
875
|
+
<tr>
|
876
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
877
|
+
<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.
|
878
|
+
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.
|
879
|
+
|
880
|
+
</td>
|
881
|
+
</tr>
|
882
|
+
</tbody>
|
883
|
+
</table></div>
|
884
|
+
<p class="since">Since 2.6</p>
|
885
|
+
</div>
|
886
|
+
<hr>
|
887
|
+
<div class="refsect2" title="g_key_file_has_group ()">
|
888
|
+
<a name="g-key-file-has-group"></a><h3>g_key_file_has_group ()</h3>
|
889
|
+
<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>,
|
890
|
+
<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>
|
891
|
+
<p>
|
892
|
+
Looks whether the key file has the group <em class="parameter"><code>group_name</code></em>.
|
893
|
+
</p>
|
894
|
+
<div class="variablelist"><table border="0">
|
895
|
+
<col align="left" valign="top">
|
896
|
+
<tbody>
|
897
|
+
<tr>
|
898
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
899
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
900
|
+
</td>
|
901
|
+
</tr>
|
902
|
+
<tr>
|
903
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
904
|
+
<td>a group name
|
905
|
+
</td>
|
906
|
+
</tr>
|
907
|
+
<tr>
|
908
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
909
|
+
<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>
|
910
|
+
otherwise.
|
911
|
+
</td>
|
912
|
+
</tr>
|
913
|
+
</tbody>
|
914
|
+
</table></div>
|
915
|
+
<p class="since">Since 2.6</p>
|
916
|
+
</div>
|
917
|
+
<hr>
|
918
|
+
<div class="refsect2" title="g_key_file_has_key ()">
|
919
|
+
<a name="g-key-file-has-key"></a><h3>g_key_file_has_key ()</h3>
|
920
|
+
<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>,
|
921
|
+
<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>,
|
922
|
+
<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>,
|
923
|
+
<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>
|
924
|
+
<p>
|
925
|
+
Looks whether the key file has the key <em class="parameter"><code>key</code></em> in the group
|
926
|
+
<em class="parameter"><code>group_name</code></em>.
|
927
|
+
</p>
|
928
|
+
<div class="variablelist"><table border="0">
|
929
|
+
<col align="left" valign="top">
|
930
|
+
<tbody>
|
931
|
+
<tr>
|
932
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
933
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
934
|
+
</td>
|
935
|
+
</tr>
|
936
|
+
<tr>
|
937
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
938
|
+
<td>a group name
|
939
|
+
</td>
|
940
|
+
</tr>
|
941
|
+
<tr>
|
942
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
943
|
+
<td>a key name
|
944
|
+
</td>
|
945
|
+
</tr>
|
946
|
+
<tr>
|
947
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
948
|
+
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
949
|
+
</td>
|
950
|
+
</tr>
|
951
|
+
<tr>
|
952
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
953
|
+
<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>
|
954
|
+
otherwise.
|
955
|
+
|
956
|
+
</td>
|
957
|
+
</tr>
|
958
|
+
</tbody>
|
959
|
+
</table></div>
|
960
|
+
<p class="since">Since 2.6</p>
|
961
|
+
</div>
|
962
|
+
<hr>
|
963
|
+
<div class="refsect2" title="g_key_file_get_value ()">
|
964
|
+
<a name="g-key-file-get-value"></a><h3>g_key_file_get_value ()</h3>
|
965
|
+
<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>,
|
966
|
+
<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>,
|
967
|
+
<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>,
|
968
|
+
<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>
|
969
|
+
<p>
|
970
|
+
Returns the raw value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
971
|
+
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.
|
972
|
+
</p>
|
973
|
+
<p>
|
974
|
+
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
|
975
|
+
<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
|
976
|
+
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
|
977
|
+
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>.
|
978
|
+
</p>
|
979
|
+
<div class="variablelist"><table border="0">
|
980
|
+
<col align="left" valign="top">
|
981
|
+
<tbody>
|
982
|
+
<tr>
|
983
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
984
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
985
|
+
</td>
|
986
|
+
</tr>
|
987
|
+
<tr>
|
988
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
989
|
+
<td>a group name
|
990
|
+
</td>
|
991
|
+
</tr>
|
992
|
+
<tr>
|
993
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
994
|
+
<td>a key
|
995
|
+
</td>
|
996
|
+
</tr>
|
997
|
+
<tr>
|
998
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
999
|
+
<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>
|
1000
|
+
</td>
|
1001
|
+
</tr>
|
1002
|
+
<tr>
|
1003
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1004
|
+
<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
|
1005
|
+
key cannot be found.
|
1006
|
+
|
1007
|
+
</td>
|
1008
|
+
</tr>
|
1009
|
+
</tbody>
|
1010
|
+
</table></div>
|
1011
|
+
<p class="since">Since 2.6</p>
|
1012
|
+
</div>
|
1013
|
+
<hr>
|
1014
|
+
<div class="refsect2" title="g_key_file_get_string ()">
|
1015
|
+
<a name="g-key-file-get-string"></a><h3>g_key_file_get_string ()</h3>
|
1016
|
+
<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>,
|
1017
|
+
<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>,
|
1018
|
+
<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>,
|
1019
|
+
<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>
|
1020
|
+
<p>
|
1021
|
+
Returns the string value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1022
|
+
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
|
1023
|
+
like \s.
|
1024
|
+
</p>
|
1025
|
+
<p>
|
1026
|
+
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
|
1027
|
+
<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
|
1028
|
+
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
|
1029
|
+
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>.
|
1030
|
+
</p>
|
1031
|
+
<div class="variablelist"><table border="0">
|
1032
|
+
<col align="left" valign="top">
|
1033
|
+
<tbody>
|
1034
|
+
<tr>
|
1035
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1036
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1037
|
+
</td>
|
1038
|
+
</tr>
|
1039
|
+
<tr>
|
1040
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1041
|
+
<td>a group name
|
1042
|
+
</td>
|
1043
|
+
</tr>
|
1044
|
+
<tr>
|
1045
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1046
|
+
<td>a key
|
1047
|
+
</td>
|
1048
|
+
</tr>
|
1049
|
+
<tr>
|
1050
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1051
|
+
<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>
|
1052
|
+
</td>
|
1053
|
+
</tr>
|
1054
|
+
<tr>
|
1055
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1056
|
+
<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
|
1057
|
+
key cannot be found.
|
1058
|
+
|
1059
|
+
</td>
|
1060
|
+
</tr>
|
1061
|
+
</tbody>
|
1062
|
+
</table></div>
|
1063
|
+
<p class="since">Since 2.6</p>
|
1064
|
+
</div>
|
1065
|
+
<hr>
|
1066
|
+
<div class="refsect2" title="g_key_file_get_locale_string ()">
|
1067
|
+
<a name="g-key-file-get-locale-string"></a><h3>g_key_file_get_locale_string ()</h3>
|
1068
|
+
<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>,
|
1069
|
+
<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>,
|
1070
|
+
<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>,
|
1071
|
+
<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>,
|
1072
|
+
<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>
|
1073
|
+
<p>
|
1074
|
+
Returns the value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>
|
1075
|
+
translated in the given <em class="parameter"><code>locale</code></em> if available. If <em class="parameter"><code>locale</code></em> is
|
1076
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then the current locale is assumed.
|
1077
|
+
</p>
|
1078
|
+
<p>
|
1079
|
+
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
|
1080
|
+
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
|
1081
|
+
with <em class="parameter"><code>key</code></em> cannot be interpreted or no suitable translation can
|
1082
|
+
be found then the untranslated value is returned.
|
1083
|
+
</p>
|
1084
|
+
<div class="variablelist"><table border="0">
|
1085
|
+
<col align="left" valign="top">
|
1086
|
+
<tbody>
|
1087
|
+
<tr>
|
1088
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1089
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1090
|
+
</td>
|
1091
|
+
</tr>
|
1092
|
+
<tr>
|
1093
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1094
|
+
<td>a group name
|
1095
|
+
</td>
|
1096
|
+
</tr>
|
1097
|
+
<tr>
|
1098
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1099
|
+
<td>a key
|
1100
|
+
</td>
|
1101
|
+
</tr>
|
1102
|
+
<tr>
|
1103
|
+
<td><p><span class="term"><em class="parameter"><code>locale</code></em> :</span></p></td>
|
1104
|
+
<td>a locale identifier or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1105
|
+
</td>
|
1106
|
+
</tr>
|
1107
|
+
<tr>
|
1108
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1109
|
+
<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>
|
1110
|
+
</td>
|
1111
|
+
</tr>
|
1112
|
+
<tr>
|
1113
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1114
|
+
<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
|
1115
|
+
key cannot be found.
|
1116
|
+
|
1117
|
+
</td>
|
1118
|
+
</tr>
|
1119
|
+
</tbody>
|
1120
|
+
</table></div>
|
1121
|
+
<p class="since">Since 2.6</p>
|
1122
|
+
</div>
|
1123
|
+
<hr>
|
1124
|
+
<div class="refsect2" title="g_key_file_get_boolean ()">
|
1125
|
+
<a name="g-key-file-get-boolean"></a><h3>g_key_file_get_boolean ()</h3>
|
1126
|
+
<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>,
|
1127
|
+
<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>,
|
1128
|
+
<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>,
|
1129
|
+
<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>
|
1130
|
+
<p>
|
1131
|
+
Returns the value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as a
|
1132
|
+
boolean.
|
1133
|
+
</p>
|
1134
|
+
<p>
|
1135
|
+
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
|
1136
|
+
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
|
1137
|
+
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>
|
1138
|
+
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>.
|
1139
|
+
</p>
|
1140
|
+
<div class="variablelist"><table border="0">
|
1141
|
+
<col align="left" valign="top">
|
1142
|
+
<tbody>
|
1143
|
+
<tr>
|
1144
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1145
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1146
|
+
</td>
|
1147
|
+
</tr>
|
1148
|
+
<tr>
|
1149
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1150
|
+
<td>a group name
|
1151
|
+
</td>
|
1152
|
+
</tr>
|
1153
|
+
<tr>
|
1154
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1155
|
+
<td>a key
|
1156
|
+
</td>
|
1157
|
+
</tr>
|
1158
|
+
<tr>
|
1159
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1160
|
+
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1161
|
+
</td>
|
1162
|
+
</tr>
|
1163
|
+
<tr>
|
1164
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1165
|
+
<td> the value associated with the key as a boolean,
|
1166
|
+
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.
|
1167
|
+
|
1168
|
+
</td>
|
1169
|
+
</tr>
|
1170
|
+
</tbody>
|
1171
|
+
</table></div>
|
1172
|
+
<p class="since">Since 2.6</p>
|
1173
|
+
</div>
|
1174
|
+
<hr>
|
1175
|
+
<div class="refsect2" title="g_key_file_get_integer ()">
|
1176
|
+
<a name="g-key-file-get-integer"></a><h3>g_key_file_get_integer ()</h3>
|
1177
|
+
<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>,
|
1178
|
+
<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>,
|
1179
|
+
<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>,
|
1180
|
+
<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>
|
1181
|
+
<p>
|
1182
|
+
Returns the value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as an
|
1183
|
+
integer.
|
1184
|
+
</p>
|
1185
|
+
<p>
|
1186
|
+
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
|
1187
|
+
<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
|
1188
|
+
with <em class="parameter"><code>key</code></em> cannot be interpreted as an integer then 0 is returned
|
1189
|
+
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>.
|
1190
|
+
</p>
|
1191
|
+
<div class="variablelist"><table border="0">
|
1192
|
+
<col align="left" valign="top">
|
1193
|
+
<tbody>
|
1194
|
+
<tr>
|
1195
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1196
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1197
|
+
</td>
|
1198
|
+
</tr>
|
1199
|
+
<tr>
|
1200
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1201
|
+
<td>a group name
|
1202
|
+
</td>
|
1203
|
+
</tr>
|
1204
|
+
<tr>
|
1205
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1206
|
+
<td>a key
|
1207
|
+
</td>
|
1208
|
+
</tr>
|
1209
|
+
<tr>
|
1210
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1211
|
+
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1212
|
+
</td>
|
1213
|
+
</tr>
|
1214
|
+
<tr>
|
1215
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1216
|
+
<td> the value associated with the key as an integer, or
|
1217
|
+
0 if the key was not found or could not be parsed.
|
1218
|
+
|
1219
|
+
</td>
|
1220
|
+
</tr>
|
1221
|
+
</tbody>
|
1222
|
+
</table></div>
|
1223
|
+
<p class="since">Since 2.6</p>
|
1224
|
+
</div>
|
1225
|
+
<hr>
|
1226
|
+
<div class="refsect2" title="g_key_file_get_double ()">
|
1227
|
+
<a name="g-key-file-get-double"></a><h3>g_key_file_get_double ()</h3>
|
1228
|
+
<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>,
|
1229
|
+
<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>,
|
1230
|
+
<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>,
|
1231
|
+
<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>
|
1232
|
+
<p>
|
1233
|
+
Returns the value associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as a
|
1234
|
+
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.
|
1235
|
+
</p>
|
1236
|
+
<p>
|
1237
|
+
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
|
1238
|
+
<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
|
1239
|
+
with <em class="parameter"><code>key</code></em> cannot be interpreted as a double then 0.0 is returned
|
1240
|
+
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>.
|
1241
|
+
</p>
|
1242
|
+
<div class="variablelist"><table border="0">
|
1243
|
+
<col align="left" valign="top">
|
1244
|
+
<tbody>
|
1245
|
+
<tr>
|
1246
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1247
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1248
|
+
</td>
|
1249
|
+
</tr>
|
1250
|
+
<tr>
|
1251
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1252
|
+
<td>a group name
|
1253
|
+
</td>
|
1254
|
+
</tr>
|
1255
|
+
<tr>
|
1256
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1257
|
+
<td>a key
|
1258
|
+
</td>
|
1259
|
+
</tr>
|
1260
|
+
<tr>
|
1261
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1262
|
+
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1263
|
+
</td>
|
1264
|
+
</tr>
|
1265
|
+
<tr>
|
1266
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1267
|
+
<td> the value associated with the key as a double, or
|
1268
|
+
0.0 if the key was not found or could not be parsed.
|
1269
|
+
|
1270
|
+
</td>
|
1271
|
+
</tr>
|
1272
|
+
</tbody>
|
1273
|
+
</table></div>
|
1274
|
+
<p class="since">Since 2.12</p>
|
1275
|
+
</div>
|
1276
|
+
<hr>
|
1277
|
+
<div class="refsect2" title="g_key_file_get_string_list ()">
|
1278
|
+
<a name="g-key-file-get-string-list"></a><h3>g_key_file_get_string_list ()</h3>
|
1279
|
+
<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>,
|
1280
|
+
<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>,
|
1281
|
+
<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>,
|
1282
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
1283
|
+
<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>
|
1284
|
+
<p>
|
1285
|
+
Returns the values associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1286
|
+
</p>
|
1287
|
+
<p>
|
1288
|
+
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
|
1289
|
+
<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
|
1290
|
+
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
|
1291
|
+
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>.
|
1292
|
+
</p>
|
1293
|
+
<div class="variablelist"><table border="0">
|
1294
|
+
<col align="left" valign="top">
|
1295
|
+
<tbody>
|
1296
|
+
<tr>
|
1297
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1298
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1299
|
+
</td>
|
1300
|
+
</tr>
|
1301
|
+
<tr>
|
1302
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1303
|
+
<td>a group name
|
1304
|
+
</td>
|
1305
|
+
</tr>
|
1306
|
+
<tr>
|
1307
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1308
|
+
<td>a key
|
1309
|
+
</td>
|
1310
|
+
</tr>
|
1311
|
+
<tr>
|
1312
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1313
|
+
<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>
|
1314
|
+
</td>
|
1315
|
+
</tr>
|
1316
|
+
<tr>
|
1317
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1318
|
+
<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>
|
1319
|
+
</td>
|
1320
|
+
</tr>
|
1321
|
+
<tr>
|
1322
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1323
|
+
<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
|
1324
|
+
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>.
|
1325
|
+
|
1326
|
+
</td>
|
1327
|
+
</tr>
|
1328
|
+
</tbody>
|
1329
|
+
</table></div>
|
1330
|
+
<p class="since">Since 2.6</p>
|
1331
|
+
</div>
|
1332
|
+
<hr>
|
1333
|
+
<div class="refsect2" title="g_key_file_get_locale_string_list ()">
|
1334
|
+
<a name="g-key-file-get-locale-string-list"></a><h3>g_key_file_get_locale_string_list ()</h3>
|
1335
|
+
<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>,
|
1336
|
+
<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>,
|
1337
|
+
<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>,
|
1338
|
+
<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>,
|
1339
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
1340
|
+
<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>
|
1341
|
+
<p>
|
1342
|
+
Returns the values associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>
|
1343
|
+
translated in the given <em class="parameter"><code>locale</code></em> if available. If <em class="parameter"><code>locale</code></em> is
|
1344
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then the current locale is assumed.
|
1345
|
+
</p>
|
1346
|
+
<p>
|
1347
|
+
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
|
1348
|
+
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
|
1349
|
+
with <em class="parameter"><code>key</code></em> cannot be interpreted or no suitable translations
|
1350
|
+
can be found then the untranslated values are returned. The
|
1351
|
+
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
|
1352
|
+
be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
1353
|
+
</p>
|
1354
|
+
<div class="variablelist"><table border="0">
|
1355
|
+
<col align="left" valign="top">
|
1356
|
+
<tbody>
|
1357
|
+
<tr>
|
1358
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1359
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1360
|
+
</td>
|
1361
|
+
</tr>
|
1362
|
+
<tr>
|
1363
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1364
|
+
<td>a group name
|
1365
|
+
</td>
|
1366
|
+
</tr>
|
1367
|
+
<tr>
|
1368
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1369
|
+
<td>a key
|
1370
|
+
</td>
|
1371
|
+
</tr>
|
1372
|
+
<tr>
|
1373
|
+
<td><p><span class="term"><em class="parameter"><code>locale</code></em> :</span></p></td>
|
1374
|
+
<td>a locale identifier or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1375
|
+
</td>
|
1376
|
+
</tr>
|
1377
|
+
<tr>
|
1378
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1379
|
+
<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>
|
1380
|
+
</td>
|
1381
|
+
</tr>
|
1382
|
+
<tr>
|
1383
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1384
|
+
<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>
|
1385
|
+
</td>
|
1386
|
+
</tr>
|
1387
|
+
<tr>
|
1388
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1389
|
+
<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
|
1390
|
+
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
|
1391
|
+
with <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a>.
|
1392
|
+
|
1393
|
+
</td>
|
1394
|
+
</tr>
|
1395
|
+
</tbody>
|
1396
|
+
</table></div>
|
1397
|
+
<p class="since">Since 2.6</p>
|
1398
|
+
</div>
|
1399
|
+
<hr>
|
1400
|
+
<div class="refsect2" title="g_key_file_get_boolean_list ()">
|
1401
|
+
<a name="g-key-file-get-boolean-list"></a><h3>g_key_file_get_boolean_list ()</h3>
|
1402
|
+
<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>,
|
1403
|
+
<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>,
|
1404
|
+
<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>,
|
1405
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
1406
|
+
<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>
|
1407
|
+
<p>
|
1408
|
+
Returns the values associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as
|
1409
|
+
booleans.
|
1410
|
+
</p>
|
1411
|
+
<p>
|
1412
|
+
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
|
1413
|
+
<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
|
1414
|
+
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
|
1415
|
+
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>.
|
1416
|
+
</p>
|
1417
|
+
<div class="variablelist"><table border="0">
|
1418
|
+
<col align="left" valign="top">
|
1419
|
+
<tbody>
|
1420
|
+
<tr>
|
1421
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1422
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1423
|
+
</td>
|
1424
|
+
</tr>
|
1425
|
+
<tr>
|
1426
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1427
|
+
<td>a group name
|
1428
|
+
</td>
|
1429
|
+
</tr>
|
1430
|
+
<tr>
|
1431
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1432
|
+
<td>a key
|
1433
|
+
</td>
|
1434
|
+
</tr>
|
1435
|
+
<tr>
|
1436
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1437
|
+
<td>the number of booleans returned
|
1438
|
+
</td>
|
1439
|
+
</tr>
|
1440
|
+
<tr>
|
1441
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1442
|
+
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1443
|
+
</td>
|
1444
|
+
</tr>
|
1445
|
+
<tr>
|
1446
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1447
|
+
<td> the values associated with the key as a list of
|
1448
|
+
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.
|
1449
|
+
|
1450
|
+
</td>
|
1451
|
+
</tr>
|
1452
|
+
</tbody>
|
1453
|
+
</table></div>
|
1454
|
+
<p class="since">Since 2.6</p>
|
1455
|
+
</div>
|
1456
|
+
<hr>
|
1457
|
+
<div class="refsect2" title="g_key_file_get_integer_list ()">
|
1458
|
+
<a name="g-key-file-get-integer-list"></a><h3>g_key_file_get_integer_list ()</h3>
|
1459
|
+
<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>,
|
1460
|
+
<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>,
|
1461
|
+
<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>,
|
1462
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
1463
|
+
<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>
|
1464
|
+
<p>
|
1465
|
+
Returns the values associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as
|
1466
|
+
integers.
|
1467
|
+
</p>
|
1468
|
+
<p>
|
1469
|
+
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
|
1470
|
+
<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
|
1471
|
+
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
|
1472
|
+
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>.
|
1473
|
+
</p>
|
1474
|
+
<div class="variablelist"><table border="0">
|
1475
|
+
<col align="left" valign="top">
|
1476
|
+
<tbody>
|
1477
|
+
<tr>
|
1478
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1479
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1480
|
+
</td>
|
1481
|
+
</tr>
|
1482
|
+
<tr>
|
1483
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1484
|
+
<td>a group name
|
1485
|
+
</td>
|
1486
|
+
</tr>
|
1487
|
+
<tr>
|
1488
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1489
|
+
<td>a key
|
1490
|
+
</td>
|
1491
|
+
</tr>
|
1492
|
+
<tr>
|
1493
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1494
|
+
<td>the number of integers returned
|
1495
|
+
</td>
|
1496
|
+
</tr>
|
1497
|
+
<tr>
|
1498
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1499
|
+
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1500
|
+
</td>
|
1501
|
+
</tr>
|
1502
|
+
<tr>
|
1503
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1504
|
+
<td> the values associated with the key as a list of
|
1505
|
+
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.
|
1506
|
+
|
1507
|
+
</td>
|
1508
|
+
</tr>
|
1509
|
+
</tbody>
|
1510
|
+
</table></div>
|
1511
|
+
<p class="since">Since 2.6</p>
|
1512
|
+
</div>
|
1513
|
+
<hr>
|
1514
|
+
<div class="refsect2" title="g_key_file_get_double_list ()">
|
1515
|
+
<a name="g-key-file-get-double-list"></a><h3>g_key_file_get_double_list ()</h3>
|
1516
|
+
<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>,
|
1517
|
+
<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>,
|
1518
|
+
<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>,
|
1519
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
1520
|
+
<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>
|
1521
|
+
<p>
|
1522
|
+
Returns the values associated with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em> as
|
1523
|
+
doubles.
|
1524
|
+
</p>
|
1525
|
+
<p>
|
1526
|
+
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
|
1527
|
+
<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
|
1528
|
+
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
|
1529
|
+
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>.
|
1530
|
+
</p>
|
1531
|
+
<div class="variablelist"><table border="0">
|
1532
|
+
<col align="left" valign="top">
|
1533
|
+
<tbody>
|
1534
|
+
<tr>
|
1535
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1536
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1537
|
+
</td>
|
1538
|
+
</tr>
|
1539
|
+
<tr>
|
1540
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1541
|
+
<td>a group name
|
1542
|
+
</td>
|
1543
|
+
</tr>
|
1544
|
+
<tr>
|
1545
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1546
|
+
<td>a key
|
1547
|
+
</td>
|
1548
|
+
</tr>
|
1549
|
+
<tr>
|
1550
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1551
|
+
<td>the number of doubles returned
|
1552
|
+
</td>
|
1553
|
+
</tr>
|
1554
|
+
<tr>
|
1555
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1556
|
+
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1557
|
+
</td>
|
1558
|
+
</tr>
|
1559
|
+
<tr>
|
1560
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1561
|
+
<td> the values associated with the key as a list of
|
1562
|
+
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.
|
1563
|
+
|
1564
|
+
</td>
|
1565
|
+
</tr>
|
1566
|
+
</tbody>
|
1567
|
+
</table></div>
|
1568
|
+
<p class="since">Since 2.12</p>
|
1569
|
+
</div>
|
1570
|
+
<hr>
|
1571
|
+
<div class="refsect2" title="g_key_file_get_comment ()">
|
1572
|
+
<a name="g-key-file-get-comment"></a><h3>g_key_file_get_comment ()</h3>
|
1573
|
+
<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>,
|
1574
|
+
<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>,
|
1575
|
+
<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>,
|
1576
|
+
<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>
|
1577
|
+
<p>
|
1578
|
+
Retrieves a comment above <em class="parameter"><code>key</code></em> from <em class="parameter"><code>group_name</code></em>.
|
1579
|
+
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
|
1580
|
+
<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
|
1581
|
+
<em class="parameter"><code>comment</code></em> will be read from above the first group in the file.
|
1582
|
+
</p>
|
1583
|
+
<div class="variablelist"><table border="0">
|
1584
|
+
<col align="left" valign="top">
|
1585
|
+
<tbody>
|
1586
|
+
<tr>
|
1587
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1588
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1589
|
+
</td>
|
1590
|
+
</tr>
|
1591
|
+
<tr>
|
1592
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1593
|
+
<td>a group name, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1594
|
+
</td>
|
1595
|
+
</tr>
|
1596
|
+
<tr>
|
1597
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1598
|
+
<td>a key
|
1599
|
+
</td>
|
1600
|
+
</tr>
|
1601
|
+
<tr>
|
1602
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1603
|
+
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
1604
|
+
</td>
|
1605
|
+
</tr>
|
1606
|
+
<tr>
|
1607
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1608
|
+
<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>
|
1609
|
+
|
1610
|
+
</td>
|
1611
|
+
</tr>
|
1612
|
+
</tbody>
|
1613
|
+
</table></div>
|
1614
|
+
<p class="since">Since 2.6</p>
|
1615
|
+
</div>
|
1616
|
+
<hr>
|
1617
|
+
<div class="refsect2" title="g_key_file_set_value ()">
|
1618
|
+
<a name="g-key-file-set-value"></a><h3>g_key_file_set_value ()</h3>
|
1619
|
+
<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>,
|
1620
|
+
<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>,
|
1621
|
+
<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>,
|
1622
|
+
<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>
|
1623
|
+
<p>
|
1624
|
+
Associates a new value with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1625
|
+
</p>
|
1626
|
+
<p>
|
1627
|
+
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
|
1628
|
+
be found then it is created. To set an UTF-8 string which may contain
|
1629
|
+
characters that need escaping (such as newlines or spaces), use
|
1630
|
+
<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>.
|
1631
|
+
</p>
|
1632
|
+
<div class="variablelist"><table border="0">
|
1633
|
+
<col align="left" valign="top">
|
1634
|
+
<tbody>
|
1635
|
+
<tr>
|
1636
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1637
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1638
|
+
</td>
|
1639
|
+
</tr>
|
1640
|
+
<tr>
|
1641
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1642
|
+
<td>a group name
|
1643
|
+
</td>
|
1644
|
+
</tr>
|
1645
|
+
<tr>
|
1646
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1647
|
+
<td>a key
|
1648
|
+
</td>
|
1649
|
+
</tr>
|
1650
|
+
<tr>
|
1651
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1652
|
+
<td>a string
|
1653
|
+
</td>
|
1654
|
+
</tr>
|
1655
|
+
</tbody>
|
1656
|
+
</table></div>
|
1657
|
+
<p class="since">Since 2.6</p>
|
1658
|
+
</div>
|
1659
|
+
<hr>
|
1660
|
+
<div class="refsect2" title="g_key_file_set_string ()">
|
1661
|
+
<a name="g-key-file-set-string"></a><h3>g_key_file_set_string ()</h3>
|
1662
|
+
<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>,
|
1663
|
+
<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>,
|
1664
|
+
<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>,
|
1665
|
+
<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>
|
1666
|
+
<p>
|
1667
|
+
Associates a new string value with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1668
|
+
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1669
|
+
If <em class="parameter"><code>group_name</code></em> cannot be found then it is created.
|
1670
|
+
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
|
1671
|
+
that need escaping, such as newlines.
|
1672
|
+
</p>
|
1673
|
+
<div class="variablelist"><table border="0">
|
1674
|
+
<col align="left" valign="top">
|
1675
|
+
<tbody>
|
1676
|
+
<tr>
|
1677
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1678
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1679
|
+
</td>
|
1680
|
+
</tr>
|
1681
|
+
<tr>
|
1682
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1683
|
+
<td>a group name
|
1684
|
+
</td>
|
1685
|
+
</tr>
|
1686
|
+
<tr>
|
1687
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1688
|
+
<td>a key
|
1689
|
+
</td>
|
1690
|
+
</tr>
|
1691
|
+
<tr>
|
1692
|
+
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1693
|
+
<td>a string
|
1694
|
+
</td>
|
1695
|
+
</tr>
|
1696
|
+
</tbody>
|
1697
|
+
</table></div>
|
1698
|
+
<p class="since">Since 2.6</p>
|
1699
|
+
</div>
|
1700
|
+
<hr>
|
1701
|
+
<div class="refsect2" title="g_key_file_set_locale_string ()">
|
1702
|
+
<a name="g-key-file-set-locale-string"></a><h3>g_key_file_set_locale_string ()</h3>
|
1703
|
+
<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>,
|
1704
|
+
<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>,
|
1705
|
+
<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>,
|
1706
|
+
<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>,
|
1707
|
+
<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>
|
1708
|
+
<p>
|
1709
|
+
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>.
|
1710
|
+
If the translation for <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1711
|
+
</p>
|
1712
|
+
<div class="variablelist"><table border="0">
|
1713
|
+
<col align="left" valign="top">
|
1714
|
+
<tbody>
|
1715
|
+
<tr>
|
1716
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1717
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1718
|
+
</td>
|
1719
|
+
</tr>
|
1720
|
+
<tr>
|
1721
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1722
|
+
<td>a group name
|
1723
|
+
</td>
|
1724
|
+
</tr>
|
1725
|
+
<tr>
|
1726
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1727
|
+
<td>a key
|
1728
|
+
</td>
|
1729
|
+
</tr>
|
1730
|
+
<tr>
|
1731
|
+
<td><p><span class="term"><em class="parameter"><code>locale</code></em> :</span></p></td>
|
1732
|
+
<td>a locale identifier
|
1733
|
+
</td>
|
1734
|
+
</tr>
|
1735
|
+
<tr>
|
1736
|
+
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1737
|
+
<td>a string
|
1738
|
+
</td>
|
1739
|
+
</tr>
|
1740
|
+
</tbody>
|
1741
|
+
</table></div>
|
1742
|
+
<p class="since">Since 2.6</p>
|
1743
|
+
</div>
|
1744
|
+
<hr>
|
1745
|
+
<div class="refsect2" title="g_key_file_set_boolean ()">
|
1746
|
+
<a name="g-key-file-set-boolean"></a><h3>g_key_file_set_boolean ()</h3>
|
1747
|
+
<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>,
|
1748
|
+
<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>,
|
1749
|
+
<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>,
|
1750
|
+
<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>
|
1751
|
+
<p>
|
1752
|
+
Associates a new boolean value with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1753
|
+
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1754
|
+
</p>
|
1755
|
+
<div class="variablelist"><table border="0">
|
1756
|
+
<col align="left" valign="top">
|
1757
|
+
<tbody>
|
1758
|
+
<tr>
|
1759
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1760
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1761
|
+
</td>
|
1762
|
+
</tr>
|
1763
|
+
<tr>
|
1764
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1765
|
+
<td>a group name
|
1766
|
+
</td>
|
1767
|
+
</tr>
|
1768
|
+
<tr>
|
1769
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1770
|
+
<td>a key
|
1771
|
+
</td>
|
1772
|
+
</tr>
|
1773
|
+
<tr>
|
1774
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1775
|
+
<td>
|
1776
|
+
<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>
|
1777
|
+
</td>
|
1778
|
+
</tr>
|
1779
|
+
</tbody>
|
1780
|
+
</table></div>
|
1781
|
+
<p class="since">Since 2.6</p>
|
1782
|
+
</div>
|
1783
|
+
<hr>
|
1784
|
+
<div class="refsect2" title="g_key_file_set_integer ()">
|
1785
|
+
<a name="g-key-file-set-integer"></a><h3>g_key_file_set_integer ()</h3>
|
1786
|
+
<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>,
|
1787
|
+
<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>,
|
1788
|
+
<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>,
|
1789
|
+
<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>
|
1790
|
+
<p>
|
1791
|
+
Associates a new integer value with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1792
|
+
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1793
|
+
</p>
|
1794
|
+
<div class="variablelist"><table border="0">
|
1795
|
+
<col align="left" valign="top">
|
1796
|
+
<tbody>
|
1797
|
+
<tr>
|
1798
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1799
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1800
|
+
</td>
|
1801
|
+
</tr>
|
1802
|
+
<tr>
|
1803
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1804
|
+
<td>a group name
|
1805
|
+
</td>
|
1806
|
+
</tr>
|
1807
|
+
<tr>
|
1808
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1809
|
+
<td>a key
|
1810
|
+
</td>
|
1811
|
+
</tr>
|
1812
|
+
<tr>
|
1813
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1814
|
+
<td>an integer value
|
1815
|
+
</td>
|
1816
|
+
</tr>
|
1817
|
+
</tbody>
|
1818
|
+
</table></div>
|
1819
|
+
<p class="since">Since 2.6</p>
|
1820
|
+
</div>
|
1821
|
+
<hr>
|
1822
|
+
<div class="refsect2" title="g_key_file_set_double ()">
|
1823
|
+
<a name="g-key-file-set-double"></a><h3>g_key_file_set_double ()</h3>
|
1824
|
+
<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>,
|
1825
|
+
<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>,
|
1826
|
+
<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>,
|
1827
|
+
<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>
|
1828
|
+
<p>
|
1829
|
+
Associates a new double value with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1830
|
+
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1831
|
+
</p>
|
1832
|
+
<div class="variablelist"><table border="0">
|
1833
|
+
<col align="left" valign="top">
|
1834
|
+
<tbody>
|
1835
|
+
<tr>
|
1836
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1837
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1838
|
+
</td>
|
1839
|
+
</tr>
|
1840
|
+
<tr>
|
1841
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1842
|
+
<td>a group name
|
1843
|
+
</td>
|
1844
|
+
</tr>
|
1845
|
+
<tr>
|
1846
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1847
|
+
<td>a key
|
1848
|
+
</td>
|
1849
|
+
</tr>
|
1850
|
+
<tr>
|
1851
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1852
|
+
<td>an double value
|
1853
|
+
</td>
|
1854
|
+
</tr>
|
1855
|
+
</tbody>
|
1856
|
+
</table></div>
|
1857
|
+
<p class="since">Since 2.12</p>
|
1858
|
+
</div>
|
1859
|
+
<hr>
|
1860
|
+
<div class="refsect2" title="g_key_file_set_string_list ()">
|
1861
|
+
<a name="g-key-file-set-string-list"></a><h3>g_key_file_set_string_list ()</h3>
|
1862
|
+
<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>,
|
1863
|
+
<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>,
|
1864
|
+
<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>,
|
1865
|
+
<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>,
|
1866
|
+
<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>
|
1867
|
+
<p>
|
1868
|
+
Associates a list of string values for <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1869
|
+
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1870
|
+
If <em class="parameter"><code>group_name</code></em> cannot be found then it is created.
|
1871
|
+
</p>
|
1872
|
+
<div class="variablelist"><table border="0">
|
1873
|
+
<col align="left" valign="top">
|
1874
|
+
<tbody>
|
1875
|
+
<tr>
|
1876
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1877
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1878
|
+
</td>
|
1879
|
+
</tr>
|
1880
|
+
<tr>
|
1881
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1882
|
+
<td>a group name
|
1883
|
+
</td>
|
1884
|
+
</tr>
|
1885
|
+
<tr>
|
1886
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1887
|
+
<td>a key
|
1888
|
+
</td>
|
1889
|
+
</tr>
|
1890
|
+
<tr>
|
1891
|
+
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1892
|
+
<td>an array of string values
|
1893
|
+
</td>
|
1894
|
+
</tr>
|
1895
|
+
<tr>
|
1896
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1897
|
+
<td>number of string values in <em class="parameter"><code>list</code></em>
|
1898
|
+
</td>
|
1899
|
+
</tr>
|
1900
|
+
</tbody>
|
1901
|
+
</table></div>
|
1902
|
+
<p class="since">Since 2.6</p>
|
1903
|
+
</div>
|
1904
|
+
<hr>
|
1905
|
+
<div class="refsect2" title="g_key_file_set_locale_string_list ()">
|
1906
|
+
<a name="g-key-file-set-locale-string-list"></a><h3>g_key_file_set_locale_string_list ()</h3>
|
1907
|
+
<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>,
|
1908
|
+
<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>,
|
1909
|
+
<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>,
|
1910
|
+
<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>,
|
1911
|
+
<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>,
|
1912
|
+
<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>
|
1913
|
+
<p>
|
1914
|
+
Associates a list of string values for <em class="parameter"><code>key</code></em> and <em class="parameter"><code>locale</code></em> under
|
1915
|
+
<em class="parameter"><code>group_name</code></em>. If the translation for <em class="parameter"><code>key</code></em> cannot be found then
|
1916
|
+
it is created.
|
1917
|
+
</p>
|
1918
|
+
<div class="variablelist"><table border="0">
|
1919
|
+
<col align="left" valign="top">
|
1920
|
+
<tbody>
|
1921
|
+
<tr>
|
1922
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1923
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1924
|
+
</td>
|
1925
|
+
</tr>
|
1926
|
+
<tr>
|
1927
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1928
|
+
<td>a group name
|
1929
|
+
</td>
|
1930
|
+
</tr>
|
1931
|
+
<tr>
|
1932
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1933
|
+
<td>a key
|
1934
|
+
</td>
|
1935
|
+
</tr>
|
1936
|
+
<tr>
|
1937
|
+
<td><p><span class="term"><em class="parameter"><code>locale</code></em> :</span></p></td>
|
1938
|
+
<td>a locale identifier
|
1939
|
+
</td>
|
1940
|
+
</tr>
|
1941
|
+
<tr>
|
1942
|
+
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1943
|
+
<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
|
1944
|
+
</td>
|
1945
|
+
</tr>
|
1946
|
+
<tr>
|
1947
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1948
|
+
<td>the length of <em class="parameter"><code>list</code></em>
|
1949
|
+
</td>
|
1950
|
+
</tr>
|
1951
|
+
</tbody>
|
1952
|
+
</table></div>
|
1953
|
+
<p class="since">Since 2.6</p>
|
1954
|
+
</div>
|
1955
|
+
<hr>
|
1956
|
+
<div class="refsect2" title="g_key_file_set_boolean_list ()">
|
1957
|
+
<a name="g-key-file-set-boolean-list"></a><h3>g_key_file_set_boolean_list ()</h3>
|
1958
|
+
<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>,
|
1959
|
+
<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>,
|
1960
|
+
<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>,
|
1961
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> list[]</code></em>,
|
1962
|
+
<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>
|
1963
|
+
<p>
|
1964
|
+
Associates a list of boolean values with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
1965
|
+
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
1966
|
+
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.
|
1967
|
+
</p>
|
1968
|
+
<div class="variablelist"><table border="0">
|
1969
|
+
<col align="left" valign="top">
|
1970
|
+
<tbody>
|
1971
|
+
<tr>
|
1972
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
1973
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
1974
|
+
</td>
|
1975
|
+
</tr>
|
1976
|
+
<tr>
|
1977
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
1978
|
+
<td>a group name
|
1979
|
+
</td>
|
1980
|
+
</tr>
|
1981
|
+
<tr>
|
1982
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1983
|
+
<td>a key
|
1984
|
+
</td>
|
1985
|
+
</tr>
|
1986
|
+
<tr>
|
1987
|
+
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1988
|
+
<td>an array of boolean values
|
1989
|
+
</td>
|
1990
|
+
</tr>
|
1991
|
+
<tr>
|
1992
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1993
|
+
<td>length of <em class="parameter"><code>list</code></em>
|
1994
|
+
</td>
|
1995
|
+
</tr>
|
1996
|
+
</tbody>
|
1997
|
+
</table></div>
|
1998
|
+
<p class="since">Since 2.6</p>
|
1999
|
+
</div>
|
2000
|
+
<hr>
|
2001
|
+
<div class="refsect2" title="g_key_file_set_integer_list ()">
|
2002
|
+
<a name="g-key-file-set-integer-list"></a><h3>g_key_file_set_integer_list ()</h3>
|
2003
|
+
<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>,
|
2004
|
+
<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>,
|
2005
|
+
<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>,
|
2006
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> list[]</code></em>,
|
2007
|
+
<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>
|
2008
|
+
<p>
|
2009
|
+
Associates a list of integer values with <em class="parameter"><code>key</code></em> under <em class="parameter"><code>group_name</code></em>.
|
2010
|
+
If <em class="parameter"><code>key</code></em> cannot be found then it is created.
|
2011
|
+
</p>
|
2012
|
+
<div class="variablelist"><table border="0">
|
2013
|
+
<col align="left" valign="top">
|
2014
|
+
<tbody>
|
2015
|
+
<tr>
|
2016
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2017
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2018
|
+
</td>
|
2019
|
+
</tr>
|
2020
|
+
<tr>
|
2021
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2022
|
+
<td>a group name
|
2023
|
+
</td>
|
2024
|
+
</tr>
|
2025
|
+
<tr>
|
2026
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2027
|
+
<td>a key
|
2028
|
+
</td>
|
2029
|
+
</tr>
|
2030
|
+
<tr>
|
2031
|
+
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
2032
|
+
<td>an array of integer values
|
2033
|
+
</td>
|
2034
|
+
</tr>
|
2035
|
+
<tr>
|
2036
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2037
|
+
<td>number of integer values in <em class="parameter"><code>list</code></em>
|
2038
|
+
</td>
|
2039
|
+
</tr>
|
2040
|
+
</tbody>
|
2041
|
+
</table></div>
|
2042
|
+
<p class="since">Since 2.6</p>
|
2043
|
+
</div>
|
2044
|
+
<hr>
|
2045
|
+
<div class="refsect2" title="g_key_file_set_double_list ()">
|
2046
|
+
<a name="g-key-file-set-double-list"></a><h3>g_key_file_set_double_list ()</h3>
|
2047
|
+
<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>,
|
2048
|
+
<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>,
|
2049
|
+
<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>,
|
2050
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> list[]</code></em>,
|
2051
|
+
<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>
|
2052
|
+
<p>
|
2053
|
+
Associates a list of double values with <em class="parameter"><code>key</code></em> under
|
2054
|
+
<em class="parameter"><code>group_name</code></em>. If <em class="parameter"><code>key</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 double 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 double values in <em class="parameter"><code>list</code></em>
|
2082
|
+
</td>
|
2083
|
+
</tr>
|
2084
|
+
</tbody>
|
2085
|
+
</table></div>
|
2086
|
+
<p class="since">Since 2.12</p>
|
2087
|
+
</div>
|
2088
|
+
<hr>
|
2089
|
+
<div class="refsect2" title="g_key_file_set_comment ()">
|
2090
|
+
<a name="g-key-file-set-comment"></a><h3>g_key_file_set_comment ()</h3>
|
2091
|
+
<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>,
|
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> *comment</code></em>,
|
2095
|
+
<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>
|
2096
|
+
<p>
|
2097
|
+
Places a comment above <em class="parameter"><code>key</code></em> from <em class="parameter"><code>group_name</code></em>.
|
2098
|
+
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>.
|
2099
|
+
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
|
2100
|
+
written above the first group in the file.
|
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, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
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>comment</code></em> :</span></p></td>
|
2122
|
+
<td>a comment
|
2123
|
+
</td>
|
2124
|
+
</tr>
|
2125
|
+
<tr>
|
2126
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2127
|
+
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
2128
|
+
</td>
|
2129
|
+
</tr>
|
2130
|
+
<tr>
|
2131
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2132
|
+
<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
|
2133
|
+
|
2134
|
+
</td>
|
2135
|
+
</tr>
|
2136
|
+
</tbody>
|
2137
|
+
</table></div>
|
2138
|
+
<p class="since">Since 2.6</p>
|
2139
|
+
</div>
|
2140
|
+
<hr>
|
2141
|
+
<div class="refsect2" title="g_key_file_remove_group ()">
|
2142
|
+
<a name="g-key-file-remove-group"></a><h3>g_key_file_remove_group ()</h3>
|
2143
|
+
<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>,
|
2144
|
+
<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>,
|
2145
|
+
<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>
|
2146
|
+
<p>
|
2147
|
+
Removes the specified group, <em class="parameter"><code>group_name</code></em>,
|
2148
|
+
from the key file.
|
2149
|
+
</p>
|
2150
|
+
<div class="variablelist"><table border="0">
|
2151
|
+
<col align="left" valign="top">
|
2152
|
+
<tbody>
|
2153
|
+
<tr>
|
2154
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2155
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2156
|
+
</td>
|
2157
|
+
</tr>
|
2158
|
+
<tr>
|
2159
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2160
|
+
<td>a group name
|
2161
|
+
</td>
|
2162
|
+
</tr>
|
2163
|
+
<tr>
|
2164
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2165
|
+
<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>
|
2166
|
+
</td>
|
2167
|
+
</tr>
|
2168
|
+
<tr>
|
2169
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2170
|
+
<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
|
2171
|
+
|
2172
|
+
</td>
|
2173
|
+
</tr>
|
2174
|
+
</tbody>
|
2175
|
+
</table></div>
|
2176
|
+
<p class="since">Since 2.6</p>
|
2177
|
+
</div>
|
2178
|
+
<hr>
|
2179
|
+
<div class="refsect2" title="g_key_file_remove_key ()">
|
2180
|
+
<a name="g-key-file-remove-key"></a><h3>g_key_file_remove_key ()</h3>
|
2181
|
+
<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>,
|
2182
|
+
<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>,
|
2183
|
+
<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>,
|
2184
|
+
<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>
|
2185
|
+
<p>
|
2186
|
+
Removes <em class="parameter"><code>key</code></em> in <em class="parameter"><code>group_name</code></em> from the key file.
|
2187
|
+
</p>
|
2188
|
+
<div class="variablelist"><table border="0">
|
2189
|
+
<col align="left" valign="top">
|
2190
|
+
<tbody>
|
2191
|
+
<tr>
|
2192
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2193
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2194
|
+
</td>
|
2195
|
+
</tr>
|
2196
|
+
<tr>
|
2197
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2198
|
+
<td>a group name
|
2199
|
+
</td>
|
2200
|
+
</tr>
|
2201
|
+
<tr>
|
2202
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2203
|
+
<td>a key name to remove
|
2204
|
+
</td>
|
2205
|
+
</tr>
|
2206
|
+
<tr>
|
2207
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2208
|
+
<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>
|
2209
|
+
</td>
|
2210
|
+
</tr>
|
2211
|
+
<tr>
|
2212
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2213
|
+
<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
|
2214
|
+
|
2215
|
+
</td>
|
2216
|
+
</tr>
|
2217
|
+
</tbody>
|
2218
|
+
</table></div>
|
2219
|
+
<p class="since">Since 2.6</p>
|
2220
|
+
</div>
|
2221
|
+
<hr>
|
2222
|
+
<div class="refsect2" title="g_key_file_remove_comment ()">
|
2223
|
+
<a name="g-key-file-remove-comment"></a><h3>g_key_file_remove_comment ()</h3>
|
2224
|
+
<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>,
|
2225
|
+
<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>,
|
2226
|
+
<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>,
|
2227
|
+
<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>
|
2228
|
+
<p>
|
2229
|
+
Removes a comment above <em class="parameter"><code>key</code></em> from <em class="parameter"><code>group_name</code></em>.
|
2230
|
+
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>.
|
2231
|
+
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
|
2232
|
+
be removed above the first group in the file.
|
2233
|
+
</p>
|
2234
|
+
<div class="variablelist"><table border="0">
|
2235
|
+
<col align="left" valign="top">
|
2236
|
+
<tbody>
|
2237
|
+
<tr>
|
2238
|
+
<td><p><span class="term"><em class="parameter"><code>key_file</code></em> :</span></p></td>
|
2239
|
+
<td>a <a class="link" href="glib-Key-value-file-parser.html#GKeyFile" title="GKeyFile"><span class="type">GKeyFile</span></a>
|
2240
|
+
</td>
|
2241
|
+
</tr>
|
2242
|
+
<tr>
|
2243
|
+
<td><p><span class="term"><em class="parameter"><code>group_name</code></em> :</span></p></td>
|
2244
|
+
<td>a group name, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2245
|
+
</td>
|
2246
|
+
</tr>
|
2247
|
+
<tr>
|
2248
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2249
|
+
<td>a key
|
2250
|
+
</td>
|
2251
|
+
</tr>
|
2252
|
+
<tr>
|
2253
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2254
|
+
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
|
2255
|
+
</td>
|
2256
|
+
</tr>
|
2257
|
+
<tr>
|
2258
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2259
|
+
<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
|
2260
|
+
|
2261
|
+
</td>
|
2262
|
+
</tr>
|
2263
|
+
</tbody>
|
2264
|
+
</table></div>
|
2265
|
+
<p class="since">Since 2.6</p>
|
2266
|
+
</div>
|
2267
|
+
<hr>
|
2268
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_GROUP">
|
2269
|
+
<a name="G-KEY-FILE-DESKTOP-GROUP:CAPS"></a><h3>G_KEY_FILE_DESKTOP_GROUP</h3>
|
2270
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_GROUP "Desktop Entry"
|
2271
|
+
</pre>
|
2272
|
+
<p>
|
2273
|
+
The name of the main group of a desktop entry file, as defined in the
|
2274
|
+
<a class="ulink" href="http://freedesktop.org/Standards/desktop-entry-spec" target="_top">Desktop
|
2275
|
+
Entry Specification</a>. Consult the specification for more
|
2276
|
+
details about the meanings of the keys below.
|
2277
|
+
</p>
|
2278
|
+
<p class="since">Since 2.14</p>
|
2279
|
+
</div>
|
2280
|
+
<hr>
|
2281
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_TYPE">
|
2282
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-TYPE:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_TYPE</h3>
|
2283
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_TYPE "Type"
|
2284
|
+
</pre>
|
2285
|
+
<p>
|
2286
|
+
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>
|
2287
|
+
whose value is a string giving the type of the desktop entry. Usually
|
2288
|
+
<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>,
|
2289
|
+
<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
|
2290
|
+
<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>.
|
2291
|
+
</p>
|
2292
|
+
<p class="since">Since 2.14</p>
|
2293
|
+
</div>
|
2294
|
+
<hr>
|
2295
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_VERSION">
|
2296
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-VERSION:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_VERSION</h3>
|
2297
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_VERSION "Version"
|
2298
|
+
</pre>
|
2299
|
+
<p>
|
2300
|
+
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>
|
2301
|
+
whose value is a string giving the version of the Desktop
|
2302
|
+
Entry Specification used for the desktop entry file.
|
2303
|
+
</p>
|
2304
|
+
<p class="since">Since 2.14</p>
|
2305
|
+
</div>
|
2306
|
+
<hr>
|
2307
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_NAME">
|
2308
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-NAME:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_NAME</h3>
|
2309
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_NAME "Name"
|
2310
|
+
</pre>
|
2311
|
+
<p>
|
2312
|
+
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>
|
2313
|
+
whose value is a localized string giving the specific name of the
|
2314
|
+
desktop entry.
|
2315
|
+
</p>
|
2316
|
+
<p class="since">Since 2.14</p>
|
2317
|
+
</div>
|
2318
|
+
<hr>
|
2319
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME">
|
2320
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-GENERIC-NAME:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME</h3>
|
2321
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME "GenericName"
|
2322
|
+
</pre>
|
2323
|
+
<p>
|
2324
|
+
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>
|
2325
|
+
whose value is a localized string giving the generic name of the
|
2326
|
+
desktop entry.
|
2327
|
+
</p>
|
2328
|
+
<p class="since">Since 2.14</p>
|
2329
|
+
</div>
|
2330
|
+
<hr>
|
2331
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY">
|
2332
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-NO-DISPLAY:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY</h3>
|
2333
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY "NoDisplay"
|
2334
|
+
</pre>
|
2335
|
+
<p>
|
2336
|
+
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>
|
2337
|
+
whose value is a boolean stating whether the desktop entry should be
|
2338
|
+
shown in menus.
|
2339
|
+
</p>
|
2340
|
+
<p class="since">Since 2.14</p>
|
2341
|
+
</div>
|
2342
|
+
<hr>
|
2343
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_COMMENT">
|
2344
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-COMMENT:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_COMMENT</h3>
|
2345
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_COMMENT "Comment"
|
2346
|
+
</pre>
|
2347
|
+
<p>
|
2348
|
+
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>
|
2349
|
+
whose value is a localized string giving the tooltip for the desktop
|
2350
|
+
entry.
|
2351
|
+
</p>
|
2352
|
+
<p class="since">Since 2.14</p>
|
2353
|
+
</div>
|
2354
|
+
<hr>
|
2355
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_ICON">
|
2356
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-ICON:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_ICON</h3>
|
2357
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_ICON "Icon"
|
2358
|
+
</pre>
|
2359
|
+
<p>
|
2360
|
+
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>
|
2361
|
+
whose value is a localized string giving the name of the icon to be
|
2362
|
+
displayed for the desktop entry.
|
2363
|
+
</p>
|
2364
|
+
<p class="since">Since 2.14</p>
|
2365
|
+
</div>
|
2366
|
+
<hr>
|
2367
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_HIDDEN">
|
2368
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-HIDDEN:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_HIDDEN</h3>
|
2369
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_HIDDEN "Hidden"
|
2370
|
+
</pre>
|
2371
|
+
<p>
|
2372
|
+
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>
|
2373
|
+
whose value is a boolean stating whether the desktop entry has been
|
2374
|
+
deleted by the user.
|
2375
|
+
</p>
|
2376
|
+
<p class="since">Since 2.14</p>
|
2377
|
+
</div>
|
2378
|
+
<hr>
|
2379
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN">
|
2380
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-ONLY-SHOW-IN:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN</h3>
|
2381
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN "OnlyShowIn"
|
2382
|
+
</pre>
|
2383
|
+
<p>
|
2384
|
+
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>
|
2385
|
+
whose value is a list of strings identifying the environments that
|
2386
|
+
should display the desktop entry.
|
2387
|
+
</p>
|
2388
|
+
<p class="since">Since 2.14</p>
|
2389
|
+
</div>
|
2390
|
+
<hr>
|
2391
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN">
|
2392
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-NOT-SHOW-IN:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN</h3>
|
2393
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN "NotShowIn"
|
2394
|
+
</pre>
|
2395
|
+
<p>
|
2396
|
+
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>
|
2397
|
+
whose value is a list of strings identifying the environments that
|
2398
|
+
should not display the desktop entry.
|
2399
|
+
</p>
|
2400
|
+
<p class="since">Since 2.14</p>
|
2401
|
+
</div>
|
2402
|
+
<hr>
|
2403
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_TRY_EXEC">
|
2404
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-TRY-EXEC:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_TRY_EXEC</h3>
|
2405
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_TRY_EXEC "TryExec"
|
2406
|
+
</pre>
|
2407
|
+
<p>
|
2408
|
+
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>
|
2409
|
+
whose value is a string giving the file name of a binary on disk
|
2410
|
+
used to determine if the program is actually installed. It is only
|
2411
|
+
valid for desktop entries with the <code class="literal">Application</code>
|
2412
|
+
type.
|
2413
|
+
</p>
|
2414
|
+
<p class="since">Since 2.14</p>
|
2415
|
+
</div>
|
2416
|
+
<hr>
|
2417
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_EXEC">
|
2418
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-EXEC:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_EXEC</h3>
|
2419
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_EXEC "Exec"
|
2420
|
+
</pre>
|
2421
|
+
<p>
|
2422
|
+
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>
|
2423
|
+
whose value is a string giving the command line to execute. It is only
|
2424
|
+
valid for desktop entries with the <code class="literal">Application</code>
|
2425
|
+
type.
|
2426
|
+
</p>
|
2427
|
+
<p class="since">Since 2.14</p>
|
2428
|
+
</div>
|
2429
|
+
<hr>
|
2430
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_PATH">
|
2431
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-PATH:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_PATH</h3>
|
2432
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_PATH "Path"
|
2433
|
+
</pre>
|
2434
|
+
<p>
|
2435
|
+
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>
|
2436
|
+
whose value is a string containing the working directory to run the
|
2437
|
+
program in. It is only valid for desktop entries with the
|
2438
|
+
<code class="literal">Application</code> type.
|
2439
|
+
</p>
|
2440
|
+
<p class="since">Since 2.14</p>
|
2441
|
+
</div>
|
2442
|
+
<hr>
|
2443
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_TERMINAL">
|
2444
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-TERMINAL:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_TERMINAL</h3>
|
2445
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_TERMINAL "Terminal"
|
2446
|
+
</pre>
|
2447
|
+
<p>
|
2448
|
+
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>
|
2449
|
+
whose value is a boolean stating whether the program should be
|
2450
|
+
run in a terminal window. It is only valid for desktop entries with
|
2451
|
+
the <code class="literal">Application</code> type.
|
2452
|
+
</p>
|
2453
|
+
<p class="since">Since 2.14</p>
|
2454
|
+
</div>
|
2455
|
+
<hr>
|
2456
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_MIME_TYPE">
|
2457
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-MIME-TYPE:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_MIME_TYPE</h3>
|
2458
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_MIME_TYPE "MimeType"
|
2459
|
+
</pre>
|
2460
|
+
<p>
|
2461
|
+
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>
|
2462
|
+
whose value is a list of strings giving the MIME types supported
|
2463
|
+
by this desktop entry.
|
2464
|
+
</p>
|
2465
|
+
<p class="since">Since 2.14</p>
|
2466
|
+
</div>
|
2467
|
+
<hr>
|
2468
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_CATEGORIES">
|
2469
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-CATEGORIES:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_CATEGORIES</h3>
|
2470
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_CATEGORIES "Categories"
|
2471
|
+
</pre>
|
2472
|
+
<p>
|
2473
|
+
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>
|
2474
|
+
whose value is a list of strings giving the categories in which the
|
2475
|
+
desktop entry should be shown in a menu.
|
2476
|
+
</p>
|
2477
|
+
<p class="since">Since 2.14</p>
|
2478
|
+
</div>
|
2479
|
+
<hr>
|
2480
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY">
|
2481
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-STARTUP-NOTIFY:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY</h3>
|
2482
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY "StartupNotify"
|
2483
|
+
</pre>
|
2484
|
+
<p>
|
2485
|
+
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>
|
2486
|
+
whose value is a boolean stating whether the application supports
|
2487
|
+
the <a class="ulink" href="http://www.freedesktop.org/Standards/startup-notification-spec" target="_top">Startup
|
2488
|
+
Notification Protocol Specification</a>.
|
2489
|
+
</p>
|
2490
|
+
<p class="since">Since 2.14</p>
|
2491
|
+
</div>
|
2492
|
+
<hr>
|
2493
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS">
|
2494
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-STARTUP-WM-CLASS:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS</h3>
|
2495
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS "StartupWMClass"
|
2496
|
+
</pre>
|
2497
|
+
<p>
|
2498
|
+
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>
|
2499
|
+
whose value is string identifying the WM class or name hint of a
|
2500
|
+
window that the application will create, which can be used to emulate
|
2501
|
+
Startup Notification with older applications.
|
2502
|
+
</p>
|
2503
|
+
<p class="since">Since 2.14</p>
|
2504
|
+
</div>
|
2505
|
+
<hr>
|
2506
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_KEY_URL">
|
2507
|
+
<a name="G-KEY-FILE-DESKTOP-KEY-URL:CAPS"></a><h3>G_KEY_FILE_DESKTOP_KEY_URL</h3>
|
2508
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_KEY_URL "URL"
|
2509
|
+
</pre>
|
2510
|
+
<p>
|
2511
|
+
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>
|
2512
|
+
whose value is a string giving the URL to access. It is only valid
|
2513
|
+
for desktop entries with the <code class="literal">Link</code> type.
|
2514
|
+
</p>
|
2515
|
+
<p class="since">Since 2.14</p>
|
2516
|
+
</div>
|
2517
|
+
<hr>
|
2518
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_TYPE_APPLICATION">
|
2519
|
+
<a name="G-KEY-FILE-DESKTOP-TYPE-APPLICATION:CAPS"></a><h3>G_KEY_FILE_DESKTOP_TYPE_APPLICATION</h3>
|
2520
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_TYPE_APPLICATION "Application"
|
2521
|
+
</pre>
|
2522
|
+
<p>
|
2523
|
+
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>
|
2524
|
+
key for desktop entries representing applications.
|
2525
|
+
</p>
|
2526
|
+
<p class="since">Since 2.14</p>
|
2527
|
+
</div>
|
2528
|
+
<hr>
|
2529
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_TYPE_LINK">
|
2530
|
+
<a name="G-KEY-FILE-DESKTOP-TYPE-LINK:CAPS"></a><h3>G_KEY_FILE_DESKTOP_TYPE_LINK</h3>
|
2531
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_TYPE_LINK "Link"
|
2532
|
+
</pre>
|
2533
|
+
<p>
|
2534
|
+
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>
|
2535
|
+
key for desktop entries representing links to documents.
|
2536
|
+
</p>
|
2537
|
+
<p class="since">Since 2.14</p>
|
2538
|
+
</div>
|
2539
|
+
<hr>
|
2540
|
+
<div class="refsect2" title="G_KEY_FILE_DESKTOP_TYPE_DIRECTORY">
|
2541
|
+
<a name="G-KEY-FILE-DESKTOP-TYPE-DIRECTORY:CAPS"></a><h3>G_KEY_FILE_DESKTOP_TYPE_DIRECTORY</h3>
|
2542
|
+
<pre class="programlisting">#define G_KEY_FILE_DESKTOP_TYPE_DIRECTORY "Directory"
|
2543
|
+
</pre>
|
2544
|
+
<p>
|
2545
|
+
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>
|
2546
|
+
key for desktop entries representing directories.
|
2547
|
+
</p>
|
2548
|
+
<p class="since">Since 2.14</p>
|
2549
|
+
</div>
|
2550
|
+
</div>
|
2551
|
+
</div>
|
2552
|
+
<div class="footer">
|
2553
|
+
<hr>
|
2554
|
+
Generated by GTK-Doc V1.14</div>
|
2555
|
+
</body>
|
2556
|
+
</html>
|