diff options
Diffstat (limited to 'gtk+-mingw/share/gtk-doc/html/gio/ch31s04.html')
-rw-r--r-- | gtk+-mingw/share/gtk-doc/html/gio/ch31s04.html | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/gtk+-mingw/share/gtk-doc/html/gio/ch31s04.html b/gtk+-mingw/share/gtk-doc/html/gio/ch31s04.html deleted file mode 100644 index a85501d..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gio/ch31s04.html +++ /dev/null @@ -1,72 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Creating proxies for well-known names</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GIO Reference Manual"> -<link rel="up" href="ch31.html" title="Migrating to GDBus"> -<link rel="prev" href="ch31s03.html" title="Owning bus names"> -<link rel="next" href="ch31s05.html" title="Generating code and docs"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="ch31s03.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="ch31.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">GIO Reference Manual</th> -<td><a accesskey="n" href="ch31s05.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="section"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="idp72286672"></a>Creating proxies for well-known names</h2></div></div></div> -<p> - dbus-glib lets you create proxy objects for well-known names, like the - following example: - </p> -<div class="informalexample"><pre class="programlisting"> - proxy = dbus_g_proxy_new_for_name (system_bus_connection, - "org.freedesktop.Accounts", - "/org/freedesktop/Accounts", - "org.freedesktop.Accounts"); - - </pre></div> -<p> - For a <span class="type">DBusGProxy</span> constructed like this, method calls will be sent to - the current owner of the name, and that owner can change over time. - </p> -<p> - The same can be achieved with <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>: - </p> -<div class="informalexample"><pre class="programlisting"> - error = NULL; - proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM, - G_DBUS_PROXY_FLAGS_NONE, - NULL, /* GDBusInterfaceInfo */ - "org.freedesktop.Accounts", - "/org/freedesktop/Accounts", - "org.freedesktop.Accounts", - NULL, /* GCancellable */ - &error); - - </pre></div> -<p> - For an added layer of safety, you can specify what D-Bus - interface the proxy is expected to conform to by using the - <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> type. Additionally, <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> loads, - caches and tracks changes to the D-Bus properties on the remote - object. It also sets up match rules so D-Bus signals from the - remote object are delivered locally. - </p> -<p> - The <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> type normally isn't used directly - instead - proxies subclassing <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> generated by <span class="command"><strong><a href="gdbus-codegen.html">gdbus-codegen</a></strong></span> is used, see <a class="xref" href="ch31s05.html#gdbus-example-gdbus-codegen" title="Using gdbus-codegen">the section called “Using gdbus-codegen”</a> - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file |