Property

GtkStatusIcon:has-tooltip

since: 2.16

Declaration

property has-tooltip: gboolean [ read, write ]

Description [src]

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.

Type:gboolean

Available since: 2.16

Flags

Readableyes
Writableyes
Constructno
Construct onlyno