Package: gtk

Function gtk-widget-tooltip-window

Lambda List

gtk-widget-tooltip-window (widget)

Syntax

(gtk-widget-tooltip-window widget) => window
(setf (gtk-widget-tooltip-window widget) window)

Arguments

widget -- a gtk-widget object
window -- a gtk-window widget, or nil

Details

Accessor of the custom window of the current tooltip.

The gtk-widget-tooltip-window function returns the custom windw of the current tooltip. The (setf gtk-widget-tooltip-window) function replaces the default, usually yellow, window used for displaying tooltips with the custom window.

GTK will take care of showing and hiding the custom window at the right moment, to behave likewise as the default tooltip window. If the custom window is nil, the default tooltip window will be used.

If the custom window should have the default theming it needs to have the name "gtk-tooltip", see the gtk-widget-name function.
 

See also

2021-9-20