Property

GtkStatusIcon:tooltip-text

since: 2.16

Declaration

property tooltip-text: utf8 [ read, write ]

Description [src]

Sets the text of tooltip to be the given string.

Also see gtk_tooltip_set_text().

This is a convenience property which will take care of getting the tooltip shown if the given string is not NULL. GtkStatusIcon:has-tooltip will automatically be set to TRUE and the default handler for the GtkStatusIcon::query-tooltip signal will take care of displaying the tooltip.

Note that some platforms have limitations on the length of tooltips that they allow on status icons, e.g. Windows only shows the first 64 characters.

Type:gchar*

Available since: 2.16

Default valueNULL
Getter methodgtk_status_icon_get_tooltip_text()
Setter methodgtk_status_icon_set_tooltip_text()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno