/usr/share/gtk-doc/html/pygtk/class-pangofontsetsimple.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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>pango.FontsetSimple</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="pango-class-reference.html" title="The pango Class Reference"><link rel="prev" href="class-pangofontset.html" title="pango.Fontset"><link rel="next" href="class-pangoglyphstring.html" title="pango.GlyphString"></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">pango.FontsetSimple</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-pangofontset.html">Prev</a> </td><th width="60%" align="center">The pango Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-pangoglyphstring.html">Next</a></td></tr></table><hr></div><div class="refentry" title="pango.FontsetSimple"><a name="class-pangofontsetsimple"></a><div class="titlepage"></div><div class="refnamediv"><h2>pango.FontsetSimple</h2><p>pango.FontsetSimple — a simple container for a set of fonts </p></div><div class="refsect1" title="Synopsis"><a name="id3141650"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">pango.FontsetSimple</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-pangofontset.html" title="pango.Fontset">pango.Fontset</a></span></span>):
<code class="constructorsynopsis"> <span class="methodname">pango.FontsetSimple</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>language</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-pangofontsetsimple.html#method-pangofontsetsimple--append" title="pango.FontsetSimple.append">append</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>font</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-pangofontsetsimple.html#method-pangofontsetsimple--size" title="pango.FontsetSimple.size">size</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id2955872"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
+-- <a class="link" href="class-pangofontset.html" title="pango.Fontset">pango.Fontset</a>
+-- <a class="link" href="class-pangofontsetsimple.html" title="pango.FontsetSimple">pango.FontsetSimple</a>
</pre></div><div class="refsect1" title="Description"><a name="id2925209"></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.4 and above.</p></div><p>A <a class="link" href="class-pangofontsetsimple.html" title="pango.FontsetSimple"><code class="classname">pango.FontsetSimple</code></a>
is a subclass of <a class="link" href="class-pangofontset.html" title="pango.Fontset"><code class="classname">pango.Fontset</code></a>
that provides a simple container for storing a set of <a class="link" href="class-pangofont.html" title="pango.Font"><code class="classname">pango.Font</code></a>
objects. The set of fonts in a <a class="link" href="class-pangofontsetsimple.html" title="pango.FontsetSimple"><code class="classname">pango.FontsetSimple</code></a>
are assemble by using the <a class="link" href="class-pangofontsetsimple.html#method-pangofontsetsimple--append" title="pango.FontsetSimple.append"><code class="methodname">append</code>()</a>
method.</p></div><div class="refsect1" title="Constructor"><a name="id3036227"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">pango.FontsetSimple</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>language</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>language</code></strong> :</span></p></td><td>a <a class="link" href="class-pangolanguage.html" title="pango.Language"><code class="classname">pango.Language</code></a>
object</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-pangofontsetsimple.html" title="pango.FontsetSimple"><code class="classname">pango.FontsetSimple</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 constructor is available in PyGTK 2.4 and above.</p></div><p>Creates a new <a class="link" href="class-pangofontsetsimple.html" title="pango.FontsetSimple"><code class="classname">pango.FontsetSimple</code></a>
for the <a class="link" href="class-pangolanguage.html" title="pango.Language"><code class="classname">pango.Language</code></a>
specified by language.</p></div><div class="refsect1" title="Methods"><a name="id3540589"></a><h2>Methods</h2><div class="refsect2" title="pango.FontsetSimple.append"><a name="method-pangofontsetsimple--append"></a><h3>pango.FontsetSimple.append</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">append</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>font</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>font</code></strong> :</span></p></td><td>a <a class="link" href="class-pangofont.html" title="pango.Font"><code class="classname">pango.Font</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.4 and above.</p></div><p>The <code class="methodname">append</code>() method adds the <a class="link" href="class-pangofont.html" title="pango.Font"><code class="classname">pango.Font</code></a> specified
by font to the fontset.</p></div><div class="refsect2" title="pango.FontsetSimple.size"><a name="method-pangofontsetsimple--size"></a><h3>pango.FontsetSimple.size</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">size</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 size of the font set.</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.4 and above.</p></div><p>The <code class="methodname">size</code>() method returns the number of
fonts in the fontset.</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-pangofontset.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pango-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-pangoglyphstring.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">pango.Fontset </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> pango.GlyphString</td></tr></table></div></body></html>
|