StatusIconPropertyName
public enum StatusIconPropertyName : String, PropertyNameProtocol
Undocumented
-
true
if the statusicon is embedded in a notification area.Declaration
Swift
case embedded = "embedded"
-
Undocumented
Declaration
Swift
case file = "file"
-
The
GIcon
displayed in theGtkStatusIcon
. For themed icons, the image will be updated automatically if the theme changes.Declaration
Swift
case gicon = "gicon"
-
Enables or disables the emission of
GtkStatusIcon::query-tooltip
onstatus_icon
. A value oftrue
indicates thatstatus_icon
can have a tooltip, in this case the status icon will be queried usingGtkStatusIcon::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 tofalse
again.Whether this property is respected is platform dependent. For plain text tooltips, use
GtkStatusIcon:tooltip-text
in preference.Declaration
Swift
case hasTooltip = "has-tooltip"
-
Undocumented
Declaration
Swift
case iconName = "icon-name"
-
The orientation of the tray in which the statusicon is embedded.
Declaration
Swift
case orientation = "orientation"
-
Undocumented
Declaration
Swift
case pixbuf = "pixbuf"
-
Undocumented
Declaration
Swift
case screen = "screen"
-
Undocumented
Declaration
Swift
case size = "size"
-
stock is deprecated: Use #GtkStatusIcon:icon-name instead.
Declaration
Swift
case stock = "stock"
-
Undocumented
Declaration
Swift
case storageType = "storage-type"
-
The title of this tray icon. This should be a short, human-readable, localized string describing the tray icon. It may be used by tools like screen readers to render the tray icon.
Declaration
Swift
case title = "title"
-
Sets the text of tooltip to be the given string, which is marked up with the Pango text markup language. Also see
gtk_tooltip_set_markup()
.This is a convenience property which will take care of getting the tooltip shown if the given string is not
nil
.GtkStatusIcon:has-tooltip
will automatically be set totrue
and the default handler for theGtkStatusIcon::query-tooltip
signal will take care of displaying the tooltip.On some platforms, embedded markup will be ignored.
Declaration
Swift
case tooltipMarkup = "tooltip-markup"
-
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
nil
.GtkStatusIcon:has-tooltip
will automatically be set totrue
and the default handler for theGtkStatusIcon::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.
Declaration
Swift
case tooltipText = "tooltip-text"
-
Undocumented
Declaration
Swift
case visible = "visible"