From 5c70c2fafade28d877ea6a864d3746798dd08e4f Mon Sep 17 00:00:00 2001 From: Dieter Verfaillie Date: Tue, 8 Mar 2011 17:57:21 +0100 Subject: reference: pygtk-gtkstatusicon.xml: add missing methods and properties --- docs/reference/pygtk-gtkstatusicon.xml | 276 ++++++++++++++++++++++++++++++++- 1 file changed, 274 insertions(+), 2 deletions(-) diff --git a/docs/reference/pygtk-gtkstatusicon.xml b/docs/reference/pygtk-gtkstatusicon.xml index b48ab546..d694073c 100644 --- a/docs/reference/pygtk-gtkstatusicon.xml +++ b/docs/reference/pygtk-gtkstatusicon.xml @@ -106,7 +106,43 @@ set_from_gicon gicon - + + set_name + name + + + set_title + title + + + get_title + + + + set_has_tooltip + has_tooltip + + + get_has_tooltip + + + + set_tooltip_text + text + + + get_tooltip_text + + + + set_tooltip_markup + markup + + + get_tooltip_markup + + + Functions @@ -228,6 +264,32 @@ value: gtk.IMAGE_EMPTY. + + "title" + Read-Write + The title of this tray icon. This should be a short, human-readable, + localized string describing the tray icon. It may be used by tools like + screen readers to render the tray icon. + Default value: None. + This property is available in GTK+ 2.18 and above. + + + "tooltip-markup" + Read-Write + Sets the text of the tooltip to be the given string, which is marked up + with the Pango text markup language. + Default value: None. + This property is available in GTK+ 2.16 and above. + + + + "tooltip-text" + Read-Write + Sets the text of tooltip to be the given string. + Default value: None. + This property is available in GTK+ 2.16 and above. + + "visible" Read-Write @@ -1130,6 +1192,216 @@ + + gtk.StatusIcon.set_name + + + set_name + name + + + + name : + the name. + + + + + This method is available in PyGTK 2.22 and above. + + + The set_name() method sets the name of this tray icon. + This should be a string identifying this icon. It is may be used for sorting the icons + in the tray and will not be shown to the user. + + + + + gtk.StatusIcon.set_title + + + set_title + title + + + + title : + the title. + + + + + This method is available in PyGTK 2.22 and above. + + + The set_title() method sets the title of this tray icon. + This should be a short, human-readable, localized string describing the tray icon. It + may be used by tools like screen readers to render the tray icon. + + + + + gtk.StatusIcon.get_title + + + get_title + + + + + Returns : + the title of the status icon. + + + + + This method is available in PyGTK 2.22 and above. + + + The get_title() method gets the title of this tray icon. + + + + + gtk.StatusIcon.set_has_tooltip + + + set_has_tooltip + has_tooltip + + + + has_tooltip : + True if the status icon has a tooltip, False otherwise. + + + + + This method is available in PyGTK 2.16 and above. + + + The set_has_tooltip() method sets the "has-tooltip" property. + + + + + gtk.StatusIcon.get_has_tooltip + + + get_has_tooltip + + + + + Returns : + True if the status icon has a tooltip, False otherwise.. + + + + + This method is available in PyGTK 2.16 and above. + + + The get_has_tooltip() method returns the current value of the "has-tooltip" property. + + + + + gtk.StatusIcon.set_tooltip_text + + + set_tooltip_text + text + + + + text : + the contents of the tooltip for the status icon, or None. + + + + + This method is available in PyGTK 2.16 and above. + + + The set_tooltip_text() method sets text + as the contents of the tooltip. This function will take care of setting + the "has-tooltip" property to True and of the default handler + for the "query-tooltip" signal. + + + + + gtk.StatusIcon.get_tooltip_text + + + get_tooltip_text + + + + + Returns : + the tooltip text, or None. + + + + + This method is available in PyGTK 2.16 and above. + + + The get_tooltip_text() method gets the + contents of the tooltip for the status icon. + + + + + gtk.StatusIcon.set_tooltip_markup + + + set_tooltip_markup + markup + + + + markup : + the contents of the tooltip for widget, or None. + + + + + This method is available in PyGTK 2.16 and above. + + + The set_tooltip_markup() method sets markup as the + contents of the tooltip, which is marked up with the Pango text markup language. + This function will take care of setting the "has-tooltip" property to + True and of the default handler for the "query-tooltip" signal. + + + + + gtk.StatusIcon.get_tooltip_markup + + + get_tooltip_markup + + + + + Returns : + the tooltip text, or None. + + + + + This method is available in PyGTK 2.16 and above. + + + The get_tooltip_markup() method gets the + contents of the tooltip for the status icon. + + + @@ -1219,7 +1491,7 @@ are activated is platform-dependent. The button and - activate_timeout parameters should be passed as + activate_time parameters should be passed as the last two arguments to the gtk.Menu.popup() method. -- cgit v1.2.1