glib2 3.1.6-x86-mingw32 → 3.1.7-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -3
- data/ext/glib2/rbglib-bytes.c +24 -0
- data/ext/glib2/rbglib.c +1 -0
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_error.c +15 -1
- data/ext/glib2/rbgprivate.h +1 -0
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/2.4/glib2.so +0 -0
- data/lib/glib-mkenums.rb +1 -1
- data/lib/glib2.rb +1 -1
- data/lib/mkmf-gnome2.rb +2 -1
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/gio.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/iconv.exe +0 -0
- data/vendor/local/bin/idn.exe +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libcharset-1.dll +0 -0
- data/vendor/local/bin/libffi-6.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-30.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-4-2.dll +0 -0
- data/vendor/local/bin/libiconv-2.dll +0 -0
- data/vendor/local/bin/libidn-11.dll +0 -0
- data/vendor/local/bin/libintl-8.dll +0 -0
- data/vendor/local/bin/libnettle-6-2.dll +0 -0
- data/vendor/local/bin/libp11-kit-0.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/libtasn1-6.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/bin/p11-kit.exe +0 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/trust.exe +0 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +4 -1
- data/vendor/local/include/libtasn1.h +4 -1
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +1 -1
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +1 -1
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +1 -1
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +1 -1
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +1 -1
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libtasn1.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/libtasn1.la +1 -1
- data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/libtasn1.pc +1 -1
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libglib-2.0.so.0.5200.1-gdb.py → libglib-2.0.so.0.5200.3-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libgobject-2.0.so.0.5200.1-gdb.py → libgobject-2.0.so.0.5200.3-gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.py +4 -2
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.py +3 -2
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +15 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +1 -1
- data/vendor/local/share/info/libtasn1.info +3 -3
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/asn1Coding.1 +3 -3
- data/vendor/local/share/man/man1/asn1Decoding.1 +6 -3
- data/vendor/local/share/man/man1/asn1Parser.1 +3 -3
- data/vendor/local/share/man/man1/gapplication.1 +1 -1
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/gio.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +4 -4
@@ -319,7 +319,7 @@ in the <a class="link" href="GMenuModel.html#G-MENU-ATTRIBUTE-ACTION:CAPS" title
|
|
319
319
|
identifies an action in an action group. Which action group(s) provide
|
320
320
|
actions depends on the context in which the menu model is used.
|
321
321
|
E.g. when the model is exported as the application menu of a
|
322
|
-
<a href="
|
322
|
+
<a href="../gtk4/GtkApplication.html#GtkApplication-struct"><span class="type">GtkApplication</span></a>, actions can be application-wide or window-specific
|
323
323
|
(and thus come from two different action groups). By convention, the
|
324
324
|
application-wide actions have names that start with "app.", while the
|
325
325
|
names of window-specific actions start with "win.".</p>
|
@@ -316,7 +316,7 @@
|
|
316
316
|
</div>
|
317
317
|
<div class="refsect1">
|
318
318
|
<a name="GMount.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
319
|
-
<pre class="screen"> <a href="
|
319
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
320
320
|
<span class="lineart">╰──</span> GMount
|
321
321
|
</pre>
|
322
322
|
</div>
|
@@ -291,7 +291,7 @@ objects – for example it is also used in <a class="link" href="GDrive.html#g-d
|
|
291
291
|
<a class="link" href="GDrive.html#g-drive-stop" title="g_drive_stop ()"><code class="function">g_drive_stop()</code></a>.</p>
|
292
292
|
<p>Users should instantiate a subclass of this that implements all the
|
293
293
|
various callbacks to show the required dialogs, such as
|
294
|
-
<a href="
|
294
|
+
<a href="../gtk4/gtk4-Filesystem-utilities.html#GtkMountOperation-struct"><span class="type">GtkMountOperation</span></a>. If no user interaction is desired (for example
|
295
295
|
when automounting filesystems at login time), usually <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> can be
|
296
296
|
passed, see each method taking a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> for details.</p>
|
297
297
|
</div>
|
@@ -923,7 +923,7 @@ user_function (<a class="link" href="GMountOperation.html" title="GMountOperatio
|
|
923
923
|
<p>Emitted when a mount operation asks the user for a password.</p>
|
924
924
|
<p>If the message contains a line break, the first line should be
|
925
925
|
presented as a heading. For example, it may be used as the
|
926
|
-
primary text in a <a href="
|
926
|
+
primary text in a <a href="../gtk4/GtkMessageDialog.html#GtkMessageDialog-struct"><span class="type">GtkMessageDialog</span></a>.</p>
|
927
927
|
<div class="refsect3">
|
928
928
|
<a name="GMountOperation-ask-password.parameters"></a><h4>Parameters</h4>
|
929
929
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -980,7 +980,7 @@ user_function (<a class="link" href="GMountOperation.html" title="GMountOperatio
|
|
980
980
|
choices for the user to choose from.</p>
|
981
981
|
<p>If the message contains a line break, the first line should be
|
982
982
|
presented as a heading. For example, it may be used as the
|
983
|
-
primary text in a <a href="
|
983
|
+
primary text in a <a href="../gtk4/GtkMessageDialog.html#GtkMessageDialog-struct"><span class="type">GtkMessageDialog</span></a>.</p>
|
984
984
|
<div class="refsect3">
|
985
985
|
<a name="GMountOperation-ask-question.parameters"></a><h4>Parameters</h4>
|
986
986
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1070,7 +1070,7 @@ the latest signal (setting <a class="link" href="GMountOperation.html#GMountOper
|
|
1070
1070
|
the user made).</p>
|
1071
1071
|
<p>If the message contains a line break, the first line should be
|
1072
1072
|
presented as a heading. For example, it may be used as the
|
1073
|
-
primary text in a <a href="
|
1073
|
+
primary text in a <a href="../gtk4/GtkMessageDialog.html#GtkMessageDialog-struct"><span class="type">GtkMessageDialog</span></a>.</p>
|
1074
1074
|
<div class="refsect3">
|
1075
1075
|
<a name="GMountOperation-show-processes.parameters"></a><h4>Parameters</h4>
|
1076
1076
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1135,7 +1135,7 @@ of completion, when <em class="parameter"><code>bytes_left</code></em>
|
|
1135
1135
|
reaches zero.</p>
|
1136
1136
|
<p>If the message contains a line break, the first line should be
|
1137
1137
|
presented as a heading. For example, it may be used as the
|
1138
|
-
primary text in a <a href="
|
1138
|
+
primary text in a <a href="../gtk4/GtkMessageDialog.html#GtkMessageDialog-struct"><span class="type">GtkMessageDialog</span></a>.</p>
|
1139
1139
|
<div class="refsect3">
|
1140
1140
|
<a name="GMountOperation-show-unmount-progress.parameters"></a><h4>Parameters</h4>
|
1141
1141
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -173,7 +173,7 @@
|
|
173
173
|
</div>
|
174
174
|
<div class="refsect1">
|
175
175
|
<a name="GNetworkMonitor.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
176
|
-
<pre class="screen"> <a href="
|
176
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
177
177
|
<span class="lineart">╰──</span> GNetworkMonitor
|
178
178
|
</pre>
|
179
179
|
</div>
|
@@ -98,7 +98,7 @@
|
|
98
98
|
</div>
|
99
99
|
<div class="refsect1">
|
100
100
|
<a name="GPollableInputStream.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
101
|
-
<pre class="screen"> <a href="
|
101
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
102
102
|
<span class="lineart">╰──</span> GPollableInputStream
|
103
103
|
</pre>
|
104
104
|
</div>
|
@@ -98,7 +98,7 @@
|
|
98
98
|
</div>
|
99
99
|
<div class="refsect1">
|
100
100
|
<a name="GPollableOutputStream.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
101
|
-
<pre class="screen"> <a href="
|
101
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
102
102
|
<span class="lineart">╰──</span> GPollableOutputStream
|
103
103
|
</pre>
|
104
104
|
</div>
|
@@ -166,16 +166,16 @@ particular piece of state is kept (and therefore has to be synchronised
|
|
166
166
|
between). <a class="link" href="GPropertyAction.html" title="GPropertyAction"><span class="type">GPropertyAction</span></a> does not have a separate state that is kept
|
167
167
|
in sync with the property value -- its state is the property value.</p>
|
168
168
|
<p>For example, it might be useful to create a <a class="link" href="GAction.html" title="GAction"><span class="type">GAction</span></a> corresponding to
|
169
|
-
the "visible-child-name" property of a <a href="
|
169
|
+
the "visible-child-name" property of a <a href="../gtk4/GtkStack.html#GtkStack-struct"><span class="type">GtkStack</span></a> so that the current
|
170
170
|
page can be switched from a menu. The active radio indication in the
|
171
171
|
menu is then directly determined from the active page of the
|
172
|
-
<a href="
|
172
|
+
<a href="../gtk4/GtkStack.html#GtkStack-struct"><span class="type">GtkStack</span></a>.</p>
|
173
173
|
<p>An anti-example would be binding the "active-id" property on a
|
174
|
-
<a href="
|
174
|
+
<a href="../gtk4/GtkComboBox.html#GtkComboBox-struct"><span class="type">GtkComboBox</span></a>. This is because the state of the combobox itself is
|
175
175
|
probably uninteresting and is actually being used to control
|
176
176
|
something else.</p>
|
177
177
|
<p>Another anti-example would be to bind to the "visible-child-name"
|
178
|
-
property of a <a href="
|
178
|
+
property of a <a href="../gtk4/GtkStack.html#GtkStack-struct"><span class="type">GtkStack</span></a> if this value is actually stored in
|
179
179
|
<a class="link" href="GSettings.html" title="GSettings"><span class="type">GSettings</span></a>. In that case, the real source of the value is
|
180
180
|
<a class="link" href="GSettings.html" title="GSettings"><span class="type">GSettings</span></a>. If you want a <a class="link" href="GAction.html" title="GAction"><span class="type">GAction</span></a> to control a setting stored in
|
181
181
|
<a class="link" href="GSettings.html" title="GSettings"><span class="type">GSettings</span></a>, see <a class="link" href="GSettings.html#g-settings-create-action" title="g_settings_create_action ()"><code class="function">g_settings_create_action()</code></a> instead, and possibly
|
@@ -109,7 +109,7 @@
|
|
109
109
|
</div>
|
110
110
|
<div class="refsect1">
|
111
111
|
<a name="GProxy.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
112
|
-
<pre class="screen"> <a href="
|
112
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
113
113
|
<span class="lineart">╰──</span> GProxy
|
114
114
|
</pre>
|
115
115
|
</div>
|
@@ -110,7 +110,7 @@
|
|
110
110
|
</div>
|
111
111
|
<div class="refsect1">
|
112
112
|
<a name="GProxyResolver.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
113
|
-
<pre class="screen"> <a href="
|
113
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
114
114
|
<span class="lineart">╰──</span> GProxyResolver
|
115
115
|
</pre>
|
116
116
|
</div>
|
@@ -82,7 +82,7 @@
|
|
82
82
|
</div>
|
83
83
|
<div class="refsect1">
|
84
84
|
<a name="GRemoteActionGroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
85
|
-
<pre class="screen"> <a href="
|
85
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
86
86
|
<span class="lineart">╰──</span> GRemoteActionGroup
|
87
87
|
</pre>
|
88
88
|
</div>
|
@@ -216,7 +216,7 @@
|
|
216
216
|
</div>
|
217
217
|
<div class="refsect1">
|
218
218
|
<a name="GResource.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
219
|
-
<pre class="screen"> <a href="
|
219
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
|
220
220
|
<span class="lineart">╰──</span> GResource
|
221
221
|
</pre>
|
222
222
|
</div>
|
@@ -229,7 +229,7 @@
|
|
229
229
|
<a name="GResource.description"></a><h2>Description</h2>
|
230
230
|
<p>Applications and libraries often contain binary or textual data that is
|
231
231
|
really part of the application, rather than user data. For instance
|
232
|
-
<a href="
|
232
|
+
<a href="../gtk4/GtkBuilder.html#GtkBuilder-struct"><span class="type">GtkBuilder</span></a> .ui files, splashscreen images, GMenu markup XML, CSS files,
|
233
233
|
icons, etc. These are often shipped as files in <code class="literal">$datadir/appname</code>, or
|
234
234
|
manually included as literal strings in the code.</p>
|
235
235
|
<p>The <a class="link" href="GResource.html" title="GResource"><span class="type">GResource</span></a> API and the glib-compile-resources program
|
@@ -106,7 +106,7 @@
|
|
106
106
|
</div>
|
107
107
|
<div class="refsect1">
|
108
108
|
<a name="GSeekable.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
109
|
-
<pre class="screen"> <a href="
|
109
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
110
110
|
<span class="lineart">╰──</span> GSeekable
|
111
111
|
</pre>
|
112
112
|
</div>
|
@@ -158,7 +158,7 @@
|
|
158
158
|
</div>
|
159
159
|
<div class="refsect1">
|
160
160
|
<a name="GSocketConnectable.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
161
|
-
<pre class="screen"> <a href="
|
161
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
162
162
|
<span class="lineart">╰──</span> GSocketConnectable
|
163
163
|
<a href="../gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
164
164
|
<span class="lineart">╰──</span> GSocketAddressEnumerator
|
@@ -121,7 +121,7 @@
|
|
121
121
|
</div>
|
122
122
|
<div class="refsect1">
|
123
123
|
<a name="GSrvTarget.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
124
|
-
<pre class="screen"> <a href="
|
124
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
|
125
125
|
<span class="lineart">╰──</span> GSrvTarget
|
126
126
|
</pre>
|
127
127
|
</div>
|
@@ -156,7 +156,7 @@ GThemedIcon implements
|
|
156
156
|
<a class="link" href="GThemedIcon.html" title="GThemedIcon"><span class="type">GThemedIcon</span></a> contains a list of all of the icons present in an icon
|
157
157
|
theme, so that icons can be looked up quickly. <a class="link" href="GThemedIcon.html" title="GThemedIcon"><span class="type">GThemedIcon</span></a> does
|
158
158
|
not provide actual pixmaps for icons, just the icon names.
|
159
|
-
Ideally something like <a href="
|
159
|
+
Ideally something like <a href="../gtk4/GtkIconTheme.html#gtk-icon-theme-choose-icon"><code class="function">gtk_icon_theme_choose_icon()</code></a> should be used to
|
160
160
|
resolve the list of names so that fallback icons work nicely with
|
161
161
|
themes that inherit other themes.</p>
|
162
162
|
</div>
|
@@ -149,7 +149,7 @@
|
|
149
149
|
</div>
|
150
150
|
<div class="refsect1">
|
151
151
|
<a name="GTlsBackend.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
152
|
-
<pre class="screen"> <a href="
|
152
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
153
153
|
<span class="lineart">╰──</span> GTlsBackend
|
154
154
|
</pre>
|
155
155
|
</div>
|
@@ -171,7 +171,7 @@
|
|
171
171
|
</div>
|
172
172
|
<div class="refsect1">
|
173
173
|
<a name="GTlsClientConnection.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
174
|
-
<pre class="screen"> <a href="
|
174
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
175
175
|
<span class="lineart">╰──</span> GTlsClientConnection
|
176
176
|
</pre>
|
177
177
|
</div>
|
@@ -88,7 +88,7 @@
|
|
88
88
|
</div>
|
89
89
|
<div class="refsect1">
|
90
90
|
<a name="GTlsFileDatabase.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
91
|
-
<pre class="screen"> <a href="
|
91
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
92
92
|
<span class="lineart">╰──</span> GTlsFileDatabase
|
93
93
|
</pre>
|
94
94
|
</div>
|
@@ -87,7 +87,7 @@
|
|
87
87
|
</div>
|
88
88
|
<div class="refsect1">
|
89
89
|
<a name="GTlsServerConnection.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
90
|
-
<pre class="screen"> <a href="
|
90
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
91
91
|
<span class="lineart">╰──</span> GTlsServerConnection
|
92
92
|
</pre>
|
93
93
|
</div>
|
@@ -263,7 +263,7 @@
|
|
263
263
|
</div>
|
264
264
|
<div class="refsect1">
|
265
265
|
<a name="GVolume.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
266
|
-
<pre class="screen"> <a href="
|
266
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
267
267
|
<span class="lineart">╰──</span> GVolume
|
268
268
|
</pre>
|
269
269
|
</div>
|
@@ -55,7 +55,7 @@
|
|
55
55
|
<a name="id-1.4.26.7.6"></a><h2>Generating C code</h2>
|
56
56
|
<p>
|
57
57
|
When generating C code, a
|
58
|
-
<a href="
|
58
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html"><span class="type">GInterface</span></a>-derived type is generated for each D-Bus
|
59
59
|
interface. Additionally, for every generated type,
|
60
60
|
<span class="type">FooBar</span>, two concrete instantiable types,
|
61
61
|
<span class="type">FooBarProxy</span> and <span class="type">FooBarSkeleton</span>, implementing
|
@@ -1077,10 +1077,10 @@ proxy <span class="gtkdoc opt">=</span> <span class="function">my_app_frobber_pr
|
|
1077
1077
|
<p>
|
1078
1078
|
The ABI of the generated <a href="../gobject-Type-Information.html#GType"><span class="type">GType</span></a>s will be preserved only if
|
1079
1079
|
the <code class="literal">org.gtk.GDBus.Since</code> annotation is used
|
1080
|
-
judiciously — this is because the VTable for the <a href="
|
1080
|
+
judiciously — this is because the VTable for the <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html"><span class="type">GInterface</span></a>
|
1081
1081
|
relies on functions pointers for signal handlers. Specifically, if
|
1082
1082
|
a D-Bus method, property or signal or is added to a D-Bus
|
1083
|
-
interface, then ABI of the generated <a href="
|
1083
|
+
interface, then ABI of the generated <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html"><span class="type">GInterface</span></a> type is preserved
|
1084
1084
|
if, and only if, each added method, property signal is annotated
|
1085
1085
|
with they <code class="literal">org.gtk.GDBus.Since</code> annotation using
|
1086
1086
|
a greater version number than previous versions.
|
@@ -307,7 +307,7 @@
|
|
307
307
|
</div>
|
308
308
|
<div class="refsect1">
|
309
309
|
<a name="gio-D-Bus-Introspection-Data.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
310
|
-
<pre class="screen"> <a href="
|
310
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
|
311
311
|
<span class="lineart">├──</span> GDBusAnnotationInfo
|
312
312
|
<span class="lineart">├──</span> GDBusArgInfo
|
313
313
|
<span class="lineart">├──</span> GDBusInterfaceInfo
|
@@ -261,7 +261,7 @@
|
|
261
261
|
</div>
|
262
262
|
<div class="refsect1">
|
263
263
|
<a name="gio-Desktop-file-based-GAppInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
264
|
-
<pre class="screen"> <a href="
|
264
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
265
265
|
<span class="lineart">╰──</span> GDesktopAppInfoLookup
|
266
266
|
<a href="../gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
267
267
|
<span class="lineart">╰──</span> GDesktopAppInfo
|
@@ -123,7 +123,7 @@
|
|
123
123
|
</div>
|
124
124
|
<div class="refsect1">
|
125
125
|
<a name="gio-GFileAttribute.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
126
|
-
<pre class="screen"> <a href="
|
126
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
|
127
127
|
<span class="lineart">╰──</span> GFileAttributeInfoList
|
128
128
|
</pre>
|
129
129
|
</div>
|
@@ -247,7 +247,7 @@
|
|
247
247
|
</div>
|
248
248
|
<div class="refsect1">
|
249
249
|
<a name="gio-GSettingsSchema-GSettingsSchemaSource.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
250
|
-
<pre class="screen"> <a href="
|
250
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
|
251
251
|
<span class="lineart">├──</span> GSettingsSchema
|
252
252
|
<span class="lineart">├──</span> GSettingsSchemaKey
|
253
253
|
<span class="lineart">╰──</span> GSettingsSchemaSource
|
@@ -130,7 +130,7 @@
|
|
130
130
|
<span class="lineart">├──</span> <a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a>
|
131
131
|
<span class="lineart">├──</span> <a class="link" href="GZlibCompressor.html" title="GZlibCompressor">GZlibCompressor</a>
|
132
132
|
<span class="lineart">╰──</span> <a class="link" href="GZlibDecompressor.html" title="GZlibDecompressor">GZlibDecompressor</a>
|
133
|
-
<a href="
|
133
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
134
134
|
<span class="lineart">├──</span> <a class="link" href="GAction.html" title="GAction">GAction</a>
|
135
135
|
<span class="lineart">├──</span> <a class="link" href="GActionGroup.html" title="GActionGroup">GActionGroup</a>
|
136
136
|
<span class="lineart">├──</span> <a class="link" href="GActionMap.html" title="GActionMap">GActionMap</a>
|
@@ -167,7 +167,7 @@
|
|
167
167
|
<span class="lineart">├──</span> <a class="link" href="GTlsFileDatabase.html" title="GTlsFileDatabase">GTlsFileDatabase</a>
|
168
168
|
<span class="lineart">├──</span> <a class="link" href="GTlsServerConnection.html" title="GTlsServerConnection">GTlsServerConnection</a>
|
169
169
|
<span class="lineart">╰──</span> <a class="link" href="GVolume.html" title="GVolume">GVolume</a>
|
170
|
-
<a href="
|
170
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
|
171
171
|
<span class="lineart">├──</span> <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusAnnotationInfo">GDBusAnnotationInfo</a>
|
172
172
|
<span class="lineart">├──</span> <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusArgInfo">GDBusArgInfo</a>
|
173
173
|
<span class="lineart">├──</span> <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo">GDBusInterfaceInfo</a>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<div>
|
16
16
|
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GIO Reference Manual</p></th></tr></table></div>
|
17
17
|
<div><p class="releaseinfo">
|
18
|
-
for GIO 2.52.
|
18
|
+
for GIO 2.52.3
|
19
19
|
|
20
20
|
The latest version of this documentation can be found on-line at
|
21
21
|
<a class="ulink" href="https://developer.gnome.org/gio/unstable/" target="_top">https://developer.gnome.org/gio/unstable/</a>.
|
@@ -286,7 +286,7 @@ encoding for file names in the file system.</p>
|
|
286
286
|
name encodings correctly.</p>
|
287
287
|
<div class="orderedlist"><ol class="orderedlist" type="1">
|
288
288
|
<li class="listitem"><p>If you get a file name from the file system from a function
|
289
|
-
such as <code class="function">readdir()</code> or <a href="
|
289
|
+
such as <code class="function">readdir()</code> or <a href="../gtk4/GtkFileChooser.html#gtk-file-chooser-get-filename"><code class="function">gtk_file_chooser_get_filename()</code></a>, you do
|
290
290
|
not need to do any conversion to pass that file name to
|
291
291
|
functions like <code class="function">open()</code>, <code class="function">rename()</code>, or <code class="function">fopen()</code> -- those are "raw"
|
292
292
|
file names which the file system understands.</p></li>
|
@@ -531,7 +531,7 @@ deal with filenames containing Unicode characters that fall outside
|
|
531
531
|
of the codepage.</p>
|
532
532
|
<p>A solution to this is to use <a class="link" href="glib-Windows-Compatibility-Functions.html#g-win32-get-command-line" title="g_win32_get_command_line ()"><code class="function">g_win32_get_command_line()</code></a> and
|
533
533
|
<a class="link" href="glib-Commandline-option-parser.html#g-option-context-parse-strv" title="g_option_context_parse_strv ()"><code class="function">g_option_context_parse_strv()</code></a> which will properly handle full Unicode
|
534
|
-
filenames. If you are using <a href="
|
534
|
+
filenames. If you are using <a href="../gio/GApplication.html#GApplication-struct"><span class="type">GApplication</span></a>, this is done
|
535
535
|
automatically for you.</p>
|
536
536
|
<p>The following example shows how you can use <a class="link" href="glib-Commandline-option-parser.html#GOptionContext" title="GOptionContext"><span class="type">GOptionContext</span></a> directly
|
537
537
|
in order to correctly deal with Unicode filenames on Windows:</p>
|
@@ -1067,7 +1067,7 @@ system codepage, which is how they are passed as <em class="parameter"><code>arg
|
|
1067
1067
|
to <code class="function">main()</code>.
|
1068
1068
|
See <a class="link" href="glib-Windows-Compatibility-Functions.html#g-win32-get-command-line" title="g_win32_get_command_line ()"><code class="function">g_win32_get_command_line()</code></a> for a solution.</p>
|
1069
1069
|
<p>This function is useful if you are trying to use <a class="link" href="glib-Commandline-option-parser.html#GOptionContext" title="GOptionContext"><span class="type">GOptionContext</span></a> with
|
1070
|
-
<a href="
|
1070
|
+
<a href="../gio/GApplication.html#GApplication-struct"><span class="type">GApplication</span></a>.</p>
|
1071
1071
|
<div class="refsect3">
|
1072
1072
|
<a name="g-option-context-parse-strv.parameters"></a><h4>Parameters</h4>
|
1073
1073
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -611,7 +611,7 @@ misinterpretation of error codes.</p>
|
|
611
611
|
<p><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> has disadvantages though: it requires a memory allocation, and
|
612
612
|
formatting the error message string has a performance overhead. This makes it
|
613
613
|
unsuitable for use in retry loops where errors are a common case, rather than
|
614
|
-
being unusual. For example, using <a href="
|
614
|
+
being unusual. For example, using <a href="../gio/gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> means hitting these
|
615
615
|
overheads in the normal control flow. String formatting overhead can be
|
616
616
|
eliminated by using <a class="link" href="glib-Error-Reporting.html#g-set-error-literal" title="g_set_error_literal ()"><code class="function">g_set_error_literal()</code></a> in some cases.</p>
|
617
617
|
<p>These performance issues can be compounded if a function wraps the <a href="glib-Error-Reporting.html#GError"><span class="type">GErrors</span></a>
|
@@ -1087,7 +1087,7 @@ Serialised <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><
|
|
1087
1087
|
<p><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is largely compatible with D-Bus. Almost all types of
|
1088
1088
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instances can be sent over D-Bus. See <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> for
|
1089
1089
|
exceptions. (However, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>'s serialisation format is not the same
|
1090
|
-
as the serialisation format of a D-Bus message body: use <a href="
|
1090
|
+
as the serialisation format of a D-Bus message body: use <a href="../gio/GDBusMessage.html#GDBusMessage-struct"><span class="type">GDBusMessage</span></a>,
|
1091
1091
|
in the gio library, for those.)</p>
|
1092
1092
|
<p>For space-efficiency, the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> serialisation format does not
|
1093
1093
|
automatically include the variant's length, type or endianness,
|
@@ -1680,7 +1680,7 @@ the data inside of the soon-to-be-freed <a class="link" href="glib-GVariant.html
|
|
1680
1680
|
check fails then a <a class="link" href="glib-Message-Logging.html#g-critical" title="g_critical()"><code class="function">g_critical()</code></a> is printed and <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned.</p>
|
1681
1681
|
<p>This function is meant to be used by functions that wish to provide
|
1682
1682
|
varargs accessors to <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> values of uncertain values (eg:
|
1683
|
-
<a class="link" href="glib-GVariant.html#g-variant-lookup" title="g_variant_lookup ()"><code class="function">g_variant_lookup()</code></a> or <a href="
|
1683
|
+
<a class="link" href="glib-GVariant.html#g-variant-lookup" title="g_variant_lookup ()"><code class="function">g_variant_lookup()</code></a> or <a href="../gio/GMenuModel.html#g-menu-model-get-item-attribute"><code class="function">g_menu_model_get_item_attribute()</code></a>).</p>
|
1684
1684
|
<div class="refsect3">
|
1685
1685
|
<a name="g-variant-check-format-string.parameters"></a><h4>Parameters</h4>
|
1686
1686
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -450,10 +450,10 @@ type".</p>
|
|
450
450
|
<p>This is similar to how instances of abstract classes may not
|
451
451
|
directly exist in other type systems, but instances of their
|
452
452
|
non-abstract subtypes may. For example, in GTK, no object that has
|
453
|
-
the type of <a href="
|
454
|
-
but a <a href="
|
455
|
-
that the <a href="
|
456
|
-
<a href="
|
453
|
+
the type of <a href="../gtk4/GtkBin.html#GtkBin-struct"><span class="type">GtkBin</span></a> can exist (since <a href="../gtk4/GtkBin.html#GtkBin-struct"><span class="type">GtkBin</span></a> is an abstract class),
|
454
|
+
but a <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> can certainly be instantiated, and you would say
|
455
|
+
that the <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> is a <a href="../gtk4/GtkBin.html#GtkBin-struct"><span class="type">GtkBin</span></a> (since <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> is a subclass of
|
456
|
+
<a href="../gtk4/GtkBin.html#GtkBin-struct"><span class="type">GtkBin</span></a>).</p>
|
457
457
|
<div class="refsect3">
|
458
458
|
<a name="id-1.6.18.6.9"></a><h4>GVariant Type Strings</h4>
|
459
459
|
<p>A GVariant type string can be any of the following:</p>
|
@@ -214,8 +214,8 @@ be accessed either with a string or with a <a class="link" href="glib-Quarks.htm
|
|
214
214
|
the string.</p>
|
215
215
|
<p>The <a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> methods are quicker, since the strings have to be
|
216
216
|
converted to <a href="glib-Quarks.html#GQuark"><span class="type">GQuarks</span></a> anyway.</p>
|
217
|
-
<p>Data lists are used for associating arbitrary data with <a href="
|
218
|
-
using <a href="
|
217
|
+
<p>Data lists are used for associating arbitrary data with <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObjects</span></a>,
|
218
|
+
using <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-set-data"><code class="function">g_object_set_data()</code></a> and related functions.</p>
|
219
219
|
<p>To create a datalist, use <a class="link" href="glib-Keyed-Data-Lists.html#g-datalist-init" title="g_datalist_init ()"><code class="function">g_datalist_init()</code></a>.</p>
|
220
220
|
<p>To add data elements to a datalist use <a class="link" href="glib-Keyed-Data-Lists.html#g-datalist-id-set-data" title="g_datalist_id_set_data()"><code class="function">g_datalist_id_set_data()</code></a>,
|
221
221
|
<a class="link" href="glib-Keyed-Data-Lists.html#g-datalist-id-set-data-full" title="g_datalist_id_set_data_full ()"><code class="function">g_datalist_id_set_data_full()</code></a>, <a class="link" href="glib-Keyed-Data-Lists.html#g-datalist-set-data" title="g_datalist_set_data()"><code class="function">g_datalist_set_data()</code></a> and
|
@@ -877,7 +877,7 @@ g_datalist_set_flags (<em class="parameter"><code><a class="link" href="glib-Key
|
|
877
877
|
to keep a small number of boolean flags in an object with
|
878
878
|
a data list without using any additional space. It is
|
879
879
|
not generally useful except in circumstances where space
|
880
|
-
is very tight. (It is used in the base <a href="
|
880
|
+
is very tight. (It is used in the base <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type, for
|
881
881
|
example.)</p>
|
882
882
|
<div class="refsect3">
|
883
883
|
<a name="g-datalist-set-flags.parameters"></a><h4>Parameters</h4>
|
@@ -1084,7 +1084,7 @@ the following example (which only works on GCC and clang):</p>
|
|
1084
1084
|
<td class="listing_code"><pre class="programlisting">GObject <span class="gtkdoc opt">*</span>
|
1085
1085
|
<span class="function">create_object</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
1086
1086
|
<span class="gtkdoc opt">{</span>
|
1087
|
-
<span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="gtkdoc opt">(</span>GObject<span class="gtkdoc opt">)</span> obj <span class="gtkdoc opt">=</span> <span class="function"><a href="
|
1087
|
+
<span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="gtkdoc opt">(</span>GObject<span class="gtkdoc opt">)</span> obj <span class="gtkdoc opt">=</span> <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a></span> <span class="gtkdoc opt">(</span>G_TYPE_OBJECT<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span>
|
1088
1088
|
|
1089
1089
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>early_error_case<span class="gtkdoc opt">)</span>
|
1090
1090
|
<span class="keyword">return</span> NULL<span class="gtkdoc opt">;</span>
|
@@ -1119,7 +1119,7 @@ particularly useful for dealing with optional out parameters:</p>
|
|
1119
1119
|
<td class="listing_code"><pre class="programlisting">gboolean
|
1120
1120
|
<span class="function">get_object</span> <span class="gtkdoc opt">(</span>GObject <span class="gtkdoc opt">**</span>obj_out<span class="gtkdoc opt">)</span>
|
1121
1121
|
<span class="gtkdoc opt">{</span>
|
1122
|
-
<span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="gtkdoc opt">(</span>GObject<span class="gtkdoc opt">)</span> obj <span class="gtkdoc opt">=</span> <span class="function"><a href="
|
1122
|
+
<span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="gtkdoc opt">(</span>GObject<span class="gtkdoc opt">)</span> obj <span class="gtkdoc opt">=</span> <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a></span> <span class="gtkdoc opt">(</span>G_TYPE_OBJECT<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span>
|
1123
1123
|
|
1124
1124
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>early_error_case<span class="gtkdoc opt">)</span>
|
1125
1125
|
<span class="keyword">return</span> FALSE<span class="gtkdoc opt">;</span>
|