summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Finlay <finlay@src.gnome.org>2004-04-25 04:42:56 +0000
committerJohn Finlay <finlay@src.gnome.org>2004-04-25 04:42:56 +0000
commitc43b0118d32e2a35db7991f7aba3df6b44600a33 (patch)
tree2e6a73b2a597687daaf5f58ca1ccafde0f4f4359
parent9ee1dc3cdc92a85eb5bb14358fb3e3abfe30a90c (diff)
downloadpygtk-c43b0118d32e2a35db7991f7aba3df6b44600a33.tar.gz
pygtk-pangofontsetsimple.xml Add.
* pygtk-pangofontsetsimple.xml Add.
-rw-r--r--docs/reference/ChangeLog2
-rw-r--r--docs/reference/pygtk-pangofontsetsimple.xml149
2 files changed, 151 insertions, 0 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 650b119d..1d5cdbcd 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -16,6 +16,8 @@
* pygtk-pangofontset.xml Fix typo in Description.
(foreach) Add description of this PyGTK 2.4 method.
+ * pygtk-pangofontsetsimple.xml Add.
+
2004-04-23 John Finlay <finlay@moeraki.com>
* pygtk-gdkwindow.xml (set_accept_focus) (get_group)
diff --git a/docs/reference/pygtk-pangofontsetsimple.xml b/docs/reference/pygtk-pangofontsetsimple.xml
new file mode 100644
index 00000000..352c777b
--- /dev/null
+++ b/docs/reference/pygtk-pangofontsetsimple.xml
@@ -0,0 +1,149 @@
+<?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>