StatusIconSignalName

public enum StatusIconSignalName : String, SignalNameProtocol

Undocumented

  • Gets emitted when the user activates the status icon. If and how status icons can activated is platform-dependent.

    Unlike most G_SIGNAL_ACTION signals, this signal is meant to be used by applications and should be wrapped by language bindings.

    Declaration

    Swift

    case activate = "activate"
  • The button-press-event signal will be emitted when a button (typically from a mouse) is pressed.

    Whether this event is emitted is platform-dependent. Use the activate and popup-menu signals in preference.

    Declaration

    Swift

    case buttonPressEvent = "button-press-event"
  • The button-release-event signal will be emitted when a button (typically from a mouse) is released.

    Whether this event is emitted is platform-dependent. Use the activate and popup-menu signals in preference.

    Declaration

    Swift

    case buttonReleaseEvent = "button-release-event"
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Declaration

    Swift

    case notify = "notify"
  • Gets emitted when the user brings up the context menu of the status icon. Whether status icons can have context menus and how these are activated is platform-dependent.

    The button and activate_time parameters should be passed as the last to arguments to gtk_menu_popup().

    Unlike most G_SIGNAL_ACTION signals, this signal is meant to be used by applications and should be wrapped by language bindings.

    Declaration

    Swift

    case popupMenu = "popup-menu"
  • Emitted when the hover timeout has expired with the cursor hovering above status_icon; or emitted when status_icon got focus in keyboard mode.

    Using the given coordinates, the signal handler should determine whether a tooltip should be shown for status_icon. If this is the case true should be returned, false otherwise. Note that if keyboard_mode is true, the values of x and y are undefined and should not be used.

    The signal handler is free to manipulate tooltip with the therefore destined function calls.

    Whether this signal is emitted is platform-dependent. For plain text tooltips, use GtkStatusIcon:tooltip-text in preference.

    Declaration

    Swift

    case queryTooltip = "query-tooltip"
  • The scroll-event signal is emitted when a button in the 4 to 7 range is pressed. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned.

    Whether this event is emitted is platform-dependent.

    Declaration

    Swift

    case scrollEvent = "scroll-event"
  • Gets emitted when the size available for the image changes, e.g. because the notification area got resized.

    Declaration

    Swift

    case sizeChanged = "size-changed"
  • true if the statusicon is embedded in a notification area.

    Declaration

    Swift

    case notifyEmbedded = "notify::embedded"
  • Undocumented

    Declaration

    Swift

    case notifyFile = "notify::file"
  • The GIcon displayed in the GtkStatusIcon. For themed icons, the image will be updated automatically if the theme changes.

    Declaration

    Swift

    case notifyIcon = "notify::gicon"
  • 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.

    Declaration

    Swift

    case notifyHasTooltip = "notify::has-tooltip"
  • Undocumented

    Declaration

    Swift

    case notifyIconName = "notify::icon-name"
  • The orientation of the tray in which the statusicon is embedded.

    Declaration

    Swift

    case notifyOrientation = "notify::orientation"
  • Undocumented

    Declaration

    Swift

    case notifyPixbuf = "notify::pixbuf"
  • Undocumented

    Declaration

    Swift

    case notifyScreen = "notify::screen"
  • Undocumented

    Declaration

    Swift

    case notifySize = "notify::size"
  • stock is deprecated: Use #GtkStatusIcon:icon-name instead.

    Declaration

    Swift

    case notifyStock = "notify::stock"
  • Undocumented

    Declaration

    Swift

    case notifyStorageType = "notify::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 notifyTitle = "notify::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 to true and the default handler for the GtkStatusIcon::query-tooltip signal will take care of displaying the tooltip.

    On some platforms, embedded markup will be ignored.

    Declaration

    Swift

    case notifyTooltipMarkup = "notify::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 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.

    Declaration

    Swift

    case notifyTooltipText = "notify::tooltip-text"
  • Undocumented

    Declaration

    Swift

    case notifyVisible = "notify::visible"