This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-gtkprintoperationpreview.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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.PrintOperationPreview</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-gtkprintoperation.html" title="gtk.PrintOperation"><link rel="next" href="class-gtkprintsettings.html" title="gtk.PrintSettings"></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.PrintOperationPreview</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkprintoperation.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkprintsettings.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.PrintOperationPreview"><a name="class-gtkprintoperationpreview"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.PrintOperationPreview</h2><p>gtk.PrintOperationPreview — an interface for printing preview (new in PyGTK
      2.10)</p></div><div class="refsect1" title="Synopsis"><a name="id3839811"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.PrintOperationPreview</span></span>(<span class="ooclass"><span class="classname">gobject.GInterface</span></span>):
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkprintoperationpreview.html#method-gtkprintoperationpreview--render-page" title="gtk.PrintOperationPreview.render_page">render_page</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>page_nr</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkprintoperationpreview.html#method-gtkprintoperationpreview--end-preview" title="gtk.PrintOperationPreview.end_preview">end_preview</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkprintoperationpreview.html#method-gtkprintoperationpreview--is-selected" title="gtk.PrintOperationPreview.is_selected">is_selected</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>page_nr</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="gtk.PrintOperationPreview Signal Prototypes"><a name="signal-prototypes-gtkprintoperationpreview"></a><h2>gtk.PrintOperationPreview 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-gtkprintoperationpreview.html#signal-gtkprintoperationpreview--got-page-size" title='The "got-page-size" gtk.PrintOperationPreview Signal'>got-page-size</a></span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>printoperationpreview</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>printcontext</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-gtkprintoperationpreview.html#signal-gtkprintoperationpreview--ready" title='The "ready" gtk.PrintOperationPreview Signal'>ready</a></span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>printoperationpreview</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>printcontext</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>pagesetup</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="id3840085"></a><h2>Description</h2><p><a class="link" href="class-gtkprintoperationpreview.html" title="gtk.PrintOperationPreview"><code class="classname">gtk.PrintOperationPreview</code></a>
    is an interface implemented by <a class="link" href="class-gtkprintoperation.html" title="gtk.PrintOperation"><code class="classname">gtk.PrintOperation</code></a>
    for previewing pages before printing.</p></div><div class="refsect1" title="Methods"><a name="id3840111"></a><h2>Methods</h2><div class="refsect2" title="gtk.PrintOperationPreview.render_page"><a name="method-gtkprintoperationpreview--render-page"></a><h3>gtk.PrintOperationPreview.render_page</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">render_page</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>page_nr</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>page_nr</code></strong> :</span></p></td><td>the number of the page to be
          previewed</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.10 and above.</p></div></div><div class="refsect2" title="gtk.PrintOperationPreview.end_preview"><a name="method-gtkprintoperationpreview--end-preview"></a><h3>gtk.PrintOperationPreview.end_preview</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">end_preview</span>(<span class="methodparam"></span>)</code></pre><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.10 and above.</p></div></div><div class="refsect2" title="gtk.PrintOperationPreview.is_selected"><a name="method-gtkprintoperationpreview--is-selected"></a><h3>gtk.PrintOperationPreview.is_selected</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">is_selected</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>page_nr</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>page_nr</code></strong> :</span></p></td><td></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if
          <em class="parameter"><code>page_nr</code></em> is the currently selected
          page</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.10 and above.</p></div><p>Returns <code class="literal">True</code> if the page with the number
      specified by <em class="parameter"><code>page_nr</code></em> is currently
      selected.</p></div></div><div class="refsect1" title="Signals"><a name="id3840344"></a><h2>Signals</h2><div class="refsect2" title='The "got-page-size" gtk.PrintOperationPreview Signal'><a name="signal-gtkprintoperationpreview--got-page-size"></a><h3>The "got-page-size" gtk.PrintOperationPreview Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>printoperationpreview</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>printcontext</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>printoperationpreview</code></em> :</span></p></td><td></td></tr><tr><td><p><span class="term"><em class="parameter"><code>printcontext</code></em> :</span></p></td><td>the print context</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.10 and above.</p></div></div><div class="refsect2" title='The "ready" gtk.PrintOperationPreview Signal'><a name="signal-gtkprintoperationpreview--ready"></a><h3>The "ready" gtk.PrintOperationPreview Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>printoperationpreview</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>printcontext</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>pagesetup</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>printoperationpreview</code></em> :</span></p></td><td></td></tr><tr><td><p><span class="term"><em class="parameter"><code>printcontext</code></em> :</span></p></td><td>the print context</td></tr><tr><td><p><span class="term"><em class="parameter"><code>pagesetup</code></em> :</span></p></td><td>the page setup</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.10 and above.</p></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkprintoperation.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-gtkprintsettings.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.PrintOperation </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.PrintSettings</td></tr></table></div></body></html>