pygtk r3101 - in trunk/docs: icons reference
- From: gianmt svn gnome org
- To: svn-commits-list gnome org
- Subject: pygtk r3101 - in trunk/docs: icons reference
- Date: Sun, 1 Mar 2009 23:48:10 +0000 (UTC)
Author: gianmt
Date: Sun Mar 1 23:48:10 2009
New Revision: 3101
URL: http://svn.gnome.org/viewvc/pygtk?rev=3101&view=rev
Log:
2009-03-01 Gian Mario Tagliaretti <gianmt gnome org>
* pygtk-gtktoolitem.xml:
* pygtk-gtktooltip.xml:
* pygtk-gtk-stock-items.xml:
* pygtk-gtkselectiondata.xml: Update docs to 2.14
Added:
trunk/docs/icons/stock_page_setup_24.png (contents, props changed)
trunk/docs/icons/stock_print_error_24.png (contents, props changed)
trunk/docs/icons/stock_print_paused_24.png (contents, props changed)
trunk/docs/icons/stock_print_report_24.png (contents, props changed)
trunk/docs/icons/stock_print_warning_24.png (contents, props changed)
Modified:
trunk/docs/reference/ChangeLog
trunk/docs/reference/pygtk-gtk-stock-items.xml
trunk/docs/reference/pygtk-gtkselectiondata.xml
trunk/docs/reference/pygtk-gtktoolitem.xml
trunk/docs/reference/pygtk-gtktooltip.xml
Added: trunk/docs/icons/stock_page_setup_24.png
==============================================================================
Binary file. No diff available.
Added: trunk/docs/icons/stock_print_error_24.png
==============================================================================
Binary file. No diff available.
Added: trunk/docs/icons/stock_print_paused_24.png
==============================================================================
Binary file. No diff available.
Added: trunk/docs/icons/stock_print_report_24.png
==============================================================================
Binary file. No diff available.
Added: trunk/docs/icons/stock_print_warning_24.png
==============================================================================
Binary file. No diff available.
Modified: trunk/docs/reference/pygtk-gtk-stock-items.xml
==============================================================================
--- trunk/docs/reference/pygtk-gtk-stock-items.xml (original)
+++ trunk/docs/reference/pygtk-gtk-stock-items.xml Sun Mar 1 23:48:10 2009
@@ -768,6 +768,17 @@
</varlistentry>
<varlistentry>
+ <term><literal>gtk.STOCK_PAGE_SETUP</literal></term>
+ <listitem>
+ <simpara><inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="icons/stock_page_setup_24.png" format="png"/>
+ </imageobject>
+ </inlinemediaobject>Available in GTK+ 2.14 and above.</simpara>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><literal>gtk.STOCK_PASTE</literal></term>
<listitem>
<simpara><inlinemediaobject>
@@ -801,6 +812,28 @@
</varlistentry>
<varlistentry>
+ <term><literal>gtk.STOCK_PRINT_ERROR</literal></term>
+ <listitem>
+ <simpara><inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="icons/stock_print_error_24.png" format="png"/>
+ </imageobject>
+ </inlinemediaobject>Available in GTK+ 2.14 and above.</simpara>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><literal>gtk.STOCK_PRINT_PAUSED</literal></term>
+ <listitem>
+ <simpara><inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="icons/stock_print_paused_24.png" format="png"/>
+ </imageobject>
+ </inlinemediaobject>Available in GTK+ 2.14 and above.</simpara>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><literal>gtk.STOCK_PRINT_PREVIEW</literal></term>
<listitem>
<simpara><inlinemediaobject>
@@ -812,6 +845,28 @@
</varlistentry>
<varlistentry>
+ <term><literal>gtk.STOCK_PRINT_REPORT</literal></term>
+ <listitem>
+ <simpara><inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="icons/stock_print_report_24.png" format="png"/>
+ </imageobject>
+ </inlinemediaobject>Available in GTK+ 2.14 and above.</simpara>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><literal>gtk.STOCK_PRINT_WARNING</literal></term>
+ <listitem>
+ <simpara><inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="icons/stock_print_warning_24.png" format="png"/>
+ </imageobject>
+ </inlinemediaobject>Available in GTK+ 2.14 and above.</simpara>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><literal>gtk.STOCK_PROPERTIES</literal></term>
<listitem>
<simpara><inlinemediaobject>
Modified: trunk/docs/reference/pygtk-gtkselectiondata.xml
==============================================================================
--- trunk/docs/reference/pygtk-gtkselectiondata.xml (original)
+++ trunk/docs/reference/pygtk-gtkselectiondata.xml Sun Mar 1 23:48:10 2009
@@ -91,6 +91,33 @@
<methodname><link linkend="method-gtkselectiondata--targets-include-uri">targets_include_uri</link></methodname>
<methodparam></methodparam>
</methodsynopsis>
+
+ <!-- NOT IMPLEMENTED
+ <methodsynopsis language="python">
+ <methodname><link linkend="method-gtkselectiondata- -get-data">get_data</link></methodname>
+ <methodparam></methodparam>
+ </methodsynopsis>
+ -->
+ <methodsynopsis language="python">
+ <methodname><link linkend="method-gtkselectiondata--get-data-type">get_data_type</link></methodname>
+ <methodparam></methodparam>
+ </methodsynopsis>
+ <methodsynopsis language="python">
+ <methodname><link linkend="method-gtkselectiondata--get-display">get_display</link></methodname>
+ <methodparam></methodparam>
+ </methodsynopsis>
+ <methodsynopsis language="python">
+ <methodname><link linkend="method-gtkselectiondata--get-format">get_format</link></methodname>
+ <methodparam></methodparam>
+ </methodsynopsis>
+ <methodsynopsis language="python">
+ <methodname><link linkend="method-gtkselectiondata--get-length">get_length</link></methodname>
+ <methodparam></methodparam>
+ </methodsynopsis>
+ <methodsynopsis language="python">
+ <methodname><link linkend="method-gtkselectiondata--get-target">get_target</link></methodname>
+ <methodparam></methodparam>
+ </methodsynopsis>
</classsynopsis>
<programlisting>
@@ -638,6 +665,121 @@
</refsect2>
+ <refsect2 id="method-gtkselectiondata--get-data-type">
+ <title>gtk.SelectionData.get_data_type</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>get_data_type</methodname>
+ <methodparam></methodparam>
+ </methodsynopsis></programlisting>
+
+ <variablelist>
+ <varlistentry>
+ <term><emphasis>Returns</emphasis> :</term>
+ <listitem><simpara>the data type of the selection.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.14 and above.</para>
+ </note>
+
+ <para>Retrieves the data type of the selection.</para>
+
+ </refsect2>
+
+ <refsect2 id="method-gtkselectiondata--get-display">
+ <title>gtk.SelectionData.get_display</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>get_display</methodname>
+ <methodparam></methodparam>
+ </methodsynopsis></programlisting>
+
+ <variablelist>
+ <varlistentry>
+ <term><emphasis>Returns</emphasis> :</term>
+ <listitem><simpara>the display of the selection.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.14 and above.</para>
+ </note>
+
+ <para>Retrieves the display of the selection.</para>
+
+ </refsect2>
+
+ <refsect2 id="method-gtkselectiondata--get-format">
+ <title>gtk.SelectionData.get_format</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>get_format</methodname>
+ <methodparam></methodparam>
+ </methodsynopsis></programlisting>
+
+ <variablelist>
+ <varlistentry>
+ <term><emphasis>Returns</emphasis> :</term>
+ <listitem><simpara>the format of the selection.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.14 and above.</para>
+ </note>
+
+ <para>Retrieves the format of the selection.</para>
+
+ </refsect2>
+
+ <refsect2 id="method-gtkselectiondata--get-length">
+ <title>gtk.SelectionData.get_length</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>get_length</methodname>
+ <methodparam></methodparam>
+ </methodsynopsis></programlisting>
+
+ <variablelist>
+ <varlistentry>
+ <term><emphasis>Returns</emphasis> :</term>
+ <listitem><simpara>the length of the data of the selection.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.14 and above.</para>
+ </note>
+
+ <para>Retrieves the length of the data of the selection.</para>
+
+ </refsect2>
+
+ <refsect2 id="method-gtkselectiondata--get-target">
+ <title>gtk.SelectionData.get_targets</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>get_target</methodname>
+ <methodparam></methodparam>
+ </methodsynopsis></programlisting>
+
+ <variablelist>
+ <varlistentry>
+ <term><emphasis>Returns</emphasis> :</term>
+ <listitem><simpara>the target of the selection.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.14 and above.</para>
+ </note>
+
+ <para>Retrieves the target of the selection.</para>
+
+ </refsect2>
+
</refsect1>
<refsect1>
Modified: trunk/docs/reference/pygtk-gtktoolitem.xml
==============================================================================
--- trunk/docs/reference/pygtk-gtktoolitem.xml (original)
+++ trunk/docs/reference/pygtk-gtktoolitem.xml Sun Mar 1 23:48:10 2009
@@ -113,6 +113,10 @@
<methodname><link linkend="method-gtktoolitem--set-tooltip-text">set_tooltip_text</link></methodname>
<methodparam><parameter role="keyword">text</parameter></methodparam>
</methodsynopsis>
+ <methodsynopsis language="python">
+ <methodname><link linkend="method-gtktoolitem--toolbar-reconfigured">toolbar_reconfigured</link></methodname>
+ <methodparam></methodparam>
+ </methodsynopsis>
</classsynopsis>
</refsect1>
@@ -1024,6 +1028,32 @@
<methodname><link linkend="method-gtkwidget--set-tooltip-text">gtk.Widget.set_tooltip_text</link></methodname>().</para>
</refsect2>
+
+ <refsect2 id="method-gtktoolitem--toolbar-reconfigured">
+ <title>gtk.ToolItem.toolbar_reconfigured</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>toolbar_reconfigured</methodname>
+ <methodparam></methodparam>
+ </methodsynopsis></programlisting>
+ <variablelist>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.14 and above.</para>
+ </note>
+
+ <para>
+ The <methodname>toolbar_reconfigured</methodname>() method emits the signal
+ "<link linkend="signal-gtktoolitem--toolbar-reconfigured">toolbar-reconfigured</link>"
+ on tool_item.
+ <link linkend="class-gtktoolbar"><classname>gtk.ToolBar</classname></link>
+ and other
+ <link linkend="class-gtktoolshell"><classname>gtk.ToolShell</classname></link>
+ implementations use this function to notify children, when some aspect of their configuration changes.
+ </para>
+
+ </refsect2>
</refsect1>
Modified: trunk/docs/reference/pygtk-gtktooltip.xml
==============================================================================
--- trunk/docs/reference/pygtk-gtktooltip.xml (original)
+++ trunk/docs/reference/pygtk-gtktooltip.xml Sun Mar 1 23:48:10 2009
@@ -24,6 +24,11 @@
<methodparam><parameter role="keyword">pixbuf</parameter></methodparam>
</methodsynopsis>
<methodsynopsis language="python">
+ <methodname><link linkend="method-gtktooltip--set-icon-from-stock">set_icon_from_icon_name</link></methodname>
+ <methodparam><parameter role="keyword">icon_name</parameter></methodparam>
+ <methodparam><parameter role="keyword">size</parameter></methodparam>
+ </methodsynopsis>
+ <methodsynopsis language="python">
<methodname><link linkend="method-gtktooltip--set-icon-from-stock">set_icon_from_stock</link></methodname>
<methodparam><parameter role="keyword">stock_id</parameter></methodparam>
<methodparam><parameter role="keyword">size</parameter></methodparam>
@@ -200,6 +205,38 @@
</para>
</refsect2>
+ <refsect2 id="method-gtktooltip--set-icon-from-icon-name">
+ <title>gtk.Tooltip.set_icon_from_icon_name</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>set_icon_from_icon_name</methodname>
+ <methodparam><parameter>icon_name</parameter></methodparam>
+ <methodparam><parameter>size</parameter></methodparam>
+ </methodsynopsis></programlisting>
+
+ <variablelist>
+ <varlistentry>
+ <term><parameter role="keyword">icon_name</parameter> :</term>
+ <listitem><simpara>an icon name, or <literal>None</literal>.</simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter role="keyword">size</parameter> :</term>
+ <listitem><simpara>A stock icon size.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.14 and above.</para>
+ </note>
+
+ <para>
+ The <methodname>set_icon_from_icon_name</methodname>() method sets
+ the icon of the tooltip (which is in front of the text) to be the
+ icon indicated by icon_name with the size indicated by size. If icon_name
+ is <literal>None</literal>, the image will be hidden.
+ </para>
+ </refsect2>
+
<refsect2 id="method-gtktooltip--set-icon-from-stock">
<title>gtk.Tooltip.set_icon_from_stock</title>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]