WidgetGidBuilderImpl.hasTooltip

Set hasTooltip property.

class WidgetGidBuilderImpl(T)
T
hasTooltip
(
bool propval
)

Parameters

propval bool

Enables or disables the emission of #GtkWidget::query-tooltip on @widget. A value of true indicates that @widget can have a tooltip, in this case the widget will be queried using #GtkWidget::query-tooltip to determine whether it will provide a tooltip or not.

Note that setting this property to true for the first time will change the event masks of the GdkWindows of this widget to include leave-notify and motion-notify events. This cannot and will not be undone when the property is set to false again.

Return Value

Type: T

Builder instance for fluent chaining