pango 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/pango/extconf.rb +8 -0
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +35 -9
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libcairo-2.dll +0 -0
- data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
- data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +1 -1
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +18 -18
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +42 -25
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +46 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +562 -0
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +100 -0
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +286 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +149 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +73 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +112 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +94 -0
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +54 -0
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +44 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +30 -9
- data/vendor/local/include/glib-2.0/gio/gioenums.h +526 -8
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +42 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +4 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +36 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gpermission.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gproxy.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +96 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +258 -0
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +138 -0
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +18 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +22 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +7 -1
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +3 -0
- data/vendor/local/include/glib-2.0/glib-object.h +1 -0
- data/vendor/local/include/glib-2.0/glib.h +2 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +47 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +25 -5
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +7 -7
- data/vendor/local/include/glib-2.0/glib/gbase64.h +22 -22
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +27 -3
- data/vendor/local/include/glib-2.0/glib/gcache.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +20 -20
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +26 -2
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +217 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +16 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +7 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +305 -78
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmem.h +107 -1
- data/vendor/local/include/glib-2.0/glib/gnode.h +4 -2
- data/vendor/local/include/glib-2.0/glib/gpoll.h +27 -3
- data/vendor/local/include/glib-2.0/glib/gregex.h +228 -0
- data/vendor/local/include/glib-2.0/glib/grel.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +27 -39
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +19 -14
- data/vendor/local/include/glib-2.0/glib/gthread.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +44 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +18 -1
- data/vendor/local/include/glib-2.0/glib/gutils.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gvariant.h +25 -1
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +29 -0
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +136 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +18 -6
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +37 -20
- data/vendor/local/include/glib-2.0/gobject/gobject.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +48 -21
- data/vendor/local/include/glib-2.0/gobject/gparam.h +9 -4
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +54 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +129 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +6 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +17 -0
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/lib/cairo.lib +0 -0
- data/vendor/local/lib/gio-2.0.def +345 -2
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +71 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +2 -2
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +21 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/intl.lib +0 -0
- data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +3 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/pango.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
- data/vendor/local/manifest/{cairo-dev_1.10.0-1_win32.mft → cairo-dev_1.10.0-2_win32.mft} +6 -4
- data/vendor/local/manifest/cairo_1.10.0-2_win32.mft +7 -0
- data/vendor/local/manifest/{glib-dev_2.24.2-2_win32.mft → glib-dev_2.26.0-2_win32.mft} +87 -8
- data/vendor/local/manifest/{glib_2.24.2-2_win32.mft → glib_2.26.0-2_win32.mft} +3 -2
- data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
- data/vendor/local/share/aclocal/glib-gettext.m4 +2 -2
- data/vendor/local/share/doc/{cairo_1.10.0-1_win32 → cairo_1.10.0-2_win32}/COPYING +0 -0
- data/vendor/local/share/doc/{cairo_1.10.0-1_win32 → cairo_1.10.0-2_win32}/COPYING-LGPL-2.1 +0 -0
- data/vendor/local/share/doc/{cairo_1.10.0-1_win32 → cairo_1.10.0-2_win32}/COPYING-MPL-1.1 +0 -0
- data/vendor/local/share/doc/{glib-2.24.2 → glib-2.26.0}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.24.2 → glib-dev-2.26.0}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +1 -4
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +3 -1
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +60 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +179 -166
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +276 -74
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +114 -119
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +43 -47
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +67 -67
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +41 -41
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +70 -35
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +254 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +6211 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +1833 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +618 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +2050 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +1124 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +373 -151
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +103 -107
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +158 -158
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +935 -923
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +18 -13
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +71 -75
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +303 -275
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +32 -32
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +31 -25
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +31 -25
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +58 -58
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +109 -109
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +26 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +72 -72
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +120 -120
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +90 -59
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +155 -155
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +76 -76
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +119 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +100 -37
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +137 -131
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +560 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +348 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +116 -116
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +54 -54
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +2424 -0
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +609 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +362 -148
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +612 -326
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +470 -108
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +131 -46
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +48 -259
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +27 -26
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +123 -119
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +165 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +298 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +222 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +65 -57
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +59 -51
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +246 -61
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +113 -113
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +67 -71
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +90 -18
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +56 -14
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +65 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +8 -12
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +21 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +1598 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +18 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2412 -661
- data/vendor/local/share/gtk-doc/html/gio/async.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +50 -14
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +14 -9
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +122 -22
- data/vendor/local/share/gtk-doc/html/gio/{ch19.html → ch24.html} +8 -8
- data/vendor/local/share/gtk-doc/html/gio/{ch20.html → ch25.html} +19 -19
- data/vendor/local/share/gtk-doc/html/gio/{ch20s02.html → ch25s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch20s03.html → ch25s03.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +159 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +46 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +48 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +277 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +95 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +823 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +828 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +33 -20
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +243 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +316 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1117 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +216 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +58 -50
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +98 -88
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +908 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +37 -31
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +97 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +50 -50
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +736 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +113 -122
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +666 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +26 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +53 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +569 -68
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +692 -70
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +102 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +137 -20
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +814 -96
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +32 -12
- data/vendor/local/share/gtk-doc/html/gio/networking.html +19 -7
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +112 -15
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +8 -5
- data/vendor/local/share/gtk-doc/html/gio/settings.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/utils.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +77 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +5 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +359 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +10 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +82 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +393 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +52 -52
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +51 -51
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +75 -74
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +59 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +87 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +39 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +69 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +130 -223
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +114 -108
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +87 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +61 -61
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +96 -96
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +33 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +98 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2201 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +239 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +736 -256
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +140 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +59 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +91 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +257 -73
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +27 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +70 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +44 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +108 -63
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +151 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +132 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +83 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +34 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +442 -345
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +72 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +46 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +35 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +130 -129
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +245 -232
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +104 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +171 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +422 -323
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +135 -135
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +18 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +13 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +103 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +189 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +119 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +53 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +94 -272
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +43 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +10 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +131 -32
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +174 -59
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +190 -73
- data/vendor/local/share/gtk-doc/html/glib/index.html +13 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +133 -4
- data/vendor/local/share/gtk-doc/html/glib/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +803 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +21 -21
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +6 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +201 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +148 -4
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +28 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +29 -17
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +45 -34
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +130 -73
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +43 -43
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +83 -73
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +35 -35
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +558 -245
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +358 -92
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +391 -158
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +47 -44
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +42 -12
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +48 -9
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +53 -9
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +15 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +53 -1
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +7 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +44 -50
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/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/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +9 -4
- data/vendor/local/share/man/man1/glib-mkenums.1 +17 -5
- data/vendor/local/share/man/man1/gobject-query.1 +4 -4
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- data/vendor/local/src/tml/packaging/{cairo_1.10.0-1_win32.log → cairo_1.10.0-2_win32.log} +175 -174
- data/vendor/local/src/tml/packaging/{cairo_1.10.0-1_win32.sh → cairo_1.10.0-2_win32.sh} +11 -3
- data/vendor/local/src/tml/packaging/{glib_2.24.2-2_win32.log → glib_2.26.0-2_win32.log} +1102 -837
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +64 -0
- data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
- metadata +1471 -1389
- data/ext/pango/Makefile +0 -172
- data/ext/pango/rbpangoversion.h +0 -24
- data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +0 -290
- data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -8,7 +8,7 @@
|
|
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.15.1 (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">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-The-Main-Event-Loop.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="glib-The-Main-Event-Loop"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="glib-The-Main-Event-Loop.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
@@ -187,6 +187,11 @@ typedef <a class="link" href="glib-The-Main-Event-Loop.html#GPid" ti
|
|
187
187
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> can_recurse</code></em>);
|
188
188
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-can-recurse" title="g_source_get_can_recurse ()">g_source_get_can_recurse</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
|
189
189
|
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-id" title="g_source_get_id ()">g_source_get_id</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
|
190
|
+
const <span class="returnvalue">char</span> * <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-name" title="g_source_get_name ()">g_source_get_name</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
|
191
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-name" title="g_source_set_name ()">g_source_set_name</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
|
192
|
+
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);
|
193
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-name-by-id" title="g_source_set_name_by_id ()">g_source_set_name_by_id</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> tag</code></em>,
|
194
|
+
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);
|
190
195
|
<a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-context" title="g_source_get_context ()">g_source_get_context</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
|
191
196
|
<span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-callback" title="g_source_set_callback ()">g_source_set_callback</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
|
192
197
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> func</code></em>,
|
@@ -208,104 +213,99 @@ typedef <a class="link" href="glib-The-Main-Event-Loop.html#GPid" ti
|
|
208
213
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-remove-by-user-data" title="g_source_remove_by_user_data ()">g_source_remove_by_user_data</a> (<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>);
|
209
214
|
</pre>
|
210
215
|
</div>
|
211
|
-
<div class="refsect1"
|
216
|
+
<div class="refsect1">
|
212
217
|
<a name="glib-The-Main-Event-Loop.description"></a><h2>Description</h2>
|
213
218
|
<p>
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
<p>
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
<p>
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
<
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
<
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
<div class="refsect2"
|
258
|
-
<a name="
|
259
|
-
<p>
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
</
|
282
|
-
<
|
283
|
-
<
|
284
|
-
|
285
|
-
<
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
are <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-prepare" title="g_main_context_prepare ()"><code class="function">g_main_context_prepare()</code></a>, <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>,
|
293
|
-
<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> and <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>.
|
294
|
-
</p>
|
295
|
-
<p>
|
296
|
-
The operation of these functions can best be seen in terms
|
297
|
-
of a state diagram, as shown in <a class="xref" href="glib-The-Main-Event-Loop.html#mainloop-states" title="Figure 1. States of a Main Context">Figure 1, “States of a Main Context”</a>.
|
298
|
-
</p>
|
219
|
+
The main event loop manages all the available sources of events for
|
220
|
+
GLib and GTK+ applications. These events can come from any number of
|
221
|
+
different types of sources such as file descriptors (plain files,
|
222
|
+
pipes or sockets) and timeouts. New types of event sources can also
|
223
|
+
be added 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>.
|
224
|
+
</p>
|
225
|
+
<p>
|
226
|
+
To allow multiple independent sets of sources to be handled in
|
227
|
+
different threads, each source is associated with a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>.
|
228
|
+
A GMainContext can only be running in a single thread, but
|
229
|
+
sources can be added to it and removed from it from other threads.
|
230
|
+
</p>
|
231
|
+
<p>
|
232
|
+
Each event source is assigned a priority. The default priority,
|
233
|
+
<a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS" title="G_PRIORITY_DEFAULT"><span class="type">G_PRIORITY_DEFAULT</span></a>, is 0. Values less than 0 denote higher priorities.
|
234
|
+
Values greater than 0 denote lower priorities. Events from high priority
|
235
|
+
sources are always processed before events from lower priority sources.
|
236
|
+
</p>
|
237
|
+
<p>
|
238
|
+
Idle functions can also be added, and assigned a priority. These will
|
239
|
+
be run whenever no events with a higher priority are ready to be processed.
|
240
|
+
</p>
|
241
|
+
<p>
|
242
|
+
The <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> data type represents a main event loop. A GMainLoop is
|
243
|
+
created with <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-new" title="g_main_loop_new ()"><code class="function">g_main_loop_new()</code></a>. After adding the initial event sources,
|
244
|
+
<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> is called. This continuously checks for new events from
|
245
|
+
each of the event sources and dispatches them. Finally, the processing of
|
246
|
+
an event from one of the sources leads to a call to <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> to
|
247
|
+
exit the main loop, and <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> returns.
|
248
|
+
</p>
|
249
|
+
<p>
|
250
|
+
It is possible to create new instances of <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> recursively.
|
251
|
+
This is often used in GTK+ applications when showing modal dialog
|
252
|
+
boxes. Note that event sources are associated with a particular
|
253
|
+
<a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>, and will be checked and dispatched for all main
|
254
|
+
loops associated with that GMainContext.
|
255
|
+
</p>
|
256
|
+
<p>
|
257
|
+
GTK+ contains wrappers of some of these functions, e.g. <a href="http://library.gnome.org/devel/gtk/unstable/gtk3-General.html#gtk-main"><code class="function">gtk_main()</code></a>,
|
258
|
+
<a href="http://library.gnome.org/devel/gtk/unstable/gtk3-General.html#gtk-main-quit"><code class="function">gtk_main_quit()</code></a> and <a href="http://library.gnome.org/devel/gtk/unstable/gtk3-General.html#gtk-events-pending"><code class="function">gtk_events_pending()</code></a>.
|
259
|
+
</p>
|
260
|
+
<p>
|
261
|
+
</p>
|
262
|
+
<div class="refsect2">
|
263
|
+
<a name="id593794"></a><h3>Creating new source types</h3>
|
264
|
+
<p>One of the unusual features of the <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> functionality
|
265
|
+
is that new types of event source can be created and used in
|
266
|
+
addition to the builtin type of event source. A new event source
|
267
|
+
type is used for handling GDK events. A new source type is created
|
268
|
+
by <em class="firstterm">deriving</em> from the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> structure.
|
269
|
+
The derived type of source is represented by a structure that has
|
270
|
+
the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> structure as a first element, and other elements specific
|
271
|
+
to the new source type. To create an instance of the new source type,
|
272
|
+
call <a class="link" href="glib-The-Main-Event-Loop.html#g-source-new" title="g_source_new ()"><code class="function">g_source_new()</code></a> passing in the size of the derived structure and
|
273
|
+
a table of functions. These <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> determine the behavior of
|
274
|
+
the new source type.</p>
|
275
|
+
<p>New source types basically interact with the main context
|
276
|
+
in two ways. Their prepare function in <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> can set a timeout
|
277
|
+
to determine the maximum amount of time that the main loop will sleep
|
278
|
+
before checking the source again. In addition, or as well, the source
|
279
|
+
can add file descriptors to the set that the main context checks using
|
280
|
+
<a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-poll" title="g_source_add_poll ()"><code class="function">g_source_add_poll()</code></a>.</p>
|
281
|
+
</div>
|
282
|
+
<p>
|
283
|
+
</p>
|
284
|
+
<hr>
|
285
|
+
<div class="refsect2">
|
286
|
+
<a name="id593871"></a><h3>Customizing the main loop iteration</h3>
|
287
|
+
<p>Single iterations of a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> can be run with
|
288
|
+
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-iteration" title="g_main_context_iteration ()"><code class="function">g_main_context_iteration()</code></a>. In some cases, more detailed control
|
289
|
+
of exactly how the details of the main loop work is desired, for
|
290
|
+
instance, when integrating the <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> with an external main loop.
|
291
|
+
In such cases, you can call the component functions of
|
292
|
+
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-iteration" title="g_main_context_iteration ()"><code class="function">g_main_context_iteration()</code></a> directly. These functions are
|
293
|
+
<a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-prepare" title="g_main_context_prepare ()"><code class="function">g_main_context_prepare()</code></a>, <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>,
|
294
|
+
<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> and <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>
|
295
|
+
<p>The operation of these functions can best be seen in terms
|
296
|
+
of a state diagram, as shown in <a class="xref" href="glib-The-Main-Event-Loop.html#mainloop-states" title="Figure 1. States of a Main Context">Figure 1, “States of a Main Context”</a>.</p>
|
299
297
|
<div class="figure">
|
300
298
|
<a name="mainloop-states"></a><p class="title"><b>Figure 1. States of a Main Context</b></p>
|
301
299
|
<div class="figure-contents"><div><img src="mainloop-states.gif" alt="States of a Main Context"></div></div>
|
302
300
|
</div>
|
303
301
|
<br class="figure-break">
|
304
302
|
</div>
|
303
|
+
<p>
|
304
|
+
</p>
|
305
305
|
</div>
|
306
|
-
<div class="refsect1"
|
306
|
+
<div class="refsect1">
|
307
307
|
<a name="glib-The-Main-Event-Loop.details"></a><h2>Details</h2>
|
308
|
-
<div class="refsect2"
|
308
|
+
<div class="refsect2">
|
309
309
|
<a name="GMainLoop"></a><h3>GMainLoop</h3>
|
310
310
|
<pre class="programlisting">typedef struct _GMainLoop GMainLoop;</pre>
|
311
311
|
<p>
|
@@ -314,7 +314,7 @@ representing the main event loop of a GLib or GTK+ application.
|
|
314
314
|
</p>
|
315
315
|
</div>
|
316
316
|
<hr>
|
317
|
-
<div class="refsect2"
|
317
|
+
<div class="refsect2">
|
318
318
|
<a name="g-main-loop-new"></a><h3>g_main_loop_new ()</h3>
|
319
319
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="returnvalue">GMainLoop</span></a> * g_main_loop_new (<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>,
|
320
320
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> is_running</code></em>);</pre>
|
@@ -345,7 +345,7 @@ is not very important since calling <a class="link" href="glib-The-Main-Event-Lo
|
|
345
345
|
</table></div>
|
346
346
|
</div>
|
347
347
|
<hr>
|
348
|
-
<div class="refsect2"
|
348
|
+
<div class="refsect2">
|
349
349
|
<a name="g-main-loop-ref"></a><h3>g_main_loop_ref ()</h3>
|
350
350
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="returnvalue">GMainLoop</span></a> * g_main_loop_ref (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> *loop</code></em>);</pre>
|
351
351
|
<p>
|
@@ -368,7 +368,7 @@ Increases the reference count on a <a class="link" href="glib-The-Main-Event-Loo
|
|
368
368
|
</table></div>
|
369
369
|
</div>
|
370
370
|
<hr>
|
371
|
-
<div class="refsect2"
|
371
|
+
<div class="refsect2">
|
372
372
|
<a name="g-main-loop-unref"></a><h3>g_main_loop_unref ()</h3>
|
373
373
|
<pre class="programlisting"><span class="returnvalue">void</span> g_main_loop_unref (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> *loop</code></em>);</pre>
|
374
374
|
<p>
|
@@ -385,7 +385,7 @@ the result is zero, free the loop and free all associated memory.
|
|
385
385
|
</table></div>
|
386
386
|
</div>
|
387
387
|
<hr>
|
388
|
-
<div class="refsect2"
|
388
|
+
<div class="refsect2">
|
389
389
|
<a name="g-main-loop-run"></a><h3>g_main_loop_run ()</h3>
|
390
390
|
<pre class="programlisting"><span class="returnvalue">void</span> g_main_loop_run (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> *loop</code></em>);</pre>
|
391
391
|
<p>
|
@@ -404,7 +404,7 @@ simply wait.
|
|
404
404
|
</table></div>
|
405
405
|
</div>
|
406
406
|
<hr>
|
407
|
-
<div class="refsect2"
|
407
|
+
<div class="refsect2">
|
408
408
|
<a name="g-main-loop-quit"></a><h3>g_main_loop_quit ()</h3>
|
409
409
|
<pre class="programlisting"><span class="returnvalue">void</span> g_main_loop_quit (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> *loop</code></em>);</pre>
|
410
410
|
<p>
|
@@ -425,7 +425,7 @@ Note that sources that have already been dispatched when
|
|
425
425
|
</table></div>
|
426
426
|
</div>
|
427
427
|
<hr>
|
428
|
-
<div class="refsect2"
|
428
|
+
<div class="refsect2">
|
429
429
|
<a name="g-main-loop-is-running"></a><h3>g_main_loop_is_running ()</h3>
|
430
430
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_loop_is_running (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> *loop</code></em>);</pre>
|
431
431
|
<p>
|
@@ -448,7 +448,7 @@ Checks to see if the main loop is currently being run via <a class="link" href="
|
|
448
448
|
</table></div>
|
449
449
|
</div>
|
450
450
|
<hr>
|
451
|
-
<div class="refsect2"
|
451
|
+
<div class="refsect2">
|
452
452
|
<a name="g-main-loop-get-context"></a><h3>g_main_loop_get_context ()</h3>
|
453
453
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_main_loop_get_context (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> *loop</code></em>);</pre>
|
454
454
|
<p>
|
@@ -471,40 +471,42 @@ Returns the <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" ti
|
|
471
471
|
</table></div>
|
472
472
|
</div>
|
473
473
|
<hr>
|
474
|
-
<div class="refsect2"
|
474
|
+
<div class="refsect2">
|
475
475
|
<a name="g-main-new"></a><h3>g_main_new()</h3>
|
476
476
|
<pre class="programlisting">#define g_main_new(is_running)</pre>
|
477
|
-
<div class="warning"
|
477
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
478
478
|
<h3 class="title">Warning</h3>
|
479
|
-
<p><code class="literal">g_main_new</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-new" title="g_main_loop_new ()"><code class="function">g_main_loop_new()</code></a> instead
|
479
|
+
<p><code class="literal">g_main_new</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-new" title="g_main_loop_new ()"><code class="function">g_main_loop_new()</code></a> instead</p>
|
480
480
|
</div>
|
481
481
|
<p>
|
482
|
-
Creates a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> for
|
482
|
+
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.
|
483
483
|
</p>
|
484
484
|
<div class="variablelist"><table border="0">
|
485
485
|
<col align="left" valign="top">
|
486
486
|
<tbody>
|
487
487
|
<tr>
|
488
488
|
<td><p><span class="term"><em class="parameter"><code>is_running</code></em> :</span></p></td>
|
489
|
-
<td>set to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> to indicate that the loop is running. This
|
490
|
-
very important since calling <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> will set this
|
489
|
+
<td>set to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> to indicate that the loop is running. This
|
490
|
+
is not very important since calling <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> will set this
|
491
|
+
to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> anyway.
|
491
492
|
</td>
|
492
493
|
</tr>
|
493
494
|
<tr>
|
494
495
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
495
|
-
<td>a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a
|
496
|
+
<td> a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>
|
497
|
+
|
496
498
|
</td>
|
497
499
|
</tr>
|
498
500
|
</tbody>
|
499
501
|
</table></div>
|
500
502
|
</div>
|
501
503
|
<hr>
|
502
|
-
<div class="refsect2"
|
504
|
+
<div class="refsect2">
|
503
505
|
<a name="g-main-destroy"></a><h3>g_main_destroy()</h3>
|
504
506
|
<pre class="programlisting">#define g_main_destroy(loop)</pre>
|
505
|
-
<div class="warning"
|
507
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
506
508
|
<h3 class="title">Warning</h3>
|
507
|
-
<p><code class="literal">g_main_destroy</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-unref" title="g_main_loop_unref ()"><code class="function">g_main_loop_unref()</code></a> instead
|
509
|
+
<p><code class="literal">g_main_destroy</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-unref" title="g_main_loop_unref ()"><code class="function">g_main_loop_unref()</code></a> instead</p>
|
508
510
|
</div>
|
509
511
|
<p>
|
510
512
|
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>.
|
@@ -513,18 +515,18 @@ Frees the memory allocated for the <a class="link" href="glib-The-Main-Event-Loo
|
|
513
515
|
<col align="left" valign="top">
|
514
516
|
<tbody><tr>
|
515
517
|
<td><p><span class="term"><em class="parameter"><code>loop</code></em> :</span></p></td>
|
516
|
-
<td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a
|
518
|
+
<td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>
|
517
519
|
</td>
|
518
520
|
</tr></tbody>
|
519
521
|
</table></div>
|
520
522
|
</div>
|
521
523
|
<hr>
|
522
|
-
<div class="refsect2"
|
524
|
+
<div class="refsect2">
|
523
525
|
<a name="g-main-run"></a><h3>g_main_run()</h3>
|
524
526
|
<pre class="programlisting">#define g_main_run(loop)</pre>
|
525
|
-
<div class="warning"
|
527
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
526
528
|
<h3 class="title">Warning</h3>
|
527
|
-
<p><code class="literal">g_main_run</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <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> instead
|
529
|
+
<p><code class="literal">g_main_run</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <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> instead</p>
|
528
530
|
</div>
|
529
531
|
<p>
|
530
532
|
Runs a main loop until it stops running.
|
@@ -533,39 +535,39 @@ Runs a main loop until it stops running.
|
|
533
535
|
<col align="left" valign="top">
|
534
536
|
<tbody><tr>
|
535
537
|
<td><p><span class="term"><em class="parameter"><code>loop</code></em> :</span></p></td>
|
536
|
-
<td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a
|
538
|
+
<td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>
|
537
539
|
</td>
|
538
540
|
</tr></tbody>
|
539
541
|
</table></div>
|
540
542
|
</div>
|
541
543
|
<hr>
|
542
|
-
<div class="refsect2"
|
544
|
+
<div class="refsect2">
|
543
545
|
<a name="g-main-quit"></a><h3>g_main_quit()</h3>
|
544
546
|
<pre class="programlisting">#define g_main_quit(loop)</pre>
|
545
|
-
<div class="warning"
|
547
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
546
548
|
<h3 class="title">Warning</h3>
|
547
|
-
<p><code class="literal">g_main_quit</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <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> instead
|
549
|
+
<p><code class="literal">g_main_quit</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <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> instead</p>
|
548
550
|
</div>
|
549
551
|
<p>
|
550
|
-
Stops the <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>.
|
551
|
-
it will now return.
|
552
|
+
Stops the <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>.
|
553
|
+
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.
|
552
554
|
</p>
|
553
555
|
<div class="variablelist"><table border="0">
|
554
556
|
<col align="left" valign="top">
|
555
557
|
<tbody><tr>
|
556
558
|
<td><p><span class="term"><em class="parameter"><code>loop</code></em> :</span></p></td>
|
557
|
-
<td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a
|
559
|
+
<td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>
|
558
560
|
</td>
|
559
561
|
</tr></tbody>
|
560
562
|
</table></div>
|
561
563
|
</div>
|
562
564
|
<hr>
|
563
|
-
<div class="refsect2"
|
565
|
+
<div class="refsect2">
|
564
566
|
<a name="g-main-is-running"></a><h3>g_main_is_running()</h3>
|
565
567
|
<pre class="programlisting">#define g_main_is_running(loop)</pre>
|
566
|
-
<div class="warning"
|
568
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
567
569
|
<h3 class="title">Warning</h3>
|
568
|
-
<p><code class="literal">g_main_is_running</code> has been deprecated since version 2.2 and should not be used in newly-written code.
|
570
|
+
<p><code class="literal">g_main_is_running</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-is-running" title="g_main_loop_is_running ()"><code class="function">g_main_loop_is_running()</code></a> instead</p>
|
569
571
|
</div>
|
570
572
|
<p>
|
571
573
|
Checks if the main loop is running.
|
@@ -575,84 +577,95 @@ Checks if the main loop is running.
|
|
575
577
|
<tbody>
|
576
578
|
<tr>
|
577
579
|
<td><p><span class="term"><em class="parameter"><code>loop</code></em> :</span></p></td>
|
578
|
-
<td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a
|
580
|
+
<td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>
|
579
581
|
</td>
|
580
582
|
</tr>
|
581
583
|
<tr>
|
582
584
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
583
|
-
<td>
|
584
|
-
|
585
|
+
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the main loop is running
|
586
|
+
|
585
587
|
</td>
|
586
588
|
</tr>
|
587
589
|
</tbody>
|
588
590
|
</table></div>
|
589
591
|
</div>
|
590
592
|
<hr>
|
591
|
-
<div class="refsect2"
|
593
|
+
<div class="refsect2">
|
592
594
|
<a name="G-PRIORITY-HIGH:CAPS"></a><h3>G_PRIORITY_HIGH</h3>
|
593
595
|
<pre class="programlisting">#define G_PRIORITY_HIGH -100
|
594
596
|
</pre>
|
595
597
|
<p>
|
596
598
|
Use this for high priority event sources.
|
599
|
+
</p>
|
600
|
+
<p>
|
597
601
|
It is not used within GLib or GTK+.
|
598
602
|
</p>
|
599
603
|
</div>
|
600
604
|
<hr>
|
601
|
-
<div class="refsect2"
|
605
|
+
<div class="refsect2">
|
602
606
|
<a name="G-PRIORITY-DEFAULT:CAPS"></a><h3>G_PRIORITY_DEFAULT</h3>
|
603
607
|
<pre class="programlisting">#define G_PRIORITY_DEFAULT 0
|
604
608
|
</pre>
|
605
609
|
<p>
|
606
610
|
Use this for default priority event sources.
|
607
|
-
|
608
|
-
<
|
609
|
-
In
|
611
|
+
</p>
|
612
|
+
<p>
|
613
|
+
In GLib this priority is used when adding timeout functions
|
614
|
+
with <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>. In GDK this priority is used for events
|
615
|
+
from the X server.
|
610
616
|
</p>
|
611
617
|
</div>
|
612
618
|
<hr>
|
613
|
-
<div class="refsect2"
|
619
|
+
<div class="refsect2">
|
614
620
|
<a name="G-PRIORITY-HIGH-IDLE:CAPS"></a><h3>G_PRIORITY_HIGH_IDLE</h3>
|
615
621
|
<pre class="programlisting">#define G_PRIORITY_HIGH_IDLE 100
|
616
622
|
</pre>
|
617
623
|
<p>
|
618
624
|
Use this for high priority idle functions.
|
619
|
-
|
620
|
-
<
|
621
|
-
|
622
|
-
|
625
|
+
</p>
|
626
|
+
<p>
|
627
|
+
GTK+ uses <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS" title="G_PRIORITY_HIGH_IDLE"><span class="type">G_PRIORITY_HIGH_IDLE</span></a> + 10 for resizing operations,
|
628
|
+
and <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS" title="G_PRIORITY_HIGH_IDLE"><span class="type">G_PRIORITY_HIGH_IDLE</span></a> + 20 for redrawing operations. (This is
|
629
|
+
done to ensure that any pending resizes are processed before any
|
630
|
+
pending redraws, so that widgets are not redrawn twice unnecessarily.)
|
623
631
|
</p>
|
624
632
|
</div>
|
625
633
|
<hr>
|
626
|
-
<div class="refsect2"
|
634
|
+
<div class="refsect2">
|
627
635
|
<a name="G-PRIORITY-DEFAULT-IDLE:CAPS"></a><h3>G_PRIORITY_DEFAULT_IDLE</h3>
|
628
636
|
<pre class="programlisting">#define G_PRIORITY_DEFAULT_IDLE 200
|
629
637
|
</pre>
|
630
638
|
<p>
|
631
639
|
Use this for default priority idle functions.
|
632
|
-
|
640
|
+
</p>
|
641
|
+
<p>
|
642
|
+
In GLib this priority is used when adding idle functions with
|
643
|
+
<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>.
|
633
644
|
</p>
|
634
645
|
</div>
|
635
646
|
<hr>
|
636
|
-
<div class="refsect2"
|
647
|
+
<div class="refsect2">
|
637
648
|
<a name="G-PRIORITY-LOW:CAPS"></a><h3>G_PRIORITY_LOW</h3>
|
638
|
-
<pre class="programlisting">#define G_PRIORITY_LOW
|
649
|
+
<pre class="programlisting">#define G_PRIORITY_LOW 300
|
639
650
|
</pre>
|
640
651
|
<p>
|
641
652
|
Use this for very low priority background tasks.
|
653
|
+
</p>
|
654
|
+
<p>
|
642
655
|
It is not used within GLib or GTK+.
|
643
656
|
</p>
|
644
657
|
</div>
|
645
658
|
<hr>
|
646
|
-
<div class="refsect2"
|
659
|
+
<div class="refsect2">
|
647
660
|
<a name="GMainContext"></a><h3>GMainContext</h3>
|
648
661
|
<pre class="programlisting">typedef struct _GMainContext GMainContext;</pre>
|
649
662
|
<p>
|
650
|
-
The <span class="structname">GMainContext</span> struct is an opaque data
|
651
|
-
representing a set of sources to be handled in a main loop.
|
663
|
+
The <span class="structname">GMainContext</span> struct is an opaque data
|
664
|
+
type representing a set of sources to be handled in a main loop.
|
652
665
|
</p>
|
653
666
|
</div>
|
654
667
|
<hr>
|
655
|
-
<div class="refsect2"
|
668
|
+
<div class="refsect2">
|
656
669
|
<a name="g-main-context-new"></a><h3>g_main_context_new ()</h3>
|
657
670
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_main_context_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
658
671
|
<p>
|
@@ -668,7 +681,7 @@ Creates a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext"
|
|
668
681
|
</table></div>
|
669
682
|
</div>
|
670
683
|
<hr>
|
671
|
-
<div class="refsect2"
|
684
|
+
<div class="refsect2">
|
672
685
|
<a name="g-main-context-ref"></a><h3>g_main_context_ref ()</h3>
|
673
686
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_main_context_ref (<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>
|
674
687
|
<p>
|
@@ -691,7 +704,7 @@ Increases the reference count on a <a class="link" href="glib-The-Main-Event-Loo
|
|
691
704
|
</table></div>
|
692
705
|
</div>
|
693
706
|
<hr>
|
694
|
-
<div class="refsect2"
|
707
|
+
<div class="refsect2">
|
695
708
|
<a name="g-main-context-unref"></a><h3>g_main_context_unref ()</h3>
|
696
709
|
<pre class="programlisting"><span class="returnvalue">void</span> g_main_context_unref (<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>
|
697
710
|
<p>
|
@@ -708,7 +721,7 @@ the result is zero, free the context and free all associated memory.
|
|
708
721
|
</table></div>
|
709
722
|
</div>
|
710
723
|
<hr>
|
711
|
-
<div class="refsect2"
|
724
|
+
<div class="refsect2">
|
712
725
|
<a name="g-main-context-default"></a><h3>g_main_context_default ()</h3>
|
713
726
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_main_context_default (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
714
727
|
<p>
|
@@ -727,7 +740,7 @@ specified, and corresponds to the "main" main loop. See also
|
|
727
740
|
</table></div>
|
728
741
|
</div>
|
729
742
|
<hr>
|
730
|
-
<div class="refsect2"
|
743
|
+
<div class="refsect2">
|
731
744
|
<a name="g-main-context-iteration"></a><h3>g_main_context_iteration ()</h3>
|
732
745
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_context_iteration (<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>,
|
733
746
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> may_block</code></em>);</pre>
|
@@ -768,10 +781,10 @@ be interrupted for other reasons than an event source becoming ready.
|
|
768
781
|
</table></div>
|
769
782
|
</div>
|
770
783
|
<hr>
|
771
|
-
<div class="refsect2"
|
784
|
+
<div class="refsect2">
|
772
785
|
<a name="g-main-iteration"></a><h3>g_main_iteration()</h3>
|
773
786
|
<pre class="programlisting">#define g_main_iteration(may_block)</pre>
|
774
|
-
<div class="warning"
|
787
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
775
788
|
<h3 class="title">Warning</h3>
|
776
789
|
<p><code class="literal">g_main_iteration</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-iteration" title="g_main_context_iteration ()"><code class="function">g_main_context_iteration()</code></a> instead.</p>
|
777
790
|
</div>
|
@@ -783,23 +796,23 @@ Runs a single iteration for the default <a class="link" href="glib-The-Main-Even
|
|
783
796
|
<tbody>
|
784
797
|
<tr>
|
785
798
|
<td><p><span class="term"><em class="parameter"><code>may_block</code></em> :</span></p></td>
|
786
|
-
<td>set to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if it should block (i.e. wait) until an event
|
787
|
-
becomes ready. It will return after an event source has been
|
788
|
-
If set to <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> it will return immediately if no event
|
789
|
-
processed.
|
799
|
+
<td>set to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if it should block (i.e. wait) until an event
|
800
|
+
source becomes ready. It will return after an event source has been
|
801
|
+
processed. If set to <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> it will return immediately if no event
|
802
|
+
source is ready to be processed.
|
790
803
|
</td>
|
791
804
|
</tr>
|
792
805
|
<tr>
|
793
806
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
794
|
-
<td>
|
795
|
-
|
807
|
+
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if more events are pending.
|
808
|
+
|
796
809
|
</td>
|
797
810
|
</tr>
|
798
811
|
</tbody>
|
799
812
|
</table></div>
|
800
813
|
</div>
|
801
814
|
<hr>
|
802
|
-
<div class="refsect2"
|
815
|
+
<div class="refsect2">
|
803
816
|
<a name="g-main-context-pending"></a><h3>g_main_context_pending ()</h3>
|
804
817
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_context_pending (<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>
|
805
818
|
<p>
|
@@ -822,12 +835,12 @@ Checks if any sources have pending events for the given context.
|
|
822
835
|
</table></div>
|
823
836
|
</div>
|
824
837
|
<hr>
|
825
|
-
<div class="refsect2"
|
838
|
+
<div class="refsect2">
|
826
839
|
<a name="g-main-pending"></a><h3>g_main_pending</h3>
|
827
840
|
<pre class="programlisting">#define g_main_pending()</pre>
|
828
|
-
<div class="warning"
|
841
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
829
842
|
<h3 class="title">Warning</h3>
|
830
|
-
<p><code class="literal">g_main_pending</code>
|
843
|
+
<p><code class="literal">g_main_pending</code> is deprecated and should not be used in newly-written code.</p>
|
831
844
|
</div>
|
832
845
|
<p>
|
833
846
|
Checks if any events are pending for the default <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>
|
@@ -837,14 +850,15 @@ Checks if any events are pending for the default <a class="link" href="glib-The-
|
|
837
850
|
<col align="left" valign="top">
|
838
851
|
<tbody><tr>
|
839
852
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
840
|
-
<td>
|
841
|
-
|
853
|
+
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if any events are pending.
|
854
|
+
|
855
|
+
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.
|
842
856
|
</td>
|
843
857
|
</tr></tbody>
|
844
858
|
</table></div>
|
845
859
|
</div>
|
846
860
|
<hr>
|
847
|
-
<div class="refsect2"
|
861
|
+
<div class="refsect2">
|
848
862
|
<a name="g-main-context-find-source-by-id"></a><h3>g_main_context_find_source_by_id ()</h3>
|
849
863
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * 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>,
|
850
864
|
<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>
|
@@ -873,7 +887,7 @@ Finds a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSou
|
|
873
887
|
</table></div>
|
874
888
|
</div>
|
875
889
|
<hr>
|
876
|
-
<div class="refsect2"
|
890
|
+
<div class="refsect2">
|
877
891
|
<a name="g-main-context-find-source-by-user-data"></a><h3>g_main_context_find_source_by_user_data ()</h3>
|
878
892
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_main_context_find_source_by_user_data
|
879
893
|
(<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>,
|
@@ -905,7 +919,7 @@ one found will be returned.
|
|
905
919
|
</table></div>
|
906
920
|
</div>
|
907
921
|
<hr>
|
908
|
-
<div class="refsect2"
|
922
|
+
<div class="refsect2">
|
909
923
|
<a name="g-main-context-find-source-by-funcs-user-data"></a><h3>g_main_context_find_source_by_funcs_user_data ()</h3>
|
910
924
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_main_context_find_source_by_funcs_user_data
|
911
925
|
(<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>,
|
@@ -943,7 +957,7 @@ the first one found will be returned.
|
|
943
957
|
</table></div>
|
944
958
|
</div>
|
945
959
|
<hr>
|
946
|
-
<div class="refsect2"
|
960
|
+
<div class="refsect2">
|
947
961
|
<a name="g-main-context-wakeup"></a><h3>g_main_context_wakeup ()</h3>
|
948
962
|
<pre class="programlisting"><span class="returnvalue">void</span> g_main_context_wakeup (<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>
|
949
963
|
<p>
|
@@ -960,7 +974,7 @@ the <code class="function">poll()</code>, and continue the iteration process.
|
|
960
974
|
</table></div>
|
961
975
|
</div>
|
962
976
|
<hr>
|
963
|
-
<div class="refsect2"
|
977
|
+
<div class="refsect2">
|
964
978
|
<a name="g-main-context-acquire"></a><h3>g_main_context_acquire ()</h3>
|
965
979
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_context_acquire (<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>
|
966
980
|
<p>
|
@@ -994,7 +1008,7 @@ can call <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-prep
|
|
994
1008
|
</table></div>
|
995
1009
|
</div>
|
996
1010
|
<hr>
|
997
|
-
<div class="refsect2"
|
1011
|
+
<div class="refsect2">
|
998
1012
|
<a name="g-main-context-release"></a><h3>g_main_context_release ()</h3>
|
999
1013
|
<pre class="programlisting"><span class="returnvalue">void</span> g_main_context_release (<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>
|
1000
1014
|
<p>
|
@@ -1013,7 +1027,7 @@ is called as many times as it was acquired.
|
|
1013
1027
|
</table></div>
|
1014
1028
|
</div>
|
1015
1029
|
<hr>
|
1016
|
-
<div class="refsect2"
|
1030
|
+
<div class="refsect2">
|
1017
1031
|
<a name="g-main-context-is-owner"></a><h3>g_main_context_is_owner ()</h3>
|
1018
1032
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_context_is_owner (<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>
|
1019
1033
|
<p>
|
@@ -1041,7 +1055,7 @@ blocking to get ownership of <em class="parameter"><code>context</code></em>.
|
|
1041
1055
|
<p class="since">Since 2.10</p>
|
1042
1056
|
</div>
|
1043
1057
|
<hr>
|
1044
|
-
<div class="refsect2"
|
1058
|
+
<div class="refsect2">
|
1045
1059
|
<a name="g-main-context-wait"></a><h3>g_main_context_wait ()</h3>
|
1046
1060
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_context_wait (<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>,
|
1047
1061
|
<em class="parameter"><code><a class="link" href="glib-Threads.html#GCond" title="GCond"><span class="type">GCond</span></a> *cond</code></em>,
|
@@ -1081,7 +1095,7 @@ try again (once) to become the owner.
|
|
1081
1095
|
</table></div>
|
1082
1096
|
</div>
|
1083
1097
|
<hr>
|
1084
|
-
<div class="refsect2"
|
1098
|
+
<div class="refsect2">
|
1085
1099
|
<a name="g-main-context-prepare"></a><h3>g_main_context_prepare ()</h3>
|
1086
1100
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
1087
1101
|
<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>
|
@@ -1113,7 +1127,7 @@ for polling is determined by calling <a class="link" href="glib-The-Main-Event-L
|
|
1113
1127
|
</table></div>
|
1114
1128
|
</div>
|
1115
1129
|
<hr>
|
1116
|
-
<div class="refsect2"
|
1130
|
+
<div class="refsect2">
|
1117
1131
|
<a name="g-main-context-query"></a><h3>g_main_context_query ()</h3>
|
1118
1132
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> 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>,
|
1119
1133
|
<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>,
|
@@ -1162,7 +1176,7 @@ Determines information necessary to poll this main loop.
|
|
1162
1176
|
</table></div>
|
1163
1177
|
</div>
|
1164
1178
|
<hr>
|
1165
|
-
<div class="refsect2"
|
1179
|
+
<div class="refsect2">
|
1166
1180
|
<a name="g-main-context-check"></a><h3>g_main_context_check ()</h3>
|
1167
1181
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> 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>,
|
1168
1182
|
<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>,
|
@@ -1204,7 +1218,7 @@ Passes the results of polling back to the main loop.
|
|
1204
1218
|
</table></div>
|
1205
1219
|
</div>
|
1206
1220
|
<hr>
|
1207
|
-
<div class="refsect2"
|
1221
|
+
<div class="refsect2">
|
1208
1222
|
<a name="g-main-context-dispatch"></a><h3>g_main_context_dispatch ()</h3>
|
1209
1223
|
<pre class="programlisting"><span class="returnvalue">void</span> g_main_context_dispatch (<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>
|
1210
1224
|
<p>
|
@@ -1220,7 +1234,7 @@ Dispatches all pending sources.
|
|
1220
1234
|
</table></div>
|
1221
1235
|
</div>
|
1222
1236
|
<hr>
|
1223
|
-
<div class="refsect2"
|
1237
|
+
<div class="refsect2">
|
1224
1238
|
<a name="g-main-context-set-poll-func"></a><h3>g_main_context_set_poll_func ()</h3>
|
1225
1239
|
<pre class="programlisting"><span class="returnvalue">void</span> g_main_context_set_poll_func (<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>,
|
1226
1240
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFunc" title="GPollFunc ()"><span class="type">GPollFunc</span></a> func</code></em>);</pre>
|
@@ -1251,7 +1265,7 @@ loop with an external event loop.
|
|
1251
1265
|
</table></div>
|
1252
1266
|
</div>
|
1253
1267
|
<hr>
|
1254
|
-
<div class="refsect2"
|
1268
|
+
<div class="refsect2">
|
1255
1269
|
<a name="g-main-context-get-poll-func"></a><h3>g_main_context_get_poll_func ()</h3>
|
1256
1270
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GPollFunc" title="GPollFunc ()"><span class="returnvalue">GPollFunc</span></a> g_main_context_get_poll_func (<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>
|
1257
1271
|
<p>
|
@@ -1274,46 +1288,45 @@ Gets the poll function set by <a class="link" href="glib-The-Main-Event-Loop.htm
|
|
1274
1288
|
</table></div>
|
1275
1289
|
</div>
|
1276
1290
|
<hr>
|
1277
|
-
<div class="refsect2"
|
1291
|
+
<div class="refsect2">
|
1278
1292
|
<a name="GPollFunc"></a><h3>GPollFunc ()</h3>
|
1279
1293
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> (*GPollFunc) (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *ufds</code></em>,
|
1280
1294
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nfsd</code></em>,
|
1281
1295
|
<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>
|
1282
1296
|
<p>
|
1283
1297
|
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>.
|
1284
|
-
The semantics of the function should match those of the
|
1285
|
-
<code class="function"><code class="function">poll()</code></code> system call.
|
1298
|
+
The semantics of the function should match those of the <code class="function">poll()</code> system call.
|
1286
1299
|
</p>
|
1287
1300
|
<div class="variablelist"><table border="0">
|
1288
1301
|
<col align="left" valign="top">
|
1289
1302
|
<tbody>
|
1290
1303
|
<tr>
|
1291
1304
|
<td><p><span class="term"><em class="parameter"><code>ufds</code></em> :</span></p></td>
|
1292
|
-
<td>an array of <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> elements
|
1305
|
+
<td>an array of <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> elements
|
1293
1306
|
</td>
|
1294
1307
|
</tr>
|
1295
1308
|
<tr>
|
1296
1309
|
<td><p><span class="term"><em class="parameter"><code>nfsd</code></em> :</span></p></td>
|
1297
|
-
<td>the number of elements in <em class="parameter"><code>ufds</code></em
|
1310
|
+
<td>the number of elements in <em class="parameter"><code>ufds</code></em>
|
1298
1311
|
</td>
|
1299
1312
|
</tr>
|
1300
1313
|
<tr>
|
1301
1314
|
<td><p><span class="term"><em class="parameter"><code>timeout_</code></em> :</span></p></td>
|
1302
1315
|
<td>the maximum time to wait for an event of the file descriptors.
|
1303
|
-
|
1316
|
+
A negative value indicates an infinite timeout.
|
1304
1317
|
</td>
|
1305
1318
|
</tr>
|
1306
1319
|
<tr>
|
1307
1320
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1308
|
-
<td>the number of <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> elements which have events or errors
|
1309
|
-
or -1 if an error occurred.
|
1321
|
+
<td> the number of <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> elements which have events or errors
|
1322
|
+
reported, or -1 if an error occurred.
|
1310
1323
|
</td>
|
1311
1324
|
</tr>
|
1312
1325
|
</tbody>
|
1313
1326
|
</table></div>
|
1314
1327
|
</div>
|
1315
1328
|
<hr>
|
1316
|
-
<div class="refsect2"
|
1329
|
+
<div class="refsect2">
|
1317
1330
|
<a name="g-main-context-add-poll"></a><h3>g_main_context_add_poll ()</h3>
|
1318
1331
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1319
1332
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>,
|
@@ -1348,7 +1361,7 @@ a typical event source will use <a class="link" href="glib-The-Main-Event-Loop.h
|
|
1348
1361
|
</table></div>
|
1349
1362
|
</div>
|
1350
1363
|
<hr>
|
1351
|
-
<div class="refsect2"
|
1364
|
+
<div class="refsect2">
|
1352
1365
|
<a name="g-main-context-remove-poll"></a><h3>g_main_context_remove_poll ()</h3>
|
1353
1366
|
<pre class="programlisting"><span class="returnvalue">void</span> g_main_context_remove_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>,
|
1354
1367
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);</pre>
|
@@ -1373,7 +1386,7 @@ polled for a particular context.
|
|
1373
1386
|
</table></div>
|
1374
1387
|
</div>
|
1375
1388
|
<hr>
|
1376
|
-
<div class="refsect2"
|
1389
|
+
<div class="refsect2">
|
1377
1390
|
<a name="g-main-depth"></a><h3>g_main_depth ()</h3>
|
1378
1391
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_main_depth (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1379
1392
|
<p>
|
@@ -1554,7 +1567,7 @@ following techniques:
|
|
1554
1567
|
</p>
|
1555
1568
|
<div class="orderedlist"><ol class="orderedlist" type="1">
|
1556
1569
|
<li class="listitem"><p>
|
1557
|
-
Use <code class="function">gtk_widget_set_sensitive()</code> or modal dialogs to prevent
|
1570
|
+
Use <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widget-set-sensitive"><code class="function">gtk_widget_set_sensitive()</code></a> or modal dialogs to prevent
|
1558
1571
|
the user from interacting with elements while the main
|
1559
1572
|
loop is recursing.
|
1560
1573
|
</p></li>
|
@@ -1577,7 +1590,7 @@ following techniques:
|
|
1577
1590
|
</table></div>
|
1578
1591
|
</div>
|
1579
1592
|
<hr>
|
1580
|
-
<div class="refsect2"
|
1593
|
+
<div class="refsect2">
|
1581
1594
|
<a name="g-main-current-source"></a><h3>g_main_current_source ()</h3>
|
1582
1595
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_main_current_source (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1583
1596
|
<p>
|
@@ -1595,12 +1608,12 @@ Returns the currently firing source for this thread.
|
|
1595
1608
|
<p class="since">Since 2.12</p>
|
1596
1609
|
</div>
|
1597
1610
|
<hr>
|
1598
|
-
<div class="refsect2"
|
1611
|
+
<div class="refsect2">
|
1599
1612
|
<a name="g-main-set-poll-func"></a><h3>g_main_set_poll_func()</h3>
|
1600
1613
|
<pre class="programlisting">#define g_main_set_poll_func(func)</pre>
|
1601
|
-
<div class="warning"
|
1614
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1602
1615
|
<h3 class="title">Warning</h3>
|
1603
|
-
<p><code class="literal">g_main_set_poll_func</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <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>
|
1616
|
+
<p><code class="literal">g_main_set_poll_func</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <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> again</p>
|
1604
1617
|
</div>
|
1605
1618
|
<p>
|
1606
1619
|
Sets the function to use for the handle polling of file descriptors
|
@@ -1610,13 +1623,13 @@ for the default main context.
|
|
1610
1623
|
<col align="left" valign="top">
|
1611
1624
|
<tbody><tr>
|
1612
1625
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
1613
|
-
<td>the function to call to poll all file descriptors
|
1626
|
+
<td>the function to call to poll all file descriptors
|
1614
1627
|
</td>
|
1615
1628
|
</tr></tbody>
|
1616
1629
|
</table></div>
|
1617
1630
|
</div>
|
1618
1631
|
<hr>
|
1619
|
-
<div class="refsect2"
|
1632
|
+
<div class="refsect2">
|
1620
1633
|
<a name="g-main-context-get-thread-default"></a><h3>g_main_context_get_thread_default ()</h3>
|
1621
1634
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_main_context_get_thread_default (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1622
1635
|
<p>
|
@@ -1641,7 +1654,7 @@ thread-default context is the global default context.
|
|
1641
1654
|
<p class="since">Since 2.22</p>
|
1642
1655
|
</div>
|
1643
1656
|
<hr>
|
1644
|
-
<div class="refsect2"
|
1657
|
+
<div class="refsect2">
|
1645
1658
|
<a name="g-main-context-push-thread-default"></a><h3>g_main_context_push_thread_default ()</h3>
|
1646
1659
|
<pre class="programlisting"><span class="returnvalue">void</span> g_main_context_push_thread_default (<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>
|
1647
1660
|
<p>
|
@@ -1674,7 +1687,7 @@ started while the non-default context is active.
|
|
1674
1687
|
<p>
|
1675
1688
|
Beware that libraries that predate this function may not correctly
|
1676
1689
|
handle being used from a thread with a thread-default context. Eg,
|
1677
|
-
see <a href="/
|
1690
|
+
see <a href="http://library.gnome.org/devel/gio/unstable/GFile.html#g-file-supports-thread-contexts"><code class="function">g_file_supports_thread_contexts()</code></a>.
|
1678
1691
|
</p>
|
1679
1692
|
<div class="variablelist"><table border="0">
|
1680
1693
|
<col align="left" valign="top">
|
@@ -1687,7 +1700,7 @@ see <a href="/usr/share/gtk-doc/html/gio/GFile.html#g-file-supports-thread-conte
|
|
1687
1700
|
<p class="since">Since 2.22</p>
|
1688
1701
|
</div>
|
1689
1702
|
<hr>
|
1690
|
-
<div class="refsect2"
|
1703
|
+
<div class="refsect2">
|
1691
1704
|
<a name="g-main-context-pop-thread-default"></a><h3>g_main_context_pop_thread_default ()</h3>
|
1692
1705
|
<pre class="programlisting"><span class="returnvalue">void</span> g_main_context_pop_thread_default (<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>
|
1693
1706
|
<p>
|
@@ -1705,7 +1718,7 @@ it was on the top of the stack).
|
|
1705
1718
|
<p class="since">Since 2.22</p>
|
1706
1719
|
</div>
|
1707
1720
|
<hr>
|
1708
|
-
<div class="refsect2"
|
1721
|
+
<div class="refsect2">
|
1709
1722
|
<a name="g-timeout-source-new"></a><h3>g_timeout_source_new ()</h3>
|
1710
1723
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * 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>
|
1711
1724
|
<p>
|
@@ -1733,7 +1746,7 @@ executed.
|
|
1733
1746
|
</table></div>
|
1734
1747
|
</div>
|
1735
1748
|
<hr>
|
1736
|
-
<div class="refsect2"
|
1749
|
+
<div class="refsect2">
|
1737
1750
|
<a name="g-timeout-source-new-seconds"></a><h3>g_timeout_source_new_seconds ()</h3>
|
1738
1751
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * 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>
|
1739
1752
|
<p>
|
@@ -1767,7 +1780,7 @@ in seconds.
|
|
1767
1780
|
<p class="since">Since 2.14</p>
|
1768
1781
|
</div>
|
1769
1782
|
<hr>
|
1770
|
-
<div class="refsect2"
|
1783
|
+
<div class="refsect2">
|
1771
1784
|
<a name="g-timeout-add"></a><h3>g_timeout_add ()</h3>
|
1772
1785
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> 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>,
|
1773
1786
|
<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>,
|
@@ -1825,7 +1838,7 @@ do these steps manually if you need greater control.
|
|
1825
1838
|
</table></div>
|
1826
1839
|
</div>
|
1827
1840
|
<hr>
|
1828
|
-
<div class="refsect2"
|
1841
|
+
<div class="refsect2">
|
1829
1842
|
<a name="g-timeout-add-full"></a><h3>g_timeout_add_full ()</h3>
|
1830
1843
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> 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>,
|
1831
1844
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
|
@@ -1891,7 +1904,7 @@ do these steps manually if you need greater control.
|
|
1891
1904
|
</table></div>
|
1892
1905
|
</div>
|
1893
1906
|
<hr>
|
1894
|
-
<div class="refsect2"
|
1907
|
+
<div class="refsect2">
|
1895
1908
|
<a name="g-timeout-add-seconds"></a><h3>g_timeout_add_seconds ()</h3>
|
1896
1909
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> 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>,
|
1897
1910
|
<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>,
|
@@ -1937,7 +1950,7 @@ greater control. Also see <code class="function">g_timout_add_seconds_full()</co
|
|
1937
1950
|
<p class="since">Since 2.14</p>
|
1938
1951
|
</div>
|
1939
1952
|
<hr>
|
1940
|
-
<div class="refsect2"
|
1953
|
+
<div class="refsect2">
|
1941
1954
|
<a name="g-timeout-add-seconds-full"></a><h3>g_timeout_add_seconds_full ()</h3>
|
1942
1955
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> 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>,
|
1943
1956
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
|
@@ -2021,7 +2034,7 @@ greater control.
|
|
2021
2034
|
<p class="since">Since 2.14</p>
|
2022
2035
|
</div>
|
2023
2036
|
<hr>
|
2024
|
-
<div class="refsect2"
|
2037
|
+
<div class="refsect2">
|
2025
2038
|
<a name="g-idle-source-new"></a><h3>g_idle_source_new ()</h3>
|
2026
2039
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_idle_source_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
2027
2040
|
<p>
|
@@ -2044,7 +2057,7 @@ have a default priority of <a class="link" href="glib-The-Main-Event-Loop.html#G
|
|
2044
2057
|
</table></div>
|
2045
2058
|
</div>
|
2046
2059
|
<hr>
|
2047
|
-
<div class="refsect2"
|
2060
|
+
<div class="refsect2">
|
2048
2061
|
<a name="g-idle-add"></a><h3>g_idle_add ()</h3>
|
2049
2062
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> 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>,
|
2050
2063
|
<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>
|
@@ -2082,7 +2095,7 @@ You can do these steps manually if you need greater control.
|
|
2082
2095
|
</table></div>
|
2083
2096
|
</div>
|
2084
2097
|
<hr>
|
2085
|
-
<div class="refsect2"
|
2098
|
+
<div class="refsect2">
|
2086
2099
|
<a name="g-idle-add-full"></a><h3>g_idle_add_full ()</h3>
|
2087
2100
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> 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>,
|
2088
2101
|
<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>,
|
@@ -2131,7 +2144,7 @@ You can do these steps manually if you need greater control.
|
|
2131
2144
|
</table></div>
|
2132
2145
|
</div>
|
2133
2146
|
<hr>
|
2134
|
-
<div class="refsect2"
|
2147
|
+
<div class="refsect2">
|
2135
2148
|
<a name="g-idle-remove-by-data"></a><h3>g_idle_remove_by_data ()</h3>
|
2136
2149
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_idle_remove_by_data (<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>
|
2137
2150
|
<p>
|
@@ -2154,19 +2167,20 @@ Removes the idle function with the given data.
|
|
2154
2167
|
</table></div>
|
2155
2168
|
</div>
|
2156
2169
|
<hr>
|
2157
|
-
<div class="refsect2"
|
2170
|
+
<div class="refsect2">
|
2158
2171
|
<a name="GPid"></a><h3>GPid</h3>
|
2159
2172
|
<pre class="programlisting">typedef int GPid;
|
2160
2173
|
</pre>
|
2161
2174
|
<p>
|
2162
2175
|
A type which is used to hold a process identification.
|
2163
|
-
|
2164
|
-
|
2165
|
-
|
2176
|
+
</p>
|
2177
|
+
<p>
|
2178
|
+
On UNIX, processes are identified by a process id (an integer),
|
2179
|
+
while Windows uses process handles (which are pointers).
|
2166
2180
|
</p>
|
2167
2181
|
</div>
|
2168
2182
|
<hr>
|
2169
|
-
<div class="refsect2"
|
2183
|
+
<div class="refsect2">
|
2170
2184
|
<a name="GChildWatchFunc"></a><h3>GChildWatchFunc ()</h3>
|
2171
2185
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GChildWatchFunc) (<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>,
|
2172
2186
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> status</code></em>,
|
@@ -2185,7 +2199,7 @@ The type of functions to be called when a child exists.
|
|
2185
2199
|
<tr>
|
2186
2200
|
<td><p><span class="term"><em class="parameter"><code>status</code></em> :</span></p></td>
|
2187
2201
|
<td>Status information about the child process,
|
2188
|
-
|
2202
|
+
see waitpid(2) for more information about this field
|
2189
2203
|
</td>
|
2190
2204
|
</tr>
|
2191
2205
|
<tr>
|
@@ -2197,7 +2211,7 @@ The type of functions to be called when a child exists.
|
|
2197
2211
|
</table></div>
|
2198
2212
|
</div>
|
2199
2213
|
<hr>
|
2200
|
-
<div class="refsect2"
|
2214
|
+
<div class="refsect2">
|
2201
2215
|
<a name="g-child-watch-source-new"></a><h3>g_child_watch_source_new ()</h3>
|
2202
2216
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_child_watch_source_new (<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>);</pre>
|
2203
2217
|
<p>
|
@@ -2245,7 +2259,7 @@ Windows a handle for a process (which doesn't have to be a child).
|
|
2245
2259
|
<p class="since">Since 2.4</p>
|
2246
2260
|
</div>
|
2247
2261
|
<hr>
|
2248
|
-
<div class="refsect2"
|
2262
|
+
<div class="refsect2">
|
2249
2263
|
<a name="g-child-watch-add"></a><h3>g_child_watch_add ()</h3>
|
2250
2264
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> 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>,
|
2251
2265
|
<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>,
|
@@ -2304,7 +2318,7 @@ Windows a handle for a process (which doesn't have to be a child).
|
|
2304
2318
|
<p class="since">Since 2.4</p>
|
2305
2319
|
</div>
|
2306
2320
|
<hr>
|
2307
|
-
<div class="refsect2"
|
2321
|
+
<div class="refsect2">
|
2308
2322
|
<a name="g-child-watch-add-full"></a><h3>g_child_watch_add_full ()</h3>
|
2309
2323
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> 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>,
|
2310
2324
|
<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>,
|
@@ -2376,7 +2390,7 @@ Windows a handle for a process (which doesn't have to be a child).
|
|
2376
2390
|
<p class="since">Since 2.4</p>
|
2377
2391
|
</div>
|
2378
2392
|
<hr>
|
2379
|
-
<div class="refsect2"
|
2393
|
+
<div class="refsect2">
|
2380
2394
|
<a name="GPollFD"></a><h3>GPollFD</h3>
|
2381
2395
|
<pre class="programlisting">typedef struct {
|
2382
2396
|
#if defined (G_OS_WIN32) && GLIB_SIZEOF_VOID_P == 8
|
@@ -2388,42 +2402,37 @@ Windows a handle for a process (which doesn't have to be a child).
|
|
2388
2402
|
gushort revents;
|
2389
2403
|
} GPollFD;
|
2390
2404
|
</pre>
|
2391
|
-
<
|
2392
|
-
|
2393
|
-
<div class="informaltable"><table width="100%" border="0">
|
2394
|
-
<colgroup>
|
2395
|
-
<col>
|
2396
|
-
<col>
|
2397
|
-
</colgroup>
|
2405
|
+
<div class="variablelist"><table border="0">
|
2406
|
+
<col align="left" valign="top">
|
2398
2407
|
<tbody>
|
2399
2408
|
<tr>
|
2409
|
+
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> <em class="structfield"><code><a name="GPollFD.fd"></a>fd</code></em>;</span></p></td>
|
2400
2410
|
<td>
|
2401
|
-
|
2402
|
-
<td>the file descriptor to poll (or a <span class="type">HANDLE</span> on Win32 platforms).</td>
|
2411
|
+
</td>
|
2403
2412
|
</tr>
|
2404
2413
|
<tr>
|
2405
|
-
<td>
|
2406
|
-
<
|
2407
|
-
|
2408
|
-
|
2409
|
-
|
2410
|
-
<a
|
2414
|
+
<td><p><span class="term"><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>;</span></p></td>
|
2415
|
+
<td></td>
|
2416
|
+
</tr>
|
2417
|
+
<tr>
|
2418
|
+
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#gushort" title="gushort"><span class="type">gushort</span></a> <em class="structfield"><code><a name="GPollFD.events"></a>events</code></em>;</span></p></td>
|
2419
|
+
<td>a bitwise combination from <a class="link" href="glib-IO-Channels.html#GIOCondition" title="enum GIOCondition"><span class="type">GIOCondition</span></a>, specifying which
|
2420
|
+
events should be polled for. Typically for reading from a file
|
2421
|
+
descriptor you would use <a class="link" href="glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> | <a class="link" href="glib-IO-Channels.html#G-IO-HUP:CAPS"><code class="literal">G_IO_HUP</code></a> | <a class="link" href="glib-IO-Channels.html#G-IO-ERR:CAPS"><code class="literal">G_IO_ERR</code></a>, and
|
2422
|
+
for writing you would use <a class="link" href="glib-IO-Channels.html#G-IO-OUT:CAPS"><code class="literal">G_IO_OUT</code></a> | <a class="link" href="glib-IO-Channels.html#G-IO-ERR:CAPS"><code class="literal">G_IO_ERR</code></a>.
|
2411
2423
|
</td>
|
2412
2424
|
</tr>
|
2413
2425
|
<tr>
|
2414
|
-
<td>
|
2415
|
-
<a class="link" href="glib-
|
2416
|
-
|
2417
|
-
<code class="function"><code class="function">poll()</code></code> function to indicate which events occurred.
|
2426
|
+
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#gushort" title="gushort"><span class="type">gushort</span></a> <em class="structfield"><code><a name="GPollFD.revents"></a>revents</code></em>;</span></p></td>
|
2427
|
+
<td>a bitwise combination of flags from <a class="link" href="glib-IO-Channels.html#GIOCondition" title="enum GIOCondition"><span class="type">GIOCondition</span></a>, returned
|
2428
|
+
from the <code class="function">poll()</code> function to indicate which events occurred.
|
2418
2429
|
</td>
|
2419
2430
|
</tr>
|
2420
2431
|
</tbody>
|
2421
2432
|
</table></div>
|
2422
|
-
<p>
|
2423
|
-
</p>
|
2424
2433
|
</div>
|
2425
2434
|
<hr>
|
2426
|
-
<div class="refsect2"
|
2435
|
+
<div class="refsect2">
|
2427
2436
|
<a name="g-poll"></a><h3>g_poll ()</h3>
|
2428
2437
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
|
2429
2438
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nfds</code></em>,
|
@@ -2480,106 +2489,105 @@ if the call was interrupted.
|
|
2480
2489
|
<p class="since">Since 2.20</p>
|
2481
2490
|
</div>
|
2482
2491
|
<hr>
|
2483
|
-
<div class="refsect2"
|
2492
|
+
<div class="refsect2">
|
2484
2493
|
<a name="G-POLLFD-FORMAT:CAPS"></a><h3>G_POLLFD_FORMAT</h3>
|
2485
2494
|
<pre class="programlisting">#define G_POLLFD_FORMAT</pre>
|
2486
2495
|
<p>
|
2487
2496
|
</p>
|
2488
2497
|
</div>
|
2489
2498
|
<hr>
|
2490
|
-
<div class="refsect2"
|
2499
|
+
<div class="refsect2">
|
2491
2500
|
<a name="GSource"></a><h3>GSource</h3>
|
2492
2501
|
<pre class="programlisting">typedef struct {
|
2493
2502
|
} GSource;
|
2494
2503
|
</pre>
|
2495
2504
|
<p>
|
2496
|
-
The <span class="structname">GSource</span> struct is an opaque data type
|
2497
|
-
an event source.
|
2505
|
+
The <span class="structname">GSource</span> struct is an opaque data type
|
2506
|
+
representing an event source.
|
2498
2507
|
</p>
|
2499
2508
|
</div>
|
2500
2509
|
<hr>
|
2501
|
-
<div class="refsect2"
|
2510
|
+
<div class="refsect2">
|
2502
2511
|
<a name="GSourceDummyMarshal"></a><h3>GSourceDummyMarshal ()</h3>
|
2503
2512
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GSourceDummyMarshal) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
2504
2513
|
<p>
|
2505
|
-
This is just a placeholder for <a href="/
|
2514
|
+
This is just a placeholder for <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosureMarshal"><span class="type">GClosureMarshal</span></a>, which cannot be used here
|
2506
2515
|
for dependency reasons.
|
2507
2516
|
</p>
|
2508
2517
|
</div>
|
2509
2518
|
<hr>
|
2510
|
-
<div class="refsect2"
|
2519
|
+
<div class="refsect2">
|
2511
2520
|
<a name="GSourceFuncs"></a><h3>GSourceFuncs</h3>
|
2512
2521
|
<pre class="programlisting">typedef struct {
|
2513
2522
|
gboolean (*prepare) (GSource *source,
|
2514
|
-
|
2523
|
+
gint *timeout_);
|
2515
2524
|
gboolean (*check) (GSource *source);
|
2516
2525
|
gboolean (*dispatch) (GSource *source,
|
2517
|
-
|
2518
|
-
|
2526
|
+
GSourceFunc callback,
|
2527
|
+
gpointer user_data);
|
2519
2528
|
void (*finalize) (GSource *source); /* Can be NULL */
|
2520
2529
|
|
2521
2530
|
/* For use by g_source_set_closure */
|
2522
|
-
GSourceFunc closure_callback;
|
2531
|
+
GSourceFunc closure_callback;
|
2523
2532
|
GSourceDummyMarshal closure_marshal; /* Really is of type GClosureMarshal */
|
2524
2533
|
} GSourceFuncs;
|
2525
2534
|
</pre>
|
2526
2535
|
<p>
|
2527
|
-
The <
|
2528
|
-
event sources in a generic manner.
|
2536
|
+
The <span class="structname">GSourceFuncs</span> struct contains a table of
|
2537
|
+
functions used to handle event sources in a generic manner.
|
2529
2538
|
</p>
|
2530
2539
|
<p>
|
2531
|
-
For idle sources, the prepare and check functions always return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>
|
2532
|
-
indicate that the source is always ready to be processed.
|
2533
|
-
|
2534
|
-
|
2535
|
-
|
2540
|
+
For idle sources, the prepare and check functions always return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>
|
2541
|
+
to indicate that the source is always ready to be processed. The prepare
|
2542
|
+
function also returns a timeout value of 0 to ensure that the <code class="function">poll()</code> call
|
2543
|
+
doesn't block (since that would be time wasted which could have been spent
|
2544
|
+
running the idle function).
|
2536
2545
|
</p>
|
2537
2546
|
<p>
|
2538
|
-
For timeout sources, the prepare and check functions both return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>
|
2539
|
-
timeout interval has expired. The prepare function also returns
|
2540
|
-
value to ensure that the <code class="function">poll()</code> call doesn't block too
|
2541
|
-
|
2547
|
+
For timeout sources, the prepare and check functions both return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>
|
2548
|
+
if the timeout interval has expired. The prepare function also returns
|
2549
|
+
a timeout value to ensure that the <code class="function">poll()</code> call doesn't block too long
|
2550
|
+
and miss the next timeout.
|
2542
2551
|
</p>
|
2543
2552
|
<p>
|
2544
2553
|
For file descriptor sources, the prepare function typically returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>,
|
2545
|
-
since it must wait until <code class="function">poll()</code> has been called before
|
2546
|
-
|
2547
|
-
|
2548
|
-
<code class="function">poll()</code> call
|
2549
|
-
|
2550
|
-
call to see if the 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.
|
2554
|
+
since it must wait until <code class="function">poll()</code> has been called before it knows whether
|
2555
|
+
any events need to be processed. It sets the returned timeout to -1 to
|
2556
|
+
indicate that it doesn't mind how long the <code class="function">poll()</code> call blocks. In the
|
2557
|
+
check function, it tests the results of the <code class="function">poll()</code> call to see if the
|
2558
|
+
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.
|
2551
2559
|
</p>
|
2552
2560
|
<div class="variablelist"><table border="0">
|
2553
2561
|
<col align="left" valign="top">
|
2554
2562
|
<tbody>
|
2555
2563
|
<tr>
|
2556
2564
|
<td><p><span class="term"><em class="structfield"><code><a name="GSourceFuncs.prepare"></a>prepare</code></em> ()</span></p></td>
|
2557
|
-
<td>Called before all the file descriptors are polled.
|
2558
|
-
|
2559
|
-
results of the <code class="function">poll()</code> call) it should return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.
|
2560
|
-
|
2561
|
-
|
2562
|
-
|
2563
|
-
|
2565
|
+
<td>Called before all the file descriptors are polled. If the
|
2566
|
+
source can determine that it is ready here (without waiting for the
|
2567
|
+
results of the <code class="function">poll()</code> call) it should return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>. It can also return
|
2568
|
+
a <em class="parameter"><code>timeout_</code></em> value which should be the maximum timeout (in milliseconds)
|
2569
|
+
which should be passed to the <code class="function">poll()</code> call. The actual timeout used will
|
2570
|
+
be -1 if all sources returned -1, or it will be the minimum of all the
|
2571
|
+
<em class="parameter"><code>timeout_</code></em> values returned which were >= 0.
|
2564
2572
|
</td>
|
2565
2573
|
</tr>
|
2566
2574
|
<tr>
|
2567
2575
|
<td><p><span class="term"><em class="structfield"><code><a name="GSourceFuncs.check"></a>check</code></em> ()</span></p></td>
|
2568
|
-
<td>Called after all the file descriptors are polled.
|
2569
|
-
|
2570
|
-
|
2571
|
-
|
2576
|
+
<td>Called after all the file descriptors are polled. The source
|
2577
|
+
should return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if it is ready to be dispatched. Note that some
|
2578
|
+
time may have passed since the previous prepare function was called,
|
2579
|
+
so the source should be checked again here.
|
2572
2580
|
</td>
|
2573
2581
|
</tr>
|
2574
2582
|
<tr>
|
2575
2583
|
<td><p><span class="term"><em class="structfield"><code><a name="GSourceFuncs.dispatch"></a>dispatch</code></em> ()</span></p></td>
|
2576
|
-
<td>Called to dispatch the event source, after it has returned
|
2577
|
-
either its <em class="parameter"><code>prepare</code></em> or its <em class="parameter"><code>check</code></em> function. The <em class="parameter"><code>dispatch</code></em>
|
2578
|
-
passed in a callback function and data. The callback
|
2579
|
-
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the source was never connected to a callback
|
2580
|
-
<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>. The <em class="parameter"><code>dispatch</code></em> function should call the
|
2581
|
-
callback function with <em class="parameter"><code>user_data</code></em> and whatever additional parameters
|
2582
|
-
needed for this type of event source.
|
2584
|
+
<td>Called to dispatch the event source, after it has returned
|
2585
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> in either its <em class="parameter"><code>prepare</code></em> or its <em class="parameter"><code>check</code></em> function. The <em class="parameter"><code>dispatch</code></em>
|
2586
|
+
function is passed in a callback function and data. The callback
|
2587
|
+
function may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the source was never connected to a callback
|
2588
|
+
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>. The <em class="parameter"><code>dispatch</code></em> function should call the
|
2589
|
+
callback function with <em class="parameter"><code>user_data</code></em> and whatever additional parameters
|
2590
|
+
are needed for this type of event source.
|
2583
2591
|
</td>
|
2584
2592
|
</tr>
|
2585
2593
|
<tr>
|
@@ -2589,27 +2597,25 @@ needed for this type of event source.
|
|
2589
2597
|
</tr>
|
2590
2598
|
<tr>
|
2591
2599
|
<td><p><span class="term"><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> <em class="structfield"><code><a name="GSourceFuncs.closure-callback"></a>closure_callback</code></em>;</span></p></td>
|
2592
|
-
<td>
|
2593
|
-
</td>
|
2600
|
+
<td></td>
|
2594
2601
|
</tr>
|
2595
2602
|
<tr>
|
2596
2603
|
<td><p><span class="term"><a class="link" href="glib-The-Main-Event-Loop.html#GSourceDummyMarshal" title="GSourceDummyMarshal ()"><span class="type">GSourceDummyMarshal</span></a> <em class="structfield"><code><a name="GSourceFuncs.closure-marshal"></a>closure_marshal</code></em>;</span></p></td>
|
2597
|
-
<td>
|
2598
|
-
</td>
|
2604
|
+
<td></td>
|
2599
2605
|
</tr>
|
2600
2606
|
</tbody>
|
2601
2607
|
</table></div>
|
2602
2608
|
</div>
|
2603
2609
|
<hr>
|
2604
|
-
<div class="refsect2"
|
2610
|
+
<div class="refsect2">
|
2605
2611
|
<a name="GSourceCallbackFuncs"></a><h3>GSourceCallbackFuncs</h3>
|
2606
2612
|
<pre class="programlisting">typedef struct {
|
2607
2613
|
void (*ref) (gpointer cb_data);
|
2608
2614
|
void (*unref) (gpointer cb_data);
|
2609
2615
|
void (*get) (gpointer cb_data,
|
2610
|
-
|
2611
|
-
|
2612
|
-
|
2616
|
+
GSource *source,
|
2617
|
+
GSourceFunc *func,
|
2618
|
+
gpointer *data);
|
2613
2619
|
} GSourceCallbackFuncs;
|
2614
2620
|
</pre>
|
2615
2621
|
<p>
|
@@ -2621,24 +2627,25 @@ functions for managing callback objects.
|
|
2621
2627
|
<tbody>
|
2622
2628
|
<tr>
|
2623
2629
|
<td><p><span class="term"><em class="structfield"><code><a name="GSourceCallbackFuncs.ref"></a>ref</code></em> ()</span></p></td>
|
2624
|
-
<td>Called when a reference is added to the callback object
|
2630
|
+
<td>Called when a reference is added to the callback object
|
2625
2631
|
</td>
|
2626
2632
|
</tr>
|
2627
2633
|
<tr>
|
2628
2634
|
<td><p><span class="term"><em class="structfield"><code><a name="GSourceCallbackFuncs.unref"></a>unref</code></em> ()</span></p></td>
|
2629
|
-
<td>Called when a reference to the callback object is dropped
|
2635
|
+
<td>Called when a reference to the callback object is dropped
|
2630
2636
|
</td>
|
2631
2637
|
</tr>
|
2632
2638
|
<tr>
|
2633
2639
|
<td><p><span class="term"><em class="structfield"><code><a name="GSourceCallbackFuncs.get"></a>get</code></em> ()</span></p></td>
|
2634
|
-
<td>Called to extract the callback function and data from the
|
2640
|
+
<td>Called to extract the callback function and data from the
|
2641
|
+
callback object.
|
2635
2642
|
</td>
|
2636
2643
|
</tr>
|
2637
2644
|
</tbody>
|
2638
2645
|
</table></div>
|
2639
2646
|
</div>
|
2640
2647
|
<hr>
|
2641
|
-
<div class="refsect2"
|
2648
|
+
<div class="refsect2">
|
2642
2649
|
<a name="g-source-new"></a><h3>g_source_new ()</h3>
|
2643
2650
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_source_new (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> *source_funcs</code></em>,
|
2644
2651
|
<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>
|
@@ -2676,7 +2683,7 @@ executed.
|
|
2676
2683
|
</table></div>
|
2677
2684
|
</div>
|
2678
2685
|
<hr>
|
2679
|
-
<div class="refsect2"
|
2686
|
+
<div class="refsect2">
|
2680
2687
|
<a name="g-source-ref"></a><h3>g_source_ref ()</h3>
|
2681
2688
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_source_ref (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
|
2682
2689
|
<p>
|
@@ -2699,7 +2706,7 @@ Increases the reference count on a source by one.
|
|
2699
2706
|
</table></div>
|
2700
2707
|
</div>
|
2701
2708
|
<hr>
|
2702
|
-
<div class="refsect2"
|
2709
|
+
<div class="refsect2">
|
2703
2710
|
<a name="g-source-unref"></a><h3>g_source_unref ()</h3>
|
2704
2711
|
<pre class="programlisting"><span class="returnvalue">void</span> g_source_unref (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
|
2705
2712
|
<p>
|
@@ -2717,7 +2724,7 @@ memory will be destroyed.
|
|
2717
2724
|
</table></div>
|
2718
2725
|
</div>
|
2719
2726
|
<hr>
|
2720
|
-
<div class="refsect2"
|
2727
|
+
<div class="refsect2">
|
2721
2728
|
<a name="g-source-set-funcs"></a><h3>g_source_set_funcs ()</h3>
|
2722
2729
|
<pre class="programlisting"><span class="returnvalue">void</span> g_source_set_funcs (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
|
2723
2730
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>);</pre>
|
@@ -2743,7 +2750,7 @@ default implementations) of an unattached source.
|
|
2743
2750
|
<p class="since">Since 2.12</p>
|
2744
2751
|
</div>
|
2745
2752
|
<hr>
|
2746
|
-
<div class="refsect2"
|
2753
|
+
<div class="refsect2">
|
2747
2754
|
<a name="g-source-attach"></a><h3>g_source_attach ()</h3>
|
2748
2755
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_source_attach (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
|
2749
2756
|
<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>
|
@@ -2774,7 +2781,7 @@ that context. Remove it by calling <a class="link" href="glib-The-Main-Event-Loo
|
|
2774
2781
|
</table></div>
|
2775
2782
|
</div>
|
2776
2783
|
<hr>
|
2777
|
-
<div class="refsect2"
|
2784
|
+
<div class="refsect2">
|
2778
2785
|
<a name="g-source-destroy"></a><h3>g_source_destroy ()</h3>
|
2779
2786
|
<pre class="programlisting"><span class="returnvalue">void</span> g_source_destroy (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
|
2780
2787
|
<p>
|
@@ -2792,7 +2799,7 @@ context.
|
|
2792
2799
|
</table></div>
|
2793
2800
|
</div>
|
2794
2801
|
<hr>
|
2795
|
-
<div class="refsect2"
|
2802
|
+
<div class="refsect2">
|
2796
2803
|
<a name="g-source-is-destroyed"></a><h3>g_source_is_destroyed ()</h3>
|
2797
2804
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_source_is_destroyed (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
|
2798
2805
|
<p>
|
@@ -2843,10 +2850,10 @@ before the dispatch of your idle handler.
|
|
2843
2850
|
<span class="cbracket">{</span>
|
2844
2851
|
<span class="normal"> </span><span class="usertype">SomeWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> data</span><span class="symbol">;</span>
|
2845
2852
|
<span class="normal"> </span>
|
2846
|
-
<span class="normal"> </span><span class="function">GDK_THREADS_ENTER</span><span class="normal"> </span><span class="symbol">();</span>
|
2853
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/gdk3-Threads.html#GDK-THREADS-ENTER:CAPS">GDK_THREADS_ENTER</a></span><span class="normal"> </span><span class="symbol">();</span>
|
2847
2854
|
<span class="normal"> </span><span class="comment">/* do stuff with self */</span>
|
2848
2855
|
<span class="normal"> self</span><span class="symbol">-></span><span class="normal">idle_id </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
2849
|
-
<span class="normal"> </span><span class="function">GDK_THREADS_LEAVE</span><span class="normal"> </span><span class="symbol">();</span>
|
2856
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/gdk3-Threads.html#GDK-THREADS-LEAVE:CAPS">GDK_THREADS_LEAVE</a></span><span class="normal"> </span><span class="symbol">();</span>
|
2850
2857
|
<span class="normal"> </span>
|
2851
2858
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
2852
2859
|
<span class="cbracket">}</span>
|
@@ -2865,7 +2872,7 @@ before the dispatch of your idle handler.
|
|
2865
2872
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">idle_id</span><span class="symbol">)</span>
|
2866
2873
|
<span class="normal"> </span><span class="function"><a href="glib-The-Main-Event-Loop.html#g-source-remove">g_source_remove</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">idle_id</span><span class="symbol">);</span>
|
2867
2874
|
<span class="normal"> </span>
|
2868
|
-
<span class="normal"> </span><span class="function"><a href="/
|
2875
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS">G_OBJECT_CLASS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent_class</span><span class="symbol">)-></span><span class="function">finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
2869
2876
|
<span class="cbracket">}</span></pre></td>
|
2870
2877
|
</tr>
|
2871
2878
|
</tbody>
|
@@ -2906,12 +2913,12 @@ has already been destroy within the callback.
|
|
2906
2913
|
<span class="cbracket">{</span>
|
2907
2914
|
<span class="normal"> </span><span class="usertype">SomeWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> data</span><span class="symbol">;</span>
|
2908
2915
|
<span class="normal"> </span>
|
2909
|
-
<span class="normal"> </span><span class="function">GDK_THREADS_ENTER</span><span class="normal"> </span><span class="symbol">();</span>
|
2916
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/gdk3-Threads.html#GDK-THREADS-ENTER:CAPS">GDK_THREADS_ENTER</a></span><span class="normal"> </span><span class="symbol">();</span>
|
2910
2917
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="glib-The-Main-Event-Loop.html#g-source-is-destroyed">g_source_is_destroyed</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="glib-The-Main-Event-Loop.html#g-main-current-source">g_main_current_source</a></span><span class="normal"> </span><span class="symbol">()))</span>
|
2911
2918
|
<span class="normal"> </span><span class="cbracket">{</span>
|
2912
2919
|
<span class="normal"> </span><span class="comment">/* do stuff with self */</span>
|
2913
2920
|
<span class="normal"> </span><span class="cbracket">}</span>
|
2914
|
-
<span class="normal"> </span><span class="function">GDK_THREADS_LEAVE</span><span class="normal"> </span><span class="symbol">();</span>
|
2921
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/gdk3-Threads.html#GDK-THREADS-LEAVE:CAPS">GDK_THREADS_LEAVE</a></span><span class="normal"> </span><span class="symbol">();</span>
|
2915
2922
|
<span class="normal"> </span>
|
2916
2923
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
2917
2924
|
<span class="cbracket">}</span></pre></td>
|
@@ -2941,7 +2948,7 @@ has already been destroy within the callback.
|
|
2941
2948
|
<p class="since">Since 2.12</p>
|
2942
2949
|
</div>
|
2943
2950
|
<hr>
|
2944
|
-
<div class="refsect2"
|
2951
|
+
<div class="refsect2">
|
2945
2952
|
<a name="g-source-set-priority"></a><h3>g_source_set_priority ()</h3>
|
2946
2953
|
<pre class="programlisting"><span class="returnvalue">void</span> g_source_set_priority (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
|
2947
2954
|
<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>
|
@@ -2967,7 +2974,7 @@ at a higher (numerically smaller) priority are ready to be dispatched.
|
|
2967
2974
|
</table></div>
|
2968
2975
|
</div>
|
2969
2976
|
<hr>
|
2970
|
-
<div class="refsect2"
|
2977
|
+
<div class="refsect2">
|
2971
2978
|
<a name="g-source-get-priority"></a><h3>g_source_get_priority ()</h3>
|
2972
2979
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_source_get_priority (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
|
2973
2980
|
<p>
|
@@ -2990,7 +2997,7 @@ Gets the priority of a source.
|
|
2990
2997
|
</table></div>
|
2991
2998
|
</div>
|
2992
2999
|
<hr>
|
2993
|
-
<div class="refsect2"
|
3000
|
+
<div class="refsect2">
|
2994
3001
|
<a name="g-source-set-can-recurse"></a><h3>g_source_set_can_recurse ()</h3>
|
2995
3002
|
<pre class="programlisting"><span class="returnvalue">void</span> g_source_set_can_recurse (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
|
2996
3003
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> can_recurse</code></em>);</pre>
|
@@ -3017,7 +3024,7 @@ source is blocked until the dispatch function returns.
|
|
3017
3024
|
</table></div>
|
3018
3025
|
</div>
|
3019
3026
|
<hr>
|
3020
|
-
<div class="refsect2"
|
3027
|
+
<div class="refsect2">
|
3021
3028
|
<a name="g-source-get-can-recurse"></a><h3>g_source_get_can_recurse ()</h3>
|
3022
3029
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_source_get_can_recurse (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
|
3023
3030
|
<p>
|
@@ -3041,7 +3048,7 @@ see <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-can-recurse
|
|
3041
3048
|
</table></div>
|
3042
3049
|
</div>
|
3043
3050
|
<hr>
|
3044
|
-
<div class="refsect2"
|
3051
|
+
<div class="refsect2">
|
3045
3052
|
<a name="g-source-get-id"></a><h3>g_source_get_id ()</h3>
|
3046
3053
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_source_get_id (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
|
3047
3054
|
<p>
|
@@ -3067,7 +3074,99 @@ mapping from ID to source is done by <a class="link" href="glib-The-Main-Event-L
|
|
3067
3074
|
</table></div>
|
3068
3075
|
</div>
|
3069
3076
|
<hr>
|
3070
|
-
<div class="refsect2"
|
3077
|
+
<div class="refsect2">
|
3078
|
+
<a name="g-source-get-name"></a><h3>g_source_get_name ()</h3>
|
3079
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * g_source_get_name (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
|
3080
|
+
<p>
|
3081
|
+
Gets a name for the source, used in debugging and profiling.
|
3082
|
+
The 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
|
3083
|
+
<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>.
|
3084
|
+
</p>
|
3085
|
+
<div class="variablelist"><table border="0">
|
3086
|
+
<col align="left" valign="top">
|
3087
|
+
<tbody>
|
3088
|
+
<tr>
|
3089
|
+
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
|
3090
|
+
<td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
|
3091
|
+
</td>
|
3092
|
+
</tr>
|
3093
|
+
<tr>
|
3094
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3095
|
+
<td> the name of the source
|
3096
|
+
</td>
|
3097
|
+
</tr>
|
3098
|
+
</tbody>
|
3099
|
+
</table></div>
|
3100
|
+
<p class="since">Since 2.26</p>
|
3101
|
+
</div>
|
3102
|
+
<hr>
|
3103
|
+
<div class="refsect2">
|
3104
|
+
<a name="g-source-set-name"></a><h3>g_source_set_name ()</h3>
|
3105
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_source_set_name (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
|
3106
|
+
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
|
3107
|
+
<p>
|
3108
|
+
Sets a name for the source, used in debugging and profiling.
|
3109
|
+
The name defaults to <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><span class="type">NULL</span></a>.
|
3110
|
+
</p>
|
3111
|
+
<p>
|
3112
|
+
The source name should describe in a human-readable way
|
3113
|
+
what the source does. For example, "X11 event queue"
|
3114
|
+
or "GTK+ repaint idle handler" or whatever it is.
|
3115
|
+
</p>
|
3116
|
+
<p>
|
3117
|
+
It is permitted to call this function multiple times, but is not
|
3118
|
+
recommended due to the potential performance impact. For example,
|
3119
|
+
one could change the name in the "check" function of a <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a>
|
3120
|
+
to include details like the event type in the source name.
|
3121
|
+
</p>
|
3122
|
+
<div class="variablelist"><table border="0">
|
3123
|
+
<col align="left" valign="top">
|
3124
|
+
<tbody>
|
3125
|
+
<tr>
|
3126
|
+
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
|
3127
|
+
<td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
|
3128
|
+
</td>
|
3129
|
+
</tr>
|
3130
|
+
<tr>
|
3131
|
+
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
3132
|
+
<td>debug name for the source
|
3133
|
+
</td>
|
3134
|
+
</tr>
|
3135
|
+
</tbody>
|
3136
|
+
</table></div>
|
3137
|
+
<p class="since">Since 2.26</p>
|
3138
|
+
</div>
|
3139
|
+
<hr>
|
3140
|
+
<div class="refsect2">
|
3141
|
+
<a name="g-source-set-name-by-id"></a><h3>g_source_set_name_by_id ()</h3>
|
3142
|
+
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
3143
|
+
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
|
3144
|
+
<p>
|
3145
|
+
Sets the name of a source using its ID.
|
3146
|
+
</p>
|
3147
|
+
<p>
|
3148
|
+
This is a convenience utility to set source names from the return
|
3149
|
+
value of <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>, <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>, etc.
|
3150
|
+
</p>
|
3151
|
+
<div class="variablelist"><table border="0">
|
3152
|
+
<col align="left" valign="top">
|
3153
|
+
<tbody>
|
3154
|
+
<tr>
|
3155
|
+
<td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
|
3156
|
+
<td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> ID
|
3157
|
+
</td>
|
3158
|
+
</tr>
|
3159
|
+
<tr>
|
3160
|
+
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
3161
|
+
<td>debug name for the source
|
3162
|
+
</td>
|
3163
|
+
</tr>
|
3164
|
+
</tbody>
|
3165
|
+
</table></div>
|
3166
|
+
<p class="since">Since 2.26</p>
|
3167
|
+
</div>
|
3168
|
+
<hr>
|
3169
|
+
<div class="refsect2">
|
3071
3170
|
<a name="g-source-get-context"></a><h3>g_source_get_context ()</h3>
|
3072
3171
|
<pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_source_get_context (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
|
3073
3172
|
<p>
|
@@ -3093,7 +3192,7 @@ Calling this function on a destroyed source is an error.
|
|
3093
3192
|
</table></div>
|
3094
3193
|
</div>
|
3095
3194
|
<hr>
|
3096
|
-
<div class="refsect2"
|
3195
|
+
<div class="refsect2">
|
3097
3196
|
<a name="g-source-set-callback"></a><h3>g_source_set_callback ()</h3>
|
3098
3197
|
<pre class="programlisting"><span class="returnvalue">void</span> g_source_set_callback (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
|
3099
3198
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> func</code></em>,
|
@@ -3139,7 +3238,7 @@ to the type of source you are using.
|
|
3139
3238
|
</table></div>
|
3140
3239
|
</div>
|
3141
3240
|
<hr>
|
3142
|
-
<div class="refsect2"
|
3241
|
+
<div class="refsect2">
|
3143
3242
|
<a name="GSourceFunc"></a><h3>GSourceFunc ()</h3>
|
3144
3243
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> (*GSourceFunc) (<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>
|
3145
3244
|
<p>
|
@@ -3164,7 +3263,7 @@ of the above functions.
|
|
3164
3263
|
</table></div>
|
3165
3264
|
</div>
|
3166
3265
|
<hr>
|
3167
|
-
<div class="refsect2"
|
3266
|
+
<div class="refsect2">
|
3168
3267
|
<a name="g-source-set-callback-indirect"></a><h3>g_source_set_callback_indirect ()</h3>
|
3169
3268
|
<pre class="programlisting"><span class="returnvalue">void</span> g_source_set_callback_indirect (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
|
3170
3269
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
|
@@ -3200,7 +3299,7 @@ than <em class="parameter"><code>callback_funcs->ref</code></em>.
|
|
3200
3299
|
</table></div>
|
3201
3300
|
</div>
|
3202
3301
|
<hr>
|
3203
|
-
<div class="refsect2"
|
3302
|
+
<div class="refsect2">
|
3204
3303
|
<a name="g-source-add-poll"></a><h3>g_source_add_poll ()</h3>
|
3205
3304
|
<pre class="programlisting"><span class="returnvalue">void</span> g_source_add_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
|
3206
3305
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);</pre>
|
@@ -3229,7 +3328,7 @@ to be processed.
|
|
3229
3328
|
</table></div>
|
3230
3329
|
</div>
|
3231
3330
|
<hr>
|
3232
|
-
<div class="refsect2"
|
3331
|
+
<div class="refsect2">
|
3233
3332
|
<a name="g-source-remove-poll"></a><h3>g_source_remove_poll ()</h3>
|
3234
3333
|
<pre class="programlisting"><span class="returnvalue">void</span> g_source_remove_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
|
3235
3334
|
<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);</pre>
|
@@ -3254,7 +3353,7 @@ this source.
|
|
3254
3353
|
</table></div>
|
3255
3354
|
</div>
|
3256
3355
|
<hr>
|
3257
|
-
<div class="refsect2"
|
3356
|
+
<div class="refsect2">
|
3258
3357
|
<a name="g-source-get-current-time"></a><h3>g_source_get_current_time ()</h3>
|
3259
3358
|
<pre class="programlisting"><span class="returnvalue">void</span> g_source_get_current_time (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
|
3260
3359
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *timeval</code></em>);</pre>
|
@@ -3283,7 +3382,7 @@ instead of having to repeatedly get the system time.
|
|
3283
3382
|
</table></div>
|
3284
3383
|
</div>
|
3285
3384
|
<hr>
|
3286
|
-
<div class="refsect2"
|
3385
|
+
<div class="refsect2">
|
3287
3386
|
<a name="g-source-remove"></a><h3>g_source_remove ()</h3>
|
3288
3387
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
3289
3388
|
<p>
|
@@ -3315,7 +3414,7 @@ added to a non-default main context.
|
|
3315
3414
|
</table></div>
|
3316
3415
|
</div>
|
3317
3416
|
<hr>
|
3318
|
-
<div class="refsect2"
|
3417
|
+
<div class="refsect2">
|
3319
3418
|
<a name="g-source-remove-by-funcs-user-data"></a><h3>g_source_remove_by_funcs_user_data ()</h3>
|
3320
3419
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_source_remove_by_funcs_user_data (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>,
|
3321
3420
|
<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>
|
@@ -3346,7 +3445,7 @@ same source functions and user data, only one will be destroyed.
|
|
3346
3445
|
</table></div>
|
3347
3446
|
</div>
|
3348
3447
|
<hr>
|
3349
|
-
<div class="refsect2"
|
3448
|
+
<div class="refsect2">
|
3350
3449
|
<a name="g-source-remove-by-user-data"></a><h3>g_source_remove_by_user_data ()</h3>
|
3351
3450
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_source_remove_by_user_data (<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>
|
3352
3451
|
<p>
|
@@ -3374,6 +3473,6 @@ data, only one will be destroyed.
|
|
3374
3473
|
</div>
|
3375
3474
|
<div class="footer">
|
3376
3475
|
<hr>
|
3377
|
-
Generated by GTK-Doc V1.
|
3476
|
+
Generated by GTK-Doc V1.15.1</div>
|
3378
3477
|
</body>
|
3379
3478
|
</html>
|