Tooltip.setCustom

Replaces the widget packed into the tooltip with custom_widget. custom_widget does not get destroyed when the tooltip goes away. By default a box with a gtk.Image and gtk.Label is embedded in the tooltip, which can be configured using Tooltip.setMarkup and Tooltip.setIcon.

class Tooltip
void
setCustom

Parameters

customWidget Widget

a gtk.Widget, or NULL to unset the old custom widget.

Meta

Since

2.12