From ea0c3a3c2cfd308488f1eb8de87663cebf286574 Mon Sep 17 00:00:00 2001 From: Dieter Verfaillie Date: Wed, 9 Mar 2011 07:56:10 +0100 Subject: reference: pygtk-gtktooltip.xml: add missing set_icon_from_gicon method and add parameter markup --- docs/reference/pygtk-gtktooltip.xml | 48 ++++++++++++++++++++++++++++++++----- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/docs/reference/pygtk-gtktooltip.xml b/docs/reference/pygtk-gtktooltip.xml index 1b2f47cb..5a41e268 100644 --- a/docs/reference/pygtk-gtktooltip.xml +++ b/docs/reference/pygtk-gtktooltip.xml @@ -33,6 +33,11 @@ stock_id size + + set_icon_from_gicon + gicon + size + set_markup markup @@ -230,10 +235,10 @@ - The set_icon_from_icon_name() 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 None, the image will be hidden. + The set_icon_from_icon_name() 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 None, + the image will be hidden. @@ -263,11 +268,42 @@ The set_icon_from_stock() method sets the icon of the tooltip - (which is in front of the text) to be the stock item indicated by stock_id with the size - indicated by size. If stock_id is None, the image will be hidden. + (which is in front of the text) to be the stock item indicated by stock_id + with the size indicated by size. If stock_id is None, + the image will be hidden. + + gtk.Tooltip.set_icon_from_gicon + + + set_icon_from_gicon + gicon + size + + + + gicon : + the icon to set, or None.. + + + size : + a stock icon size. + + + + + This method is available in PyGTK 2.20 and above. + + + The set_icon_from_gicon() method sets the icon of the + tooltip (which is in front of the text) to be the icon indicated by gicon + with the size indicated by size. If gicon is None, + the image will be hidden. + + + gtk.Tooltip.set_markup -- cgit v1.2.1