/usr/share/gtk-doc/html/pygtk/class-gtkinputdialog.html is in python-gtk2-doc 2.24.0-4ubuntu1.
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.InputDialog</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="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkinfobar.html" title="gtk.InfoBar"><link rel="next" href="class-gtkinvisible.html" title="gtk.Invisible"></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.InputDialog</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkinfobar.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkinvisible.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.InputDialog"><a name="class-gtkinputdialog"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.InputDialog</h2><p>gtk.InputDialog — a dialog for configuring devices for the XInput
extension.</p></div><div class="refsect1" title="Synopsis"><a name="id3765591"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.InputDialog</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a></span></span>):
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-gtkinputdialog.html#constructor-gtkinputdialog" title="Constructor">gtk.InputDialog</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3765640"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
+-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
+-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
+-- <a class="link" href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
+-- <a class="link" href="class-gtkbin.html" title="gtk.Bin">gtk.Bin</a>
+-- <a class="link" href="class-gtkwindow.html" title="gtk.Window">gtk.Window</a>
+-- <a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a>
+-- <a class="link" href="class-gtkinputdialog.html" title="gtk.InputDialog">gtk.InputDialog</a>
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3765704"></a><h2>Implemented Interfaces</h2><p>
<a class="link" href="class-gtkinputdialog.html" title="gtk.InputDialog"><code class="classname">gtk.InputDialog</code></a>
implements
<a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
</p></div><div class="refsect1" title="gtk.InputDialog Properties"><a name="properties-gtkinputdialog"></a><h2>gtk.InputDialog Properties</h2><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p><p><a class="link" href="class-gtkwidget.html#properties-gtkwidget" title="gtk.Widget Properties">gtk.Widget Properties</a></p><p><a class="link" href="class-gtkcontainer.html#properties-gtkcontainer" title="gtk.Container Properties">gtk.Container Properties</a></p><p><a class="link" href="class-gtkwindow.html#properties-gtkwindow" title="gtk.Window Properties">gtk.Window Properties</a></p><p><a class="link" href="class-gtkdialog.html#properties-gtkdialog" title="gtk.Dialog Properties">gtk.Dialog Properties</a></p></div><div class="refsect1" title="gtk.InputDialog Style Properties"><a name="style-properties-gtkinputdialog"></a><h2>gtk.InputDialog Style Properties</h2><p><a class="link" href="class-gtkwidget.html#style-properties-gtkwidget" title="gtk.Widget Style Properties">gtk.Widget Style Properties</a></p><p><a class="link" href="class-gtkdialog.html#style-properties-gtkdialog" title="gtk.Dialog Style Properties">gtk.Dialog Style Properties</a></p></div><div class="refsect1" title="gtk.InputDialog Signal Prototypes"><a name="signal-prototypes-gtkinputdialog"></a><h2>gtk.InputDialog Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkwidget.html#signal-prototypes-gtkwidget" title="gtk.Widget Signal Prototypes">gtk.Widget Signal Prototypes</a></p><p><a class="link" href="class-gtkcontainer.html#signal-prototypes-gtkcontainer" title="gtk.Container Signal Prototypes">gtk.Container Signal Prototypes</a></p><p><a class="link" href="class-gtkwindow.html#signal-prototypes-gtkwindow" title="gtk.Window Signal Prototypes">gtk.Window Signal Prototypes</a></p><p><a class="link" href="class-gtkdialog.html#signal-prototypes-gtkdialog" title="gtk.Dialog Signal Prototypes">gtk.Dialog Signal Prototypes</a></p><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-gtkinputdialog.html#signal-gtkinputdialog--disable-device" title='The "disable-device" gtk.InputDialog Signal'>disable-device</a>"</span></p></td><td><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>inputdialog</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>deviceid</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><tr><td><p><span class="term">"<a class="link" href="class-gtkinputdialog.html#signal-gtkinputdialog--enable-device" title='The "enable-device" gtk.InputDialog Signal'>enable-device</a>"</span></p></td><td><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>inputdialog</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>deviceid</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="id3766027"></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 widget is considered too specialized or little-used for
PyGTK, and will in the future be moved to some other package. If your
application needs this widget, feel free to use it, as the widget does work
and is useful in some applications; it's just not of general interest.
However, it will eventually move out of the PyGTK distribution.</p></div><p><a class="link" href="class-gtkinputdialog.html" title="gtk.InputDialog"><code class="classname">gtk.InputDialog</code></a>
displays a dialog which allows the user to configure XInput extension
devices. For each device, they can control the mode of the device (disabled,
screen-relative, or window-relative), the mapping of axes to coordinates,
and the mapping of the devices macro keys to key press events. <a class="link" href="class-gtkinputdialog.html" title="gtk.InputDialog"><code class="classname">gtk.InputDialog</code></a>
contains two buttons to which the application can connect; one for closing
the dialog, and one for saving the changes. No actions are bound to these by
default. The changes that the user makes take effect immediately.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkinputdialog"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtk.InputDialog</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 new <a class="link" href="class-gtkinputdialog.html" title="gtk.InputDialog"><code class="classname">gtk.InputDialog</code></a>
widget</td></tr></tbody></table><p>Creates a new <a class="link" href="class-gtkinputdialog.html" title="gtk.InputDialog"><code class="classname">gtk.InputDialog</code></a>.</p></div><div class="refsect1" title="Signals"><a name="id3766141"></a><h2>Signals</h2><div class="refsect2" title='The "disable-device" gtk.InputDialog Signal'><a name="signal-gtkinputdialog--disable-device"></a><h3>The "disable-device" gtk.InputDialog Signal</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>inputdialog</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>deviceid</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>inputdialog</code></em> :</span></p></td><td>the inputdialog that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>deviceid</code></em> :</span></p></td><td>the ID of the newly disabled
device.</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><p>The "disable-device" signal is emitted when the user changes the
mode of a device from a <code class="literal">gtk.gdk.MODE_SCREEN</code> or
<code class="literal">gtk.gdk.MODE_WINDOW</code> to
<code class="literal">gtk.gdk.MODE_ENABLED</code>.</p></div><div class="refsect2" title='The "enable-device" gtk.InputDialog Signal'><a name="signal-gtkinputdialog--enable-device"></a><h3>The "enable-device" gtk.InputDialog Signal</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>inputdialog</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>deviceid</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>inputdialog</code></em> :</span></p></td><td>the inputdialog that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>deviceid</code></em> :</span></p></td><td>the ID of the newly disabled
device.</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><p>The "enable-device" signal is emitted when the user changes the
mode of a device from <code class="literal">gtk.gdk.MODE_DISABLED</code> to a
<code class="literal">gtk.gdk.MODE_SCREEN</code> or
<code class="literal">gtk.gdk.MODE_WINDOW</code>. </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-gtkinfobar.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtkinvisible.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.InfoBar </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.Invisible</td></tr></table></div></body></html>
|