set_custom


Description:

[ Version ( since = "2.12" ) ]
public void set_custom (Widget? custom_widget)

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 Image and Label is embedded in the tooltip, which can be configured using set_markup and set_icon.

Parameters:

this

a Tooltip

custom_widget

a Widget, or null to unset the old custom widget.




2022 vala-language.org