~ubuntu-branches/ubuntu/natty/pygtk/natty-proposed

« back to all changes in this revision

Viewing changes to docs/html/class-pangofontfamily.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-01-07 11:08:47 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107110847-f5av7e1ttudh7ra6
Tags: 2.17.0-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>pango.FontFamily</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" 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-pangofontface.html" title="pango.FontFace"><link rel="next" href="class-pangofontmap.html" title="pango.FontMap"></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.FontFamily</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-pangofontface.html">Prev</a> </td><th width="60%" align="center">The pango Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-pangofontmap.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-pangofontfamily"></a><div class="titlepage"></div><div class="refnamediv"><h2>pango.FontFamily</h2><p>pango.FontFamily — an object representing a family of related font
2
 
faces.</p></div><div class="refsect1" lang="en"><a name="id2940029"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">pango.FontFamily</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
3
 
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangofontfamily.html#method-pangofontfamily--list-faces" title="pango.FontFamily.list_faces">list_faces</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangofontfamily.html#method-pangofontfamily--get-name" title="pango.FontFamily.get_name">get_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangofontfamily.html#method-pangofontfamily--is-monospace" title="pango.FontFamily.is_monospace">is_monospace</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3162247"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>pango.FontFamily</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.1"><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-pangofontface.html" title="pango.FontFace"><link rel="next" href="class-pangofontmap.html" title="pango.FontMap"></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.FontFamily</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-pangofontface.html">Prev</a> </td><th width="60%" align="center">The pango Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-pangofontmap.html">Next</a></td></tr></table><hr></div><div class="refentry" title="pango.FontFamily"><a name="class-pangofontfamily"></a><div class="titlepage"></div><div class="refnamediv"><h2>pango.FontFamily</h2><p>pango.FontFamily — an object representing a family of related font
 
2
faces.</p></div><div class="refsect1" title="Synopsis"><a name="id3626217"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">pango.FontFamily</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
 
3
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangofontfamily.html#method-pangofontfamily--list-faces" title="pango.FontFamily.list_faces">list_faces</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangofontfamily.html#method-pangofontfamily--get-name" title="pango.FontFamily.get_name">get_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-pangofontfamily.html#method-pangofontfamily--is-monospace" title="pango.FontFamily.is_monospace">is_monospace</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3105465"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
4
4
  +-- <a class="link" href="class-pangofontfamily.html" title="pango.FontFamily">pango.FontFamily</a>
5
 
</pre></div><div class="refsect1" lang="en"><a name="id3162271"></a><h2>Description</h2><p>The <a class="link" href="class-pangofontfamily.html" title="pango.FontFamily"><code class="classname">pango.FontFamily</code></a> 
 
5
</pre></div><div class="refsect1" title="Description"><a name="id3132912"></a><h2>Description</h2><p>The <a class="link" href="class-pangofontfamily.html" title="pango.FontFamily"><code class="classname">pango.FontFamily</code></a> 
6
6
object is used to represent a family of related font faces. The faces in a
7
7
family share a common design, but differ in slant, weight, width and other
8
8
aspects. A list of <a class="link" href="class-pangofontfamily.html" title="pango.FontFamily"><code class="classname">pango.FontFamily</code></a> 
10
10
object using the <a class="link" href="class-pangocontext.html#method-pangocontext--list-families" title="pango.Context.list_families"><code class="methodname">pango.Context.list_families</code>()</a> 
11
11
method and from a <a class="link" href="class-pangofontmap.html" title="pango.FontMap"><code class="classname">pango.FontMap</code></a>
12
12
object using the <a class="link" href="class-pangofontmap.html#method-pangofontmap--list-families" title="pango.FontMap.list_families"><code class="methodname">pango.FontMap.list_families</code>()</a> 
13
 
method.</p></div><div class="refsect1" lang="en"><a name="id3162326"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-pangofontfamily--list-faces"></a><h3>pango.FontFamily.list_faces</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">list_faces</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 of <a class="link" href="class-pangofontface.html" title="pango.FontFace"><code class="classname">pango.FontFace</code></a>
 
13
method.</p></div><div class="refsect1" title="Methods"><a name="id3558292"></a><h2>Methods</h2><div class="refsect2" title="pango.FontFamily.list_faces"><a name="method-pangofontfamily--list-faces"></a><h3>pango.FontFamily.list_faces</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">list_faces</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 of <a class="link" href="class-pangofontface.html" title="pango.FontFace"><code class="classname">pango.FontFace</code></a>
14
14
objects.</td></tr></tbody></table><p>The <code class="methodname">list_faces</code>() method returns a list
15
15
of the different <a class="link" href="class-pangofontface.html" title="pango.FontFace"><code class="classname">pango.FontFace</code></a>
16
16
object that make up the font family&gt;. The faces in a family share a common
17
 
design, but differ in slant, weight, width and other aspects.</p></div><div class="refsect2" lang="en"><a name="method-pangofontfamily--get-name"></a><h3>pango.FontFamily.get_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_name</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 name of the family.</td></tr></tbody></table><p>The <code class="methodname">get_name</code>() method returns a string
 
17
design, but differ in slant, weight, width and other aspects.</p></div><div class="refsect2" title="pango.FontFamily.get_name"><a name="method-pangofontfamily--get-name"></a><h3>pango.FontFamily.get_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_name</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 name of the family.</td></tr></tbody></table><p>The <code class="methodname">get_name</code>() method returns a string
18
18
containing the name of the font family. The name is unique among all fonts
19
19
for the font backend and can be used in a <a class="link" href="class-pangofontdescription.html" title="pango.FontDescription"><code class="classname">pango.FontDescription</code></a> 
20
 
to specify that a face from this family is desired.</p></div><div class="refsect2" lang="en"><a name="method-pangofontfamily--is-monospace"></a><h3>pango.FontFamily.is_monospace</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">is_monospace</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><code class="literal">True</code> if the font family is
 
20
to specify that a face from this family is desired.</p></div><div class="refsect2" title="pango.FontFamily.is_monospace"><a name="method-pangofontfamily--is-monospace"></a><h3>pango.FontFamily.is_monospace</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">is_monospace</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><code class="literal">True</code> if the font family is
21
21
          monospace.</td></tr></tbody></table><p>The <code class="methodname">is_monospace</code>() method returns
22
22
      <code class="literal">True</code> if the font family describes a monospace
23
23
      font. A monospace font is a font designed for text display where the