/usr/share/gtk-doc/html/pygtk/class-gdkdisplaymanager.html is in python-gtk2-doc 2.24.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.gdk.DisplayManager</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gdk-class-reference.html" title="The gtk.gdk Class Reference"><link rel="prev" href="class-gdkdisplay.html" title="gtk.gdk.Display"><link rel="next" href="class-gdkdragcontext.html" title="gtk.gdk.DragContext"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.gdk.DisplayManager</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gdkdisplay.html">Prev</a> </td><th width="60%" align="center">The gtk.gdk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gdkdragcontext.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.gdk.DisplayManager"><a name="class-gdkdisplaymanager"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.gdk.DisplayManager</h2><p>gtk.gdk.DisplayManager — maintains a list of all open <a class="link" href="class-gdkdisplay.html" title="gtk.gdk.Display"><code class="classname">gtk.gdk.Display</code></a>
objects</p></div><div class="refsect1" title="Synopsis"><a name="id2981348"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.gdk.DisplayManager</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gdkdisplaymanager.html#method-gdkdisplaymanager--get-default-display" title="gtk.gdk.DisplayManager.get_default_display">get_default_display</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gdkdisplaymanager.html#method-gdkdisplaymanager--set-default-display" title="gtk.gdk.DisplayManager.set_default_display">set_default_display</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>display</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gdkdisplaymanager.html#method-gdkdisplaymanager--list-displays" title="gtk.gdk.DisplayManager.list_displays">list_displays</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table><pre class="programlisting">
<span class="bold"><strong>Functions</strong></span>
<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gdkdisplaymanager.html#function-gdk--display-manager-get" title="gtk.gdk.display_manager_get">gtk.gdk.display_manager_get</a></span>(<span class="methodparam"></span>)</code></pre></div><div class="refsect1" title="Ancestry"><a name="id2898604"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
+-- <a class="link" href="class-gdkdisplaymanager.html" title="gtk.gdk.DisplayManager">gtk.gdk.DisplayManager</a>
</pre></div><div class="refsect1" title="Properties"><a name="id2937197"></a><h2>Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="4in"></colgroup><tbody><tr valign="top"><td valign="top">"default-display"</td><td valign="top">Read-Write</td><td valign="top">The default <a class="link" href="class-gdkdisplay.html" title="gtk.gdk.Display"><code class="classname">gtk.gdk.Display</code></a>. Available
in GTK+ 2.2 and above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Signal Prototypes"><a name="id2899598"></a><h2>Signal Prototypes</h2><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term">"<a class="link" href="class-gdkdisplaymanager.html#signal-gdkdisplaymanager--display-opened" title='The "display-opened" gtk.gdk.DisplayManager Signal'>display-opened</a>"</span></p></td><td><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>displaymanager</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>display</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr></tbody></table></div><div class="refsect1" title="Description"><a name="id2914998"></a><h2>Description</h2><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This object is available in PyGTK 2.2 and above.</p></div><p>The <a class="link" href="class-gdkdisplaymanager.html" title="gtk.gdk.DisplayManager"><code class="classname">gtk.gdk.DisplayManager</code></a>
is a singleton object that offers notification when displays appear or
disappear or the default display changes. The global <a class="link" href="class-gdkdisplaymanager.html" title="gtk.gdk.DisplayManager"><code class="classname">gtk.gdk.DisplayManager</code></a>
object is returned from the <a class="link" href="class-gdkdisplaymanager.html#function-gdk--display-manager-get" title="gtk.gdk.display_manager_get"><code class="function">gtk.gdk.display_manager_get</code>()</a>
function.</p></div><div class="refsect1" title="Methods"><a name="id3057118"></a><h2>Methods</h2><div class="refsect2" title="gtk.gdk.DisplayManager.get_default_display"><a name="method-gdkdisplaymanager--get-default-display"></a><h3>gtk.gdk.DisplayManager.get_default_display</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_default_display</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a <a class="link" href="class-gdkdisplay.html" title="gtk.gdk.Display"><code class="classname">gtk.gdk.Display</code></a>,
or <code class="literal">None</code> if there is no default
display.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.2 and above.</p></div><p>The <code class="methodname">get_default_display</code>() method
returns the default <a class="link" href="class-gdkdisplay.html" title="gtk.gdk.Display"><code class="classname">gtk.gdk.Display</code></a>.</p></div><div class="refsect2" title="gtk.gdk.DisplayManager.set_default_display"><a name="method-gdkdisplaymanager--set-default-display"></a><h3>gtk.gdk.DisplayManager.set_default_display</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_default_display</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>display</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>display</code></strong> :</span></p></td><td>a <a class="link" href="class-gdkdisplay.html" title="gtk.gdk.Display"><code class="classname">gtk.gdk.Display</code></a></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.2 and above.</p></div><p>The <code class="methodname">set_default_display</code>() method sets
the <a class="link" href="class-gdkdisplay.html" title="gtk.gdk.Display"><code class="classname">gtk.gdk.Display</code></a>
specified by <em class="parameter"><code>display</code></em> as the default display.</p></div><div class="refsect2" title="gtk.gdk.DisplayManager.list_displays"><a name="method-gdkdisplaymanager--list-displays"></a><h3>gtk.gdk.DisplayManager.list_displays</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">list_displays</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a list containing <a class="link" href="class-gdkdisplay.html" title="gtk.gdk.Display"><code class="classname">gtk.gdk.Display</code></a>
objects.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.2 and above.</p></div><p>The <code class="methodname">list_displays</code>() method returns a
list containing all currently open displays.</p></div></div><div class="refsect1" title="Functions"><a name="id2922907"></a><h2>Functions</h2><div class="refsect2" title="gtk.gdk.display_manager_get"><a name="function-gdk--display-manager-get"></a><h3>gtk.gdk.display_manager_get</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.gdk.display_manager_get</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>
the singleton <a class="link" href="class-gdkdisplaymanager.html" title="gtk.gdk.DisplayManager"><code class="classname">gtk.gdk.DisplayManager</code></a>
object.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This function is available in PyGTK 2.2 and above.</p></div><p>The <code class="methodname">gtk.gdk.display_manager_get</code>()
method returns the global <a class="link" href="class-gdkdisplaymanager.html" title="gtk.gdk.DisplayManager"><code class="classname">gtk.gdk.DisplayManager</code></a>
singleton.</p></div></div><div class="refsect1" title="Signals"><a name="id2914123"></a><h2>Signals</h2><div class="refsect2" title='The "display-opened" gtk.gdk.DisplayManager Signal'><a name="signal-gdkdisplaymanager--display-opened"></a><h3>The "display-opened" gtk.gdk.DisplayManager Signal</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>displaymanager</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>display</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>displaymanager</code></em> :</span></p></td><td>the displaymanager that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td><td>the display that was opened</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This signal is available in GTK+ 2.2 and above.</p></div><p>The "display-opened" signal is emitted when display is
opened.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gdkdisplay.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gdk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gdkdragcontext.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.gdk.Display </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.gdk.DragContext</td></tr></table></div></body></html>
|