set_tip_area


Description:

[ Version ( since = "2.12" ) ]
public void set_tip_area (Rectangle rect)

Sets the area of the widget, where the contents of this tooltip apply, to be rect (in widget coordinates).

This is especially useful for properly setting tooltips on TreeView rows and cells, IconViews, etc.

For setting tooltips on TreeView, please refer to the convenience functions for this: set_tooltip_row and set_tooltip_cell.

Parameters:

this

a Tooltip

rect

a Rectangle




2022 vala-language.org