Property

GtkWidget:has-tooltip

Declaration

property has-tooltip: gboolean [ read, write ]

Description [src]

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.

Type: gboolean
Available since:2.12

Flags

Readableyes
Writableyes
Constructno
Construct onlyno