StatusIcon.hasTooltip

Set hasTooltip property.

  1. bool hasTooltip [@property getter]
  2. bool hasTooltip [@property setter]
    class StatusIcon
    @property
    void
    hasTooltip
    (
    bool propval
    )

Parameters

propval bool

Enables or disables the emission of #GtkStatusIcon::query-tooltip on @status_icon. A value of true indicates that @status_icon can have a tooltip, in this case the status icon will be queried using #GtkStatusIcon::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 windows of this status icon to include leave-notify and motion-notify events. This will not be undone when the property is set to false again.

Whether this property is respected is platform dependent. For plain text tooltips, use #GtkStatusIcon:tooltip-text in preference.