pygtk r3045 - trunk/docs/reference
- From: gianmt svn gnome org
- To: svn-commits-list gnome org
- Subject: pygtk r3045 - trunk/docs/reference
- Date: Sun, 21 Sep 2008 23:33:16 +0000 (UTC)
Author: gianmt
Date: Sun Sep 21 23:33:16 2008
New Revision: 3045
URL: http://svn.gnome.org/viewvc/pygtk?rev=3045&view=rev
Log:
add docs for pango.Layout.get_font_description() fix #541510
Modified:
trunk/docs/reference/ChangeLog
trunk/docs/reference/pygtk-pangolayout.xml
Modified: trunk/docs/reference/pygtk-pangolayout.xml
==============================================================================
--- trunk/docs/reference/pygtk-pangolayout.xml (original)
+++ trunk/docs/reference/pygtk-pangolayout.xml Sun Sep 21 23:33:16 2008
@@ -65,6 +65,11 @@
</methodsynopsis>
<methodsynopsis language="python">
<methodname><link
+linkend="method-pangolayout--get-font-description">get_font_description</link></methodname>
+ <methodparam></methodparam>
+ </methodsynopsis>
+ <methodsynopsis language="python">
+ <methodname><link
linkend="method-pangolayout--set-font-description">set_font_description</link></methodname>
<methodparam><parameter
role="keyword">desc</parameter></methodparam>
@@ -476,6 +481,25 @@
using two <parameter>accel_marker</parameter> characters together.</para>
</refsect2>
+
+ <refsect2 id="method-pangolayout--get-font-description">
+ <title>pango.Layout.get_font_description</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>get_font_description</methodname>
+ <methodparam></methodparam> </methodsynopsis></programlisting>
+ <variablelist>
+ <varlistentry>
+ <term><emphasis>Returns</emphasis> :</term>
+ <listitem><simpara>the layout's font description, or <literal>None</literal>
+ if the font description from the layout's context is inherited.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <para>The <methodname>get_font_description</methodname>() method returns
+ the font description for the layout, if any</para>
+
+ </refsect2>
<refsect2 id="method-pangolayout--set-font-description">
<title>pango.Layout.set_font_description</title>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]