glib2 3.0.7-x64-mingw32 → 3.0.8-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +24 -12
- data/ext/glib2/extconf.rb +1 -0
- data/ext/glib2/glib2.def +4 -0
- data/ext/glib2/rbglib-variant.c +163 -12
- data/ext/glib2/rbglib.c +31 -8
- data/ext/glib2/rbglib.h +15 -1
- data/ext/glib2/rbglib2conversions.h +3 -0
- data/ext/glib2/rbglib_iochannel.c +0 -3
- data/ext/glib2/rbglib_iochannel_win32_socket.c +0 -1
- data/ext/glib2/rbglib_matchinfo.c +179 -0
- data/ext/glib2/rbglib_regex.c +484 -0
- data/ext/glib2/rbgobj_value.c +7 -1
- data/ext/glib2/rbgprivate.h +2 -0
- data/ext/glib2/rbgutil.c +7 -0
- data/ext/glib2/rbgutil.h +2 -0
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/glib2.rb +2 -1
- data/lib/glib2/regex.rb +29 -0
- data/lib/gnome2/rake/external-package.rb +6 -1
- data/lib/gnome2/rake/package-task.rb +1 -1
- data/lib/gnome2/rake/package.rb +9 -0
- data/lib/gnome2/rake/windows-binary-build-task.rb +35 -11
- data/lib/mkmf-gnome2.rb +3 -1
- data/test/test-match-info.rb +113 -0
- data/test/test-regex.rb +320 -0
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +1 -1
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +2 -2
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
- data/vendor/local/bin/iconv.exe +0 -0
- data/vendor/local/bin/idn.exe +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libcharset-1.dll +0 -0
- data/vendor/local/bin/libffi-6.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/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-30.def +993 -984
- data/vendor/local/bin/libgnutls-30.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/libhogweed-4-2.dll +0 -0
- data/vendor/local/bin/libiconv-2.dll +0 -0
- data/vendor/local/bin/libidn-11.dll +0 -0
- data/vendor/local/bin/libintl-8.dll +0 -0
- data/vendor/local/bin/{libnettle-6-1.dll → libnettle-6-2.dll} +0 -0
- data/vendor/local/bin/libp11-kit-0.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/libtasn1-6.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/bin/p11-kit.exe +0 -0
- data/vendor/local/bin/pcre-config +133 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/trust.exe +0 -0
- data/vendor/local/include/glib-2.0/gio/gdatagrambased.h +144 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +9 -1
- data/vendor/local/include/glib-2.0/gio/gdtlsclientconnection.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gdtlsconnection.h +191 -0
- data/vendor/local/include/glib-2.0/gio/gdtlsserverconnection.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gio-autocleanups.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +69 -13
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +2 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +77 -0
- data/vendor/local/include/glib-2.0/gio/gliststore.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +25 -25
- data/vendor/local/include/glib-2.0/gio/gsocket.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +4 -1
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +7 -0
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +13 -0
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +2 -0
- data/vendor/local/include/glib-2.0/glib/glib-autocleanups.h +12 -4
- data/vendor/local/include/glib-2.0/glib/gmacros.h +46 -10
- data/vendor/local/include/glib-2.0/glib/gmain.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gmem.h +7 -5
- data/vendor/local/include/glib-2.0/glib/gmessages.h +8 -8
- data/vendor/local/include/glib-2.0/glib/gnode.h +2 -2
- data/vendor/local/include/glib-2.0/glib/gpoll.h +2 -9
- data/vendor/local/include/glib-2.0/glib/gsequence.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +15 -2
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gtrashstack.h +10 -57
- data/vendor/local/include/glib-2.0/glib/gtypes.h +61 -6
- data/vendor/local/include/glib-2.0/glib/gunicode.h +15 -1
- data/vendor/local/include/glib-2.0/glib/gutils.h +36 -57
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +59 -10
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +3 -3
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +2 -1
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -7
- data/vendor/local/include/glib-2.0/gobject/gobject-autocleanups.h +0 -1
- data/vendor/local/include/glib-2.0/gobject/gobject.h +8 -4
- data/vendor/local/include/glib-2.0/gobject/gparam.h +5 -2
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +3 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +47 -26
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -0
- data/vendor/local/include/gmp.h +56 -24
- data/vendor/local/include/gnutls/gnutls.h +79 -39
- data/vendor/local/include/gnutls/pkcs11.h +6 -0
- data/vendor/local/include/gnutls/pkcs7.h +17 -4
- data/vendor/local/include/gnutls/x509.h +8 -0
- data/vendor/local/include/libintl.h +1 -1
- data/vendor/local/include/libtasn1.h +1 -1
- data/vendor/local/include/nettle/rsa.h +72 -0
- data/vendor/local/include/nettle/sha3.h +4 -0
- data/vendor/local/include/nettle/version.h +8 -1
- data/vendor/local/include/p11-kit-1/p11-kit/p11-kit.h +1 -0
- data/vendor/local/include/pcre.h +677 -0
- data/vendor/local/include/pcre_scanner.h +172 -0
- data/vendor/local/include/pcre_stringpiece.h +180 -0
- data/vendor/local/include/pcrecpp.h +710 -0
- data/vendor/local/include/pcrecpparg.h +174 -0
- data/vendor/local/include/pcreposix.h +146 -0
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +3 -3
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +4 -16
- data/vendor/local/lib/libasprintf.a +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +5 -5
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +5 -5
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +5 -5
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgmp.la +4 -4
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +4 -4
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +5 -5
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +5 -5
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libidn.la +1 -1
- data/vendor/local/lib/libintl.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libintl.la +2 -2
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.la +1 -1
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +41 -0
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +41 -0
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +41 -0
- data/vendor/local/lib/libtasn1.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/libtasn1.la +1 -1
- data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.la +1 -1
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +3 -3
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gnutls.pc +2 -2
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/hogweed.pc +1 -1
- data/vendor/local/lib/pkgconfig/libidn.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcre.pc +13 -0
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +12 -0
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +13 -0
- data/vendor/local/lib/pkgconfig/libtasn1.pc +1 -1
- data/vendor/local/lib/pkgconfig/nettle.pc +1 -1
- data/vendor/local/lib/pkgconfig/p11-kit-1.pc +1 -1
- data/vendor/local/share/aclocal/glib-gettext.m4 +3 -2
- data/vendor/local/share/doc/pcre/AUTHORS +45 -0
- data/vendor/local/share/doc/pcre/COPYING +5 -0
- data/vendor/local/share/doc/pcre/ChangeLog +5918 -0
- data/vendor/local/share/doc/pcre/LICENCE +93 -0
- data/vendor/local/share/doc/pcre/NEWS +716 -0
- data/vendor/local/share/doc/pcre/README +1002 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +772 -0
- data/vendor/local/share/doc/pcre/html/README.txt +1002 -0
- data/vendor/local/share/doc/pcre/html/index.html +185 -0
- data/vendor/local/share/doc/pcre/html/pcre-config.html +109 -0
- data/vendor/local/share/doc/pcre/html/pcre.html +224 -0
- data/vendor/local/share/doc/pcre/html/pcre16.html +384 -0
- data/vendor/local/share/doc/pcre/html/pcre32.html +382 -0
- data/vendor/local/share/doc/pcre/html/pcre_assign_jit_stack.html +76 -0
- data/vendor/local/share/doc/pcre/html/pcre_compile.html +111 -0
- data/vendor/local/share/doc/pcre/html/pcre_compile2.html +115 -0
- data/vendor/local/share/doc/pcre/html/pcre_config.html +94 -0
- data/vendor/local/share/doc/pcre/html/pcre_copy_named_substring.html +65 -0
- data/vendor/local/share/doc/pcre/html/pcre_copy_substring.html +61 -0
- data/vendor/local/share/doc/pcre/html/pcre_dfa_exec.html +129 -0
- data/vendor/local/share/doc/pcre/html/pcre_exec.html +111 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_study.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_substring.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_substring_list.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_fullinfo.html +118 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_named_substring.html +68 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_stringnumber.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_stringtable_entries.html +60 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_substring.html +64 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_substring_list.html +61 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_exec.html +108 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_stack_alloc.html +55 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_stack_free.html +48 -0
- data/vendor/local/share/doc/pcre/html/pcre_maketables.html +48 -0
- data/vendor/local/share/doc/pcre/html/pcre_pattern_to_host_byte_order.html +58 -0
- data/vendor/local/share/doc/pcre/html/pcre_refcount.html +51 -0
- data/vendor/local/share/doc/pcre/html/pcre_study.html +68 -0
- data/vendor/local/share/doc/pcre/html/pcre_utf16_to_host_byte_order.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_utf32_to_host_byte_order.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_version.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcreapi.html +2922 -0
- data/vendor/local/share/doc/pcre/html/pcrebuild.html +534 -0
- data/vendor/local/share/doc/pcre/html/pcrecallout.html +286 -0
- data/vendor/local/share/doc/pcre/html/pcrecompat.html +235 -0
- data/vendor/local/share/doc/pcre/html/pcrecpp.html +368 -0
- data/vendor/local/share/doc/pcre/html/pcredemo.html +426 -0
- data/vendor/local/share/doc/pcre/html/pcregrep.html +759 -0
- data/vendor/local/share/doc/pcre/html/pcrejit.html +452 -0
- data/vendor/local/share/doc/pcre/html/pcrelimits.html +90 -0
- data/vendor/local/share/doc/pcre/html/pcrematching.html +242 -0
- data/vendor/local/share/doc/pcre/html/pcrepartial.html +509 -0
- data/vendor/local/share/doc/pcre/html/pcrepattern.html +3273 -0
- data/vendor/local/share/doc/pcre/html/pcreperform.html +195 -0
- data/vendor/local/share/doc/pcre/html/pcreposix.html +290 -0
- data/vendor/local/share/doc/pcre/html/pcreprecompile.html +163 -0
- data/vendor/local/share/doc/pcre/html/pcresample.html +110 -0
- data/vendor/local/share/doc/pcre/html/pcrestack.html +225 -0
- data/vendor/local/share/doc/pcre/html/pcresyntax.html +561 -0
- data/vendor/local/share/doc/pcre/html/pcretest.html +1158 -0
- data/vendor/local/share/doc/pcre/html/pcreunicode.html +262 -0
- data/vendor/local/share/doc/pcre/pcre-config.txt +86 -0
- data/vendor/local/share/doc/pcre/pcre.txt +10455 -0
- data/vendor/local/share/doc/pcre/pcregrep.txt +741 -0
- data/vendor/local/share/doc/pcre/pcretest.txt +1087 -0
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.4400.1-gdb.py → home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libglib-2.0.so.0.4800.0-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.4400.1-gdb.py → home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgobject-2.0.so.0.4800.0-gdb.py} +0 -0
- data/vendor/local/share/gettext/ABOUT-NLS +382 -413
- data/vendor/local/share/gettext/its/gschema.its +25 -0
- data/vendor/local/share/gettext/its/gschema.loc +10 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.py +22 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +4 -0
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +58 -64
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +75 -80
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +50 -51
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +72 -97
- data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +7 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +174 -160
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +127 -132
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +90 -92
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +43 -46
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +17 -26
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +12 -17
- data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +10 -11
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +45 -52
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +14 -18
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +20 -21
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +41 -48
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +34 -40
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +337 -258
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +23 -22
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +44 -50
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +143 -158
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +59 -54
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +19 -22
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +25 -27
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +48 -52
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +34 -31
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +15 -17
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +25 -28
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +105 -122
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +32 -39
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +40 -51
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +17 -28
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +766 -0
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +56 -75
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +468 -0
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +1521 -0
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +208 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +16 -19
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +16 -17
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +204 -240
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +13 -15
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +8 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +128 -145
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +8 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +75 -36
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +10 -13
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +41 -43
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +56 -44
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +20 -23
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +103 -118
- data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +39 -47
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +31 -37
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +17 -19
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +32 -44
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +28 -29
- data/vendor/local/share/gtk-doc/html/gio/GListStore.html +80 -35
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +10 -11
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +11 -15
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +138 -145
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +84 -94
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +54 -66
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +34 -42
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +26 -28
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +97 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +18 -23
- data/vendor/local/share/gtk-doc/html/gio/GNotification.html +49 -47
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +39 -56
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +16 -20
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +16 -20
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +33 -20
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +30 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -51
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +17 -19
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +46 -47
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +79 -74
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +12 -18
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +325 -200
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +28 -29
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +46 -49
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +21 -23
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +258 -162
- data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +7 -9
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +470 -281
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +27 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +76 -85
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +118 -72
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +28 -33
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +26 -30
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +180 -62
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +51 -28
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +25 -31
- data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +63 -75
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +49 -54
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +406 -404
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +36 -38
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +30 -31
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +11 -14
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +172 -46
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +96 -37
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +64 -66
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +256 -63
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +150 -49
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +46 -51
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +21 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +21 -26
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +31 -37
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +24 -28
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +43 -47
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +26 -27
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +15 -17
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +21 -6
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +11 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-46.html +211 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +283 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +107 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +459 -8
- data/vendor/local/share/gtk-doc/html/gio/application.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/async.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +29 -172
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +187 -27
- data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +15 -34
- data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +16 -137
- data/vendor/local/share/gtk-doc/html/gio/ch34.html +26 -87
- data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +37 -121
- data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +132 -176
- data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +19 -71
- data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +24 -908
- data/vendor/local/share/gtk-doc/html/gio/{ch33s06.html → ch34s06.html} +9 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch33s07.html → ch34s07.html} +9 -10
- data/vendor/local/share/gtk-doc/html/gio/ch35.html +94 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +141 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +201 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/data-models.html +4 -5
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/extending.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +11 -12
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +199 -200
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +89 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +24 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +77 -87
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +19 -27
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +43 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +47 -52
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +20 -27
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +21 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +9 -12
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +147 -114
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +13 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +2066 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +29 -32
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +16 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +54 -75
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +27 -30
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +11 -8
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +4 -5
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +194 -140
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +6 -7
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -6
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/index.html +41 -45
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +204 -137
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +22 -44
- data/vendor/local/share/gtk-doc/html/gio/networking.html +6 -4
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +20 -5
- data/vendor/local/share/gtk-doc/html/gio/registry.html +32 -0
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/resources.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/settings.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/testing.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/tls.html +12 -4
- data/vendor/local/share/gtk-doc/html/gio/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/utils.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +16 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +7 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +12 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +68 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +68 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +46 -8
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +80 -9
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +68 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +254 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +130 -144
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +19 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +33 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +22 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +89 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +87 -112
- data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +384 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +100 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +83 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +14 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +49 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +141 -156
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +32 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +24 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +28 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +108 -141
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +98 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +89 -112
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +93 -125
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +50 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +189 -171
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +99 -134
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +172 -217
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +32 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +430 -451
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +53 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +12 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +167 -192
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +58 -78
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +14 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +70 -79
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +68 -102
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +166 -183
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +33 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +80 -92
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +101 -119
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +102 -75
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +133 -60
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +192 -162
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +107 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +69 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +12 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +199 -230
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +54 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +15 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +24 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +29 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +187 -173
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +13 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +104 -117
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +62 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +26 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +15 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +13 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +210 -261
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +95 -101
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +306 -268
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +373 -369
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +79 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +316 -319
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +12 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +44 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +20 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +44 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +21 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +200 -220
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +51 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +25 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +6 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +4 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +14 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +44 -59
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +149 -149
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +11 -12
- data/vendor/local/share/gtk-doc/html/glib/index.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +36 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/glib/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +53 -57
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +72 -77
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +19 -20
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +14 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-46.html +34 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +7 -8
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +22 -17
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +85 -135
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +80 -144
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +7 -8
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +59 -75
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +20 -21
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +19 -20
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +68 -89
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +227 -218
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +48 -57
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +125 -96
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +78 -90
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +143 -138
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +226 -285
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +306 -289
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +450 -448
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +22 -23
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +11 -12
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +32 -91
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +134 -133
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +4 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +89 -98
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +119 -112
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +199 -183
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +30 -30
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +32 -33
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +80 -32
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +73 -53
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +52 -50
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +255 -133
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +147 -111
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +65 -122
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +93 -79
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +80 -54
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +82 -87
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +126 -62
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +61 -54
- data/vendor/local/share/gtk-doc/html/gobject/index.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +4 -2
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +10 -11
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +98 -198
- data/vendor/local/share/gtk-doc/html/gobject/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +10 -11
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config-example.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config-files.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building-style.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-commands.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-debugging.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-paths.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-testing.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/gtk-doc.css +9 -6
- data/vendor/local/share/gtk-doc/html/p11-kit/index.html +2 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/index.sgml +22 -0
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Deprecated.html +3 -13
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +3 -14
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +3 -15
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +3 -14
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +3 -18
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +3 -8
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.devhelp2 +22 -1
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.html +2 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/pkcs11-conf.html +7 -8
- data/vendor/local/share/gtk-doc/html/p11-kit/reference.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing-managed.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-disable.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-glib-networking.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-module.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-nss.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust.html +3 -4
- data/vendor/local/share/info/gmp.info +153 -158
- data/vendor/local/share/info/gmp.info-1 +131 -178
- data/vendor/local/share/info/gmp.info-2 +250 -193
- data/vendor/local/share/info/libtasn1.info +2 -2
- data/vendor/local/share/license/gmp/AUTHORS +1 -1
- data/vendor/local/share/license/pcre/AUTHORS +45 -0
- data/vendor/local/share/license/pcre/COPYING +5 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.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/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/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/cs/LC_MESSAGES/gnutls.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/de/LC_MESSAGES/gnutls.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@boldquot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gnutls.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/eu/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/fi/LC_MESSAGES/gnutls.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/fr/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gd/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/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hu/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/it/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kk/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/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gnutls.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/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/oc/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/pl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.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/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/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/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@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/sv/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/th/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/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gnutls.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/vi/LC_MESSAGES/gnutls.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_CN/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.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/asn1Coding.1 +1 -1
- data/vendor/local/share/man/man1/asn1Decoding.1 +1 -1
- data/vendor/local/share/man/man1/asn1Parser.1 +1 -1
- data/vendor/local/share/man/man1/envsubst.1 +1 -1
- data/vendor/local/share/man/man1/gapplication.1 +2 -2
- data/vendor/local/share/man/man1/gdbus-codegen.1 +23 -22
- data/vendor/local/share/man/man1/gdbus.1 +2 -2
- data/vendor/local/share/man/man1/gettext.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/glib-compile-resources.1 +2 -2
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +7 -2
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-gettextize.1 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/share/man/man1/gresource.1 +2 -2
- data/vendor/local/share/man/man1/gsettings.1 +2 -2
- data/vendor/local/share/man/man1/gtester-report.1 +2 -2
- data/vendor/local/share/man/man1/gtester.1 +2 -2
- data/vendor/local/share/man/man1/ngettext.1 +1 -1
- data/vendor/local/share/man/man1/pcre-config.1 +92 -0
- data/vendor/local/share/man/man1/pcregrep.1 +683 -0
- data/vendor/local/share/man/man1/pcretest.1 +1156 -0
- data/vendor/local/share/man/man3/asn1_array2tree.3 +1 -1
- data/vendor/local/share/man/man3/asn1_bit_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_check_version.3 +1 -1
- data/vendor/local/share/man/man3/asn1_copy_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_create_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_decode_simple_ber.3 +1 -1
- data/vendor/local/share/man/man3/asn1_decode_simple_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_structure2.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_coding.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding2.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +1 -1
- data/vendor/local/share/man/man3/asn1_dup_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_encode_simple_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +1 -1
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +1 -1
- data/vendor/local/share/man/man3/asn1_find_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_length_ber.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_object_id_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_length_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +1 -1
- data/vendor/local/share/man/man3/asn1_octet_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_parser2array.3 +1 -1
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +1 -1
- data/vendor/local/share/man/man3/asn1_perror.3 +1 -1
- data/vendor/local/share/man/man3/asn1_print_structure.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_node_value.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_tag.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_value.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_value_type.3 +1 -1
- data/vendor/local/share/man/man3/asn1_strerror.3 +1 -1
- data/vendor/local/share/man/man3/asn1_write_value.3 +1 -1
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +1 -1
- data/vendor/local/share/man/man3/bindtextdomain.3 +1 -1
- data/vendor/local/share/man/man3/gettext.3 +1 -1
- data/vendor/local/share/man/man3/ngettext.3 +1 -1
- data/vendor/local/share/man/man3/pcre.3 +230 -0
- data/vendor/local/share/man/man3/pcre16.3 +371 -0
- data/vendor/local/share/man/man3/pcre16_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre16_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre16_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre16_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre16_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre16_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre16_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre16_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre16_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre16_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre16_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre16_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre16_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre16_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre16_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre16_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre16_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre16_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre16_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre16_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre16_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre16_utf16_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre16_version.3 +31 -0
- data/vendor/local/share/man/man3/pcre32.3 +369 -0
- data/vendor/local/share/man/man3/pcre32_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre32_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre32_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre32_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre32_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre32_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre32_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre32_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre32_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre32_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre32_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre32_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre32_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre32_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre32_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre32_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre32_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre32_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre32_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre32_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre32_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre32_utf32_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre32_version.3 +31 -0
- data/vendor/local/share/man/man3/pcre_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre_utf16_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre_utf32_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre_version.3 +31 -0
- data/vendor/local/share/man/man3/pcreapi.3 +2919 -0
- data/vendor/local/share/man/man3/pcrebuild.3 +550 -0
- data/vendor/local/share/man/man3/pcrecallout.3 +255 -0
- data/vendor/local/share/man/man3/pcrecompat.3 +200 -0
- data/vendor/local/share/man/man3/pcrecpp.3 +348 -0
- data/vendor/local/share/man/man3/pcredemo.3 +424 -0
- data/vendor/local/share/man/man3/pcrejit.3 +431 -0
- data/vendor/local/share/man/man3/pcrelimits.3 +71 -0
- data/vendor/local/share/man/man3/pcrematching.3 +214 -0
- data/vendor/local/share/man/man3/pcrepartial.3 +476 -0
- data/vendor/local/share/man/man3/pcrepattern.3 +3301 -0
- data/vendor/local/share/man/man3/pcreperform.3 +177 -0
- data/vendor/local/share/man/man3/pcreposix.3 +267 -0
- data/vendor/local/share/man/man3/pcreprecompile.3 +155 -0
- data/vendor/local/share/man/man3/pcresample.3 +99 -0
- data/vendor/local/share/man/man3/pcrestack.3 +215 -0
- data/vendor/local/share/man/man3/pcresyntax.3 +540 -0
- data/vendor/local/share/man/man3/pcreunicode.3 +249 -0
- data/vendor/local/share/man/man3/textdomain.3 +1 -1
- metadata +233 -22
- data/lib/2.0/glib2.so +0 -0
- data/lib/2.1/glib2.so +0 -0
- data/vendor/local/bin/libhogweed-4-1.dll +0 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +0 -1537
- data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +0 -679
- data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +0 -572
- data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +0 -561
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch33s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch33s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +0 -161
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +0 -51
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>The Main Event Loop: GLib Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-core.html" title="GLib Core Application Support">
|
9
9
|
<link rel="prev" href="glib-core.html" title="GLib Core Application Support">
|
10
10
|
<link rel="next" href="glib-Threads.html" title="Threads">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -33,7 +33,7 @@
|
|
33
33
|
</tr></table></div>
|
34
34
|
<div class="refsect1">
|
35
35
|
<a name="glib-The-Main-Event-Loop.functions"></a><h2>Functions</h2>
|
36
|
-
<div class="informaltable"><table width="100%" border="0">
|
36
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
37
37
|
<colgroup>
|
38
38
|
<col width="150px" class="functions_return">
|
39
39
|
<col class="functions_name">
|
@@ -257,7 +257,7 @@
|
|
257
257
|
</tr>
|
258
258
|
<tr>
|
259
259
|
<td class="function_type">
|
260
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>
|
260
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="returnvalue">gint</span></a>
|
261
261
|
</td>
|
262
262
|
<td class="function_name">
|
263
263
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-query" title="g_main_context_query ()">g_main_context_query</a> <span class="c_punctuation">()</span>
|
@@ -265,7 +265,7 @@
|
|
265
265
|
</tr>
|
266
266
|
<tr>
|
267
267
|
<td class="function_type">
|
268
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>
|
268
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="returnvalue">gint</span></a>
|
269
269
|
</td>
|
270
270
|
<td class="function_name">
|
271
271
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-check" title="g_main_context_check ()">g_main_context_check</a> <span class="c_punctuation">()</span>
|
@@ -297,7 +297,7 @@
|
|
297
297
|
</tr>
|
298
298
|
<tr>
|
299
299
|
<td class="function_type">
|
300
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>
|
300
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="returnvalue">gint</span></a>
|
301
301
|
</td>
|
302
302
|
<td class="function_name">
|
303
303
|
<span class="c_punctuation">(</span><a class="link" href="glib-The-Main-Event-Loop.html#GPollFunc" title="GPollFunc ()">*GPollFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
@@ -321,7 +321,7 @@
|
|
321
321
|
</tr>
|
322
322
|
<tr>
|
323
323
|
<td class="function_type">
|
324
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>
|
324
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="returnvalue">gint</span></a>
|
325
325
|
</td>
|
326
326
|
<td class="function_name">
|
327
327
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-depth" title="g_main_depth ()">g_main_depth</a> <span class="c_punctuation">()</span>
|
@@ -407,7 +407,7 @@
|
|
407
407
|
</tr>
|
408
408
|
<tr>
|
409
409
|
<td class="function_type">
|
410
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
410
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
411
411
|
</td>
|
412
412
|
<td class="function_name">
|
413
413
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add" title="g_timeout_add ()">g_timeout_add</a> <span class="c_punctuation">()</span>
|
@@ -415,7 +415,7 @@
|
|
415
415
|
</tr>
|
416
416
|
<tr>
|
417
417
|
<td class="function_type">
|
418
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
418
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
419
419
|
</td>
|
420
420
|
<td class="function_name">
|
421
421
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add-full" title="g_timeout_add_full ()">g_timeout_add_full</a> <span class="c_punctuation">()</span>
|
@@ -423,7 +423,7 @@
|
|
423
423
|
</tr>
|
424
424
|
<tr>
|
425
425
|
<td class="function_type">
|
426
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
426
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
427
427
|
</td>
|
428
428
|
<td class="function_name">
|
429
429
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add-seconds" title="g_timeout_add_seconds ()">g_timeout_add_seconds</a> <span class="c_punctuation">()</span>
|
@@ -431,7 +431,7 @@
|
|
431
431
|
</tr>
|
432
432
|
<tr>
|
433
433
|
<td class="function_type">
|
434
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
434
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
435
435
|
</td>
|
436
436
|
<td class="function_name">
|
437
437
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add-seconds-full" title="g_timeout_add_seconds_full ()">g_timeout_add_seconds_full</a> <span class="c_punctuation">()</span>
|
@@ -447,7 +447,7 @@
|
|
447
447
|
</tr>
|
448
448
|
<tr>
|
449
449
|
<td class="function_type">
|
450
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
450
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
451
451
|
</td>
|
452
452
|
<td class="function_name">
|
453
453
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-idle-add" title="g_idle_add ()">g_idle_add</a> <span class="c_punctuation">()</span>
|
@@ -455,7 +455,7 @@
|
|
455
455
|
</tr>
|
456
456
|
<tr>
|
457
457
|
<td class="function_type">
|
458
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
458
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
459
459
|
</td>
|
460
460
|
<td class="function_name">
|
461
461
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-idle-add-full" title="g_idle_add_full ()">g_idle_add_full</a> <span class="c_punctuation">()</span>
|
@@ -487,7 +487,7 @@
|
|
487
487
|
</tr>
|
488
488
|
<tr>
|
489
489
|
<td class="function_type">
|
490
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
490
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
491
491
|
</td>
|
492
492
|
<td class="function_name">
|
493
493
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-child-watch-add" title="g_child_watch_add ()">g_child_watch_add</a> <span class="c_punctuation">()</span>
|
@@ -495,7 +495,7 @@
|
|
495
495
|
</tr>
|
496
496
|
<tr>
|
497
497
|
<td class="function_type">
|
498
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
498
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
499
499
|
</td>
|
500
500
|
<td class="function_name">
|
501
501
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-child-watch-add-full" title="g_child_watch_add_full ()">g_child_watch_add_full</a> <span class="c_punctuation">()</span>
|
@@ -503,7 +503,7 @@
|
|
503
503
|
</tr>
|
504
504
|
<tr>
|
505
505
|
<td class="function_type">
|
506
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>
|
506
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="returnvalue">gint</span></a>
|
507
507
|
</td>
|
508
508
|
<td class="function_name">
|
509
509
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-poll" title="g_poll ()">g_poll</a> <span class="c_punctuation">()</span>
|
@@ -551,7 +551,7 @@
|
|
551
551
|
</tr>
|
552
552
|
<tr>
|
553
553
|
<td class="function_type">
|
554
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
554
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
555
555
|
</td>
|
556
556
|
<td class="function_name">
|
557
557
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()">g_source_attach</a> <span class="c_punctuation">()</span>
|
@@ -583,7 +583,7 @@
|
|
583
583
|
</tr>
|
584
584
|
<tr>
|
585
585
|
<td class="function_type">
|
586
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>
|
586
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="returnvalue">gint</span></a>
|
587
587
|
</td>
|
588
588
|
<td class="function_name">
|
589
589
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-priority" title="g_source_get_priority ()">g_source_get_priority</a> <span class="c_punctuation">()</span>
|
@@ -607,7 +607,7 @@
|
|
607
607
|
</tr>
|
608
608
|
<tr>
|
609
609
|
<td class="function_type">
|
610
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
610
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
611
611
|
</td>
|
612
612
|
<td class="function_name">
|
613
613
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-id" title="g_source_get_id ()">g_source_get_id</a> <span class="c_punctuation">()</span>
|
@@ -793,7 +793,7 @@
|
|
793
793
|
</div>
|
794
794
|
<div class="refsect1">
|
795
795
|
<a name="glib-The-Main-Event-Loop.other"></a><h2>Types and Values</h2>
|
796
|
-
<div class="informaltable"><table width="100%" border="0">
|
796
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
797
797
|
<colgroup>
|
798
798
|
<col width="150px" class="name">
|
799
799
|
<col class="description">
|
@@ -937,6 +937,32 @@ of a state diagram, as shown in this image.</p>
|
|
937
937
|
using the mainloop must either <code class="function">exec()</code> or <code class="function">exit()</code> from the child
|
938
938
|
without returning to the mainloop.</p>
|
939
939
|
</div>
|
940
|
+
<div class="refsect3">
|
941
|
+
<a name="mainloop-memory-management"></a><h4>Memory management of sources</h4>
|
942
|
+
<p>There are two options for memory management of the user data passed to a
|
943
|
+
<a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> to be passed to its callback on invocation. This data is provided
|
944
|
+
in calls to <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add" title="g_timeout_add ()"><code class="function">g_timeout_add()</code></a>, <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add-full" title="g_timeout_add_full ()"><code class="function">g_timeout_add_full()</code></a>, <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-add" title="g_idle_add ()"><code class="function">g_idle_add()</code></a>, etc. and
|
945
|
+
more generally, using <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-callback" title="g_source_set_callback ()"><code class="function">g_source_set_callback()</code></a>. This data is typically an
|
946
|
+
object which ‘owns’ the timeout or idle callback, such as a widget or a
|
947
|
+
network protocol implementation. In many cases, it is an error for the
|
948
|
+
callback to be invoked after this owning object has been destroyed, as that
|
949
|
+
results in use of freed memory.</p>
|
950
|
+
<p>The first, and preferred, option is to store the source ID returned by
|
951
|
+
functions such as <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add" title="g_timeout_add ()"><code class="function">g_timeout_add()</code></a> or <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()"><code class="function">g_source_attach()</code></a>, and explicitly
|
952
|
+
remove that source from the main context using <a class="link" href="glib-The-Main-Event-Loop.html#g-source-remove" title="g_source_remove ()"><code class="function">g_source_remove()</code></a> when the
|
953
|
+
owning object is finalized. This ensures that the callback can only be
|
954
|
+
invoked while the object is still alive.</p>
|
955
|
+
<p>The second option is to hold a strong reference to the object in the
|
956
|
+
callback, and to release it in the callback’s <a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a>. This ensures
|
957
|
+
that the object is kept alive until after the source is finalized, which is
|
958
|
+
guaranteed to be after it is invoked for the final time. The <a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a>
|
959
|
+
is another callback passed to the ‘full’ variants of <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> functions (for
|
960
|
+
example, <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add-full" title="g_timeout_add_full ()"><code class="function">g_timeout_add_full()</code></a>). It is called when the source is finalized,
|
961
|
+
and is designed for releasing references like this.</p>
|
962
|
+
<p>One important caveat of this second approach is that it will keep the object
|
963
|
+
alive indefinitely if the main loop is stopped before the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> is
|
964
|
+
invoked, which may be undesirable.</p>
|
965
|
+
</div>
|
940
966
|
</div>
|
941
967
|
<div class="refsect1">
|
942
968
|
<a name="glib-The-Main-Event-Loop.functions_details"></a><h2>Functions</h2>
|
@@ -948,7 +974,7 @@ g_main_loop_new (<em class="parameter"><code><a class="link" href="glib-The-Main
|
|
948
974
|
<p>Creates a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> structure.</p>
|
949
975
|
<div class="refsect3">
|
950
976
|
<a name="id-1.4.2.7.2.5"></a><h4>Parameters</h4>
|
951
|
-
<div class="informaltable"><table width="100%" border="0">
|
977
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
952
978
|
<colgroup>
|
953
979
|
<col width="150px" class="parameters_name">
|
954
980
|
<col class="parameters_description">
|
@@ -973,7 +999,6 @@ is not very important since calling <a class="link" href="glib-The-Main-Event-Lo
|
|
973
999
|
<div class="refsect3">
|
974
1000
|
<a name="id-1.4.2.7.2.6"></a><h4>Returns</h4>
|
975
1001
|
<p> a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>.</p>
|
976
|
-
<p></p>
|
977
1002
|
</div>
|
978
1003
|
</div>
|
979
1004
|
<hr>
|
@@ -984,7 +1009,7 @@ g_main_loop_ref (<em class="parameter"><code><a class="link" href="glib-The-Main
|
|
984
1009
|
<p>Increases the reference count on a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> object by one.</p>
|
985
1010
|
<div class="refsect3">
|
986
1011
|
<a name="id-1.4.2.7.3.5"></a><h4>Parameters</h4>
|
987
|
-
<div class="informaltable"><table width="100%" border="0">
|
1012
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
988
1013
|
<colgroup>
|
989
1014
|
<col width="150px" class="parameters_name">
|
990
1015
|
<col class="parameters_description">
|
@@ -1001,7 +1026,6 @@ g_main_loop_ref (<em class="parameter"><code><a class="link" href="glib-The-Main
|
|
1001
1026
|
<a name="id-1.4.2.7.3.6"></a><h4>Returns</h4>
|
1002
1027
|
<p> <em class="parameter"><code>loop</code></em>
|
1003
1028
|
</p>
|
1004
|
-
<p></p>
|
1005
1029
|
</div>
|
1006
1030
|
</div>
|
1007
1031
|
<hr>
|
@@ -1013,7 +1037,7 @@ g_main_loop_unref (<em class="parameter"><code><a class="link" href="glib-The-Ma
|
|
1013
1037
|
the result is zero, free the loop and free all associated memory.</p>
|
1014
1038
|
<div class="refsect3">
|
1015
1039
|
<a name="id-1.4.2.7.4.5"></a><h4>Parameters</h4>
|
1016
|
-
<div class="informaltable"><table width="100%" border="0">
|
1040
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1017
1041
|
<colgroup>
|
1018
1042
|
<col width="150px" class="parameters_name">
|
1019
1043
|
<col class="parameters_description">
|
@@ -1038,7 +1062,7 @@ it will process events from the loop, otherwise it will
|
|
1038
1062
|
simply wait.</p>
|
1039
1063
|
<div class="refsect3">
|
1040
1064
|
<a name="id-1.4.2.7.5.5"></a><h4>Parameters</h4>
|
1041
|
-
<div class="informaltable"><table width="100%" border="0">
|
1065
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1042
1066
|
<colgroup>
|
1043
1067
|
<col width="150px" class="parameters_name">
|
1044
1068
|
<col class="parameters_description">
|
@@ -1063,7 +1087,7 @@ for the loop will return. </p>
|
|
1063
1087
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-quit" title="g_main_loop_quit ()"><code class="function">g_main_loop_quit()</code></a> is called will still be executed.</p>
|
1064
1088
|
<div class="refsect3">
|
1065
1089
|
<a name="id-1.4.2.7.6.6"></a><h4>Parameters</h4>
|
1066
|
-
<div class="informaltable"><table width="100%" border="0">
|
1090
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1067
1091
|
<colgroup>
|
1068
1092
|
<col width="150px" class="parameters_name">
|
1069
1093
|
<col class="parameters_description">
|
@@ -1085,7 +1109,7 @@ g_main_loop_is_running (<em class="parameter"><code><a class="link" href="glib-T
|
|
1085
1109
|
<p>Checks to see if the main loop is currently being run via <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-run" title="g_main_loop_run ()"><code class="function">g_main_loop_run()</code></a>.</p>
|
1086
1110
|
<div class="refsect3">
|
1087
1111
|
<a name="id-1.4.2.7.7.5"></a><h4>Parameters</h4>
|
1088
|
-
<div class="informaltable"><table width="100%" border="0">
|
1112
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1089
1113
|
<colgroup>
|
1090
1114
|
<col width="150px" class="parameters_name">
|
1091
1115
|
<col class="parameters_description">
|
@@ -1101,7 +1125,6 @@ g_main_loop_is_running (<em class="parameter"><code><a class="link" href="glib-T
|
|
1101
1125
|
<div class="refsect3">
|
1102
1126
|
<a name="id-1.4.2.7.7.6"></a><h4>Returns</h4>
|
1103
1127
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the mainloop is currently being run.</p>
|
1104
|
-
<p></p>
|
1105
1128
|
</div>
|
1106
1129
|
</div>
|
1107
1130
|
<hr>
|
@@ -1113,7 +1136,7 @@ g_main_loop_get_context (<em class="parameter"><code><a class="link" href="glib-
|
|
1113
1136
|
.</p>
|
1114
1137
|
<div class="refsect3">
|
1115
1138
|
<a name="id-1.4.2.7.8.5"></a><h4>Parameters</h4>
|
1116
|
-
<div class="informaltable"><table width="100%" border="0">
|
1139
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1117
1140
|
<colgroup>
|
1118
1141
|
<col width="150px" class="parameters_name">
|
1119
1142
|
<col class="parameters_description">
|
@@ -1144,7 +1167,7 @@ g_main_loop_get_context (<em class="parameter"><code><a class="link" href="glib-
|
|
1144
1167
|
<p>Creates a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> for th default main context.</p>
|
1145
1168
|
<div class="refsect3">
|
1146
1169
|
<a name="id-1.4.2.7.9.6"></a><h4>Parameters</h4>
|
1147
|
-
<div class="informaltable"><table width="100%" border="0">
|
1170
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1148
1171
|
<colgroup>
|
1149
1172
|
<col width="150px" class="parameters_name">
|
1150
1173
|
<col class="parameters_description">
|
@@ -1162,7 +1185,6 @@ to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code
|
|
1162
1185
|
<div class="refsect3">
|
1163
1186
|
<a name="id-1.4.2.7.9.7"></a><h4>Returns</h4>
|
1164
1187
|
<p> a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a></p>
|
1165
|
-
<p></p>
|
1166
1188
|
</div>
|
1167
1189
|
</div>
|
1168
1190
|
<hr>
|
@@ -1176,7 +1198,7 @@ to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code
|
|
1176
1198
|
<p>Frees the memory allocated for the <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>.</p>
|
1177
1199
|
<div class="refsect3">
|
1178
1200
|
<a name="id-1.4.2.7.10.6"></a><h4>Parameters</h4>
|
1179
|
-
<div class="informaltable"><table width="100%" border="0">
|
1201
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1180
1202
|
<colgroup>
|
1181
1203
|
<col width="150px" class="parameters_name">
|
1182
1204
|
<col class="parameters_description">
|
@@ -1201,7 +1223,7 @@ to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code
|
|
1201
1223
|
<p>Runs a main loop until it stops running.</p>
|
1202
1224
|
<div class="refsect3">
|
1203
1225
|
<a name="id-1.4.2.7.11.6"></a><h4>Parameters</h4>
|
1204
|
-
<div class="informaltable"><table width="100%" border="0">
|
1226
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1205
1227
|
<colgroup>
|
1206
1228
|
<col width="150px" class="parameters_name">
|
1207
1229
|
<col class="parameters_description">
|
@@ -1227,7 +1249,7 @@ to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code
|
|
1227
1249
|
If <a class="link" href="glib-The-Main-Event-Loop.html#g-main-run" title="g_main_run()"><code class="function">g_main_run()</code></a> was called to run the <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>, it will now return.</p>
|
1228
1250
|
<div class="refsect3">
|
1229
1251
|
<a name="id-1.4.2.7.12.6"></a><h4>Parameters</h4>
|
1230
|
-
<div class="informaltable"><table width="100%" border="0">
|
1252
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1231
1253
|
<colgroup>
|
1232
1254
|
<col width="150px" class="parameters_name">
|
1233
1255
|
<col class="parameters_description">
|
@@ -1252,7 +1274,7 @@ If <a class="link" href="glib-The-Main-Event-Loop.html#g-main-run" title="g_main
|
|
1252
1274
|
<p>Checks if the main loop is running.</p>
|
1253
1275
|
<div class="refsect3">
|
1254
1276
|
<a name="id-1.4.2.7.13.6"></a><h4>Parameters</h4>
|
1255
|
-
<div class="informaltable"><table width="100%" border="0">
|
1277
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1256
1278
|
<colgroup>
|
1257
1279
|
<col width="150px" class="parameters_name">
|
1258
1280
|
<col class="parameters_description">
|
@@ -1268,7 +1290,6 @@ If <a class="link" href="glib-The-Main-Event-Loop.html#g-main-run" title="g_main
|
|
1268
1290
|
<div class="refsect3">
|
1269
1291
|
<a name="id-1.4.2.7.13.7"></a><h4>Returns</h4>
|
1270
1292
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the main loop is running</p>
|
1271
|
-
<p></p>
|
1272
1293
|
</div>
|
1273
1294
|
</div>
|
1274
1295
|
<hr>
|
@@ -1280,7 +1301,6 @@ g_main_context_new (<em class="parameter"><code><span class="type">void</span></
|
|
1280
1301
|
<div class="refsect3">
|
1281
1302
|
<a name="id-1.4.2.7.14.5"></a><h4>Returns</h4>
|
1282
1303
|
<p> the new <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a></p>
|
1283
|
-
<p></p>
|
1284
1304
|
</div>
|
1285
1305
|
</div>
|
1286
1306
|
<hr>
|
@@ -1291,7 +1311,7 @@ g_main_context_ref (<em class="parameter"><code><a class="link" href="glib-The-M
|
|
1291
1311
|
<p>Increases the reference count on a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> object by one.</p>
|
1292
1312
|
<div class="refsect3">
|
1293
1313
|
<a name="id-1.4.2.7.15.5"></a><h4>Parameters</h4>
|
1294
|
-
<div class="informaltable"><table width="100%" border="0">
|
1314
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1295
1315
|
<colgroup>
|
1296
1316
|
<col width="150px" class="parameters_name">
|
1297
1317
|
<col class="parameters_description">
|
@@ -1308,7 +1328,6 @@ g_main_context_ref (<em class="parameter"><code><a class="link" href="glib-The-M
|
|
1308
1328
|
<a name="id-1.4.2.7.15.6"></a><h4>Returns</h4>
|
1309
1329
|
<p> the <em class="parameter"><code>context</code></em>
|
1310
1330
|
that was passed in (since 2.6)</p>
|
1311
|
-
<p></p>
|
1312
1331
|
</div>
|
1313
1332
|
</div>
|
1314
1333
|
<hr>
|
@@ -1320,7 +1339,7 @@ g_main_context_unref (<em class="parameter"><code><a class="link" href="glib-The
|
|
1320
1339
|
the result is zero, free the context and free all associated memory.</p>
|
1321
1340
|
<div class="refsect3">
|
1322
1341
|
<a name="id-1.4.2.7.16.5"></a><h4>Parameters</h4>
|
1323
|
-
<div class="informaltable"><table width="100%" border="0">
|
1342
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1324
1343
|
<colgroup>
|
1325
1344
|
<col width="150px" class="parameters_name">
|
1326
1345
|
<col class="parameters_description">
|
@@ -1371,7 +1390,7 @@ given moment without further waiting.</p>
|
|
1371
1390
|
be interrupted for other reasons than an event source becoming ready.</p>
|
1372
1391
|
<div class="refsect3">
|
1373
1392
|
<a name="id-1.4.2.7.18.6"></a><h4>Parameters</h4>
|
1374
|
-
<div class="informaltable"><table width="100%" border="0">
|
1393
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1375
1394
|
<colgroup>
|
1376
1395
|
<col width="150px" class="parameters_name">
|
1377
1396
|
<col class="parameters_description">
|
@@ -1394,7 +1413,6 @@ be interrupted for other reasons than an event source becoming ready.</p>
|
|
1394
1413
|
<div class="refsect3">
|
1395
1414
|
<a name="id-1.4.2.7.18.7"></a><h4>Returns</h4>
|
1396
1415
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if events were dispatched.</p>
|
1397
|
-
<p></p>
|
1398
1416
|
</div>
|
1399
1417
|
</div>
|
1400
1418
|
<hr>
|
@@ -1408,7 +1426,7 @@ be interrupted for other reasons than an event source becoming ready.</p>
|
|
1408
1426
|
<p>Runs a single iteration for the default <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>.</p>
|
1409
1427
|
<div class="refsect3">
|
1410
1428
|
<a name="id-1.4.2.7.19.6"></a><h4>Parameters</h4>
|
1411
|
-
<div class="informaltable"><table width="100%" border="0">
|
1429
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1412
1430
|
<colgroup>
|
1413
1431
|
<col width="150px" class="parameters_name">
|
1414
1432
|
<col class="parameters_description">
|
@@ -1427,7 +1445,6 @@ source is ready to be processed.</p></td>
|
|
1427
1445
|
<div class="refsect3">
|
1428
1446
|
<a name="id-1.4.2.7.19.7"></a><h4>Returns</h4>
|
1429
1447
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if more events are pending.</p>
|
1430
|
-
<p></p>
|
1431
1448
|
</div>
|
1432
1449
|
</div>
|
1433
1450
|
<hr>
|
@@ -1438,7 +1455,7 @@ g_main_context_pending (<em class="parameter"><code><a class="link" href="glib-T
|
|
1438
1455
|
<p>Checks if any sources have pending events for the given context.</p>
|
1439
1456
|
<div class="refsect3">
|
1440
1457
|
<a name="id-1.4.2.7.20.5"></a><h4>Parameters</h4>
|
1441
|
-
<div class="informaltable"><table width="100%" border="0">
|
1458
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1442
1459
|
<colgroup>
|
1443
1460
|
<col width="150px" class="parameters_name">
|
1444
1461
|
<col class="parameters_description">
|
@@ -1454,7 +1471,6 @@ g_main_context_pending (<em class="parameter"><code><a class="link" href="glib-T
|
|
1454
1471
|
<div class="refsect3">
|
1455
1472
|
<a name="id-1.4.2.7.20.6"></a><h4>Returns</h4>
|
1456
1473
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if events are pending.</p>
|
1457
|
-
<p></p>
|
1458
1474
|
</div>
|
1459
1475
|
</div>
|
1460
1476
|
<hr>
|
@@ -1468,7 +1484,6 @@ g_main_context_pending (<em class="parameter"><code><a class="link" href="glib-T
|
|
1468
1484
|
<a name="id-1.4.2.7.21.6"></a><h4>Returns</h4>
|
1469
1485
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if any events are pending.</p>
|
1470
1486
|
<p>Deprected: 2.2: Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-pending" title="g_main_context_pending ()"><code class="function">g_main_context_pending()</code></a> instead.</p>
|
1471
|
-
<p></p>
|
1472
1487
|
</div>
|
1473
1488
|
</div>
|
1474
1489
|
<hr>
|
@@ -1476,7 +1491,7 @@ g_main_context_pending (<em class="parameter"><code><a class="link" href="glib-T
|
|
1476
1491
|
<a name="g-main-context-find-source-by-id"></a><h3>g_main_context_find_source_by_id ()</h3>
|
1477
1492
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> *
|
1478
1493
|
g_main_context_find_source_by_id (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
|
1479
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> source_id</code></em>);</pre>
|
1494
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> source_id</code></em>);</pre>
|
1480
1495
|
<p>Finds a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> given a pair of context and ID.</p>
|
1481
1496
|
<p>It is a programmer error to attempt to lookup a non-existent source.</p>
|
1482
1497
|
<p>More specifically: source IDs can be reissued after a source has been
|
@@ -1489,7 +1504,7 @@ been reissued, leading to the operation being performed against the
|
|
1489
1504
|
wrong source.</p>
|
1490
1505
|
<div class="refsect3">
|
1491
1506
|
<a name="id-1.4.2.7.22.7"></a><h4>Parameters</h4>
|
1492
|
-
<div class="informaltable"><table width="100%" border="0">
|
1507
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1493
1508
|
<colgroup>
|
1494
1509
|
<col width="150px" class="parameters_name">
|
1495
1510
|
<col class="parameters_description">
|
@@ -1527,7 +1542,7 @@ multiple sources exist with the same user data, the first
|
|
1527
1542
|
one found will be returned.</p>
|
1528
1543
|
<div class="refsect3">
|
1529
1544
|
<a name="id-1.4.2.7.23.5"></a><h4>Parameters</h4>
|
1530
|
-
<div class="informaltable"><table width="100%" border="0">
|
1545
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1531
1546
|
<colgroup>
|
1532
1547
|
<col width="150px" class="parameters_name">
|
1533
1548
|
<col class="parameters_description">
|
@@ -1566,7 +1581,7 @@ multiple sources exist with the same source function and user data,
|
|
1566
1581
|
the first one found will be returned.</p>
|
1567
1582
|
<div class="refsect3">
|
1568
1583
|
<a name="id-1.4.2.7.24.5"></a><h4>Parameters</h4>
|
1569
|
-
<div class="informaltable"><table width="100%" border="0">
|
1584
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1570
1585
|
<colgroup>
|
1571
1586
|
<col width="150px" class="parameters_name">
|
1572
1587
|
<col class="parameters_description">
|
@@ -1623,12 +1638,12 @@ loop with a termination condition, computed from multiple threads:</p>
|
|
1623
1638
|
4
|
1624
1639
|
5
|
1625
1640
|
6</pre></td>
|
1626
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
1627
|
-
<span class="
|
1628
|
-
<span class="
|
1629
|
-
|
1630
|
-
<span class="keyword">while</span
|
1631
|
-
<span class="
|
1641
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc ppc">#define NUM_TASKS 10</span>
|
1642
|
+
<span class="gtkdoc kwb">static</span> <span class="gtkdoc kwc">volatile</span> gint tasks_remaining <span class="gtkdoc opt">=</span> NUM_TASKS<span class="gtkdoc opt">;</span>
|
1643
|
+
<span class="gtkdoc opt">...</span>
|
1644
|
+
|
1645
|
+
<span class="keyword">while</span> <span class="gtkdoc opt">(</span><span class="function"><a href="glib-Atomic-Operations.html#g-atomic-int-get">g_atomic_int_get</a></span> <span class="gtkdoc opt">(&</span>tasks_remaining<span class="gtkdoc opt">) !=</span> <span class="number">0</span><span class="gtkdoc opt">)</span>
|
1646
|
+
<span class="function"><a href="glib-The-Main-Event-Loop.html#g-main-context-iteration">g_main_context_iteration</a></span> <span class="gtkdoc opt">(</span>NULL<span class="gtkdoc opt">,</span> TRUE<span class="gtkdoc opt">);</span></pre></td>
|
1632
1647
|
</tr>
|
1633
1648
|
</tbody>
|
1634
1649
|
</table>
|
@@ -1644,10 +1659,10 @@ loop with a termination condition, computed from multiple threads:</p>
|
|
1644
1659
|
2
|
1645
1660
|
3
|
1646
1661
|
4</pre></td>
|
1647
|
-
<td class="listing_code"><pre class="programlisting"><span class="function">perform_work</span><span class="
|
1662
|
+
<td class="listing_code"><pre class="programlisting"><span class="function">perform_work</span><span class="gtkdoc opt">();</span>
|
1648
1663
|
|
1649
|
-
<span class="keyword">if</span
|
1650
|
-
<span class="
|
1664
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="glib-Atomic-Operations.html#g-atomic-int-dec-and-test">g_atomic_int_dec_and_test</a></span> <span class="gtkdoc opt">(&</span>tasks_remaining<span class="gtkdoc opt">))</span>
|
1665
|
+
<span class="function"><a href="glib-The-Main-Event-Loop.html#g-main-context-wakeup">g_main_context_wakeup</a></span> <span class="gtkdoc opt">(</span>NULL<span class="gtkdoc opt">);</span></pre></td>
|
1651
1666
|
</tr>
|
1652
1667
|
</tbody>
|
1653
1668
|
</table>
|
@@ -1656,7 +1671,7 @@ loop with a termination condition, computed from multiple threads:</p>
|
|
1656
1671
|
<p></p>
|
1657
1672
|
<div class="refsect3">
|
1658
1673
|
<a name="id-1.4.2.7.25.12"></a><h4>Parameters</h4>
|
1659
|
-
<div class="informaltable"><table width="100%" border="0">
|
1674
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1660
1675
|
<colgroup>
|
1661
1676
|
<col width="150px" class="parameters_name">
|
1662
1677
|
<col class="parameters_description">
|
@@ -1686,7 +1701,7 @@ can call <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-prep
|
|
1686
1701
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-check" title="g_main_context_check ()"><code class="function">g_main_context_check()</code></a>, <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-dispatch" title="g_main_context_dispatch ()"><code class="function">g_main_context_dispatch()</code></a>.</p>
|
1687
1702
|
<div class="refsect3">
|
1688
1703
|
<a name="id-1.4.2.7.26.6"></a><h4>Parameters</h4>
|
1689
|
-
<div class="informaltable"><table width="100%" border="0">
|
1704
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1690
1705
|
<colgroup>
|
1691
1706
|
<col width="150px" class="parameters_name">
|
1692
1707
|
<col class="parameters_description">
|
@@ -1704,7 +1719,6 @@ can call <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-prep
|
|
1704
1719
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the operation succeeded, and
|
1705
1720
|
this thread is now the owner of <em class="parameter"><code>context</code></em>
|
1706
1721
|
.</p>
|
1707
|
-
<p></p>
|
1708
1722
|
</div>
|
1709
1723
|
</div>
|
1710
1724
|
<hr>
|
@@ -1718,7 +1732,7 @@ times, the ownership will be released only when <a class="link" href="glib-The-M
|
|
1718
1732
|
is called as many times as it was acquired.</p>
|
1719
1733
|
<div class="refsect3">
|
1720
1734
|
<a name="id-1.4.2.7.27.5"></a><h4>Parameters</h4>
|
1721
|
-
<div class="informaltable"><table width="100%" border="0">
|
1735
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1722
1736
|
<colgroup>
|
1723
1737
|
<col width="150px" class="parameters_name">
|
1724
1738
|
<col class="parameters_description">
|
@@ -1744,7 +1758,7 @@ blocking to get ownership of <em class="parameter"><code>context</code></em>
|
|
1744
1758
|
.</p>
|
1745
1759
|
<div class="refsect3">
|
1746
1760
|
<a name="id-1.4.2.7.28.5"></a><h4>Parameters</h4>
|
1747
|
-
<div class="informaltable"><table width="100%" border="0">
|
1761
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1748
1762
|
<colgroup>
|
1749
1763
|
<col width="150px" class="parameters_name">
|
1750
1764
|
<col class="parameters_description">
|
@@ -1761,9 +1775,8 @@ blocking to get ownership of <em class="parameter"><code>context</code></em>
|
|
1761
1775
|
<a name="id-1.4.2.7.28.6"></a><h4>Returns</h4>
|
1762
1776
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if current thread is owner of <em class="parameter"><code>context</code></em>
|
1763
1777
|
.</p>
|
1764
|
-
<p></p>
|
1765
1778
|
</div>
|
1766
|
-
<p class="since">Since 2.10</p>
|
1779
|
+
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
1767
1780
|
</div>
|
1768
1781
|
<hr>
|
1769
1782
|
<div class="refsect2">
|
@@ -1782,7 +1795,7 @@ that owner releases ownership or until <em class="parameter"><code>cond</code></
|
|
1782
1795
|
try again (once) to become the owner.</p>
|
1783
1796
|
<div class="refsect3">
|
1784
1797
|
<a name="id-1.4.2.7.29.5"></a><h4>Parameters</h4>
|
1785
|
-
<div class="informaltable"><table width="100%" border="0">
|
1798
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1786
1799
|
<colgroup>
|
1787
1800
|
<col width="150px" class="parameters_name">
|
1788
1801
|
<col class="parameters_description">
|
@@ -1812,7 +1825,6 @@ try again (once) to become the owner.</p>
|
|
1812
1825
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the operation succeeded, and
|
1813
1826
|
this thread is now the owner of <em class="parameter"><code>context</code></em>
|
1814
1827
|
.</p>
|
1815
|
-
<p></p>
|
1816
1828
|
</div>
|
1817
1829
|
</div>
|
1818
1830
|
<hr>
|
@@ -1820,14 +1832,14 @@ this thread is now the owner of <em class="parameter"><code>context</code></em>
|
|
1820
1832
|
<a name="g-main-context-prepare"></a><h3>g_main_context_prepare ()</h3>
|
1821
1833
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>
|
1822
1834
|
g_main_context_prepare (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
|
1823
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *priority</code></em>);</pre>
|
1835
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> *priority</code></em>);</pre>
|
1824
1836
|
<p>Prepares to poll sources within a main loop. The resulting information
|
1825
1837
|
for polling is determined by calling <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-query" title="g_main_context_query ()"><code class="function">g_main_context_query()</code></a>.</p>
|
1826
1838
|
<p>You must have successfully acquired the context with
|
1827
1839
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-acquire" title="g_main_context_acquire ()"><code class="function">g_main_context_acquire()</code></a> before you may call this function.</p>
|
1828
1840
|
<div class="refsect3">
|
1829
1841
|
<a name="id-1.4.2.7.30.6"></a><h4>Parameters</h4>
|
1830
|
-
<div class="informaltable"><table width="100%" border="0">
|
1842
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1831
1843
|
<colgroup>
|
1832
1844
|
<col width="150px" class="parameters_name">
|
1833
1845
|
<col class="parameters_description">
|
@@ -1852,24 +1864,23 @@ source already ready.</p></td>
|
|
1852
1864
|
<a name="id-1.4.2.7.30.7"></a><h4>Returns</h4>
|
1853
1865
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if some source is ready to be dispatched
|
1854
1866
|
prior to polling.</p>
|
1855
|
-
<p></p>
|
1856
1867
|
</div>
|
1857
1868
|
</div>
|
1858
1869
|
<hr>
|
1859
1870
|
<div class="refsect2">
|
1860
1871
|
<a name="g-main-context-query"></a><h3>g_main_context_query ()</h3>
|
1861
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>
|
1872
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="returnvalue">gint</span></a>
|
1862
1873
|
g_main_context_query (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
|
1863
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_priority</code></em>,
|
1864
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *timeout_</code></em>,
|
1874
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> max_priority</code></em>,
|
1875
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> *timeout_</code></em>,
|
1865
1876
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
|
1866
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> n_fds</code></em>);</pre>
|
1877
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> n_fds</code></em>);</pre>
|
1867
1878
|
<p>Determines information necessary to poll this main loop.</p>
|
1868
1879
|
<p>You must have successfully acquired the context with
|
1869
1880
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-acquire" title="g_main_context_acquire ()"><code class="function">g_main_context_acquire()</code></a> before you may call this function.</p>
|
1870
1881
|
<div class="refsect3">
|
1871
1882
|
<a name="id-1.4.2.7.31.6"></a><h4>Parameters</h4>
|
1872
|
-
<div class="informaltable"><table width="100%" border="0">
|
1883
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1873
1884
|
<colgroup>
|
1874
1885
|
<col width="150px" class="parameters_name">
|
1875
1886
|
<col class="parameters_description">
|
@@ -1899,9 +1910,9 @@ store <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct
|
|
1899
1910
|
</tr>
|
1900
1911
|
<tr>
|
1901
1912
|
<td class="parameter_name"><p>n_fds</p></td>
|
1902
|
-
<td class="parameter_description"><p>length of <em class="parameter"><code>fds</code></em>
|
1903
|
-
|
1904
|
-
<td class="parameter_annotations">
|
1913
|
+
<td class="parameter_description"><p> length of <em class="parameter"><code>fds</code></em>
|
1914
|
+
. </p></td>
|
1915
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
|
1905
1916
|
</tr>
|
1906
1917
|
</tbody>
|
1907
1918
|
</table></div>
|
@@ -1913,23 +1924,22 @@ store <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct
|
|
1913
1924
|
or, if more than <em class="parameter"><code>n_fds</code></em>
|
1914
1925
|
records need to be stored, the number
|
1915
1926
|
of records that need to be stored.</p>
|
1916
|
-
<p></p>
|
1917
1927
|
</div>
|
1918
1928
|
</div>
|
1919
1929
|
<hr>
|
1920
1930
|
<div class="refsect2">
|
1921
1931
|
<a name="g-main-context-check"></a><h3>g_main_context_check ()</h3>
|
1922
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>
|
1932
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="returnvalue">gint</span></a>
|
1923
1933
|
g_main_context_check (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
|
1924
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_priority</code></em>,
|
1934
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> max_priority</code></em>,
|
1925
1935
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
|
1926
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> n_fds</code></em>);</pre>
|
1936
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> n_fds</code></em>);</pre>
|
1927
1937
|
<p>Passes the results of polling back to the main loop.</p>
|
1928
1938
|
<p>You must have successfully acquired the context with
|
1929
1939
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-acquire" title="g_main_context_acquire ()"><code class="function">g_main_context_acquire()</code></a> before you may call this function.</p>
|
1930
1940
|
<div class="refsect3">
|
1931
1941
|
<a name="id-1.4.2.7.32.6"></a><h4>Parameters</h4>
|
1932
|
-
<div class="informaltable"><table width="100%" border="0">
|
1942
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1933
1943
|
<colgroup>
|
1934
1944
|
<col width="150px" class="parameters_name">
|
1935
1945
|
<col class="parameters_description">
|
@@ -1963,7 +1973,6 @@ the last call to <a class="link" href="glib-The-Main-Event-Loop.html#g-main-cont
|
|
1963
1973
|
<div class="refsect3">
|
1964
1974
|
<a name="id-1.4.2.7.32.7"></a><h4>Returns</h4>
|
1965
1975
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if some sources are ready to be dispatched.</p>
|
1966
|
-
<p></p>
|
1967
1976
|
</div>
|
1968
1977
|
</div>
|
1969
1978
|
<hr>
|
@@ -1976,7 +1985,7 @@ g_main_context_dispatch (<em class="parameter"><code><a class="link" href="glib-
|
|
1976
1985
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-acquire" title="g_main_context_acquire ()"><code class="function">g_main_context_acquire()</code></a> before you may call this function.</p>
|
1977
1986
|
<div class="refsect3">
|
1978
1987
|
<a name="id-1.4.2.7.33.6"></a><h4>Parameters</h4>
|
1979
|
-
<div class="informaltable"><table width="100%" border="0">
|
1988
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1980
1989
|
<colgroup>
|
1981
1990
|
<col width="150px" class="parameters_name">
|
1982
1991
|
<col class="parameters_description">
|
@@ -2004,7 +2013,7 @@ will be used instead of the <code class="function">poll()</code> system call
|
|
2004
2013
|
loop with an external event loop.</p>
|
2005
2014
|
<div class="refsect3">
|
2006
2015
|
<a name="id-1.4.2.7.34.6"></a><h4>Parameters</h4>
|
2007
|
-
<div class="informaltable"><table width="100%" border="0">
|
2016
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2008
2017
|
<colgroup>
|
2009
2018
|
<col width="150px" class="parameters_name">
|
2010
2019
|
<col class="parameters_description">
|
@@ -2033,7 +2042,7 @@ g_main_context_get_poll_func (<em class="parameter"><code><a class="link" href="
|
|
2033
2042
|
<p>Gets the poll function set by <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-set-poll-func" title="g_main_context_set_poll_func ()"><code class="function">g_main_context_set_poll_func()</code></a>.</p>
|
2034
2043
|
<div class="refsect3">
|
2035
2044
|
<a name="id-1.4.2.7.35.5"></a><h4>Parameters</h4>
|
2036
|
-
<div class="informaltable"><table width="100%" border="0">
|
2045
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2037
2046
|
<colgroup>
|
2038
2047
|
<col width="150px" class="parameters_name">
|
2039
2048
|
<col class="parameters_description">
|
@@ -2049,21 +2058,20 @@ g_main_context_get_poll_func (<em class="parameter"><code><a class="link" href="
|
|
2049
2058
|
<div class="refsect3">
|
2050
2059
|
<a name="id-1.4.2.7.35.6"></a><h4>Returns</h4>
|
2051
2060
|
<p> the poll function</p>
|
2052
|
-
<p></p>
|
2053
2061
|
</div>
|
2054
2062
|
</div>
|
2055
2063
|
<hr>
|
2056
2064
|
<div class="refsect2">
|
2057
2065
|
<a name="GPollFunc"></a><h3>GPollFunc ()</h3>
|
2058
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>
|
2066
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="returnvalue">gint</span></a>
|
2059
2067
|
<span class="c_punctuation">(</span>*GPollFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *ufds</code></em>,
|
2060
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nfsd</code></em>,
|
2061
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> timeout_</code></em>);</pre>
|
2068
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> nfsd</code></em>,
|
2069
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> timeout_</code></em>);</pre>
|
2062
2070
|
<p>Specifies the type of function passed to <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-set-poll-func" title="g_main_context_set_poll_func ()"><code class="function">g_main_context_set_poll_func()</code></a>.
|
2063
2071
|
The semantics of the function should match those of the <code class="function">poll()</code> system call.</p>
|
2064
2072
|
<div class="refsect3">
|
2065
2073
|
<a name="id-1.4.2.7.36.5"></a><h4>Parameters</h4>
|
2066
|
-
<div class="informaltable"><table width="100%" border="0">
|
2074
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2067
2075
|
<colgroup>
|
2068
2076
|
<col width="150px" class="parameters_name">
|
2069
2077
|
<col class="parameters_description">
|
@@ -2094,7 +2102,6 @@ A negative value indicates an infinite timeout.</p></td>
|
|
2094
2102
|
<a name="id-1.4.2.7.36.6"></a><h4>Returns</h4>
|
2095
2103
|
<p> the number of <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> elements which have events or errors
|
2096
2104
|
reported, or -1 if an error occurred.</p>
|
2097
|
-
<p></p>
|
2098
2105
|
</div>
|
2099
2106
|
</div>
|
2100
2107
|
<hr>
|
@@ -2103,13 +2110,13 @@ reported, or -1 if an error occurred.</p>
|
|
2103
2110
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2104
2111
|
g_main_context_add_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
|
2105
2112
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>,
|
2106
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>);</pre>
|
2113
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> priority</code></em>);</pre>
|
2107
2114
|
<p>Adds a file descriptor to the set of file descriptors polled for
|
2108
2115
|
this context. This will very seldom be used directly. Instead
|
2109
2116
|
a typical event source will use <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-unix-fd" title="g_source_add_unix_fd ()"><code class="function">g_source_add_unix_fd()</code></a> instead.</p>
|
2110
2117
|
<div class="refsect3">
|
2111
2118
|
<a name="id-1.4.2.7.37.5"></a><h4>Parameters</h4>
|
2112
|
-
<div class="informaltable"><table width="100%" border="0">
|
2119
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2113
2120
|
<colgroup>
|
2114
2121
|
<col width="150px" class="parameters_name">
|
2115
2122
|
<col class="parameters_description">
|
@@ -2148,7 +2155,7 @@ g_main_context_remove_poll (<em class="parameter"><code><a class="link" href="gl
|
|
2148
2155
|
polled for a particular context.</p>
|
2149
2156
|
<div class="refsect3">
|
2150
2157
|
<a name="id-1.4.2.7.38.5"></a><h4>Parameters</h4>
|
2151
|
-
<div class="informaltable"><table width="100%" border="0">
|
2158
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2152
2159
|
<colgroup>
|
2153
2160
|
<col width="150px" class="parameters_name">
|
2154
2161
|
<col class="parameters_description">
|
@@ -2172,7 +2179,7 @@ polled for a particular context.</p>
|
|
2172
2179
|
<hr>
|
2173
2180
|
<div class="refsect2">
|
2174
2181
|
<a name="g-main-depth"></a><h3>g_main_depth ()</h3>
|
2175
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>
|
2182
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="returnvalue">gint</span></a>
|
2176
2183
|
g_main_depth (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
2177
2184
|
<p>Returns the depth of the stack of calls to
|
2178
2185
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-dispatch" title="g_main_context_dispatch ()"><code class="function">g_main_context_dispatch()</code></a> on any <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> in the current thread.
|
@@ -2214,33 +2221,33 @@ Imagine an extremely simple "garbage collected" system.</p>
|
|
2214
2221
|
25
|
2215
2222
|
26
|
2216
2223
|
27</pre></td>
|
2217
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
2224
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static</span> GList <span class="gtkdoc opt">*</span>free_list<span class="gtkdoc opt">;</span>
|
2218
2225
|
|
2219
|
-
|
2220
|
-
<span class="function">allocate_memory</span
|
2221
|
-
<span class="
|
2222
|
-
|
2223
|
-
|
2224
|
-
<span class="
|
2225
|
-
<span class="
|
2226
|
+
gpointer
|
2227
|
+
<span class="function">allocate_memory</span> <span class="gtkdoc opt">(</span>gsize size<span class="gtkdoc opt">)</span>
|
2228
|
+
<span class="gtkdoc opt">{</span>
|
2229
|
+
gpointer result <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Memory-Allocation.html#g-malloc">g_malloc</a></span> <span class="gtkdoc opt">(</span>size<span class="gtkdoc opt">);</span>
|
2230
|
+
free_list <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Doubly-Linked-Lists.html#g-list-prepend">g_list_prepend</a></span> <span class="gtkdoc opt">(</span>free_list<span class="gtkdoc opt">,</span> result<span class="gtkdoc opt">);</span>
|
2231
|
+
<span class="keyword">return</span> result<span class="gtkdoc opt">;</span>
|
2232
|
+
<span class="gtkdoc opt">}</span>
|
2226
2233
|
|
2227
|
-
<span class="
|
2228
|
-
<span class="function">free_allocated_memory</span
|
2229
|
-
<span class="
|
2230
|
-
|
2231
|
-
<span class="
|
2232
|
-
<span class="
|
2233
|
-
<span class="
|
2234
|
-
|
2235
|
-
<span class="
|
2234
|
+
<span class="gtkdoc kwb">void</span>
|
2235
|
+
<span class="function">free_allocated_memory</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
2236
|
+
<span class="gtkdoc opt">{</span>
|
2237
|
+
GList <span class="gtkdoc opt">*</span>l<span class="gtkdoc opt">;</span>
|
2238
|
+
<span class="keyword">for</span> <span class="gtkdoc opt">(</span>l <span class="gtkdoc opt">=</span> free_list<span class="gtkdoc opt">;</span> l<span class="gtkdoc opt">;</span> l <span class="gtkdoc opt">=</span> l<span class="gtkdoc opt">-></span>next<span class="gtkdoc opt">);</span>
|
2239
|
+
<span class="function"><a href="glib-Memory-Allocation.html#g-free">g_free</a></span> <span class="gtkdoc opt">(</span>l<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">);</span>
|
2240
|
+
<span class="function"><a href="glib-Doubly-Linked-Lists.html#g-list-free">g_list_free</a></span> <span class="gtkdoc opt">(</span>free_list<span class="gtkdoc opt">);</span>
|
2241
|
+
free_list <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
|
2242
|
+
<span class="gtkdoc opt">}</span>
|
2236
2243
|
|
2237
|
-
<span class="
|
2244
|
+
<span class="gtkdoc opt">[...]</span>
|
2238
2245
|
|
2239
|
-
<span class="keyword">while</span
|
2240
|
-
<span class="
|
2241
|
-
<span class="
|
2242
|
-
<span class="
|
2243
|
-
<span class="
|
2246
|
+
<span class="keyword">while</span> <span class="gtkdoc opt">(</span>TRUE<span class="gtkdoc opt">);</span>
|
2247
|
+
<span class="gtkdoc opt">{</span>
|
2248
|
+
<span class="function"><a href="glib-The-Main-Event-Loop.html#g-main-context-iteration">g_main_context_iteration</a></span> <span class="gtkdoc opt">(</span>NULL<span class="gtkdoc opt">,</span> TRUE<span class="gtkdoc opt">);</span>
|
2249
|
+
<span class="function">free_allocated_memory</span><span class="gtkdoc opt">();</span>
|
2250
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
2244
2251
|
</tr>
|
2245
2252
|
</tbody>
|
2246
2253
|
</table>
|
@@ -2287,36 +2294,36 @@ recursive callback. This can be fixed by using <a class="link" href="glib-The-Ma
|
|
2287
2294
|
28
|
2288
2295
|
29
|
2289
2296
|
30</pre></td>
|
2290
|
-
<td class="listing_code"><pre class="programlisting"
|
2291
|
-
<span class="function">allocate_memory</span
|
2292
|
-
<span class="
|
2293
|
-
|
2294
|
-
<span class="
|
2295
|
-
<span class="
|
2296
|
-
|
2297
|
-
<span class="
|
2298
|
-
<span class="
|
2297
|
+
<td class="listing_code"><pre class="programlisting">gpointer
|
2298
|
+
<span class="function">allocate_memory</span> <span class="gtkdoc opt">(</span>gsize size<span class="gtkdoc opt">)</span>
|
2299
|
+
<span class="gtkdoc opt">{</span>
|
2300
|
+
FreeListBlock <span class="gtkdoc opt">*</span>block <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Memory-Allocation.html#g-new">g_new</a></span> <span class="gtkdoc opt">(</span>FreeListBlock<span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">);</span>
|
2301
|
+
block<span class="gtkdoc opt">-></span>mem <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Memory-Allocation.html#g-malloc">g_malloc</a></span> <span class="gtkdoc opt">(</span>size<span class="gtkdoc opt">);</span>
|
2302
|
+
block<span class="gtkdoc opt">-></span>depth <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-The-Main-Event-Loop.html#g-main-depth">g_main_depth</a></span> <span class="gtkdoc opt">();</span>
|
2303
|
+
free_list <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Doubly-Linked-Lists.html#g-list-prepend">g_list_prepend</a></span> <span class="gtkdoc opt">(</span>free_list<span class="gtkdoc opt">,</span> block<span class="gtkdoc opt">);</span>
|
2304
|
+
<span class="keyword">return</span> block<span class="gtkdoc opt">-></span>mem<span class="gtkdoc opt">;</span>
|
2305
|
+
<span class="gtkdoc opt">}</span>
|
2299
2306
|
|
2300
|
-
<span class="
|
2301
|
-
<span class="function">free_allocated_memory</span
|
2302
|
-
<span class="
|
2303
|
-
|
2304
|
-
|
2305
|
-
<span class="
|
2306
|
-
<span class="
|
2307
|
-
<span class="
|
2308
|
-
|
2309
|
-
|
2310
|
-
<span class="
|
2311
|
-
<span class="
|
2312
|
-
<span class="
|
2313
|
-
<span class="
|
2314
|
-
|
2315
|
-
<span class="
|
2316
|
-
|
2317
|
-
|
2318
|
-
<span class="
|
2319
|
-
<span class="
|
2307
|
+
<span class="gtkdoc kwb">void</span>
|
2308
|
+
<span class="function">free_allocated_memory</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
2309
|
+
<span class="gtkdoc opt">{</span>
|
2310
|
+
GList <span class="gtkdoc opt">*</span>l<span class="gtkdoc opt">;</span>
|
2311
|
+
|
2312
|
+
<span class="gtkdoc kwb">int</span> depth <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-The-Main-Event-Loop.html#g-main-depth">g_main_depth</a></span> <span class="gtkdoc opt">();</span>
|
2313
|
+
<span class="keyword">for</span> <span class="gtkdoc opt">(</span>l <span class="gtkdoc opt">=</span> free_list<span class="gtkdoc opt">;</span> l<span class="gtkdoc opt">; );</span>
|
2314
|
+
<span class="gtkdoc opt">{</span>
|
2315
|
+
GList <span class="gtkdoc opt">*</span>next <span class="gtkdoc opt">=</span> l<span class="gtkdoc opt">-></span>next<span class="gtkdoc opt">;</span>
|
2316
|
+
FreeListBlock <span class="gtkdoc opt">*</span>block <span class="gtkdoc opt">=</span> l<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">;</span>
|
2317
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>block<span class="gtkdoc opt">-></span>depth <span class="gtkdoc opt">></span> depth<span class="gtkdoc opt">)</span>
|
2318
|
+
<span class="gtkdoc opt">{</span>
|
2319
|
+
<span class="function"><a href="glib-Memory-Allocation.html#g-free">g_free</a></span> <span class="gtkdoc opt">(</span>block<span class="gtkdoc opt">-></span>mem<span class="gtkdoc opt">);</span>
|
2320
|
+
<span class="function"><a href="glib-Memory-Allocation.html#g-free">g_free</a></span> <span class="gtkdoc opt">(</span>block<span class="gtkdoc opt">);</span>
|
2321
|
+
free_list <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Doubly-Linked-Lists.html#g-list-delete-link">g_list_delete_link</a></span> <span class="gtkdoc opt">(</span>free_list<span class="gtkdoc opt">,</span> l<span class="gtkdoc opt">);</span>
|
2322
|
+
<span class="gtkdoc opt">}</span>
|
2323
|
+
|
2324
|
+
l <span class="gtkdoc opt">=</span> next<span class="gtkdoc opt">;</span>
|
2325
|
+
<span class="gtkdoc opt">}</span>
|
2326
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
2320
2327
|
</tr>
|
2321
2328
|
</tbody>
|
2322
2329
|
</table>
|
@@ -2346,7 +2353,6 @@ there is more work to do.</p></li>
|
|
2346
2353
|
<div class="refsect3">
|
2347
2354
|
<a name="id-1.4.2.7.39.13"></a><h4>Returns</h4>
|
2348
2355
|
<p> The main loop recursion level in the current thread</p>
|
2349
|
-
<p></p>
|
2350
2356
|
</div>
|
2351
2357
|
</div>
|
2352
2358
|
<hr>
|
@@ -2360,7 +2366,7 @@ g_main_current_source (<em class="parameter"><code><span class="type">void</span
|
|
2360
2366
|
<p> The currently firing source or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. </p>
|
2361
2367
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2362
2368
|
</div>
|
2363
|
-
<p class="since">Since 2.12</p>
|
2369
|
+
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
|
2364
2370
|
</div>
|
2365
2371
|
<hr>
|
2366
2372
|
<div class="refsect2">
|
@@ -2374,7 +2380,7 @@ g_main_current_source (<em class="parameter"><code><span class="type">void</span
|
|
2374
2380
|
for the default main context.</p>
|
2375
2381
|
<div class="refsect3">
|
2376
2382
|
<a name="id-1.4.2.7.41.6"></a><h4>Parameters</h4>
|
2377
|
-
<div class="informaltable"><table width="100%" border="0">
|
2383
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2378
2384
|
<colgroup>
|
2379
2385
|
<col width="150px" class="parameters_name">
|
2380
2386
|
<col class="parameters_description">
|
@@ -2424,7 +2430,7 @@ return <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"
|
|
2424
2430
|
loop (and may prevent this call from returning).</p>
|
2425
2431
|
<div class="refsect3">
|
2426
2432
|
<a name="id-1.4.2.7.42.9"></a><h4>Parameters</h4>
|
2427
|
-
<div class="informaltable"><table width="100%" border="0">
|
2433
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2428
2434
|
<colgroup>
|
2429
2435
|
<col width="150px" class="parameters_name">
|
2430
2436
|
<col class="parameters_description">
|
@@ -2450,14 +2456,14 @@ loop (and may prevent this call from returning).</p>
|
|
2450
2456
|
</tbody>
|
2451
2457
|
</table></div>
|
2452
2458
|
</div>
|
2453
|
-
<p class="since">Since 2.28</p>
|
2459
|
+
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
2454
2460
|
</div>
|
2455
2461
|
<hr>
|
2456
2462
|
<div class="refsect2">
|
2457
2463
|
<a name="g-main-context-invoke-full"></a><h3>g_main_context_invoke_full ()</h3>
|
2458
2464
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2459
2465
|
g_main_context_invoke_full (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
|
2460
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>,
|
2466
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> priority</code></em>,
|
2461
2467
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
|
2462
2468
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
2463
2469
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
|
@@ -2475,7 +2481,7 @@ scheduled as an idle and also lets you give a <a class="link" href="glib-Dataset
|
|
2475
2481
|
thread or with any particular context acquired.</p>
|
2476
2482
|
<div class="refsect3">
|
2477
2483
|
<a name="id-1.4.2.7.43.7"></a><h4>Parameters</h4>
|
2478
|
-
<div class="informaltable"><table width="100%" border="0">
|
2484
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2479
2485
|
<colgroup>
|
2480
2486
|
<col width="150px" class="parameters_name">
|
2481
2487
|
<col class="parameters_description">
|
@@ -2513,7 +2519,7 @@ is no longer in use, or <a class="link" href="glib-Standard-Macros.html#NULL:CAP
|
|
2513
2519
|
</tbody>
|
2514
2520
|
</table></div>
|
2515
2521
|
</div>
|
2516
|
-
<p class="since">Since 2.28</p>
|
2522
|
+
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
2517
2523
|
</div>
|
2518
2524
|
<hr>
|
2519
2525
|
<div class="refsect2">
|
@@ -2536,7 +2542,7 @@ always return <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="
|
|
2536
2542
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the thread-default context is the global default context. </p>
|
2537
2543
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2538
2544
|
</div>
|
2539
|
-
<p class="since">Since 2.22</p>
|
2545
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2540
2546
|
</div>
|
2541
2547
|
<hr>
|
2542
2548
|
<div class="refsect2">
|
@@ -2555,7 +2561,7 @@ is the global default context, this will return that <a class="link" href="glib-
|
|
2555
2561
|
with <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-unref" title="g_main_context_unref ()"><code class="function">g_main_context_unref()</code></a> when you are done with it. </p>
|
2556
2562
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2557
2563
|
</div>
|
2558
|
-
<p class="since">Since 2.32</p>
|
2564
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
2559
2565
|
</div>
|
2560
2566
|
<hr>
|
2561
2567
|
<div class="refsect2">
|
@@ -2591,7 +2597,7 @@ handle being used from a thread with a thread-default context. Eg,
|
|
2591
2597
|
see <a href="https://developer.gnome.org/gio/unstable/GFile.html#g-file-supports-thread-contexts"><code class="function">g_file_supports_thread_contexts()</code></a>.</p>
|
2592
2598
|
<div class="refsect3">
|
2593
2599
|
<a name="id-1.4.2.7.46.7"></a><h4>Parameters</h4>
|
2594
|
-
<div class="informaltable"><table width="100%" border="0">
|
2600
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2595
2601
|
<colgroup>
|
2596
2602
|
<col width="150px" class="parameters_name">
|
2597
2603
|
<col class="parameters_description">
|
@@ -2604,7 +2610,7 @@ see <a href="https://developer.gnome.org/gio/unstable/GFile.html#g-file-supports
|
|
2604
2610
|
</tr></tbody>
|
2605
2611
|
</table></div>
|
2606
2612
|
</div>
|
2607
|
-
<p class="since">Since 2.22</p>
|
2613
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2608
2614
|
</div>
|
2609
2615
|
<hr>
|
2610
2616
|
<div class="refsect2">
|
@@ -2616,7 +2622,7 @@ g_main_context_pop_thread_default (<em class="parameter"><code><a class="link" h
|
|
2616
2622
|
it was on the top of the stack).</p>
|
2617
2623
|
<div class="refsect3">
|
2618
2624
|
<a name="id-1.4.2.7.47.5"></a><h4>Parameters</h4>
|
2619
|
-
<div class="informaltable"><table width="100%" border="0">
|
2625
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2620
2626
|
<colgroup>
|
2621
2627
|
<col width="150px" class="parameters_name">
|
2622
2628
|
<col class="parameters_description">
|
@@ -2629,13 +2635,13 @@ it was on the top of the stack).</p>
|
|
2629
2635
|
</tr></tbody>
|
2630
2636
|
</table></div>
|
2631
2637
|
</div>
|
2632
|
-
<p class="since">Since 2.22</p>
|
2638
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2633
2639
|
</div>
|
2634
2640
|
<hr>
|
2635
2641
|
<div class="refsect2">
|
2636
2642
|
<a name="g-timeout-source-new"></a><h3>g_timeout_source_new ()</h3>
|
2637
2643
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> *
|
2638
|
-
g_timeout_source_new (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>);</pre>
|
2644
|
+
g_timeout_source_new (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> interval</code></em>);</pre>
|
2639
2645
|
<p>Creates a new timeout source.</p>
|
2640
2646
|
<p>The source will not initially be associated with any <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>
|
2641
2647
|
and must be added to one with <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()"><code class="function">g_source_attach()</code></a> before it will be
|
@@ -2644,7 +2650,7 @@ executed.</p>
|
|
2644
2650
|
time. See <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monotonic-time" title="g_get_monotonic_time ()"><code class="function">g_get_monotonic_time()</code></a>.</p>
|
2645
2651
|
<div class="refsect3">
|
2646
2652
|
<a name="id-1.4.2.7.48.7"></a><h4>Parameters</h4>
|
2647
|
-
<div class="informaltable"><table width="100%" border="0">
|
2653
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2648
2654
|
<colgroup>
|
2649
2655
|
<col width="150px" class="parameters_name">
|
2650
2656
|
<col class="parameters_description">
|
@@ -2660,14 +2666,13 @@ time. See <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monoton
|
|
2660
2666
|
<div class="refsect3">
|
2661
2667
|
<a name="id-1.4.2.7.48.8"></a><h4>Returns</h4>
|
2662
2668
|
<p> the newly-created timeout source</p>
|
2663
|
-
<p></p>
|
2664
2669
|
</div>
|
2665
2670
|
</div>
|
2666
2671
|
<hr>
|
2667
2672
|
<div class="refsect2">
|
2668
2673
|
<a name="g-timeout-source-new-seconds"></a><h3>g_timeout_source_new_seconds ()</h3>
|
2669
2674
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> *
|
2670
|
-
g_timeout_source_new_seconds (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>);</pre>
|
2675
|
+
g_timeout_source_new_seconds (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> interval</code></em>);</pre>
|
2671
2676
|
<p>Creates a new timeout source.</p>
|
2672
2677
|
<p>The source will not initially be associated with any <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>
|
2673
2678
|
and must be added to one with <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()"><code class="function">g_source_attach()</code></a> before it will be
|
@@ -2678,7 +2683,7 @@ in seconds.</p>
|
|
2678
2683
|
See <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monotonic-time" title="g_get_monotonic_time ()"><code class="function">g_get_monotonic_time()</code></a>.</p>
|
2679
2684
|
<div class="refsect3">
|
2680
2685
|
<a name="id-1.4.2.7.49.8"></a><h4>Parameters</h4>
|
2681
|
-
<div class="informaltable"><table width="100%" border="0">
|
2686
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2682
2687
|
<colgroup>
|
2683
2688
|
<col width="150px" class="parameters_name">
|
2684
2689
|
<col class="parameters_description">
|
@@ -2694,15 +2699,14 @@ See <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monotonic-time
|
|
2694
2699
|
<div class="refsect3">
|
2695
2700
|
<a name="id-1.4.2.7.49.9"></a><h4>Returns</h4>
|
2696
2701
|
<p> the newly-created timeout source</p>
|
2697
|
-
<p></p>
|
2698
2702
|
</div>
|
2699
|
-
<p class="since">Since 2.14</p>
|
2703
|
+
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
|
2700
2704
|
</div>
|
2701
2705
|
<hr>
|
2702
2706
|
<div class="refsect2">
|
2703
2707
|
<a name="g-timeout-add"></a><h3>g_timeout_add ()</h3>
|
2704
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
2705
|
-
g_timeout_add (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
|
2708
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
2709
|
+
g_timeout_add (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> interval</code></em>,
|
2706
2710
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
|
2707
2711
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
2708
2712
|
<p>Sets a function to be called at regular intervals, with the default
|
@@ -2716,6 +2720,9 @@ event sources. Thus they should not be relied on for precise timing.
|
|
2716
2720
|
After each call to the timeout function, the time of the next
|
2717
2721
|
timeout is recalculated based on the current time and the given interval
|
2718
2722
|
(it does not try to 'catch up' time lost in delays).</p>
|
2723
|
+
<p>See <a class="link" href="glib-The-Main-Event-Loop.html#mainloop-memory-management" title="Memory management of sources">memory management of sources</a> for details
|
2724
|
+
on how to handle the return value and memory management of <em class="parameter"><code>data</code></em>
|
2725
|
+
.</p>
|
2719
2726
|
<p>If you want to have a timer in the "seconds" range and do not care
|
2720
2727
|
about the exact time of the first call of the timer, use the
|
2721
2728
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add-seconds" title="g_timeout_add_seconds ()"><code class="function">g_timeout_add_seconds()</code></a> function; this function allows for more
|
@@ -2728,8 +2735,8 @@ use a custom main context.</p>
|
|
2728
2735
|
<p>The interval given is in terms of monotonic time, not wall clock
|
2729
2736
|
time. See <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monotonic-time" title="g_get_monotonic_time ()"><code class="function">g_get_monotonic_time()</code></a>.</p>
|
2730
2737
|
<div class="refsect3">
|
2731
|
-
<a name="id-1.4.2.7.50.
|
2732
|
-
<div class="informaltable"><table width="100%" border="0">
|
2738
|
+
<a name="id-1.4.2.7.50.10"></a><h4>Parameters</h4>
|
2739
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2733
2740
|
<colgroup>
|
2734
2741
|
<col width="150px" class="parameters_name">
|
2735
2742
|
<col class="parameters_description">
|
@@ -2757,17 +2764,16 @@ time. See <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monoton
|
|
2757
2764
|
</table></div>
|
2758
2765
|
</div>
|
2759
2766
|
<div class="refsect3">
|
2760
|
-
<a name="id-1.4.2.7.50.
|
2767
|
+
<a name="id-1.4.2.7.50.11"></a><h4>Returns</h4>
|
2761
2768
|
<p> the ID (greater than 0) of the event source.</p>
|
2762
|
-
<p></p>
|
2763
2769
|
</div>
|
2764
2770
|
</div>
|
2765
2771
|
<hr>
|
2766
2772
|
<div class="refsect2">
|
2767
2773
|
<a name="g-timeout-add-full"></a><h3>g_timeout_add_full ()</h3>
|
2768
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
2769
|
-
g_timeout_add_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>,
|
2770
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
|
2774
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
2775
|
+
g_timeout_add_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> priority</code></em>,
|
2776
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> interval</code></em>,
|
2771
2777
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
|
2772
2778
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
2773
2779
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
|
@@ -2784,6 +2790,9 @@ event sources. Thus they should not be relied on for precise timing.
|
|
2784
2790
|
After each call to the timeout function, the time of the next
|
2785
2791
|
timeout is recalculated based on the current time and the given interval
|
2786
2792
|
(it does not try to 'catch up' time lost in delays).</p>
|
2793
|
+
<p>See <a class="link" href="glib-The-Main-Event-Loop.html#mainloop-memory-management" title="Memory management of sources">memory management of sources</a> for details
|
2794
|
+
on how to handle the return value and memory management of <em class="parameter"><code>data</code></em>
|
2795
|
+
.</p>
|
2787
2796
|
<p>This internally creates a main loop source using <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-source-new" title="g_timeout_source_new ()"><code class="function">g_timeout_source_new()</code></a>
|
2788
2797
|
and attaches it to the global <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> using <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()"><code class="function">g_source_attach()</code></a>, so
|
2789
2798
|
the callback will be invoked in whichever thread is running that main
|
@@ -2791,9 +2800,10 @@ context. You can do these steps manually if you need greater control or to
|
|
2791
2800
|
use a custom main context.</p>
|
2792
2801
|
<p>The interval given in terms of monotonic time, not wall clock time.
|
2793
2802
|
See <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monotonic-time" title="g_get_monotonic_time ()"><code class="function">g_get_monotonic_time()</code></a>.</p>
|
2803
|
+
<p><span class="annotation">[<acronym title="Rename the original symbol's name to SYMBOL."><span class="acronym">rename-to</span></acronym> g_timeout_add]</span></p>
|
2794
2804
|
<div class="refsect3">
|
2795
|
-
<a name="id-1.4.2.7.51.
|
2796
|
-
<div class="informaltable"><table width="100%" border="0">
|
2805
|
+
<a name="id-1.4.2.7.51.10"></a><h4>Parameters</h4>
|
2806
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2797
2807
|
<colgroup>
|
2798
2808
|
<col width="150px" class="parameters_name">
|
2799
2809
|
<col class="parameters_description">
|
@@ -2832,16 +2842,15 @@ the range between <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY
|
|
2832
2842
|
</table></div>
|
2833
2843
|
</div>
|
2834
2844
|
<div class="refsect3">
|
2835
|
-
<a name="id-1.4.2.7.51.
|
2845
|
+
<a name="id-1.4.2.7.51.11"></a><h4>Returns</h4>
|
2836
2846
|
<p> the ID (greater than 0) of the event source.</p>
|
2837
|
-
<p></p>
|
2838
2847
|
</div>
|
2839
2848
|
</div>
|
2840
2849
|
<hr>
|
2841
2850
|
<div class="refsect2">
|
2842
2851
|
<a name="g-timeout-add-seconds"></a><h3>g_timeout_add_seconds ()</h3>
|
2843
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
2844
|
-
g_timeout_add_seconds (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
|
2852
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
2853
|
+
g_timeout_add_seconds (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> interval</code></em>,
|
2845
2854
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
|
2846
2855
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
2847
2856
|
<p>Sets a function to be called at regular intervals with the default
|
@@ -2855,11 +2864,14 @@ greater control. Also see <a class="link" href="glib-The-Main-Event-Loop.html#g-
|
|
2855
2864
|
<p>Note that the first call of the timer may not be precise for timeouts
|
2856
2865
|
of one second. If you need finer precision and have such a timeout,
|
2857
2866
|
you may want to use <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add" title="g_timeout_add ()"><code class="function">g_timeout_add()</code></a> instead.</p>
|
2867
|
+
<p>See <a class="link" href="glib-The-Main-Event-Loop.html#mainloop-memory-management" title="Memory management of sources">memory management of sources</a> for details
|
2868
|
+
on how to handle the return value and memory management of <em class="parameter"><code>data</code></em>
|
2869
|
+
.</p>
|
2858
2870
|
<p>The interval given is in terms of monotonic time, not wall clock
|
2859
2871
|
time. See <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monotonic-time" title="g_get_monotonic_time ()"><code class="function">g_get_monotonic_time()</code></a>.</p>
|
2860
2872
|
<div class="refsect3">
|
2861
|
-
<a name="id-1.4.2.7.52.
|
2862
|
-
<div class="informaltable"><table width="100%" border="0">
|
2873
|
+
<a name="id-1.4.2.7.52.9"></a><h4>Parameters</h4>
|
2874
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2863
2875
|
<colgroup>
|
2864
2876
|
<col width="150px" class="parameters_name">
|
2865
2877
|
<col class="parameters_description">
|
@@ -2886,18 +2898,17 @@ time. See <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monoton
|
|
2886
2898
|
</table></div>
|
2887
2899
|
</div>
|
2888
2900
|
<div class="refsect3">
|
2889
|
-
<a name="id-1.4.2.7.52.
|
2901
|
+
<a name="id-1.4.2.7.52.10"></a><h4>Returns</h4>
|
2890
2902
|
<p> the ID (greater than 0) of the event source.</p>
|
2891
|
-
<p></p>
|
2892
2903
|
</div>
|
2893
|
-
<p class="since">Since 2.14</p>
|
2904
|
+
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
|
2894
2905
|
</div>
|
2895
2906
|
<hr>
|
2896
2907
|
<div class="refsect2">
|
2897
2908
|
<a name="g-timeout-add-seconds-full"></a><h3>g_timeout_add_seconds_full ()</h3>
|
2898
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
2899
|
-
g_timeout_add_seconds_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>,
|
2900
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
|
2909
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
2910
|
+
g_timeout_add_seconds_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> priority</code></em>,
|
2911
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> interval</code></em>,
|
2901
2912
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
|
2902
2913
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
2903
2914
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
|
@@ -2919,6 +2930,9 @@ event sources. Thus they should not be relied on for precise timing.
|
|
2919
2930
|
After each call to the timeout function, the time of the next
|
2920
2931
|
timeout is recalculated based on the current time and the given <em class="parameter"><code>interval</code></em>
|
2921
2932
|
</p>
|
2933
|
+
<p>See <a class="link" href="glib-The-Main-Event-Loop.html#mainloop-memory-management" title="Memory management of sources">memory management of sources</a> for details
|
2934
|
+
on how to handle the return value and memory management of <em class="parameter"><code>data</code></em>
|
2935
|
+
.</p>
|
2922
2936
|
<p>If you want timing more precise than whole seconds, use <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add" title="g_timeout_add ()"><code class="function">g_timeout_add()</code></a>
|
2923
2937
|
instead.</p>
|
2924
2938
|
<p>The grouping of timers to fire at the same time results in a more power
|
@@ -2931,9 +2945,10 @@ using <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title
|
|
2931
2945
|
greater control.</p>
|
2932
2946
|
<p>The interval given is in terms of monotonic time, not wall clock
|
2933
2947
|
time. See <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monotonic-time" title="g_get_monotonic_time ()"><code class="function">g_get_monotonic_time()</code></a>.</p>
|
2948
|
+
<p><span class="annotation">[<acronym title="Rename the original symbol's name to SYMBOL."><span class="acronym">rename-to</span></acronym> g_timeout_add_seconds]</span></p>
|
2934
2949
|
<div class="refsect3">
|
2935
|
-
<a name="id-1.4.2.7.53.
|
2936
|
-
<div class="informaltable"><table width="100%" border="0">
|
2950
|
+
<a name="id-1.4.2.7.53.13"></a><h4>Parameters</h4>
|
2951
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2937
2952
|
<colgroup>
|
2938
2953
|
<col width="150px" class="parameters_name">
|
2939
2954
|
<col class="parameters_description">
|
@@ -2971,11 +2986,10 @@ the range between <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY
|
|
2971
2986
|
</table></div>
|
2972
2987
|
</div>
|
2973
2988
|
<div class="refsect3">
|
2974
|
-
<a name="id-1.4.2.7.53.
|
2989
|
+
<a name="id-1.4.2.7.53.14"></a><h4>Returns</h4>
|
2975
2990
|
<p> the ID (greater than 0) of the event source.</p>
|
2976
|
-
<p></p>
|
2977
2991
|
</div>
|
2978
|
-
<p class="since">Since 2.14</p>
|
2992
|
+
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
|
2979
2993
|
</div>
|
2980
2994
|
<hr>
|
2981
2995
|
<div class="refsect2">
|
@@ -2991,13 +3005,12 @@ have a default priority of <a class="link" href="glib-The-Main-Event-Loop.html#G
|
|
2991
3005
|
<div class="refsect3">
|
2992
3006
|
<a name="id-1.4.2.7.54.6"></a><h4>Returns</h4>
|
2993
3007
|
<p> the newly-created idle source</p>
|
2994
|
-
<p></p>
|
2995
3008
|
</div>
|
2996
3009
|
</div>
|
2997
3010
|
<hr>
|
2998
3011
|
<div class="refsect2">
|
2999
3012
|
<a name="g-idle-add"></a><h3>g_idle_add ()</h3>
|
3000
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
3013
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
3001
3014
|
g_idle_add (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
|
3002
3015
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
3003
3016
|
<p>Adds a function to be called whenever there are no higher priority
|
@@ -3005,14 +3018,17 @@ events pending to the default main loop. The function is given the
|
|
3005
3018
|
default idle priority, <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT-IDLE:CAPS" title="G_PRIORITY_DEFAULT_IDLE"><span class="type">G_PRIORITY_DEFAULT_IDLE</span></a>. If the function
|
3006
3019
|
returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> it is automatically removed from the list of event
|
3007
3020
|
sources and will not be called again.</p>
|
3021
|
+
<p>See <a class="link" href="glib-The-Main-Event-Loop.html#mainloop-memory-management" title="Memory management of sources">memory management of sources</a> for details
|
3022
|
+
on how to handle the return value and memory management of <em class="parameter"><code>data</code></em>
|
3023
|
+
.</p>
|
3008
3024
|
<p>This internally creates a main loop source using <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-source-new" title="g_idle_source_new ()"><code class="function">g_idle_source_new()</code></a>
|
3009
3025
|
and attaches it to the global <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> using <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()"><code class="function">g_source_attach()</code></a>, so
|
3010
3026
|
the callback will be invoked in whichever thread is running that main
|
3011
3027
|
context. You can do these steps manually if you need greater control or to
|
3012
3028
|
use a custom main context.</p>
|
3013
3029
|
<div class="refsect3">
|
3014
|
-
<a name="id-1.4.2.7.55.
|
3015
|
-
<div class="informaltable"><table width="100%" border="0">
|
3030
|
+
<a name="id-1.4.2.7.55.7"></a><h4>Parameters</h4>
|
3031
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3016
3032
|
<colgroup>
|
3017
3033
|
<col width="150px" class="parameters_name">
|
3018
3034
|
<col class="parameters_description">
|
@@ -3034,30 +3050,33 @@ use a custom main context.</p>
|
|
3034
3050
|
</table></div>
|
3035
3051
|
</div>
|
3036
3052
|
<div class="refsect3">
|
3037
|
-
<a name="id-1.4.2.7.55.
|
3053
|
+
<a name="id-1.4.2.7.55.8"></a><h4>Returns</h4>
|
3038
3054
|
<p> the ID (greater than 0) of the event source.</p>
|
3039
|
-
<p></p>
|
3040
3055
|
</div>
|
3041
3056
|
</div>
|
3042
3057
|
<hr>
|
3043
3058
|
<div class="refsect2">
|
3044
3059
|
<a name="g-idle-add-full"></a><h3>g_idle_add_full ()</h3>
|
3045
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
3046
|
-
g_idle_add_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>,
|
3060
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
3061
|
+
g_idle_add_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> priority</code></em>,
|
3047
3062
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
|
3048
3063
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
3049
3064
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
|
3050
3065
|
<p>Adds a function to be called whenever there are no higher priority
|
3051
3066
|
events pending. If the function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> it is automatically
|
3052
3067
|
removed from the list of event sources and will not be called again.</p>
|
3068
|
+
<p>See <a class="link" href="glib-The-Main-Event-Loop.html#mainloop-memory-management" title="Memory management of sources">memory management of sources</a> for details
|
3069
|
+
on how to handle the return value and memory management of <em class="parameter"><code>data</code></em>
|
3070
|
+
.</p>
|
3053
3071
|
<p>This internally creates a main loop source using <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-source-new" title="g_idle_source_new ()"><code class="function">g_idle_source_new()</code></a>
|
3054
3072
|
and attaches it to the global <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> using <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()"><code class="function">g_source_attach()</code></a>, so
|
3055
3073
|
the callback will be invoked in whichever thread is running that main
|
3056
3074
|
context. You can do these steps manually if you need greater control or to
|
3057
3075
|
use a custom main context.</p>
|
3076
|
+
<p><span class="annotation">[<acronym title="Rename the original symbol's name to SYMBOL."><span class="acronym">rename-to</span></acronym> g_idle_add]</span></p>
|
3058
3077
|
<div class="refsect3">
|
3059
|
-
<a name="id-1.4.2.7.56.
|
3060
|
-
<div class="informaltable"><table width="100%" border="0">
|
3078
|
+
<a name="id-1.4.2.7.56.8"></a><h4>Parameters</h4>
|
3079
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3061
3080
|
<colgroup>
|
3062
3081
|
<col width="150px" class="parameters_name">
|
3063
3082
|
<col class="parameters_description">
|
@@ -3090,9 +3109,8 @@ range between <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEF
|
|
3090
3109
|
</table></div>
|
3091
3110
|
</div>
|
3092
3111
|
<div class="refsect3">
|
3093
|
-
<a name="id-1.4.2.7.56.
|
3112
|
+
<a name="id-1.4.2.7.56.9"></a><h4>Returns</h4>
|
3094
3113
|
<p> the ID (greater than 0) of the event source.</p>
|
3095
|
-
<p></p>
|
3096
3114
|
</div>
|
3097
3115
|
</div>
|
3098
3116
|
<hr>
|
@@ -3103,7 +3121,7 @@ g_idle_remove_by_data (<em class="parameter"><code><a class="link" href="glib-Ba
|
|
3103
3121
|
<p>Removes the idle function with the given data.</p>
|
3104
3122
|
<div class="refsect3">
|
3105
3123
|
<a name="id-1.4.2.7.57.5"></a><h4>Parameters</h4>
|
3106
|
-
<div class="informaltable"><table width="100%" border="0">
|
3124
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3107
3125
|
<colgroup>
|
3108
3126
|
<col width="150px" class="parameters_name">
|
3109
3127
|
<col class="parameters_description">
|
@@ -3119,7 +3137,6 @@ g_idle_remove_by_data (<em class="parameter"><code><a class="link" href="glib-Ba
|
|
3119
3137
|
<div class="refsect3">
|
3120
3138
|
<a name="id-1.4.2.7.57.6"></a><h4>Returns</h4>
|
3121
3139
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if an idle source was found and removed.</p>
|
3122
|
-
<p></p>
|
3123
3140
|
</div>
|
3124
3141
|
</div>
|
3125
3142
|
<hr>
|
@@ -3127,7 +3144,7 @@ g_idle_remove_by_data (<em class="parameter"><code><a class="link" href="glib-Ba
|
|
3127
3144
|
<a name="GChildWatchFunc"></a><h3>GChildWatchFunc ()</h3>
|
3128
3145
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3129
3146
|
<span class="c_punctuation">(</span>*GChildWatchFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPid" title="GPid"><span class="type">GPid</span></a> pid</code></em>,
|
3130
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> status</code></em>,
|
3147
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> status</code></em>,
|
3131
3148
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3132
3149
|
<p>Prototype of a <span class="type">GChildWatchSource</span> callback, called when a child
|
3133
3150
|
process has exited. To interpret <em class="parameter"><code>status</code></em>
|
@@ -3135,7 +3152,7 @@ process has exited. To interpret <em class="parameter"><code>status</code></em>
|
|
3135
3152
|
for <a class="link" href="glib-Spawning-Processes.html#g-spawn-check-exit-status" title="g_spawn_check_exit_status ()"><code class="function">g_spawn_check_exit_status()</code></a>.</p>
|
3136
3153
|
<div class="refsect3">
|
3137
3154
|
<a name="id-1.4.2.7.58.5"></a><h4>Parameters</h4>
|
3138
|
-
<div class="informaltable"><table width="100%" border="0">
|
3155
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3139
3156
|
<colgroup>
|
3140
3157
|
<col width="150px" class="parameters_name">
|
3141
3158
|
<col class="parameters_description">
|
@@ -3188,7 +3205,7 @@ be greater than 0 (i.e. this function must wait for a specific child,
|
|
3188
3205
|
and cannot wait for one of many children by using a nonpositive argument).</p>
|
3189
3206
|
<div class="refsect3">
|
3190
3207
|
<a name="id-1.4.2.7.59.10"></a><h4>Parameters</h4>
|
3191
|
-
<div class="informaltable"><table width="100%" border="0">
|
3208
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3192
3209
|
<colgroup>
|
3193
3210
|
<col width="150px" class="parameters_name">
|
3194
3211
|
<col class="parameters_description">
|
@@ -3205,14 +3222,13 @@ Windows a handle for a process (which doesn't have to be a child).</p></td>
|
|
3205
3222
|
<div class="refsect3">
|
3206
3223
|
<a name="id-1.4.2.7.59.11"></a><h4>Returns</h4>
|
3207
3224
|
<p> the newly-created child watch source</p>
|
3208
|
-
<p></p>
|
3209
3225
|
</div>
|
3210
|
-
<p class="since">Since 2.4</p>
|
3226
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
3211
3227
|
</div>
|
3212
3228
|
<hr>
|
3213
3229
|
<div class="refsect2">
|
3214
3230
|
<a name="g-child-watch-add"></a><h3>g_child_watch_add ()</h3>
|
3215
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
3231
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
3216
3232
|
g_child_watch_add (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPid" title="GPid"><span class="type">GPid</span></a> pid</code></em>,
|
3217
3233
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GChildWatchFunc" title="GChildWatchFunc ()"><span class="type">GChildWatchFunc</span></a> function</code></em>,
|
3218
3234
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
@@ -3235,7 +3251,7 @@ using <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title
|
|
3235
3251
|
need greater control.</p>
|
3236
3252
|
<div class="refsect3">
|
3237
3253
|
<a name="id-1.4.2.7.60.9"></a><h4>Parameters</h4>
|
3238
|
-
<div class="informaltable"><table width="100%" border="0">
|
3254
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3239
3255
|
<colgroup>
|
3240
3256
|
<col width="150px" class="parameters_name">
|
3241
3257
|
<col class="parameters_description">
|
@@ -3266,15 +3282,14 @@ a child).</p></td>
|
|
3266
3282
|
<div class="refsect3">
|
3267
3283
|
<a name="id-1.4.2.7.60.10"></a><h4>Returns</h4>
|
3268
3284
|
<p> the ID (greater than 0) of the event source.</p>
|
3269
|
-
<p></p>
|
3270
3285
|
</div>
|
3271
|
-
<p class="since">Since 2.4</p>
|
3286
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
3272
3287
|
</div>
|
3273
3288
|
<hr>
|
3274
3289
|
<div class="refsect2">
|
3275
3290
|
<a name="g-child-watch-add-full"></a><h3>g_child_watch_add_full ()</h3>
|
3276
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
3277
|
-
g_child_watch_add_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>,
|
3291
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
3292
|
+
g_child_watch_add_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> priority</code></em>,
|
3278
3293
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPid" title="GPid"><span class="type">GPid</span></a> pid</code></em>,
|
3279
3294
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GChildWatchFunc" title="GChildWatchFunc ()"><span class="type">GChildWatchFunc</span></a> function</code></em>,
|
3280
3295
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
@@ -3300,9 +3315,10 @@ in the callback function for the source.</p>
|
|
3300
3315
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-child-watch-source-new" title="g_child_watch_source_new ()"><code class="function">g_child_watch_source_new()</code></a> and attaches it to the main loop context
|
3301
3316
|
using <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()"><code class="function">g_source_attach()</code></a>. You can do these steps manually if you
|
3302
3317
|
need greater control.</p>
|
3318
|
+
<p><span class="annotation">[<acronym title="Rename the original symbol's name to SYMBOL."><span class="acronym">rename-to</span></acronym> g_child_watch_add]</span></p>
|
3303
3319
|
<div class="refsect3">
|
3304
|
-
<a name="id-1.4.2.7.61.
|
3305
|
-
<div class="informaltable"><table width="100%" border="0">
|
3320
|
+
<a name="id-1.4.2.7.61.11"></a><h4>Parameters</h4>
|
3321
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3306
3322
|
<colgroup>
|
3307
3323
|
<col width="150px" class="parameters_name">
|
3308
3324
|
<col class="parameters_description">
|
@@ -3341,19 +3357,18 @@ Windows a handle for a process (which doesn't have to be a child).</p></td>
|
|
3341
3357
|
</table></div>
|
3342
3358
|
</div>
|
3343
3359
|
<div class="refsect3">
|
3344
|
-
<a name="id-1.4.2.7.61.
|
3360
|
+
<a name="id-1.4.2.7.61.12"></a><h4>Returns</h4>
|
3345
3361
|
<p> the ID (greater than 0) of the event source.</p>
|
3346
|
-
<p></p>
|
3347
3362
|
</div>
|
3348
|
-
<p class="since">Since 2.4</p>
|
3363
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
3349
3364
|
</div>
|
3350
3365
|
<hr>
|
3351
3366
|
<div class="refsect2">
|
3352
3367
|
<a name="g-poll"></a><h3>g_poll ()</h3>
|
3353
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>
|
3368
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="returnvalue">gint</span></a>
|
3354
3369
|
g_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
|
3355
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nfds</code></em>,
|
3356
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> timeout</code></em>);</pre>
|
3370
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> nfds</code></em>,
|
3371
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> timeout</code></em>);</pre>
|
3357
3372
|
<p>Polls <em class="parameter"><code>fds</code></em>
|
3358
3373
|
, as with the <code class="function">poll()</code> system call, but portably. (On
|
3359
3374
|
systems that don't have <code class="function">poll()</code>, it is emulated using <code class="function">select()</code>.)
|
@@ -3374,7 +3389,7 @@ Windows, the easiest solution is to construct all of your
|
|
3374
3389
|
<a href="glib-The-Main-Event-Loop.html#GPollFD"><span class="type">GPollFDs</span></a> with <code class="function">g_io_channel_win32_make_pollfd()</code>.</p>
|
3375
3390
|
<div class="refsect3">
|
3376
3391
|
<a name="id-1.4.2.7.62.7"></a><h4>Parameters</h4>
|
3377
|
-
<div class="informaltable"><table width="100%" border="0">
|
3392
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3378
3393
|
<colgroup>
|
3379
3394
|
<col width="150px" class="parameters_name">
|
3380
3395
|
<col class="parameters_description">
|
@@ -3406,9 +3421,8 @@ Windows, the easiest solution is to construct all of your
|
|
3406
3421
|
whose <code class="literal">revents</code> fields
|
3407
3422
|
were filled in, or 0 if the operation timed out, or -1 on error or
|
3408
3423
|
if the call was interrupted.</p>
|
3409
|
-
<p></p>
|
3410
3424
|
</div>
|
3411
|
-
<p class="since">Since 2.20</p>
|
3425
|
+
<p class="since">Since: <a class="link" href="api-index-2-20.html#api-index-2.20">2.20</a></p>
|
3412
3426
|
</div>
|
3413
3427
|
<hr>
|
3414
3428
|
<div class="refsect2">
|
@@ -3423,7 +3437,7 @@ which cannot be used here for dependency reasons.</p>
|
|
3423
3437
|
<a name="g-source-new"></a><h3>g_source_new ()</h3>
|
3424
3438
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> *
|
3425
3439
|
g_source_new (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a> *source_funcs</code></em>,
|
3426
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> struct_size</code></em>);</pre>
|
3440
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> struct_size</code></em>);</pre>
|
3427
3441
|
<p>Creates a new <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> structure. The size is specified to
|
3428
3442
|
allow creating structures derived from <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> that contain
|
3429
3443
|
additional data. The size passed in must be at least
|
@@ -3433,7 +3447,7 @@ and must be added to one with <a class="link" href="glib-The-Main-Event-Loop.htm
|
|
3433
3447
|
executed.</p>
|
3434
3448
|
<div class="refsect3">
|
3435
3449
|
<a name="id-1.4.2.7.64.6"></a><h4>Parameters</h4>
|
3436
|
-
<div class="informaltable"><table width="100%" border="0">
|
3450
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3437
3451
|
<colgroup>
|
3438
3452
|
<col width="150px" class="parameters_name">
|
3439
3453
|
<col class="parameters_description">
|
@@ -3457,7 +3471,6 @@ the sources behavior.</p></td>
|
|
3457
3471
|
<div class="refsect3">
|
3458
3472
|
<a name="id-1.4.2.7.64.7"></a><h4>Returns</h4>
|
3459
3473
|
<p> the newly-created <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>.</p>
|
3460
|
-
<p></p>
|
3461
3474
|
</div>
|
3462
3475
|
</div>
|
3463
3476
|
<hr>
|
@@ -3468,7 +3481,7 @@ g_source_ref (<em class="parameter"><code><a class="link" href="glib-The-Main-Ev
|
|
3468
3481
|
<p>Increases the reference count on a source by one.</p>
|
3469
3482
|
<div class="refsect3">
|
3470
3483
|
<a name="id-1.4.2.7.65.5"></a><h4>Parameters</h4>
|
3471
|
-
<div class="informaltable"><table width="100%" border="0">
|
3484
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3472
3485
|
<colgroup>
|
3473
3486
|
<col width="150px" class="parameters_name">
|
3474
3487
|
<col class="parameters_description">
|
@@ -3485,7 +3498,6 @@ g_source_ref (<em class="parameter"><code><a class="link" href="glib-The-Main-Ev
|
|
3485
3498
|
<a name="id-1.4.2.7.65.6"></a><h4>Returns</h4>
|
3486
3499
|
<p> <em class="parameter"><code>source</code></em>
|
3487
3500
|
</p>
|
3488
|
-
<p></p>
|
3489
3501
|
</div>
|
3490
3502
|
</div>
|
3491
3503
|
<hr>
|
@@ -3498,7 +3510,7 @@ resulting reference count is zero the source and associated
|
|
3498
3510
|
memory will be destroyed.</p>
|
3499
3511
|
<div class="refsect3">
|
3500
3512
|
<a name="id-1.4.2.7.66.5"></a><h4>Parameters</h4>
|
3501
|
-
<div class="informaltable"><table width="100%" border="0">
|
3513
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3502
3514
|
<colgroup>
|
3503
3515
|
<col width="150px" class="parameters_name">
|
3504
3516
|
<col class="parameters_description">
|
@@ -3522,7 +3534,7 @@ g_source_set_funcs (<em class="parameter"><code><a class="link" href="glib-The-M
|
|
3522
3534
|
default implementations) of an unattached source.</p>
|
3523
3535
|
<div class="refsect3">
|
3524
3536
|
<a name="id-1.4.2.7.67.5"></a><h4>Parameters</h4>
|
3525
|
-
<div class="informaltable"><table width="100%" border="0">
|
3537
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3526
3538
|
<colgroup>
|
3527
3539
|
<col width="150px" class="parameters_name">
|
3528
3540
|
<col class="parameters_description">
|
@@ -3542,12 +3554,12 @@ default implementations) of an unattached source.</p>
|
|
3542
3554
|
</tbody>
|
3543
3555
|
</table></div>
|
3544
3556
|
</div>
|
3545
|
-
<p class="since">Since 2.12</p>
|
3557
|
+
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
|
3546
3558
|
</div>
|
3547
3559
|
<hr>
|
3548
3560
|
<div class="refsect2">
|
3549
3561
|
<a name="g-source-attach"></a><h3>g_source_attach ()</h3>
|
3550
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
3562
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
3551
3563
|
g_source_attach (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
|
3552
3564
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
|
3553
3565
|
<p>Adds a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> to a <em class="parameter"><code>context</code></em>
|
@@ -3555,7 +3567,7 @@ g_source_attach (<em class="parameter"><code><a class="link" href="glib-The-Main
|
|
3555
3567
|
that context. Remove it by calling <a class="link" href="glib-The-Main-Event-Loop.html#g-source-destroy" title="g_source_destroy ()"><code class="function">g_source_destroy()</code></a>.</p>
|
3556
3568
|
<div class="refsect3">
|
3557
3569
|
<a name="id-1.4.2.7.68.5"></a><h4>Parameters</h4>
|
3558
|
-
<div class="informaltable"><table width="100%" border="0">
|
3570
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3559
3571
|
<colgroup>
|
3560
3572
|
<col width="150px" class="parameters_name">
|
3561
3573
|
<col class="parameters_description">
|
@@ -3579,7 +3591,6 @@ that context. Remove it by calling <a class="link" href="glib-The-Main-Event-Loo
|
|
3579
3591
|
<a name="id-1.4.2.7.68.6"></a><h4>Returns</h4>
|
3580
3592
|
<p> the ID (greater than 0) for the source within the
|
3581
3593
|
<a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>. </p>
|
3582
|
-
<p></p>
|
3583
3594
|
</div>
|
3584
3595
|
</div>
|
3585
3596
|
<hr>
|
@@ -3593,7 +3604,7 @@ context. It is safe to call this on sources which have already been
|
|
3593
3604
|
removed from their context.</p>
|
3594
3605
|
<div class="refsect3">
|
3595
3606
|
<a name="id-1.4.2.7.69.5"></a><h4>Parameters</h4>
|
3596
|
-
<div class="informaltable"><table width="100%" border="0">
|
3607
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3597
3608
|
<colgroup>
|
3598
3609
|
<col width="150px" class="parameters_name">
|
3599
3610
|
<col class="parameters_description">
|
@@ -3650,35 +3661,35 @@ before the dispatch of your idle handler.</p>
|
|
3650
3661
|
27
|
3651
3662
|
28
|
3652
3663
|
29</pre></td>
|
3653
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
3654
|
-
<span class="function">idle_callback</span
|
3655
|
-
<span class="
|
3656
|
-
|
3657
|
-
|
3658
|
-
<span class="
|
3659
|
-
<span class="
|
3660
|
-
<span class="
|
3661
|
-
<span class="
|
3662
|
-
|
3663
|
-
<span class="
|
3664
|
-
<span class="
|
3665
|
-
|
3666
|
-
<span class="
|
3667
|
-
<span class="function">some_widget_do_stuff_later</span
|
3668
|
-
<span class="
|
3669
|
-
<span class="
|
3670
|
-
<span class="
|
3671
|
-
|
3672
|
-
<span class="
|
3673
|
-
<span class="function">some_widget_finalize</span
|
3674
|
-
<span class="
|
3675
|
-
|
3676
|
-
|
3677
|
-
<span class="
|
3678
|
-
<span class="
|
3679
|
-
|
3680
|
-
<span class="
|
3681
|
-
<span class="
|
3664
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static</span> gboolean
|
3665
|
+
<span class="function">idle_callback</span> <span class="gtkdoc opt">(</span>gpointer data<span class="gtkdoc opt">)</span>
|
3666
|
+
<span class="gtkdoc opt">{</span>
|
3667
|
+
SomeWidget <span class="gtkdoc opt">*</span>self <span class="gtkdoc opt">=</span> data<span class="gtkdoc opt">;</span>
|
3668
|
+
|
3669
|
+
<span class="function"><a href="http://developer.gnome.org/gdk2/gdk3-Threads.html#GDK-THREADS-ENTER:CAPS">GDK_THREADS_ENTER</a></span> <span class="gtkdoc opt">();</span>
|
3670
|
+
<span class="gtkdoc slc">// do stuff with self</span>
|
3671
|
+
self<span class="gtkdoc opt">-></span>idle_id <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span>
|
3672
|
+
<span class="function"><a href="http://developer.gnome.org/gdk2/gdk3-Threads.html#GDK-THREADS-LEAVE:CAPS">GDK_THREADS_LEAVE</a></span> <span class="gtkdoc opt">();</span>
|
3673
|
+
|
3674
|
+
<span class="keyword">return</span> G_SOURCE_REMOVE<span class="gtkdoc opt">;</span>
|
3675
|
+
<span class="gtkdoc opt">}</span>
|
3676
|
+
|
3677
|
+
<span class="gtkdoc kwb">static void</span>
|
3678
|
+
<span class="function">some_widget_do_stuff_later</span> <span class="gtkdoc opt">(</span>SomeWidget <span class="gtkdoc opt">*</span>self<span class="gtkdoc opt">)</span>
|
3679
|
+
<span class="gtkdoc opt">{</span>
|
3680
|
+
self<span class="gtkdoc opt">-></span>idle_id <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-The-Main-Event-Loop.html#g-idle-add">g_idle_add</a></span> <span class="gtkdoc opt">(</span>idle_callback<span class="gtkdoc opt">,</span> self<span class="gtkdoc opt">);</span>
|
3681
|
+
<span class="gtkdoc opt">}</span>
|
3682
|
+
|
3683
|
+
<span class="gtkdoc kwb">static void</span>
|
3684
|
+
<span class="function">some_widget_finalize</span> <span class="gtkdoc opt">(</span>GObject <span class="gtkdoc opt">*</span>object<span class="gtkdoc opt">)</span>
|
3685
|
+
<span class="gtkdoc opt">{</span>
|
3686
|
+
SomeWidget <span class="gtkdoc opt">*</span>self <span class="gtkdoc opt">=</span> <span class="function">SOME_WIDGET</span> <span class="gtkdoc opt">(</span>object<span class="gtkdoc opt">);</span>
|
3687
|
+
|
3688
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>self<span class="gtkdoc opt">-></span>idle_id<span class="gtkdoc opt">)</span>
|
3689
|
+
<span class="function"><a href="glib-The-Main-Event-Loop.html#g-source-remove">g_source_remove</a></span> <span class="gtkdoc opt">(</span>self<span class="gtkdoc opt">-></span>idle_id<span class="gtkdoc opt">);</span>
|
3690
|
+
|
3691
|
+
<span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS">G_OBJECT_CLASS</a></span> <span class="gtkdoc opt">(</span>parent_class<span class="gtkdoc opt">)-></span><span class="function">finalize</span> <span class="gtkdoc opt">(</span>object<span class="gtkdoc opt">);</span>
|
3692
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
3682
3693
|
</tr>
|
3683
3694
|
</tbody>
|
3684
3695
|
</table>
|
@@ -3708,20 +3719,20 @@ has already been destroy within the callback.</p>
|
|
3708
3719
|
12
|
3709
3720
|
13
|
3710
3721
|
14</pre></td>
|
3711
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
3712
|
-
<span class="function">idle_callback</span
|
3713
|
-
<span class="
|
3714
|
-
|
3715
|
-
|
3716
|
-
<span class="
|
3717
|
-
<span class="
|
3718
|
-
<span class="
|
3719
|
-
<span class="
|
3720
|
-
<span class="
|
3721
|
-
<span class="
|
3722
|
-
|
3723
|
-
<span class="
|
3724
|
-
<span class="
|
3722
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static</span> gboolean
|
3723
|
+
<span class="function">idle_callback</span> <span class="gtkdoc opt">(</span>gpointer data<span class="gtkdoc opt">)</span>
|
3724
|
+
<span class="gtkdoc opt">{</span>
|
3725
|
+
SomeWidget <span class="gtkdoc opt">*</span>self <span class="gtkdoc opt">=</span> data<span class="gtkdoc opt">;</span>
|
3726
|
+
|
3727
|
+
<span class="function"><a href="http://developer.gnome.org/gdk2/gdk3-Threads.html#GDK-THREADS-ENTER:CAPS">GDK_THREADS_ENTER</a></span> <span class="gtkdoc opt">();</span>
|
3728
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(!</span><span class="function"><a href="glib-The-Main-Event-Loop.html#g-source-is-destroyed">g_source_is_destroyed</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="glib-The-Main-Event-Loop.html#g-main-current-source">g_main_current_source</a></span> <span class="gtkdoc opt">()))</span>
|
3729
|
+
<span class="gtkdoc opt">{</span>
|
3730
|
+
<span class="gtkdoc slc">// do stuff with self</span>
|
3731
|
+
<span class="gtkdoc opt">}</span>
|
3732
|
+
<span class="function"><a href="http://developer.gnome.org/gdk2/gdk3-Threads.html#GDK-THREADS-LEAVE:CAPS">GDK_THREADS_LEAVE</a></span> <span class="gtkdoc opt">();</span>
|
3733
|
+
|
3734
|
+
<span class="keyword">return</span> FALSE<span class="gtkdoc opt">;</span>
|
3735
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
3725
3736
|
</tr>
|
3726
3737
|
</tbody>
|
3727
3738
|
</table>
|
@@ -3730,7 +3741,7 @@ has already been destroy within the callback.</p>
|
|
3730
3741
|
<p></p>
|
3731
3742
|
<div class="refsect3">
|
3732
3743
|
<a name="id-1.4.2.7.70.11"></a><h4>Parameters</h4>
|
3733
|
-
<div class="informaltable"><table width="100%" border="0">
|
3744
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3734
3745
|
<colgroup>
|
3735
3746
|
<col width="150px" class="parameters_name">
|
3736
3747
|
<col class="parameters_description">
|
@@ -3746,16 +3757,15 @@ has already been destroy within the callback.</p>
|
|
3746
3757
|
<div class="refsect3">
|
3747
3758
|
<a name="id-1.4.2.7.70.12"></a><h4>Returns</h4>
|
3748
3759
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the source has been destroyed</p>
|
3749
|
-
<p></p>
|
3750
3760
|
</div>
|
3751
|
-
<p class="since">Since 2.12</p>
|
3761
|
+
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
|
3752
3762
|
</div>
|
3753
3763
|
<hr>
|
3754
3764
|
<div class="refsect2">
|
3755
3765
|
<a name="g-source-set-priority"></a><h3>g_source_set_priority ()</h3>
|
3756
3766
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3757
3767
|
g_source_set_priority (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
|
3758
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>);</pre>
|
3768
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> priority</code></em>);</pre>
|
3759
3769
|
<p>Sets the priority of a source. While the main loop is being run, a
|
3760
3770
|
source will be dispatched if it is ready to be dispatched and no
|
3761
3771
|
sources at a higher (numerically smaller) priority are ready to be
|
@@ -3765,7 +3775,7 @@ permitted to change the priority of a source once it has been added
|
|
3765
3775
|
as a child of another source.</p>
|
3766
3776
|
<div class="refsect3">
|
3767
3777
|
<a name="id-1.4.2.7.71.6"></a><h4>Parameters</h4>
|
3768
|
-
<div class="informaltable"><table width="100%" border="0">
|
3778
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3769
3779
|
<colgroup>
|
3770
3780
|
<col width="150px" class="parameters_name">
|
3771
3781
|
<col class="parameters_description">
|
@@ -3789,12 +3799,12 @@ as a child of another source.</p>
|
|
3789
3799
|
<hr>
|
3790
3800
|
<div class="refsect2">
|
3791
3801
|
<a name="g-source-get-priority"></a><h3>g_source_get_priority ()</h3>
|
3792
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>
|
3802
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="returnvalue">gint</span></a>
|
3793
3803
|
g_source_get_priority (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
|
3794
3804
|
<p>Gets the priority of a source.</p>
|
3795
3805
|
<div class="refsect3">
|
3796
3806
|
<a name="id-1.4.2.7.72.5"></a><h4>Parameters</h4>
|
3797
|
-
<div class="informaltable"><table width="100%" border="0">
|
3807
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3798
3808
|
<colgroup>
|
3799
3809
|
<col width="150px" class="parameters_name">
|
3800
3810
|
<col class="parameters_description">
|
@@ -3810,7 +3820,6 @@ g_source_get_priority (<em class="parameter"><code><a class="link" href="glib-Th
|
|
3810
3820
|
<div class="refsect3">
|
3811
3821
|
<a name="id-1.4.2.7.72.6"></a><h4>Returns</h4>
|
3812
3822
|
<p> the priority of the source</p>
|
3813
|
-
<p></p>
|
3814
3823
|
</div>
|
3815
3824
|
</div>
|
3816
3825
|
<hr>
|
@@ -3826,7 +3835,7 @@ will be processed normally. Otherwise, all processing of this
|
|
3826
3835
|
source is blocked until the dispatch function returns.</p>
|
3827
3836
|
<div class="refsect3">
|
3828
3837
|
<a name="id-1.4.2.7.73.5"></a><h4>Parameters</h4>
|
3829
|
-
<div class="informaltable"><table width="100%" border="0">
|
3838
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3830
3839
|
<colgroup>
|
3831
3840
|
<col width="150px" class="parameters_name">
|
3832
3841
|
<col class="parameters_description">
|
@@ -3856,7 +3865,7 @@ g_source_get_can_recurse (<em class="parameter"><code><a class="link" href="glib
|
|
3856
3865
|
see <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-can-recurse" title="g_source_set_can_recurse ()"><code class="function">g_source_set_can_recurse()</code></a>.</p>
|
3857
3866
|
<div class="refsect3">
|
3858
3867
|
<a name="id-1.4.2.7.74.5"></a><h4>Parameters</h4>
|
3859
|
-
<div class="informaltable"><table width="100%" border="0">
|
3868
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3860
3869
|
<colgroup>
|
3861
3870
|
<col width="150px" class="parameters_name">
|
3862
3871
|
<col class="parameters_description">
|
@@ -3872,13 +3881,12 @@ see <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-can-recurse
|
|
3872
3881
|
<div class="refsect3">
|
3873
3882
|
<a name="id-1.4.2.7.74.6"></a><h4>Returns</h4>
|
3874
3883
|
<p> whether recursion is allowed.</p>
|
3875
|
-
<p></p>
|
3876
3884
|
</div>
|
3877
3885
|
</div>
|
3878
3886
|
<hr>
|
3879
3887
|
<div class="refsect2">
|
3880
3888
|
<a name="g-source-get-id"></a><h3>g_source_get_id ()</h3>
|
3881
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
3889
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
3882
3890
|
g_source_get_id (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
|
3883
3891
|
<p>Returns the numeric ID for a particular source. The ID of a source
|
3884
3892
|
is a positive integer which is unique within a particular main loop
|
@@ -3886,7 +3894,7 @@ context. The reverse
|
|
3886
3894
|
mapping from ID to source is done by <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-find-source-by-id" title="g_main_context_find_source_by_id ()"><code class="function">g_main_context_find_source_by_id()</code></a>.</p>
|
3887
3895
|
<div class="refsect3">
|
3888
3896
|
<a name="id-1.4.2.7.75.5"></a><h4>Parameters</h4>
|
3889
|
-
<div class="informaltable"><table width="100%" border="0">
|
3897
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3890
3898
|
<colgroup>
|
3891
3899
|
<col width="150px" class="parameters_name">
|
3892
3900
|
<col class="parameters_description">
|
@@ -3902,7 +3910,6 @@ mapping from ID to source is done by <a class="link" href="glib-The-Main-Event-L
|
|
3902
3910
|
<div class="refsect3">
|
3903
3911
|
<a name="id-1.4.2.7.75.6"></a><h4>Returns</h4>
|
3904
3912
|
<p> the ID (greater than 0) for the source</p>
|
3905
|
-
<p></p>
|
3906
3913
|
</div>
|
3907
3914
|
</div>
|
3908
3915
|
<hr>
|
@@ -3914,7 +3921,7 @@ g_source_get_name (<em class="parameter"><code><a class="link" href="glib-The-Ma
|
|
3914
3921
|
name may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><span class="type">NULL</span></a> if it has never been set with <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-name" title="g_source_set_name ()"><code class="function">g_source_set_name()</code></a>.</p>
|
3915
3922
|
<div class="refsect3">
|
3916
3923
|
<a name="id-1.4.2.7.76.5"></a><h4>Parameters</h4>
|
3917
|
-
<div class="informaltable"><table width="100%" border="0">
|
3924
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3918
3925
|
<colgroup>
|
3919
3926
|
<col width="150px" class="parameters_name">
|
3920
3927
|
<col class="parameters_description">
|
@@ -3930,9 +3937,8 @@ name may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NU
|
|
3930
3937
|
<div class="refsect3">
|
3931
3938
|
<a name="id-1.4.2.7.76.6"></a><h4>Returns</h4>
|
3932
3939
|
<p> the name of the source</p>
|
3933
|
-
<p></p>
|
3934
3940
|
</div>
|
3935
|
-
<p class="since">Since 2.26</p>
|
3941
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
3936
3942
|
</div>
|
3937
3943
|
<hr>
|
3938
3944
|
<div class="refsect2">
|
@@ -3955,7 +3961,7 @@ the value, and changing the value will free it while the other thread
|
|
3955
3961
|
may be attempting to use it.</p>
|
3956
3962
|
<div class="refsect3">
|
3957
3963
|
<a name="id-1.4.2.7.77.8"></a><h4>Parameters</h4>
|
3958
|
-
<div class="informaltable"><table width="100%" border="0">
|
3964
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3959
3965
|
<colgroup>
|
3960
3966
|
<col width="150px" class="parameters_name">
|
3961
3967
|
<col class="parameters_description">
|
@@ -3975,13 +3981,13 @@ may be attempting to use it.</p>
|
|
3975
3981
|
</tbody>
|
3976
3982
|
</table></div>
|
3977
3983
|
</div>
|
3978
|
-
<p class="since">Since 2.26</p>
|
3984
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
3979
3985
|
</div>
|
3980
3986
|
<hr>
|
3981
3987
|
<div class="refsect2">
|
3982
3988
|
<a name="g-source-set-name-by-id"></a><h3>g_source_set_name_by_id ()</h3>
|
3983
3989
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3984
|
-
g_source_set_name_by_id (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> tag</code></em>,
|
3990
|
+
g_source_set_name_by_id (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> tag</code></em>,
|
3985
3991
|
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
|
3986
3992
|
<p>Sets the name of a source using its ID.</p>
|
3987
3993
|
<p>This is a convenience utility to set source names from the return
|
@@ -3998,7 +4004,7 @@ been reissued, leading to the operation being performed against the
|
|
3998
4004
|
wrong source.</p>
|
3999
4005
|
<div class="refsect3">
|
4000
4006
|
<a name="id-1.4.2.7.78.8"></a><h4>Parameters</h4>
|
4001
|
-
<div class="informaltable"><table width="100%" border="0">
|
4007
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4002
4008
|
<colgroup>
|
4003
4009
|
<col width="150px" class="parameters_name">
|
4004
4010
|
<col class="parameters_description">
|
@@ -4018,7 +4024,7 @@ wrong source.</p>
|
|
4018
4024
|
</tbody>
|
4019
4025
|
</table></div>
|
4020
4026
|
</div>
|
4021
|
-
<p class="since">Since 2.26</p>
|
4027
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
4022
4028
|
</div>
|
4023
4029
|
<hr>
|
4024
4030
|
<div class="refsect2">
|
@@ -4034,7 +4040,7 @@ always call this function on the source returned from
|
|
4034
4040
|
whose <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> has been destroyed is an error.</p>
|
4035
4041
|
<div class="refsect3">
|
4036
4042
|
<a name="id-1.4.2.7.79.6"></a><h4>Parameters</h4>
|
4037
|
-
<div class="informaltable"><table width="100%" border="0">
|
4043
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4038
4044
|
<colgroup>
|
4039
4045
|
<col width="150px" class="parameters_name">
|
4040
4046
|
<col class="parameters_description">
|
@@ -4071,11 +4077,14 @@ should not count on <em class="parameter"><code>func</code></em>
|
|
4071
4077
|
being called with <em class="parameter"><code>data</code></em>
|
4072
4078
|
as its first
|
4073
4079
|
parameter.</p>
|
4080
|
+
<p>See <a class="link" href="glib-The-Main-Event-Loop.html#mainloop-memory-management" title="Memory management of sources">memory management of sources</a> for details
|
4081
|
+
on how to handle memory management of <em class="parameter"><code>data</code></em>
|
4082
|
+
.</p>
|
4074
4083
|
<p>Typically, you won't use this function. Instead use functions specific
|
4075
4084
|
to the type of source you are using.</p>
|
4076
4085
|
<div class="refsect3">
|
4077
|
-
<a name="id-1.4.2.7.80.
|
4078
|
-
<div class="informaltable"><table width="100%" border="0">
|
4086
|
+
<a name="id-1.4.2.7.80.8"></a><h4>Parameters</h4>
|
4087
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4079
4088
|
<colgroup>
|
4080
4089
|
<col width="150px" class="parameters_name">
|
4081
4090
|
<col class="parameters_description">
|
@@ -4116,7 +4125,7 @@ is no longer in use, or <a class="link" href="glib-Standard-Macros.html#NULL:CAP
|
|
4116
4125
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add-full" title="g_timeout_add_full ()"><code class="function">g_timeout_add_full()</code></a>, <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-add" title="g_idle_add ()"><code class="function">g_idle_add()</code></a>, and <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-add-full" title="g_idle_add_full ()"><code class="function">g_idle_add_full()</code></a>.</p>
|
4117
4126
|
<div class="refsect3">
|
4118
4127
|
<a name="id-1.4.2.7.81.5"></a><h4>Parameters</h4>
|
4119
|
-
<div class="informaltable"><table width="100%" border="0">
|
4128
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4120
4129
|
<colgroup>
|
4121
4130
|
<col width="150px" class="parameters_name">
|
4122
4131
|
<col class="parameters_description">
|
@@ -4134,7 +4143,6 @@ created with one of the above functions</p></td>
|
|
4134
4143
|
<a name="id-1.4.2.7.81.6"></a><h4>Returns</h4>
|
4135
4144
|
<p> <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if the source should be removed. <a class="link" href="glib-The-Main-Event-Loop.html#G-SOURCE-CONTINUE:CAPS" title="G_SOURCE_CONTINUE"><span class="type">G_SOURCE_CONTINUE</span></a> and
|
4136
4145
|
<a class="link" href="glib-The-Main-Event-Loop.html#G-SOURCE-REMOVE:CAPS" title="G_SOURCE_REMOVE"><span class="type">G_SOURCE_REMOVE</span></a> are more memorable names for the return value.</p>
|
4137
|
-
<p></p>
|
4138
4146
|
</div>
|
4139
4147
|
</div>
|
4140
4148
|
<hr>
|
@@ -4155,7 +4163,7 @@ than <em class="parameter"><code>callback_funcs->ref</code></em>
|
|
4155
4163
|
.</p>
|
4156
4164
|
<div class="refsect3">
|
4157
4165
|
<a name="id-1.4.2.7.82.5"></a><h4>Parameters</h4>
|
4158
|
-
<div class="informaltable"><table width="100%" border="0">
|
4166
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4159
4167
|
<colgroup>
|
4160
4168
|
<col width="150px" class="parameters_name">
|
4161
4169
|
<col class="parameters_description">
|
@@ -4207,7 +4215,7 @@ then the order of dispatch is undefined.</p>
|
|
4207
4215
|
Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> that you did not create.</p>
|
4208
4216
|
<div class="refsect3">
|
4209
4217
|
<a name="id-1.4.2.7.83.9"></a><h4>Parameters</h4>
|
4210
|
-
<div class="informaltable"><table width="100%" border="0">
|
4218
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4211
4219
|
<colgroup>
|
4212
4220
|
<col width="150px" class="parameters_name">
|
4213
4221
|
<col class="parameters_description">
|
@@ -4228,7 +4236,7 @@ Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GS
|
|
4228
4236
|
</tbody>
|
4229
4237
|
</table></div>
|
4230
4238
|
</div>
|
4231
|
-
<p class="since">Since 2.36</p>
|
4239
|
+
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
4232
4240
|
</div>
|
4233
4241
|
<hr>
|
4234
4242
|
<div class="refsect2">
|
@@ -4242,7 +4250,7 @@ g_source_get_ready_time (<em class="parameter"><code><a class="link" href="glib-
|
|
4242
4250
|
indication that the source will fire immediately.</p>
|
4243
4251
|
<div class="refsect3">
|
4244
4252
|
<a name="id-1.4.2.7.84.6"></a><h4>Parameters</h4>
|
4245
|
-
<div class="informaltable"><table width="100%" border="0">
|
4253
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4246
4254
|
<colgroup>
|
4247
4255
|
<col width="150px" class="parameters_name">
|
4248
4256
|
<col class="parameters_description">
|
@@ -4258,7 +4266,6 @@ indication that the source will fire immediately.</p>
|
|
4258
4266
|
<div class="refsect3">
|
4259
4267
|
<a name="id-1.4.2.7.84.7"></a><h4>Returns</h4>
|
4260
4268
|
<p> the monotonic ready time, -1 for "never"</p>
|
4261
|
-
<p></p>
|
4262
4269
|
</div>
|
4263
4270
|
</div>
|
4264
4271
|
<hr>
|
@@ -4266,7 +4273,7 @@ indication that the source will fire immediately.</p>
|
|
4266
4273
|
<a name="g-source-add-unix-fd"></a><h3>g_source_add_unix_fd ()</h3>
|
4267
4274
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a>
|
4268
4275
|
g_source_add_unix_fd (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
|
4269
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> fd</code></em>,
|
4276
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> fd</code></em>,
|
4270
4277
|
<em class="parameter"><code><a class="link" href="glib-IO-Channels.html#GIOCondition" title="enum GIOCondition"><span class="type">GIOCondition</span></a> events</code></em>);</pre>
|
4271
4278
|
<p>Monitors <em class="parameter"><code>fd</code></em>
|
4272
4279
|
for the IO events in <em class="parameter"><code>events</code></em>
|
@@ -4281,7 +4288,7 @@ Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GS
|
|
4281
4288
|
<p>As the name suggests, this function is not available on Windows.</p>
|
4282
4289
|
<div class="refsect3">
|
4283
4290
|
<a name="id-1.4.2.7.85.9"></a><h4>Parameters</h4>
|
4284
|
-
<div class="informaltable"><table width="100%" border="0">
|
4291
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4285
4292
|
<colgroup>
|
4286
4293
|
<col width="150px" class="parameters_name">
|
4287
4294
|
<col class="parameters_description">
|
@@ -4308,10 +4315,10 @@ Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GS
|
|
4308
4315
|
</div>
|
4309
4316
|
<div class="refsect3">
|
4310
4317
|
<a name="id-1.4.2.7.85.10"></a><h4>Returns</h4>
|
4311
|
-
<p> an opaque tag</p>
|
4312
|
-
<p></p>
|
4318
|
+
<p> an opaque tag. </p>
|
4319
|
+
<p><span class="annotation">[not nullable]</span></p>
|
4313
4320
|
</div>
|
4314
|
-
<p class="since">Since 2.36</p>
|
4321
|
+
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
4315
4322
|
</div>
|
4316
4323
|
<hr>
|
4317
4324
|
<div class="refsect2">
|
@@ -4328,7 +4335,7 @@ Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GS
|
|
4328
4335
|
<p>As the name suggests, this function is not available on Windows.</p>
|
4329
4336
|
<div class="refsect3">
|
4330
4337
|
<a name="id-1.4.2.7.86.8"></a><h4>Parameters</h4>
|
4331
|
-
<div class="informaltable"><table width="100%" border="0">
|
4338
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4332
4339
|
<colgroup>
|
4333
4340
|
<col width="150px" class="parameters_name">
|
4334
4341
|
<col class="parameters_description">
|
@@ -4342,13 +4349,13 @@ Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GS
|
|
4342
4349
|
</tr>
|
4343
4350
|
<tr>
|
4344
4351
|
<td class="parameter_name"><p>tag</p></td>
|
4345
|
-
<td class="parameter_description"><p>the tag from <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-unix-fd" title="g_source_add_unix_fd ()"><code class="function">g_source_add_unix_fd()</code></a
|
4346
|
-
<td class="parameter_annotations">
|
4352
|
+
<td class="parameter_description"><p> the tag from <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-unix-fd" title="g_source_add_unix_fd ()"><code class="function">g_source_add_unix_fd()</code></a>. </p></td>
|
4353
|
+
<td class="parameter_annotations"><span class="annotation">[not nullable]</span></td>
|
4347
4354
|
</tr>
|
4348
4355
|
</tbody>
|
4349
4356
|
</table></div>
|
4350
4357
|
</div>
|
4351
|
-
<p class="since">Since 2.36</p>
|
4358
|
+
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
4352
4359
|
</div>
|
4353
4360
|
<hr>
|
4354
4361
|
<div class="refsect2">
|
@@ -4368,7 +4375,7 @@ Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GS
|
|
4368
4375
|
<p>As the name suggests, this function is not available on Windows.</p>
|
4369
4376
|
<div class="refsect3">
|
4370
4377
|
<a name="id-1.4.2.7.87.9"></a><h4>Parameters</h4>
|
4371
|
-
<div class="informaltable"><table width="100%" border="0">
|
4378
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4372
4379
|
<colgroup>
|
4373
4380
|
<col width="150px" class="parameters_name">
|
4374
4381
|
<col class="parameters_description">
|
@@ -4382,8 +4389,8 @@ Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GS
|
|
4382
4389
|
</tr>
|
4383
4390
|
<tr>
|
4384
4391
|
<td class="parameter_name"><p>tag</p></td>
|
4385
|
-
<td class="parameter_description"><p>the tag from <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-unix-fd" title="g_source_add_unix_fd ()"><code class="function">g_source_add_unix_fd()</code></a
|
4386
|
-
<td class="parameter_annotations">
|
4392
|
+
<td class="parameter_description"><p> the tag from <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-unix-fd" title="g_source_add_unix_fd ()"><code class="function">g_source_add_unix_fd()</code></a>. </p></td>
|
4393
|
+
<td class="parameter_annotations"><span class="annotation">[not nullable]</span></td>
|
4387
4394
|
</tr>
|
4388
4395
|
<tr>
|
4389
4396
|
<td class="parameter_name"><p>new_events</p></td>
|
@@ -4393,7 +4400,7 @@ Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GS
|
|
4393
4400
|
</tbody>
|
4394
4401
|
</table></div>
|
4395
4402
|
</div>
|
4396
|
-
<p class="since">Since 2.36</p>
|
4403
|
+
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
4397
4404
|
</div>
|
4398
4405
|
<hr>
|
4399
4406
|
<div class="refsect2">
|
@@ -4413,7 +4420,7 @@ Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GS
|
|
4413
4420
|
<p>As the name suggests, this function is not available on Windows.</p>
|
4414
4421
|
<div class="refsect3">
|
4415
4422
|
<a name="id-1.4.2.7.88.8"></a><h4>Parameters</h4>
|
4416
|
-
<div class="informaltable"><table width="100%" border="0">
|
4423
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4417
4424
|
<colgroup>
|
4418
4425
|
<col width="150px" class="parameters_name">
|
4419
4426
|
<col class="parameters_description">
|
@@ -4427,8 +4434,8 @@ Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GS
|
|
4427
4434
|
</tr>
|
4428
4435
|
<tr>
|
4429
4436
|
<td class="parameter_name"><p>tag</p></td>
|
4430
|
-
<td class="parameter_description"><p>the tag from <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-unix-fd" title="g_source_add_unix_fd ()"><code class="function">g_source_add_unix_fd()</code></a
|
4431
|
-
<td class="parameter_annotations">
|
4437
|
+
<td class="parameter_description"><p> the tag from <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-unix-fd" title="g_source_add_unix_fd ()"><code class="function">g_source_add_unix_fd()</code></a>. </p></td>
|
4438
|
+
<td class="parameter_annotations"><span class="annotation">[not nullable]</span></td>
|
4432
4439
|
</tr>
|
4433
4440
|
</tbody>
|
4434
4441
|
</table></div>
|
@@ -4436,9 +4443,8 @@ Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GS
|
|
4436
4443
|
<div class="refsect3">
|
4437
4444
|
<a name="id-1.4.2.7.88.9"></a><h4>Returns</h4>
|
4438
4445
|
<p> the conditions reported on the fd</p>
|
4439
|
-
<p></p>
|
4440
4446
|
</div>
|
4441
|
-
<p class="since">Since 2.36</p>
|
4447
|
+
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
4442
4448
|
</div>
|
4443
4449
|
<hr>
|
4444
4450
|
<div class="refsect2">
|
@@ -4459,7 +4465,7 @@ main loop iteration. Newly-written event sources should try to use
|
|
4459
4465
|
<a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-unix-fd" title="g_source_add_unix_fd ()"><code class="function">g_source_add_unix_fd()</code></a> instead of this API.</p>
|
4460
4466
|
<div class="refsect3">
|
4461
4467
|
<a name="id-1.4.2.7.89.7"></a><h4>Parameters</h4>
|
4462
|
-
<div class="informaltable"><table width="100%" border="0">
|
4468
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4463
4469
|
<colgroup>
|
4464
4470
|
<col width="150px" class="parameters_name">
|
4465
4471
|
<col class="parameters_description">
|
@@ -4493,7 +4499,7 @@ this source. </p>
|
|
4493
4499
|
Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> that you did not create.</p>
|
4494
4500
|
<div class="refsect3">
|
4495
4501
|
<a name="id-1.4.2.7.90.6"></a><h4>Parameters</h4>
|
4496
|
-
<div class="informaltable"><table width="100%" border="0">
|
4502
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4497
4503
|
<colgroup>
|
4498
4504
|
<col width="150px" class="parameters_name">
|
4499
4505
|
<col class="parameters_description">
|
@@ -4549,7 +4555,7 @@ is attached to it.</p>
|
|
4549
4555
|
Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> that you did not create.</p>
|
4550
4556
|
<div class="refsect3">
|
4551
4557
|
<a name="id-1.4.2.7.91.8"></a><h4>Parameters</h4>
|
4552
|
-
<div class="informaltable"><table width="100%" border="0">
|
4558
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4553
4559
|
<colgroup>
|
4554
4560
|
<col width="150px" class="parameters_name">
|
4555
4561
|
<col class="parameters_description">
|
@@ -4570,7 +4576,7 @@ should "poll"</p></td>
|
|
4570
4576
|
</tbody>
|
4571
4577
|
</table></div>
|
4572
4578
|
</div>
|
4573
|
-
<p class="since">Since 2.28</p>
|
4579
|
+
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
4574
4580
|
</div>
|
4575
4581
|
<hr>
|
4576
4582
|
<div class="refsect2">
|
@@ -4585,7 +4591,7 @@ g_source_remove_child_source (<em class="parameter"><code><a class="link" href="
|
|
4585
4591
|
Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> that you did not create.</p>
|
4586
4592
|
<div class="refsect3">
|
4587
4593
|
<a name="id-1.4.2.7.92.6"></a><h4>Parameters</h4>
|
4588
|
-
<div class="informaltable"><table width="100%" border="0">
|
4594
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4589
4595
|
<colgroup>
|
4590
4596
|
<col width="150px" class="parameters_name">
|
4591
4597
|
<col class="parameters_description">
|
@@ -4606,7 +4612,7 @@ Do not call this API on a <a class="link" href="glib-The-Main-Event-Loop.html#GS
|
|
4606
4612
|
</tbody>
|
4607
4613
|
</table></div>
|
4608
4614
|
</div>
|
4609
|
-
<p class="since">Since 2.28</p>
|
4615
|
+
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
4610
4616
|
</div>
|
4611
4617
|
<hr>
|
4612
4618
|
<div class="refsect2">
|
@@ -4621,7 +4627,7 @@ instead of having to repeatedly get the system monotonic time.</p>
|
|
4621
4627
|
other reasonable alternative otherwise. See <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monotonic-time" title="g_get_monotonic_time ()"><code class="function">g_get_monotonic_time()</code></a>.</p>
|
4622
4628
|
<div class="refsect3">
|
4623
4629
|
<a name="id-1.4.2.7.93.6"></a><h4>Parameters</h4>
|
4624
|
-
<div class="informaltable"><table width="100%" border="0">
|
4630
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4625
4631
|
<colgroup>
|
4626
4632
|
<col width="150px" class="parameters_name">
|
4627
4633
|
<col class="parameters_description">
|
@@ -4637,9 +4643,8 @@ other reasonable alternative otherwise. See <a class="link" href="glib-Date-and
|
|
4637
4643
|
<div class="refsect3">
|
4638
4644
|
<a name="id-1.4.2.7.93.7"></a><h4>Returns</h4>
|
4639
4645
|
<p> the monotonic time in microseconds</p>
|
4640
|
-
<p></p>
|
4641
4646
|
</div>
|
4642
|
-
<p class="since">Since 2.28</p>
|
4647
|
+
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
4643
4648
|
</div>
|
4644
4649
|
<hr>
|
4645
4650
|
<div class="refsect2">
|
@@ -4656,7 +4661,7 @@ g_source_get_current_time (<em class="parameter"><code><a class="link" href="gli
|
|
4656
4661
|
<a class="link" href="glib-Date-and-Time-Functions.html#g-get-current-time" title="g_get_current_time ()"><code class="function">g_get_current_time()</code></a>.</p>
|
4657
4662
|
<div class="refsect3">
|
4658
4663
|
<a name="id-1.4.2.7.94.6"></a><h4>Parameters</h4>
|
4659
|
-
<div class="informaltable"><table width="100%" border="0">
|
4664
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4660
4665
|
<colgroup>
|
4661
4666
|
<col width="150px" class="parameters_name">
|
4662
4667
|
<col class="parameters_description">
|
@@ -4681,7 +4686,7 @@ g_source_get_current_time (<em class="parameter"><code><a class="link" href="gli
|
|
4681
4686
|
<div class="refsect2">
|
4682
4687
|
<a name="g-source-remove"></a><h3>g_source_remove ()</h3>
|
4683
4688
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>
|
4684
|
-
g_source_remove (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> tag</code></em>);</pre>
|
4689
|
+
g_source_remove (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="type">guint</span></a> tag</code></em>);</pre>
|
4685
4690
|
<p>Removes the source with the given id from the default main context.</p>
|
4686
4691
|
<p>The id of a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> is given by <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-id" title="g_source_get_id ()"><code class="function">g_source_get_id()</code></a>, or will be
|
4687
4692
|
returned by the functions <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()"><code class="function">g_source_attach()</code></a>, <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-add" title="g_idle_add ()"><code class="function">g_idle_add()</code></a>,
|
@@ -4701,7 +4706,7 @@ been reissued, leading to the operation being performed against the
|
|
4701
4706
|
wrong source.</p>
|
4702
4707
|
<div class="refsect3">
|
4703
4708
|
<a name="id-1.4.2.7.95.9"></a><h4>Parameters</h4>
|
4704
|
-
<div class="informaltable"><table width="100%" border="0">
|
4709
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4705
4710
|
<colgroup>
|
4706
4711
|
<col width="150px" class="parameters_name">
|
4707
4712
|
<col class="parameters_description">
|
@@ -4717,7 +4722,6 @@ wrong source.</p>
|
|
4717
4722
|
<div class="refsect3">
|
4718
4723
|
<a name="id-1.4.2.7.95.10"></a><h4>Returns</h4>
|
4719
4724
|
<p> For historical reasons, this function always returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a></p>
|
4720
|
-
<p></p>
|
4721
4725
|
</div>
|
4722
4726
|
</div>
|
4723
4727
|
<hr>
|
@@ -4731,7 +4735,7 @@ source functions and user data. If multiple sources exist with the
|
|
4731
4735
|
same source functions and user data, only one will be destroyed.</p>
|
4732
4736
|
<div class="refsect3">
|
4733
4737
|
<a name="id-1.4.2.7.96.5"></a><h4>Parameters</h4>
|
4734
|
-
<div class="informaltable"><table width="100%" border="0">
|
4738
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4735
4739
|
<colgroup>
|
4736
4740
|
<col width="150px" class="parameters_name">
|
4737
4741
|
<col class="parameters_description">
|
@@ -4755,7 +4759,6 @@ passed to <a class="link" href="glib-The-Main-Event-Loop.html#g-source-new" titl
|
|
4755
4759
|
<div class="refsect3">
|
4756
4760
|
<a name="id-1.4.2.7.96.6"></a><h4>Returns</h4>
|
4757
4761
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a source was found and removed. </p>
|
4758
|
-
<p></p>
|
4759
4762
|
</div>
|
4760
4763
|
</div>
|
4761
4764
|
<hr>
|
@@ -4768,7 +4771,7 @@ data for the callback. If multiple sources exist with the same user
|
|
4768
4771
|
data, only one will be destroyed.</p>
|
4769
4772
|
<div class="refsect3">
|
4770
4773
|
<a name="id-1.4.2.7.97.5"></a><h4>Parameters</h4>
|
4771
|
-
<div class="informaltable"><table width="100%" border="0">
|
4774
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4772
4775
|
<colgroup>
|
4773
4776
|
<col width="150px" class="parameters_name">
|
4774
4777
|
<col class="parameters_description">
|
@@ -4784,7 +4787,6 @@ data, only one will be destroyed.</p>
|
|
4784
4787
|
<div class="refsect3">
|
4785
4788
|
<a name="id-1.4.2.7.97.6"></a><h4>Returns</h4>
|
4786
4789
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a source was found and removed. </p>
|
4787
|
-
<p></p>
|
4788
4790
|
</div>
|
4789
4791
|
</div>
|
4790
4792
|
</div>
|
@@ -4849,7 +4851,7 @@ pending redraws, so that widgets are not redrawn twice unnecessarily.)</p>
|
|
4849
4851
|
</pre>
|
4850
4852
|
<p>Use this macro as the return value of a <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> to leave
|
4851
4853
|
the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> in the main loop.</p>
|
4852
|
-
<p class="since">Since 2.32</p>
|
4854
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
4853
4855
|
</div>
|
4854
4856
|
<hr>
|
4855
4857
|
<div class="refsect2">
|
@@ -4858,7 +4860,7 @@ the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct G
|
|
4858
4860
|
</pre>
|
4859
4861
|
<p>Use this macro as the return value of a <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> to remove
|
4860
4862
|
the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> from the main loop.</p>
|
4861
|
-
<p class="since">Since 2.32</p>
|
4863
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
4862
4864
|
</div>
|
4863
4865
|
<hr>
|
4864
4866
|
<div class="refsect2">
|
@@ -4895,7 +4897,7 @@ the g_spawn functions.</p>
|
|
4895
4897
|
occurred.</p>
|
4896
4898
|
<div class="refsect3">
|
4897
4899
|
<a name="id-1.4.2.8.12.5"></a><h4>Members</h4>
|
4898
|
-
<div class="informaltable"><table width="100%" border="0">
|
4900
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4899
4901
|
<colgroup>
|
4900
4902
|
<col width="300px" class="struct_members_name">
|
4901
4903
|
<col class="struct_members_description">
|
@@ -4903,7 +4905,7 @@ occurred.</p>
|
|
4903
4905
|
</colgroup>
|
4904
4906
|
<tbody>
|
4905
4907
|
<tr>
|
4906
|
-
<td class="struct_member_name"><p><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GPollFD.fd"></a>fd</code></em>;</p></td>
|
4908
|
+
<td class="struct_member_name"><p><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> <em class="structfield"><code><a name="GPollFD.fd"></a>fd</code></em>;</p></td>
|
4907
4909
|
<td class="struct_member_description"><p>the file descriptor to poll (or a HANDLE on Win32)</p></td>
|
4908
4910
|
<td class="struct_member_annotations"> </td>
|
4909
4911
|
</tr>
|
@@ -4928,7 +4930,7 @@ from the <code class="function">poll()</code> function to indicate which events
|
|
4928
4930
|
<hr>
|
4929
4931
|
<div class="refsect2">
|
4930
4932
|
<a name="G-POLLFD-FORMAT:CAPS"></a><h3>G_POLLFD_FORMAT</h3>
|
4931
|
-
<pre class="programlisting">#define G_POLLFD_FORMAT "
|
4933
|
+
<pre class="programlisting">#define G_POLLFD_FORMAT "%d"
|
4932
4934
|
</pre>
|
4933
4935
|
<p>A format specifier that can be used in <code class="function">printf()</code>-style format strings
|
4934
4936
|
when printing the <em class="parameter"><code>fd</code></em>
|
@@ -4975,7 +4977,7 @@ check function, it tests the results of the <code class="function">poll()</code>
|
|
4975
4977
|
required condition has been met, and returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if so.</p>
|
4976
4978
|
<div class="refsect3">
|
4977
4979
|
<a name="id-1.4.2.8.15.8"></a><h4>Members</h4>
|
4978
|
-
<div class="informaltable"><table width="100%" border="0">
|
4980
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4979
4981
|
<colgroup>
|
4980
4982
|
<col width="300px" class="struct_members_name">
|
4981
4983
|
<col class="struct_members_description">
|
@@ -5022,7 +5024,10 @@ using <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-callback"
|
|
5022
5024
|
function should call the
|
5023
5025
|
callback function with <em class="parameter"><code>user_data</code></em>
|
5024
5026
|
and whatever additional parameters
|
5025
|
-
are needed for this type of event source
|
5027
|
+
are needed for this type of event source. The return value of the
|
5028
|
+
<em class="parameter"><code>dispatch</code></em>
|
5029
|
+
function should be <a class="link" href="glib-The-Main-Event-Loop.html#G-SOURCE-REMOVE:CAPS" title="G_SOURCE_REMOVE"><span class="type">G_SOURCE_REMOVE</span></a> if the source should be
|
5030
|
+
removed or <a class="link" href="glib-The-Main-Event-Loop.html#G-SOURCE-CONTINUE:CAPS" title="G_SOURCE_CONTINUE"><span class="type">G_SOURCE_CONTINUE</span></a> to keep it.</p></td>
|
5026
5031
|
<td class="struct_member_annotations"> </td>
|
5027
5032
|
</tr>
|
5028
5033
|
<tr>
|
@@ -5050,7 +5055,7 @@ are needed for this type of event source.</p></td>
|
|
5050
5055
|
functions for managing callback objects.</p>
|
5051
5056
|
<div class="refsect3">
|
5052
5057
|
<a name="id-1.4.2.8.16.5"></a><h4>Members</h4>
|
5053
|
-
<div class="informaltable"><table width="100%" border="0">
|
5058
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5054
5059
|
<colgroup>
|
5055
5060
|
<col width="300px" class="struct_members_name">
|
5056
5061
|
<col class="struct_members_description">
|
@@ -5080,7 +5085,6 @@ callback object.</p></td>
|
|
5080
5085
|
</div>
|
5081
5086
|
</div>
|
5082
5087
|
<div class="footer">
|
5083
|
-
<hr>
|
5084
|
-
Generated by GTK-Doc V1.21.1</div>
|
5088
|
+
<hr>Generated by GTK-Doc V1.24</div>
|
5085
5089
|
</body>
|
5086
5090
|
</html>
|