Gtk.Widget.prototype.set_tooltip_window
function set_tooltip_window(custom_window:Gtk.Window):void { // Gjs wrapper for gtk_widget_set_tooltip_window() }
Replaces the default, usually yellow, window used for displaying tooltips with custom_window. GTK+ will take care of showing and hiding custom_window at the right moment, to behave likewise as the default tooltip window. If custom_window is null, 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 Gtk.Widget.prototype.set_name.
Since 2.12
- custom_window
a Gtk.Window, or null