Package: gtk

Accessor gtk-status-icon-has-tooltip

Lambda List

gtk-status-icon-has-tooltip (object)

Syntax

(gtk-status-icon-has-tooltip object) => has-tooltip
(setf (gtk-status-icon-has-tooltip object) has-tooltip)

Arguments

object -- a gtk-status-icon widget
has-tooltip -- a boolean whether or not the status icon has a tooltip

Details

Accessor of the has-tooltip slot of the gtk-status-icon class.

The slot access function gtk-status-icon-has-tooltip returns the current value of the has-tooltip property. The slot access function (setf gtk-status-icon-has-tooltip) sets the property.

Enables or disables the emission of "query-tooltip" signals on the status icon. A value of true indicates that the status icon can have a tooltip, in this case the status icon will be queried using the "query-tooltip" signal 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" signals. 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 the tooltip-text property in preference.

Warning

The function gtk-status-icon-has-tooltip has been deprecated since version 3.14 and should not be used in newly written code.
 

See also

2021-7-22