GtkTooltip: GtkTooltip

Description Methods and Functions Hierarchy Detailed Description Structures Author(s) References

Description

Add tips to your widgets

Methods and Functions

gtkTooltipSetMarkup(object, markup)
gtkTooltipSetText(object, text)
gtkTooltipSetIcon(object, pixbuf)
gtkTooltipSetIconFromStock(object, stock.id, size)
gtkTooltipSetIconFromIconName(object, icon.name = NULL, size)
gtkTooltipSetIconFromGicon(object, gicon, size)
gtkTooltipSetCustom(object, custom.widget)
gtkTooltipTriggerTooltipQuery(display)
gtkTooltipSetTipArea(object, area)

Hierarchy

1
2

Detailed Description

GtkTooltip belongs to the new tooltips API that was introduced in GTK+ 2.12 and which deprecates the old GtkTooltips API.

Basic tooltips can be realized simply by using gtkWidgetSetTooltipText or gtkWidgetSetTooltipMarkup without any explicit tooltip object.

When you need a tooltip with a little more fancy contents, like adding an image, or you want the tooltip to have different contents per GtkTreeView row or cell, you will have to do a little more work:

In the probably rare case where you want to have even more control over the tooltip that is about to be shown, you can set your own GtkWindow which will be used as tooltip window. This works as follows:

Structures

GtkTooltip

undocumented

Author(s)

Derived by RGtkGen from GTK+ documentation

References

https://developer.gnome.org/gtk2/stable/GtkTooltip.html


RGtk2 documentation built on May 30, 2017, 5:53 a.m.

Search within the RGtk2 package
Search all R packages, documentation and source code