Widget.hasTooltip

Get hasTooltip property.

  1. bool hasTooltip [@property getter]
    class Widget
    @property
    bool
    hasTooltip
    ()
  2. bool hasTooltip [@property setter]

Return Value

Type: 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.