[ Version ( since = "2.12" ) ]
public void set_tooltip_text (string? text)
Sets text as the contents of the tooltip.
This function will take care of setting has_tooltip to true and of the default handler for the query_tooltip signal.
See also the tooltip_text property and set_text.
| this |
a Widget |
| text |
the contents of the tooltip for this |