Widget.tooltipText

string tooltipText() @property

Get tooltipText property.

Returns

Sets the text of tooltip to be the given string.

Also see gtk.tooltip.Tooltip.setText.

This is a convenience property which will take care of getting the tooltip shown if the given string is not null: gtk.widget.Widget.hasTooltip will automatically be set to true and there will be taken care of gtk.widget.Widget.queryTooltip in the default signal handler.

Note that if both gtk.widget.Widget.tooltipText and gtk.widget.Widget.tooltipMarkup are set, the last one wins.

void tooltipText(string propval) @property

Set tooltipText property.

Parameters

propvalSets the text of tooltip to be the given string. Also see gtk.tooltip.Tooltip.setText. This is a convenience property which will take care of getting the tooltip shown if the given string is not null: gtk.widget.Widget.hasTooltip will automatically be set to true and there will be taken care of gtk.widget.Widget.queryTooltip in the default signal handler. Note that if both gtk.widget.Widget.tooltipText and gtk.widget.Widget.tooltipMarkup are set, the last one wins.