glib2 0.90.5-x86-mingw32 → 0.90.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +79 -0
- data/Rakefile +8 -65
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbgobj_type.c +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/glib2.rb +2 -2
- data/lib/gnome2-raketask.rb +185 -0
- data/lib/gnome2-win32-binary-downloader.rb +49 -9
- data/lib/mkmf-gnome2.rb +55 -43
- data/test-unit/History.txt +5 -0
- data/test-unit/html/index.html +2 -2
- data/test-unit/html/index.html.ja +2 -2
- data/test-unit/lib/test/unit/assertions.rb +9 -4
- data/test-unit/lib/test/unit/autorunner.rb +13 -1
- data/test-unit/lib/test/unit/testsuite.rb +4 -2
- data/test-unit/lib/test/unit/version.rb +1 -1
- data/test-unit/test/test-testcase.rb +11 -3
- data/test-unit/test/test_assertions.rb +24 -3
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +1 -1
- 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/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/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gmodule-2.0.lib +0 -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/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/pkgconfig/gio-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +2 -2
- 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/manifest/{glib-dev_2.26.0-2_win32.mft → glib-dev_2.26.1-1_win32.mft} +4 -4
- data/vendor/local/manifest/{glib_2.26.0-2_win32.mft → glib_2.26.1-1_win32.mft} +2 -2
- data/vendor/local/share/doc/{glib-2.26.0 → glib-2.26.1}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.26.0 → glib-dev-2.26.1}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +47 -47
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +81 -81
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +65 -65
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +52 -52
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +26 -26
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +46 -46
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +221 -231
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +157 -157
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +53 -53
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +48 -48
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +83 -108
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +33 -33
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +79 -79
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +60 -64
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +36 -40
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +26 -26
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +40 -40
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +33 -33
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +4 -8
- data/vendor/local/share/gtk-doc/html/gio/async.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +70 -5
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/extending.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +44 -44
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +27 -33
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +45 -45
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +9 -10
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +9 -10
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/index.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -1
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/networking.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/settings.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/utils.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +10 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +5 -9
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +9 -33
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +53 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +38 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +38 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +49 -49
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +70 -70
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +42 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +23 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +83 -83
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +62 -62
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +97 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +31 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +31 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +112 -118
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +227 -261
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +91 -107
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +16 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +60 -60
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +66 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +26 -26
- 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 +78 -78
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +51 -51
- 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 +38 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +64 -109
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +97 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +80 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +41 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +34 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +16 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +29 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +87 -87
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +27 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +154 -154
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +93 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +73 -73
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +122 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +134 -134
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +97 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +16 -119
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +33 -33
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +29 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +4 -4
- 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 +83 -83
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +30 -36
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +30 -36
- data/vendor/local/share/gtk-doc/html/glib/glib.html +4 -4
- 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 +44 -44
- data/vendor/local/share/gtk-doc/html/glib/index.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +1 -6
- data/vendor/local/share/gtk-doc/html/glib/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +31 -31
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +22 -22
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +20 -20
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +15 -15
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +23 -23
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +17 -17
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +26 -26
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +74 -74
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +44 -44
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +36 -36
- 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 +262 -262
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +97 -97
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +158 -158
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +37 -37
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/index.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +12 -12
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +4 -4
- data/vendor/local/share/locale/bg/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/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/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/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/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/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +15 -6
- data/vendor/local/share/man/man1/glib-mkenums.1 +12 -3
- data/vendor/local/share/man/man1/gobject-query.1 +13 -4
- data/vendor/local/src/tml/packaging/{glib_2.26.0-2_win32.log → glib_2.26.1-1_win32.log} +549 -558
- data/vendor/local/src/tml/packaging/{glib_2.26.0-2_win32.sh → glib_2.26.1-1_win32.sh} +2 -2
- metadata +860 -857
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>The Main Event Loop</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-core.html" title="GLib Core Application Support">
|
9
9
|
<link rel="prev" href="glib-core.html" title="GLib Core Application Support">
|
10
10
|
<link rel="next" href="glib-Threads.html" title="Threads">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15 (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" title="The Main Event Loop">
|
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" title="Synopsis">
|
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,7 +187,7 @@ 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
|
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
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
192
|
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);
|
193
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>,
|
@@ -213,7 +213,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="glib-
|
|
213
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>);
|
214
214
|
</pre>
|
215
215
|
</div>
|
216
|
-
<div class="refsect1">
|
216
|
+
<div class="refsect1" title="Description">
|
217
217
|
<a name="glib-The-Main-Event-Loop.description"></a><h2>Description</h2>
|
218
218
|
<p>
|
219
219
|
The main event loop manages all the available sources of events for
|
@@ -257,10 +257,8 @@ loops associated with that GMainContext.
|
|
257
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
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
259
|
</p>
|
260
|
-
<
|
261
|
-
</
|
262
|
-
<div class="refsect2">
|
263
|
-
<a name="id593794"></a><h3>Creating new source types</h3>
|
260
|
+
<div class="refsect2" title="Creating new source types">
|
261
|
+
<a name="id671135"></a><h3>Creating new source types</h3>
|
264
262
|
<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
263
|
is that new types of event source can be created and used in
|
266
264
|
addition to the builtin type of event source. A new event source
|
@@ -279,11 +277,9 @@ before checking the source again. In addition, or as well, the source
|
|
279
277
|
can add file descriptors to the set that the main context checks using
|
280
278
|
<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
279
|
</div>
|
282
|
-
<p>
|
283
|
-
</p>
|
284
280
|
<hr>
|
285
|
-
<div class="refsect2">
|
286
|
-
<a name="
|
281
|
+
<div class="refsect2" title="Customizing the main loop iteration">
|
282
|
+
<a name="id671212"></a><h3>Customizing the main loop iteration</h3>
|
287
283
|
<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
284
|
<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
285
|
of exactly how the details of the main loop work is desired, for
|
@@ -300,12 +296,10 @@ of a state diagram, as shown in <a class="xref" href="glib-The-Main-Event-Loop.h
|
|
300
296
|
</div>
|
301
297
|
<br class="figure-break">
|
302
298
|
</div>
|
303
|
-
<p>
|
304
|
-
</p>
|
305
299
|
</div>
|
306
|
-
<div class="refsect1">
|
300
|
+
<div class="refsect1" title="Details">
|
307
301
|
<a name="glib-The-Main-Event-Loop.details"></a><h2>Details</h2>
|
308
|
-
<div class="refsect2">
|
302
|
+
<div class="refsect2" title="GMainLoop">
|
309
303
|
<a name="GMainLoop"></a><h3>GMainLoop</h3>
|
310
304
|
<pre class="programlisting">typedef struct _GMainLoop GMainLoop;</pre>
|
311
305
|
<p>
|
@@ -314,7 +308,7 @@ representing the main event loop of a GLib or GTK+ application.
|
|
314
308
|
</p>
|
315
309
|
</div>
|
316
310
|
<hr>
|
317
|
-
<div class="refsect2">
|
311
|
+
<div class="refsect2" title="g_main_loop_new ()">
|
318
312
|
<a name="g-main-loop-new"></a><h3>g_main_loop_new ()</h3>
|
319
313
|
<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
314
|
<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 +339,7 @@ is not very important since calling <a class="link" href="glib-The-Main-Event-Lo
|
|
345
339
|
</table></div>
|
346
340
|
</div>
|
347
341
|
<hr>
|
348
|
-
<div class="refsect2">
|
342
|
+
<div class="refsect2" title="g_main_loop_ref ()">
|
349
343
|
<a name="g-main-loop-ref"></a><h3>g_main_loop_ref ()</h3>
|
350
344
|
<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
345
|
<p>
|
@@ -368,7 +362,7 @@ Increases the reference count on a <a class="link" href="glib-The-Main-Event-Loo
|
|
368
362
|
</table></div>
|
369
363
|
</div>
|
370
364
|
<hr>
|
371
|
-
<div class="refsect2">
|
365
|
+
<div class="refsect2" title="g_main_loop_unref ()">
|
372
366
|
<a name="g-main-loop-unref"></a><h3>g_main_loop_unref ()</h3>
|
373
367
|
<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
368
|
<p>
|
@@ -385,7 +379,7 @@ the result is zero, free the loop and free all associated memory.
|
|
385
379
|
</table></div>
|
386
380
|
</div>
|
387
381
|
<hr>
|
388
|
-
<div class="refsect2">
|
382
|
+
<div class="refsect2" title="g_main_loop_run ()">
|
389
383
|
<a name="g-main-loop-run"></a><h3>g_main_loop_run ()</h3>
|
390
384
|
<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
385
|
<p>
|
@@ -404,7 +398,7 @@ simply wait.
|
|
404
398
|
</table></div>
|
405
399
|
</div>
|
406
400
|
<hr>
|
407
|
-
<div class="refsect2">
|
401
|
+
<div class="refsect2" title="g_main_loop_quit ()">
|
408
402
|
<a name="g-main-loop-quit"></a><h3>g_main_loop_quit ()</h3>
|
409
403
|
<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
404
|
<p>
|
@@ -425,7 +419,7 @@ Note that sources that have already been dispatched when
|
|
425
419
|
</table></div>
|
426
420
|
</div>
|
427
421
|
<hr>
|
428
|
-
<div class="refsect2">
|
422
|
+
<div class="refsect2" title="g_main_loop_is_running ()">
|
429
423
|
<a name="g-main-loop-is-running"></a><h3>g_main_loop_is_running ()</h3>
|
430
424
|
<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
425
|
<p>
|
@@ -448,7 +442,7 @@ Checks to see if the main loop is currently being run via <a class="link" href="
|
|
448
442
|
</table></div>
|
449
443
|
</div>
|
450
444
|
<hr>
|
451
|
-
<div class="refsect2">
|
445
|
+
<div class="refsect2" title="g_main_loop_get_context ()">
|
452
446
|
<a name="g-main-loop-get-context"></a><h3>g_main_loop_get_context ()</h3>
|
453
447
|
<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
448
|
<p>
|
@@ -471,10 +465,10 @@ Returns the <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" ti
|
|
471
465
|
</table></div>
|
472
466
|
</div>
|
473
467
|
<hr>
|
474
|
-
<div class="refsect2">
|
468
|
+
<div class="refsect2" title="g_main_new()">
|
475
469
|
<a name="g-main-new"></a><h3>g_main_new()</h3>
|
476
470
|
<pre class="programlisting">#define g_main_new(is_running)</pre>
|
477
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
471
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
478
472
|
<h3 class="title">Warning</h3>
|
479
473
|
<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
474
|
</div>
|
@@ -501,10 +495,10 @@ Creates a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" tit
|
|
501
495
|
</table></div>
|
502
496
|
</div>
|
503
497
|
<hr>
|
504
|
-
<div class="refsect2">
|
498
|
+
<div class="refsect2" title="g_main_destroy()">
|
505
499
|
<a name="g-main-destroy"></a><h3>g_main_destroy()</h3>
|
506
500
|
<pre class="programlisting">#define g_main_destroy(loop)</pre>
|
507
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
501
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
508
502
|
<h3 class="title">Warning</h3>
|
509
503
|
<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>
|
510
504
|
</div>
|
@@ -521,10 +515,10 @@ Frees the memory allocated for the <a class="link" href="glib-The-Main-Event-Loo
|
|
521
515
|
</table></div>
|
522
516
|
</div>
|
523
517
|
<hr>
|
524
|
-
<div class="refsect2">
|
518
|
+
<div class="refsect2" title="g_main_run()">
|
525
519
|
<a name="g-main-run"></a><h3>g_main_run()</h3>
|
526
520
|
<pre class="programlisting">#define g_main_run(loop)</pre>
|
527
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
521
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
528
522
|
<h3 class="title">Warning</h3>
|
529
523
|
<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>
|
530
524
|
</div>
|
@@ -541,10 +535,10 @@ Runs a main loop until it stops running.
|
|
541
535
|
</table></div>
|
542
536
|
</div>
|
543
537
|
<hr>
|
544
|
-
<div class="refsect2">
|
538
|
+
<div class="refsect2" title="g_main_quit()">
|
545
539
|
<a name="g-main-quit"></a><h3>g_main_quit()</h3>
|
546
540
|
<pre class="programlisting">#define g_main_quit(loop)</pre>
|
547
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
541
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
548
542
|
<h3 class="title">Warning</h3>
|
549
543
|
<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>
|
550
544
|
</div>
|
@@ -562,10 +556,10 @@ If <a class="link" href="glib-The-Main-Event-Loop.html#g-main-run" title="g_main
|
|
562
556
|
</table></div>
|
563
557
|
</div>
|
564
558
|
<hr>
|
565
|
-
<div class="refsect2">
|
559
|
+
<div class="refsect2" title="g_main_is_running()">
|
566
560
|
<a name="g-main-is-running"></a><h3>g_main_is_running()</h3>
|
567
561
|
<pre class="programlisting">#define g_main_is_running(loop)</pre>
|
568
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
562
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
569
563
|
<h3 class="title">Warning</h3>
|
570
564
|
<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>
|
571
565
|
</div>
|
@@ -590,7 +584,7 @@ Checks if the main loop is running.
|
|
590
584
|
</table></div>
|
591
585
|
</div>
|
592
586
|
<hr>
|
593
|
-
<div class="refsect2">
|
587
|
+
<div class="refsect2" title="G_PRIORITY_HIGH">
|
594
588
|
<a name="G-PRIORITY-HIGH:CAPS"></a><h3>G_PRIORITY_HIGH</h3>
|
595
589
|
<pre class="programlisting">#define G_PRIORITY_HIGH -100
|
596
590
|
</pre>
|
@@ -602,7 +596,7 @@ It is not used within GLib or GTK+.
|
|
602
596
|
</p>
|
603
597
|
</div>
|
604
598
|
<hr>
|
605
|
-
<div class="refsect2">
|
599
|
+
<div class="refsect2" title="G_PRIORITY_DEFAULT">
|
606
600
|
<a name="G-PRIORITY-DEFAULT:CAPS"></a><h3>G_PRIORITY_DEFAULT</h3>
|
607
601
|
<pre class="programlisting">#define G_PRIORITY_DEFAULT 0
|
608
602
|
</pre>
|
@@ -616,7 +610,7 @@ from the X server.
|
|
616
610
|
</p>
|
617
611
|
</div>
|
618
612
|
<hr>
|
619
|
-
<div class="refsect2">
|
613
|
+
<div class="refsect2" title="G_PRIORITY_HIGH_IDLE">
|
620
614
|
<a name="G-PRIORITY-HIGH-IDLE:CAPS"></a><h3>G_PRIORITY_HIGH_IDLE</h3>
|
621
615
|
<pre class="programlisting">#define G_PRIORITY_HIGH_IDLE 100
|
622
616
|
</pre>
|
@@ -631,7 +625,7 @@ pending redraws, so that widgets are not redrawn twice unnecessarily.)
|
|
631
625
|
</p>
|
632
626
|
</div>
|
633
627
|
<hr>
|
634
|
-
<div class="refsect2">
|
628
|
+
<div class="refsect2" title="G_PRIORITY_DEFAULT_IDLE">
|
635
629
|
<a name="G-PRIORITY-DEFAULT-IDLE:CAPS"></a><h3>G_PRIORITY_DEFAULT_IDLE</h3>
|
636
630
|
<pre class="programlisting">#define G_PRIORITY_DEFAULT_IDLE 200
|
637
631
|
</pre>
|
@@ -644,7 +638,7 @@ In GLib this priority is used when adding idle functions with
|
|
644
638
|
</p>
|
645
639
|
</div>
|
646
640
|
<hr>
|
647
|
-
<div class="refsect2">
|
641
|
+
<div class="refsect2" title="G_PRIORITY_LOW">
|
648
642
|
<a name="G-PRIORITY-LOW:CAPS"></a><h3>G_PRIORITY_LOW</h3>
|
649
643
|
<pre class="programlisting">#define G_PRIORITY_LOW 300
|
650
644
|
</pre>
|
@@ -656,7 +650,7 @@ It is not used within GLib or GTK+.
|
|
656
650
|
</p>
|
657
651
|
</div>
|
658
652
|
<hr>
|
659
|
-
<div class="refsect2">
|
653
|
+
<div class="refsect2" title="GMainContext">
|
660
654
|
<a name="GMainContext"></a><h3>GMainContext</h3>
|
661
655
|
<pre class="programlisting">typedef struct _GMainContext GMainContext;</pre>
|
662
656
|
<p>
|
@@ -665,7 +659,7 @@ type representing a set of sources to be handled in a main loop.
|
|
665
659
|
</p>
|
666
660
|
</div>
|
667
661
|
<hr>
|
668
|
-
<div class="refsect2">
|
662
|
+
<div class="refsect2" title="g_main_context_new ()">
|
669
663
|
<a name="g-main-context-new"></a><h3>g_main_context_new ()</h3>
|
670
664
|
<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>
|
671
665
|
<p>
|
@@ -681,7 +675,7 @@ Creates a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext"
|
|
681
675
|
</table></div>
|
682
676
|
</div>
|
683
677
|
<hr>
|
684
|
-
<div class="refsect2">
|
678
|
+
<div class="refsect2" title="g_main_context_ref ()">
|
685
679
|
<a name="g-main-context-ref"></a><h3>g_main_context_ref ()</h3>
|
686
680
|
<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>
|
687
681
|
<p>
|
@@ -704,7 +698,7 @@ Increases the reference count on a <a class="link" href="glib-The-Main-Event-Loo
|
|
704
698
|
</table></div>
|
705
699
|
</div>
|
706
700
|
<hr>
|
707
|
-
<div class="refsect2">
|
701
|
+
<div class="refsect2" title="g_main_context_unref ()">
|
708
702
|
<a name="g-main-context-unref"></a><h3>g_main_context_unref ()</h3>
|
709
703
|
<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>
|
710
704
|
<p>
|
@@ -721,7 +715,7 @@ the result is zero, free the context and free all associated memory.
|
|
721
715
|
</table></div>
|
722
716
|
</div>
|
723
717
|
<hr>
|
724
|
-
<div class="refsect2">
|
718
|
+
<div class="refsect2" title="g_main_context_default ()">
|
725
719
|
<a name="g-main-context-default"></a><h3>g_main_context_default ()</h3>
|
726
720
|
<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>
|
727
721
|
<p>
|
@@ -740,7 +734,7 @@ specified, and corresponds to the "main" main loop. See also
|
|
740
734
|
</table></div>
|
741
735
|
</div>
|
742
736
|
<hr>
|
743
|
-
<div class="refsect2">
|
737
|
+
<div class="refsect2" title="g_main_context_iteration ()">
|
744
738
|
<a name="g-main-context-iteration"></a><h3>g_main_context_iteration ()</h3>
|
745
739
|
<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>,
|
746
740
|
<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>
|
@@ -781,10 +775,10 @@ be interrupted for other reasons than an event source becoming ready.
|
|
781
775
|
</table></div>
|
782
776
|
</div>
|
783
777
|
<hr>
|
784
|
-
<div class="refsect2">
|
778
|
+
<div class="refsect2" title="g_main_iteration()">
|
785
779
|
<a name="g-main-iteration"></a><h3>g_main_iteration()</h3>
|
786
780
|
<pre class="programlisting">#define g_main_iteration(may_block)</pre>
|
787
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
781
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
788
782
|
<h3 class="title">Warning</h3>
|
789
783
|
<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>
|
790
784
|
</div>
|
@@ -812,7 +806,7 @@ Runs a single iteration for the default <a class="link" href="glib-The-Main-Even
|
|
812
806
|
</table></div>
|
813
807
|
</div>
|
814
808
|
<hr>
|
815
|
-
<div class="refsect2">
|
809
|
+
<div class="refsect2" title="g_main_context_pending ()">
|
816
810
|
<a name="g-main-context-pending"></a><h3>g_main_context_pending ()</h3>
|
817
811
|
<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>
|
818
812
|
<p>
|
@@ -835,10 +829,10 @@ Checks if any sources have pending events for the given context.
|
|
835
829
|
</table></div>
|
836
830
|
</div>
|
837
831
|
<hr>
|
838
|
-
<div class="refsect2">
|
832
|
+
<div class="refsect2" title="g_main_pending">
|
839
833
|
<a name="g-main-pending"></a><h3>g_main_pending</h3>
|
840
834
|
<pre class="programlisting">#define g_main_pending()</pre>
|
841
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
835
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
842
836
|
<h3 class="title">Warning</h3>
|
843
837
|
<p><code class="literal">g_main_pending</code> is deprecated and should not be used in newly-written code.</p>
|
844
838
|
</div>
|
@@ -858,7 +852,7 @@ Deprected: 2.2: Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-c
|
|
858
852
|
</table></div>
|
859
853
|
</div>
|
860
854
|
<hr>
|
861
|
-
<div class="refsect2">
|
855
|
+
<div class="refsect2" title="g_main_context_find_source_by_id ()">
|
862
856
|
<a name="g-main-context-find-source-by-id"></a><h3>g_main_context_find_source_by_id ()</h3>
|
863
857
|
<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>,
|
864
858
|
<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>
|
@@ -887,7 +881,7 @@ Finds a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSou
|
|
887
881
|
</table></div>
|
888
882
|
</div>
|
889
883
|
<hr>
|
890
|
-
<div class="refsect2">
|
884
|
+
<div class="refsect2" title="g_main_context_find_source_by_user_data ()">
|
891
885
|
<a name="g-main-context-find-source-by-user-data"></a><h3>g_main_context_find_source_by_user_data ()</h3>
|
892
886
|
<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
|
893
887
|
(<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>,
|
@@ -919,7 +913,7 @@ one found will be returned.
|
|
919
913
|
</table></div>
|
920
914
|
</div>
|
921
915
|
<hr>
|
922
|
-
<div class="refsect2">
|
916
|
+
<div class="refsect2" title="g_main_context_find_source_by_funcs_user_data ()">
|
923
917
|
<a name="g-main-context-find-source-by-funcs-user-data"></a><h3>g_main_context_find_source_by_funcs_user_data ()</h3>
|
924
918
|
<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
|
925
919
|
(<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>,
|
@@ -957,7 +951,7 @@ the first one found will be returned.
|
|
957
951
|
</table></div>
|
958
952
|
</div>
|
959
953
|
<hr>
|
960
|
-
<div class="refsect2">
|
954
|
+
<div class="refsect2" title="g_main_context_wakeup ()">
|
961
955
|
<a name="g-main-context-wakeup"></a><h3>g_main_context_wakeup ()</h3>
|
962
956
|
<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>
|
963
957
|
<p>
|
@@ -974,7 +968,7 @@ the <code class="function">poll()</code>, and continue the iteration process.
|
|
974
968
|
</table></div>
|
975
969
|
</div>
|
976
970
|
<hr>
|
977
|
-
<div class="refsect2">
|
971
|
+
<div class="refsect2" title="g_main_context_acquire ()">
|
978
972
|
<a name="g-main-context-acquire"></a><h3>g_main_context_acquire ()</h3>
|
979
973
|
<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>
|
980
974
|
<p>
|
@@ -1008,7 +1002,7 @@ can call <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-prep
|
|
1008
1002
|
</table></div>
|
1009
1003
|
</div>
|
1010
1004
|
<hr>
|
1011
|
-
<div class="refsect2">
|
1005
|
+
<div class="refsect2" title="g_main_context_release ()">
|
1012
1006
|
<a name="g-main-context-release"></a><h3>g_main_context_release ()</h3>
|
1013
1007
|
<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>
|
1014
1008
|
<p>
|
@@ -1027,7 +1021,7 @@ is called as many times as it was acquired.
|
|
1027
1021
|
</table></div>
|
1028
1022
|
</div>
|
1029
1023
|
<hr>
|
1030
|
-
<div class="refsect2">
|
1024
|
+
<div class="refsect2" title="g_main_context_is_owner ()">
|
1031
1025
|
<a name="g-main-context-is-owner"></a><h3>g_main_context_is_owner ()</h3>
|
1032
1026
|
<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>
|
1033
1027
|
<p>
|
@@ -1055,7 +1049,7 @@ blocking to get ownership of <em class="parameter"><code>context</code></em>.
|
|
1055
1049
|
<p class="since">Since 2.10</p>
|
1056
1050
|
</div>
|
1057
1051
|
<hr>
|
1058
|
-
<div class="refsect2">
|
1052
|
+
<div class="refsect2" title="g_main_context_wait ()">
|
1059
1053
|
<a name="g-main-context-wait"></a><h3>g_main_context_wait ()</h3>
|
1060
1054
|
<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>,
|
1061
1055
|
<em class="parameter"><code><a class="link" href="glib-Threads.html#GCond" title="GCond"><span class="type">GCond</span></a> *cond</code></em>,
|
@@ -1095,7 +1089,7 @@ try again (once) to become the owner.
|
|
1095
1089
|
</table></div>
|
1096
1090
|
</div>
|
1097
1091
|
<hr>
|
1098
|
-
<div class="refsect2">
|
1092
|
+
<div class="refsect2" title="g_main_context_prepare ()">
|
1099
1093
|
<a name="g-main-context-prepare"></a><h3>g_main_context_prepare ()</h3>
|
1100
1094
|
<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>,
|
1101
1095
|
<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>
|
@@ -1127,7 +1121,7 @@ for polling is determined by calling <a class="link" href="glib-The-Main-Event-L
|
|
1127
1121
|
</table></div>
|
1128
1122
|
</div>
|
1129
1123
|
<hr>
|
1130
|
-
<div class="refsect2">
|
1124
|
+
<div class="refsect2" title="g_main_context_query ()">
|
1131
1125
|
<a name="g-main-context-query"></a><h3>g_main_context_query ()</h3>
|
1132
1126
|
<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>,
|
1133
1127
|
<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>,
|
@@ -1176,7 +1170,7 @@ Determines information necessary to poll this main loop.
|
|
1176
1170
|
</table></div>
|
1177
1171
|
</div>
|
1178
1172
|
<hr>
|
1179
|
-
<div class="refsect2">
|
1173
|
+
<div class="refsect2" title="g_main_context_check ()">
|
1180
1174
|
<a name="g-main-context-check"></a><h3>g_main_context_check ()</h3>
|
1181
1175
|
<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>,
|
1182
1176
|
<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>,
|
@@ -1218,7 +1212,7 @@ Passes the results of polling back to the main loop.
|
|
1218
1212
|
</table></div>
|
1219
1213
|
</div>
|
1220
1214
|
<hr>
|
1221
|
-
<div class="refsect2">
|
1215
|
+
<div class="refsect2" title="g_main_context_dispatch ()">
|
1222
1216
|
<a name="g-main-context-dispatch"></a><h3>g_main_context_dispatch ()</h3>
|
1223
1217
|
<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>
|
1224
1218
|
<p>
|
@@ -1234,7 +1228,7 @@ Dispatches all pending sources.
|
|
1234
1228
|
</table></div>
|
1235
1229
|
</div>
|
1236
1230
|
<hr>
|
1237
|
-
<div class="refsect2">
|
1231
|
+
<div class="refsect2" title="g_main_context_set_poll_func ()">
|
1238
1232
|
<a name="g-main-context-set-poll-func"></a><h3>g_main_context_set_poll_func ()</h3>
|
1239
1233
|
<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>,
|
1240
1234
|
<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>
|
@@ -1265,7 +1259,7 @@ loop with an external event loop.
|
|
1265
1259
|
</table></div>
|
1266
1260
|
</div>
|
1267
1261
|
<hr>
|
1268
|
-
<div class="refsect2">
|
1262
|
+
<div class="refsect2" title="g_main_context_get_poll_func ()">
|
1269
1263
|
<a name="g-main-context-get-poll-func"></a><h3>g_main_context_get_poll_func ()</h3>
|
1270
1264
|
<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>
|
1271
1265
|
<p>
|
@@ -1288,7 +1282,7 @@ Gets the poll function set by <a class="link" href="glib-The-Main-Event-Loop.htm
|
|
1288
1282
|
</table></div>
|
1289
1283
|
</div>
|
1290
1284
|
<hr>
|
1291
|
-
<div class="refsect2">
|
1285
|
+
<div class="refsect2" title="GPollFunc ()">
|
1292
1286
|
<a name="GPollFunc"></a><h3>GPollFunc ()</h3>
|
1293
1287
|
<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>,
|
1294
1288
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nfsd</code></em>,
|
@@ -1326,7 +1320,7 @@ The semantics of the function should match those of the <code class="function">p
|
|
1326
1320
|
</table></div>
|
1327
1321
|
</div>
|
1328
1322
|
<hr>
|
1329
|
-
<div class="refsect2">
|
1323
|
+
<div class="refsect2" title="g_main_context_add_poll ()">
|
1330
1324
|
<a name="g-main-context-add-poll"></a><h3>g_main_context_add_poll ()</h3>
|
1331
1325
|
<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>,
|
1332
1326
|
<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>,
|
@@ -1361,7 +1355,7 @@ a typical event source will use <a class="link" href="glib-The-Main-Event-Loop.h
|
|
1361
1355
|
</table></div>
|
1362
1356
|
</div>
|
1363
1357
|
<hr>
|
1364
|
-
<div class="refsect2">
|
1358
|
+
<div class="refsect2" title="g_main_context_remove_poll ()">
|
1365
1359
|
<a name="g-main-context-remove-poll"></a><h3>g_main_context_remove_poll ()</h3>
|
1366
1360
|
<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>,
|
1367
1361
|
<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>
|
@@ -1386,7 +1380,7 @@ polled for a particular context.
|
|
1386
1380
|
</table></div>
|
1387
1381
|
</div>
|
1388
1382
|
<hr>
|
1389
|
-
<div class="refsect2">
|
1383
|
+
<div class="refsect2" title="g_main_depth ()">
|
1390
1384
|
<a name="g-main-depth"></a><h3>g_main_depth ()</h3>
|
1391
1385
|
<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>
|
1392
1386
|
<p>
|
@@ -1590,7 +1584,7 @@ following techniques:
|
|
1590
1584
|
</table></div>
|
1591
1585
|
</div>
|
1592
1586
|
<hr>
|
1593
|
-
<div class="refsect2">
|
1587
|
+
<div class="refsect2" title="g_main_current_source ()">
|
1594
1588
|
<a name="g-main-current-source"></a><h3>g_main_current_source ()</h3>
|
1595
1589
|
<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>
|
1596
1590
|
<p>
|
@@ -1608,10 +1602,10 @@ Returns the currently firing source for this thread.
|
|
1608
1602
|
<p class="since">Since 2.12</p>
|
1609
1603
|
</div>
|
1610
1604
|
<hr>
|
1611
|
-
<div class="refsect2">
|
1605
|
+
<div class="refsect2" title="g_main_set_poll_func()">
|
1612
1606
|
<a name="g-main-set-poll-func"></a><h3>g_main_set_poll_func()</h3>
|
1613
1607
|
<pre class="programlisting">#define g_main_set_poll_func(func)</pre>
|
1614
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1608
|
+
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1615
1609
|
<h3 class="title">Warning</h3>
|
1616
1610
|
<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>
|
1617
1611
|
</div>
|
@@ -1629,7 +1623,7 @@ for the default main context.
|
|
1629
1623
|
</table></div>
|
1630
1624
|
</div>
|
1631
1625
|
<hr>
|
1632
|
-
<div class="refsect2">
|
1626
|
+
<div class="refsect2" title="g_main_context_get_thread_default ()">
|
1633
1627
|
<a name="g-main-context-get-thread-default"></a><h3>g_main_context_get_thread_default ()</h3>
|
1634
1628
|
<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>
|
1635
1629
|
<p>
|
@@ -1654,7 +1648,7 @@ thread-default context is the global default context.
|
|
1654
1648
|
<p class="since">Since 2.22</p>
|
1655
1649
|
</div>
|
1656
1650
|
<hr>
|
1657
|
-
<div class="refsect2">
|
1651
|
+
<div class="refsect2" title="g_main_context_push_thread_default ()">
|
1658
1652
|
<a name="g-main-context-push-thread-default"></a><h3>g_main_context_push_thread_default ()</h3>
|
1659
1653
|
<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>
|
1660
1654
|
<p>
|
@@ -1700,7 +1694,7 @@ see <a href="http://library.gnome.org/devel/gio/unstable/GFile.html#g-file-suppo
|
|
1700
1694
|
<p class="since">Since 2.22</p>
|
1701
1695
|
</div>
|
1702
1696
|
<hr>
|
1703
|
-
<div class="refsect2">
|
1697
|
+
<div class="refsect2" title="g_main_context_pop_thread_default ()">
|
1704
1698
|
<a name="g-main-context-pop-thread-default"></a><h3>g_main_context_pop_thread_default ()</h3>
|
1705
1699
|
<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>
|
1706
1700
|
<p>
|
@@ -1718,7 +1712,7 @@ it was on the top of the stack).
|
|
1718
1712
|
<p class="since">Since 2.22</p>
|
1719
1713
|
</div>
|
1720
1714
|
<hr>
|
1721
|
-
<div class="refsect2">
|
1715
|
+
<div class="refsect2" title="g_timeout_source_new ()">
|
1722
1716
|
<a name="g-timeout-source-new"></a><h3>g_timeout_source_new ()</h3>
|
1723
1717
|
<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>
|
1724
1718
|
<p>
|
@@ -1746,7 +1740,7 @@ executed.
|
|
1746
1740
|
</table></div>
|
1747
1741
|
</div>
|
1748
1742
|
<hr>
|
1749
|
-
<div class="refsect2">
|
1743
|
+
<div class="refsect2" title="g_timeout_source_new_seconds ()">
|
1750
1744
|
<a name="g-timeout-source-new-seconds"></a><h3>g_timeout_source_new_seconds ()</h3>
|
1751
1745
|
<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>
|
1752
1746
|
<p>
|
@@ -1780,7 +1774,7 @@ in seconds.
|
|
1780
1774
|
<p class="since">Since 2.14</p>
|
1781
1775
|
</div>
|
1782
1776
|
<hr>
|
1783
|
-
<div class="refsect2">
|
1777
|
+
<div class="refsect2" title="g_timeout_add ()">
|
1784
1778
|
<a name="g-timeout-add"></a><h3>g_timeout_add ()</h3>
|
1785
1779
|
<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>,
|
1786
1780
|
<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>,
|
@@ -1838,7 +1832,7 @@ do these steps manually if you need greater control.
|
|
1838
1832
|
</table></div>
|
1839
1833
|
</div>
|
1840
1834
|
<hr>
|
1841
|
-
<div class="refsect2">
|
1835
|
+
<div class="refsect2" title="g_timeout_add_full ()">
|
1842
1836
|
<a name="g-timeout-add-full"></a><h3>g_timeout_add_full ()</h3>
|
1843
1837
|
<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>,
|
1844
1838
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
|
@@ -1904,7 +1898,7 @@ do these steps manually if you need greater control.
|
|
1904
1898
|
</table></div>
|
1905
1899
|
</div>
|
1906
1900
|
<hr>
|
1907
|
-
<div class="refsect2">
|
1901
|
+
<div class="refsect2" title="g_timeout_add_seconds ()">
|
1908
1902
|
<a name="g-timeout-add-seconds"></a><h3>g_timeout_add_seconds ()</h3>
|
1909
1903
|
<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>,
|
1910
1904
|
<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>,
|
@@ -1950,7 +1944,7 @@ greater control. Also see <code class="function">g_timout_add_seconds_full()</co
|
|
1950
1944
|
<p class="since">Since 2.14</p>
|
1951
1945
|
</div>
|
1952
1946
|
<hr>
|
1953
|
-
<div class="refsect2">
|
1947
|
+
<div class="refsect2" title="g_timeout_add_seconds_full ()">
|
1954
1948
|
<a name="g-timeout-add-seconds-full"></a><h3>g_timeout_add_seconds_full ()</h3>
|
1955
1949
|
<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>,
|
1956
1950
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
|
@@ -2034,7 +2028,7 @@ greater control.
|
|
2034
2028
|
<p class="since">Since 2.14</p>
|
2035
2029
|
</div>
|
2036
2030
|
<hr>
|
2037
|
-
<div class="refsect2">
|
2031
|
+
<div class="refsect2" title="g_idle_source_new ()">
|
2038
2032
|
<a name="g-idle-source-new"></a><h3>g_idle_source_new ()</h3>
|
2039
2033
|
<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>
|
2040
2034
|
<p>
|
@@ -2057,7 +2051,7 @@ have a default priority of <a class="link" href="glib-The-Main-Event-Loop.html#G
|
|
2057
2051
|
</table></div>
|
2058
2052
|
</div>
|
2059
2053
|
<hr>
|
2060
|
-
<div class="refsect2">
|
2054
|
+
<div class="refsect2" title="g_idle_add ()">
|
2061
2055
|
<a name="g-idle-add"></a><h3>g_idle_add ()</h3>
|
2062
2056
|
<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>,
|
2063
2057
|
<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>
|
@@ -2095,7 +2089,7 @@ You can do these steps manually if you need greater control.
|
|
2095
2089
|
</table></div>
|
2096
2090
|
</div>
|
2097
2091
|
<hr>
|
2098
|
-
<div class="refsect2">
|
2092
|
+
<div class="refsect2" title="g_idle_add_full ()">
|
2099
2093
|
<a name="g-idle-add-full"></a><h3>g_idle_add_full ()</h3>
|
2100
2094
|
<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>,
|
2101
2095
|
<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>,
|
@@ -2144,7 +2138,7 @@ You can do these steps manually if you need greater control.
|
|
2144
2138
|
</table></div>
|
2145
2139
|
</div>
|
2146
2140
|
<hr>
|
2147
|
-
<div class="refsect2">
|
2141
|
+
<div class="refsect2" title="g_idle_remove_by_data ()">
|
2148
2142
|
<a name="g-idle-remove-by-data"></a><h3>g_idle_remove_by_data ()</h3>
|
2149
2143
|
<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>
|
2150
2144
|
<p>
|
@@ -2167,7 +2161,7 @@ Removes the idle function with the given data.
|
|
2167
2161
|
</table></div>
|
2168
2162
|
</div>
|
2169
2163
|
<hr>
|
2170
|
-
<div class="refsect2">
|
2164
|
+
<div class="refsect2" title="GPid">
|
2171
2165
|
<a name="GPid"></a><h3>GPid</h3>
|
2172
2166
|
<pre class="programlisting">typedef int GPid;
|
2173
2167
|
</pre>
|
@@ -2180,7 +2174,7 @@ while Windows uses process handles (which are pointers).
|
|
2180
2174
|
</p>
|
2181
2175
|
</div>
|
2182
2176
|
<hr>
|
2183
|
-
<div class="refsect2">
|
2177
|
+
<div class="refsect2" title="GChildWatchFunc ()">
|
2184
2178
|
<a name="GChildWatchFunc"></a><h3>GChildWatchFunc ()</h3>
|
2185
2179
|
<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>,
|
2186
2180
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> status</code></em>,
|
@@ -2211,7 +2205,7 @@ The type of functions to be called when a child exists.
|
|
2211
2205
|
</table></div>
|
2212
2206
|
</div>
|
2213
2207
|
<hr>
|
2214
|
-
<div class="refsect2">
|
2208
|
+
<div class="refsect2" title="g_child_watch_source_new ()">
|
2215
2209
|
<a name="g-child-watch-source-new"></a><h3>g_child_watch_source_new ()</h3>
|
2216
2210
|
<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>
|
2217
2211
|
<p>
|
@@ -2259,7 +2253,7 @@ Windows a handle for a process (which doesn't have to be a child).
|
|
2259
2253
|
<p class="since">Since 2.4</p>
|
2260
2254
|
</div>
|
2261
2255
|
<hr>
|
2262
|
-
<div class="refsect2">
|
2256
|
+
<div class="refsect2" title="g_child_watch_add ()">
|
2263
2257
|
<a name="g-child-watch-add"></a><h3>g_child_watch_add ()</h3>
|
2264
2258
|
<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>,
|
2265
2259
|
<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>,
|
@@ -2318,7 +2312,7 @@ Windows a handle for a process (which doesn't have to be a child).
|
|
2318
2312
|
<p class="since">Since 2.4</p>
|
2319
2313
|
</div>
|
2320
2314
|
<hr>
|
2321
|
-
<div class="refsect2">
|
2315
|
+
<div class="refsect2" title="g_child_watch_add_full ()">
|
2322
2316
|
<a name="g-child-watch-add-full"></a><h3>g_child_watch_add_full ()</h3>
|
2323
2317
|
<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>,
|
2324
2318
|
<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>,
|
@@ -2390,7 +2384,7 @@ Windows a handle for a process (which doesn't have to be a child).
|
|
2390
2384
|
<p class="since">Since 2.4</p>
|
2391
2385
|
</div>
|
2392
2386
|
<hr>
|
2393
|
-
<div class="refsect2">
|
2387
|
+
<div class="refsect2" title="GPollFD">
|
2394
2388
|
<a name="GPollFD"></a><h3>GPollFD</h3>
|
2395
2389
|
<pre class="programlisting">typedef struct {
|
2396
2390
|
#if defined (G_OS_WIN32) && GLIB_SIZEOF_VOID_P == 8
|
@@ -2432,7 +2426,7 @@ Windows a handle for a process (which doesn't have to be a child).
|
|
2432
2426
|
</table></div>
|
2433
2427
|
</div>
|
2434
2428
|
<hr>
|
2435
|
-
<div class="refsect2">
|
2429
|
+
<div class="refsect2" title="g_poll ()">
|
2436
2430
|
<a name="g-poll"></a><h3>g_poll ()</h3>
|
2437
2431
|
<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>,
|
2438
2432
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nfds</code></em>,
|
@@ -2489,14 +2483,14 @@ if the call was interrupted.
|
|
2489
2483
|
<p class="since">Since 2.20</p>
|
2490
2484
|
</div>
|
2491
2485
|
<hr>
|
2492
|
-
<div class="refsect2">
|
2486
|
+
<div class="refsect2" title="G_POLLFD_FORMAT">
|
2493
2487
|
<a name="G-POLLFD-FORMAT:CAPS"></a><h3>G_POLLFD_FORMAT</h3>
|
2494
2488
|
<pre class="programlisting">#define G_POLLFD_FORMAT</pre>
|
2495
2489
|
<p>
|
2496
2490
|
</p>
|
2497
2491
|
</div>
|
2498
2492
|
<hr>
|
2499
|
-
<div class="refsect2">
|
2493
|
+
<div class="refsect2" title="GSource">
|
2500
2494
|
<a name="GSource"></a><h3>GSource</h3>
|
2501
2495
|
<pre class="programlisting">typedef struct {
|
2502
2496
|
} GSource;
|
@@ -2507,7 +2501,7 @@ representing an event source.
|
|
2507
2501
|
</p>
|
2508
2502
|
</div>
|
2509
2503
|
<hr>
|
2510
|
-
<div class="refsect2">
|
2504
|
+
<div class="refsect2" title="GSourceDummyMarshal ()">
|
2511
2505
|
<a name="GSourceDummyMarshal"></a><h3>GSourceDummyMarshal ()</h3>
|
2512
2506
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GSourceDummyMarshal) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
2513
2507
|
<p>
|
@@ -2516,7 +2510,7 @@ for dependency reasons.
|
|
2516
2510
|
</p>
|
2517
2511
|
</div>
|
2518
2512
|
<hr>
|
2519
|
-
<div class="refsect2">
|
2513
|
+
<div class="refsect2" title="GSourceFuncs">
|
2520
2514
|
<a name="GSourceFuncs"></a><h3>GSourceFuncs</h3>
|
2521
2515
|
<pre class="programlisting">typedef struct {
|
2522
2516
|
gboolean (*prepare) (GSource *source,
|
@@ -2607,7 +2601,7 @@ required condition has been met, and returns <a class="link" href="glib-Standard
|
|
2607
2601
|
</table></div>
|
2608
2602
|
</div>
|
2609
2603
|
<hr>
|
2610
|
-
<div class="refsect2">
|
2604
|
+
<div class="refsect2" title="GSourceCallbackFuncs">
|
2611
2605
|
<a name="GSourceCallbackFuncs"></a><h3>GSourceCallbackFuncs</h3>
|
2612
2606
|
<pre class="programlisting">typedef struct {
|
2613
2607
|
void (*ref) (gpointer cb_data);
|
@@ -2645,7 +2639,7 @@ functions for managing callback objects.
|
|
2645
2639
|
</table></div>
|
2646
2640
|
</div>
|
2647
2641
|
<hr>
|
2648
|
-
<div class="refsect2">
|
2642
|
+
<div class="refsect2" title="g_source_new ()">
|
2649
2643
|
<a name="g-source-new"></a><h3>g_source_new ()</h3>
|
2650
2644
|
<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>,
|
2651
2645
|
<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>
|
@@ -2683,7 +2677,7 @@ executed.
|
|
2683
2677
|
</table></div>
|
2684
2678
|
</div>
|
2685
2679
|
<hr>
|
2686
|
-
<div class="refsect2">
|
2680
|
+
<div class="refsect2" title="g_source_ref ()">
|
2687
2681
|
<a name="g-source-ref"></a><h3>g_source_ref ()</h3>
|
2688
2682
|
<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>
|
2689
2683
|
<p>
|
@@ -2706,7 +2700,7 @@ Increases the reference count on a source by one.
|
|
2706
2700
|
</table></div>
|
2707
2701
|
</div>
|
2708
2702
|
<hr>
|
2709
|
-
<div class="refsect2">
|
2703
|
+
<div class="refsect2" title="g_source_unref ()">
|
2710
2704
|
<a name="g-source-unref"></a><h3>g_source_unref ()</h3>
|
2711
2705
|
<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>
|
2712
2706
|
<p>
|
@@ -2724,7 +2718,7 @@ memory will be destroyed.
|
|
2724
2718
|
</table></div>
|
2725
2719
|
</div>
|
2726
2720
|
<hr>
|
2727
|
-
<div class="refsect2">
|
2721
|
+
<div class="refsect2" title="g_source_set_funcs ()">
|
2728
2722
|
<a name="g-source-set-funcs"></a><h3>g_source_set_funcs ()</h3>
|
2729
2723
|
<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>,
|
2730
2724
|
<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>
|
@@ -2750,7 +2744,7 @@ default implementations) of an unattached source.
|
|
2750
2744
|
<p class="since">Since 2.12</p>
|
2751
2745
|
</div>
|
2752
2746
|
<hr>
|
2753
|
-
<div class="refsect2">
|
2747
|
+
<div class="refsect2" title="g_source_attach ()">
|
2754
2748
|
<a name="g-source-attach"></a><h3>g_source_attach ()</h3>
|
2755
2749
|
<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>,
|
2756
2750
|
<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>
|
@@ -2781,7 +2775,7 @@ that context. Remove it by calling <a class="link" href="glib-The-Main-Event-Loo
|
|
2781
2775
|
</table></div>
|
2782
2776
|
</div>
|
2783
2777
|
<hr>
|
2784
|
-
<div class="refsect2">
|
2778
|
+
<div class="refsect2" title="g_source_destroy ()">
|
2785
2779
|
<a name="g-source-destroy"></a><h3>g_source_destroy ()</h3>
|
2786
2780
|
<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>
|
2787
2781
|
<p>
|
@@ -2799,7 +2793,7 @@ context.
|
|
2799
2793
|
</table></div>
|
2800
2794
|
</div>
|
2801
2795
|
<hr>
|
2802
|
-
<div class="refsect2">
|
2796
|
+
<div class="refsect2" title="g_source_is_destroyed ()">
|
2803
2797
|
<a name="g-source-is-destroyed"></a><h3>g_source_is_destroyed ()</h3>
|
2804
2798
|
<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>
|
2805
2799
|
<p>
|
@@ -2850,10 +2844,10 @@ before the dispatch of your idle handler.
|
|
2850
2844
|
<span class="cbracket">{</span>
|
2851
2845
|
<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>
|
2852
2846
|
<span class="normal"> </span>
|
2853
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/
|
2847
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html#GDK-THREADS-ENTER:CAPS">GDK_THREADS_ENTER</a></span><span class="normal"> </span><span class="symbol">();</span>
|
2854
2848
|
<span class="normal"> </span><span class="comment">/* do stuff with self */</span>
|
2855
2849
|
<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>
|
2856
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/
|
2850
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html#GDK-THREADS-LEAVE:CAPS">GDK_THREADS_LEAVE</a></span><span class="normal"> </span><span class="symbol">();</span>
|
2857
2851
|
<span class="normal"> </span>
|
2858
2852
|
<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>
|
2859
2853
|
<span class="cbracket">}</span>
|
@@ -2913,12 +2907,12 @@ has already been destroy within the callback.
|
|
2913
2907
|
<span class="cbracket">{</span>
|
2914
2908
|
<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>
|
2915
2909
|
<span class="normal"> </span>
|
2916
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/
|
2910
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html#GDK-THREADS-ENTER:CAPS">GDK_THREADS_ENTER</a></span><span class="normal"> </span><span class="symbol">();</span>
|
2917
2911
|
<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>
|
2918
2912
|
<span class="normal"> </span><span class="cbracket">{</span>
|
2919
2913
|
<span class="normal"> </span><span class="comment">/* do stuff with self */</span>
|
2920
2914
|
<span class="normal"> </span><span class="cbracket">}</span>
|
2921
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/
|
2915
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html#GDK-THREADS-LEAVE:CAPS">GDK_THREADS_LEAVE</a></span><span class="normal"> </span><span class="symbol">();</span>
|
2922
2916
|
<span class="normal"> </span>
|
2923
2917
|
<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>
|
2924
2918
|
<span class="cbracket">}</span></pre></td>
|
@@ -2948,7 +2942,7 @@ has already been destroy within the callback.
|
|
2948
2942
|
<p class="since">Since 2.12</p>
|
2949
2943
|
</div>
|
2950
2944
|
<hr>
|
2951
|
-
<div class="refsect2">
|
2945
|
+
<div class="refsect2" title="g_source_set_priority ()">
|
2952
2946
|
<a name="g-source-set-priority"></a><h3>g_source_set_priority ()</h3>
|
2953
2947
|
<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>,
|
2954
2948
|
<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>
|
@@ -2974,7 +2968,7 @@ at a higher (numerically smaller) priority are ready to be dispatched.
|
|
2974
2968
|
</table></div>
|
2975
2969
|
</div>
|
2976
2970
|
<hr>
|
2977
|
-
<div class="refsect2">
|
2971
|
+
<div class="refsect2" title="g_source_get_priority ()">
|
2978
2972
|
<a name="g-source-get-priority"></a><h3>g_source_get_priority ()</h3>
|
2979
2973
|
<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>
|
2980
2974
|
<p>
|
@@ -2997,7 +2991,7 @@ Gets the priority of a source.
|
|
2997
2991
|
</table></div>
|
2998
2992
|
</div>
|
2999
2993
|
<hr>
|
3000
|
-
<div class="refsect2">
|
2994
|
+
<div class="refsect2" title="g_source_set_can_recurse ()">
|
3001
2995
|
<a name="g-source-set-can-recurse"></a><h3>g_source_set_can_recurse ()</h3>
|
3002
2996
|
<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>,
|
3003
2997
|
<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>
|
@@ -3024,7 +3018,7 @@ source is blocked until the dispatch function returns.
|
|
3024
3018
|
</table></div>
|
3025
3019
|
</div>
|
3026
3020
|
<hr>
|
3027
|
-
<div class="refsect2">
|
3021
|
+
<div class="refsect2" title="g_source_get_can_recurse ()">
|
3028
3022
|
<a name="g-source-get-can-recurse"></a><h3>g_source_get_can_recurse ()</h3>
|
3029
3023
|
<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>
|
3030
3024
|
<p>
|
@@ -3048,7 +3042,7 @@ see <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-can-recurse
|
|
3048
3042
|
</table></div>
|
3049
3043
|
</div>
|
3050
3044
|
<hr>
|
3051
|
-
<div class="refsect2">
|
3045
|
+
<div class="refsect2" title="g_source_get_id ()">
|
3052
3046
|
<a name="g-source-get-id"></a><h3>g_source_get_id ()</h3>
|
3053
3047
|
<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>
|
3054
3048
|
<p>
|
@@ -3074,9 +3068,9 @@ mapping from ID to source is done by <a class="link" href="glib-The-Main-Event-L
|
|
3074
3068
|
</table></div>
|
3075
3069
|
</div>
|
3076
3070
|
<hr>
|
3077
|
-
<div class="refsect2">
|
3071
|
+
<div class="refsect2" title="g_source_get_name ()">
|
3078
3072
|
<a name="g-source-get-name"></a><h3>g_source_get_name ()</h3>
|
3079
|
-
<pre class="programlisting">const <span class="returnvalue">char</span
|
3073
|
+
<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
3074
|
<p>
|
3081
3075
|
Gets a name for the source, used in debugging and profiling.
|
3082
3076
|
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
|
@@ -3100,7 +3094,7 @@ The name may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title
|
|
3100
3094
|
<p class="since">Since 2.26</p>
|
3101
3095
|
</div>
|
3102
3096
|
<hr>
|
3103
|
-
<div class="refsect2">
|
3097
|
+
<div class="refsect2" title="g_source_set_name ()">
|
3104
3098
|
<a name="g-source-set-name"></a><h3>g_source_set_name ()</h3>
|
3105
3099
|
<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
3100
|
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
|
@@ -3137,7 +3131,7 @@ to include details like the event type in the source name.
|
|
3137
3131
|
<p class="since">Since 2.26</p>
|
3138
3132
|
</div>
|
3139
3133
|
<hr>
|
3140
|
-
<div class="refsect2">
|
3134
|
+
<div class="refsect2" title="g_source_set_name_by_id ()">
|
3141
3135
|
<a name="g-source-set-name-by-id"></a><h3>g_source_set_name_by_id ()</h3>
|
3142
3136
|
<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
3137
|
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
|
@@ -3166,7 +3160,7 @@ value of <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-add" title="
|
|
3166
3160
|
<p class="since">Since 2.26</p>
|
3167
3161
|
</div>
|
3168
3162
|
<hr>
|
3169
|
-
<div class="refsect2">
|
3163
|
+
<div class="refsect2" title="g_source_get_context ()">
|
3170
3164
|
<a name="g-source-get-context"></a><h3>g_source_get_context ()</h3>
|
3171
3165
|
<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>
|
3172
3166
|
<p>
|
@@ -3192,7 +3186,7 @@ Calling this function on a destroyed source is an error.
|
|
3192
3186
|
</table></div>
|
3193
3187
|
</div>
|
3194
3188
|
<hr>
|
3195
|
-
<div class="refsect2">
|
3189
|
+
<div class="refsect2" title="g_source_set_callback ()">
|
3196
3190
|
<a name="g-source-set-callback"></a><h3>g_source_set_callback ()</h3>
|
3197
3191
|
<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>,
|
3198
3192
|
<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>,
|
@@ -3238,7 +3232,7 @@ to the type of source you are using.
|
|
3238
3232
|
</table></div>
|
3239
3233
|
</div>
|
3240
3234
|
<hr>
|
3241
|
-
<div class="refsect2">
|
3235
|
+
<div class="refsect2" title="GSourceFunc ()">
|
3242
3236
|
<a name="GSourceFunc"></a><h3>GSourceFunc ()</h3>
|
3243
3237
|
<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>
|
3244
3238
|
<p>
|
@@ -3263,7 +3257,7 @@ of the above functions.
|
|
3263
3257
|
</table></div>
|
3264
3258
|
</div>
|
3265
3259
|
<hr>
|
3266
|
-
<div class="refsect2">
|
3260
|
+
<div class="refsect2" title="g_source_set_callback_indirect ()">
|
3267
3261
|
<a name="g-source-set-callback-indirect"></a><h3>g_source_set_callback_indirect ()</h3>
|
3268
3262
|
<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>,
|
3269
3263
|
<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>,
|
@@ -3299,7 +3293,7 @@ than <em class="parameter"><code>callback_funcs->ref</code></em>.
|
|
3299
3293
|
</table></div>
|
3300
3294
|
</div>
|
3301
3295
|
<hr>
|
3302
|
-
<div class="refsect2">
|
3296
|
+
<div class="refsect2" title="g_source_add_poll ()">
|
3303
3297
|
<a name="g-source-add-poll"></a><h3>g_source_add_poll ()</h3>
|
3304
3298
|
<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>,
|
3305
3299
|
<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>
|
@@ -3328,7 +3322,7 @@ to be processed.
|
|
3328
3322
|
</table></div>
|
3329
3323
|
</div>
|
3330
3324
|
<hr>
|
3331
|
-
<div class="refsect2">
|
3325
|
+
<div class="refsect2" title="g_source_remove_poll ()">
|
3332
3326
|
<a name="g-source-remove-poll"></a><h3>g_source_remove_poll ()</h3>
|
3333
3327
|
<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>,
|
3334
3328
|
<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>
|
@@ -3353,7 +3347,7 @@ this source.
|
|
3353
3347
|
</table></div>
|
3354
3348
|
</div>
|
3355
3349
|
<hr>
|
3356
|
-
<div class="refsect2">
|
3350
|
+
<div class="refsect2" title="g_source_get_current_time ()">
|
3357
3351
|
<a name="g-source-get-current-time"></a><h3>g_source_get_current_time ()</h3>
|
3358
3352
|
<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>,
|
3359
3353
|
<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>
|
@@ -3382,7 +3376,7 @@ instead of having to repeatedly get the system time.
|
|
3382
3376
|
</table></div>
|
3383
3377
|
</div>
|
3384
3378
|
<hr>
|
3385
|
-
<div class="refsect2">
|
3379
|
+
<div class="refsect2" title="g_source_remove ()">
|
3386
3380
|
<a name="g-source-remove"></a><h3>g_source_remove ()</h3>
|
3387
3381
|
<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>
|
3388
3382
|
<p>
|
@@ -3414,7 +3408,7 @@ added to a non-default main context.
|
|
3414
3408
|
</table></div>
|
3415
3409
|
</div>
|
3416
3410
|
<hr>
|
3417
|
-
<div class="refsect2">
|
3411
|
+
<div class="refsect2" title="g_source_remove_by_funcs_user_data ()">
|
3418
3412
|
<a name="g-source-remove-by-funcs-user-data"></a><h3>g_source_remove_by_funcs_user_data ()</h3>
|
3419
3413
|
<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>,
|
3420
3414
|
<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>
|
@@ -3445,7 +3439,7 @@ same source functions and user data, only one will be destroyed.
|
|
3445
3439
|
</table></div>
|
3446
3440
|
</div>
|
3447
3441
|
<hr>
|
3448
|
-
<div class="refsect2">
|
3442
|
+
<div class="refsect2" title="g_source_remove_by_user_data ()">
|
3449
3443
|
<a name="g-source-remove-by-user-data"></a><h3>g_source_remove_by_user_data ()</h3>
|
3450
3444
|
<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>
|
3451
3445
|
<p>
|
@@ -3473,6 +3467,6 @@ data, only one will be destroyed.
|
|
3473
3467
|
</div>
|
3474
3468
|
<div class="footer">
|
3475
3469
|
<hr>
|
3476
|
-
Generated by GTK-Doc V1.15
|
3470
|
+
Generated by GTK-Doc V1.15</div>
|
3477
3471
|
</body>
|
3478
3472
|
</html>
|