<?xml version="1.0" standalone="no"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="class-pangofontsetsimple">
  <refnamediv>
    <refname>pango.FontsetSimple</refname>
    <refpurpose>a simple container for a set of fonts </refpurpose>
  </refnamediv>

  <refsect1>
    <title>Synopsis</title>

    <classsynopsis language="python">
      <ooclass><classname>pango.FontsetSimple</classname></ooclass>
      <ooclass><classname><link linkend="class-pangofontset">pango.Fontset</link></classname></ooclass>
      <constructorsynopsis language="python">
	<methodname>pango.FontsetSimple</methodname>
	<methodparam><parameter role="keyword">language</parameter></methodparam>
      </constructorsynopsis>
      <methodsynopsis language="python">
	<methodname><link linkend="method-pangofontsetsimple--append">append</link></methodname>
	<methodparam><parameter role="keyword">font</parameter></methodparam>
      </methodsynopsis>
      <methodsynopsis language="python">
	<methodname><link linkend="method-pangofontsetsimple--size">size</link></methodname>
	<methodparam></methodparam>  </methodsynopsis>
    </classsynopsis>

  </refsect1>

  <refsect1>
    <title>Ancestry</title>

<synopsis>+-- <link linkend="class-gobject">gobject.GObject</link>
  +-- <link linkend="class-pangofontset">pango.Fontset</link>
    +-- <link linkend="class-pangofontsetsimple">pango.FontsetSimple</link>
</synopsis>

  </refsect1>

  <refsect1>
    <title>Description</title>

    <note>
      <para>This object is available in PyGTK 2.4 and above.</para>
    </note>

    <para>A <link
linkend="class-pangofontsetsimple"><classname>pango.FontsetSimple</classname></link>
is a subclass of <link
linkend="class-pangofontset"><classname>pango.Fontset</classname></link>
that provides a simple container for storing a set of <link
linkend="class-pangofont"><classname>pango.Font</classname></link>
objects. The set of fonts in a <link
linkend="class-pangofontsetsimple"><classname>pango.FontsetSimple</classname></link>
are assemble by using the <link
linkend="method-pangofontsetsimple--append"><methodname>append</methodname>()</link>
method.</para>

  </refsect1>

  <refsect1>
    <title>Constructor</title>

    <programlisting><constructorsynopsis language="python">
	<methodname>pango.FontsetSimple</methodname>
	<methodparam><parameter role="keyword">language</parameter></methodparam>
      </constructorsynopsis></programlisting>
    <variablelist>
      <varlistentry>
	<term><parameter role="keyword">language</parameter>&nbsp;:</term>
	<listitem><simpara>a <link
	linkend="class-pangolanguage"><classname>pango.Language</classname></link>
	object</simpara></listitem>
      </varlistentry>
      <varlistentry>
	<term><emphasis>Returns</emphasis>&nbsp;:</term>
	<listitem><simpara>a new <link
	linkend="class-pangofontsetsimple"><classname>pango.FontsetSimple</classname></link>
	object.</simpara></listitem>
      </varlistentry>
    </variablelist>

    <note>
      <para>This constructor is available in PyGTK 2.4 and above.</para>
    </note>

    <para>Creates a new <link
linkend="class-pangofontsetsimple"><classname>pango.FontsetSimple</classname></link>
for the <link
linkend="class-pangolanguage"><classname>pango.Language</classname></link>
specified by language.</para>


  </refsect1>

  <refsect1>
    <title>Methods</title>

    <refsect2 id="method-pangofontsetsimple--append">
      <title>pango.FontsetSimple.append</title>

      <programlisting><methodsynopsis language="python">
	  <methodname>append</methodname>
	  <methodparam><parameter role="keyword">font</parameter></methodparam>
	</methodsynopsis></programlisting>
      <variablelist>
	<varlistentry>
	  <term><parameter role="keyword">font</parameter>&nbsp;:</term>
	  <listitem><simpara>a <link linkend="class-pangofont"><classname>pango.Font</classname></link>.</simpara></listitem>
	</varlistentry>
      </variablelist>

      <note>
	<para>This method is available in PyGTK 2.4 and above.</para>
      </note>

      <para>The <methodname>append</methodname>() method adds the <link
linkend="class-pangofont"><classname>pango.Font</classname></link> specified
by font to the fontset.</para>

    </refsect2>

    <refsect2 id="method-pangofontsetsimple--size">
      <title>pango.FontsetSimple.size</title>

      <programlisting><methodsynopsis language="python">
	  <methodname>size</methodname>
	  <methodparam></methodparam>
	</methodsynopsis></programlisting>
      <variablelist>
	<varlistentry>
	  <term><emphasis>Returns</emphasis>&nbsp;:</term>
	  <listitem><simpara>the size of the font set.</simpara></listitem>
	</varlistentry>
      </variablelist>

      <note>
	<para>This method is available in PyGTK 2.4 and above.</para>
      </note>

      <para>The <methodname>size</methodname>() method returns the number of
fonts in the fontset.</para>

    </refsect2>

  </refsect1>

</refentry>
