Class

AstalTrayTrayItem

Description

class AstalTray.TrayItem : GObject.Object
{
  /* No available fields */
}

No description available.

Ancestors

Instance methods

astal_tray_tray_item_activate

Send an activate request to the tray app.

astal_tray_tray_item_secondary_activate

Send a secondary activate request to the tray app.

astal_tray_tray_item_scroll

Send a scroll request to the tray app. valid values for the orientation are “horizontal” and “vertical”.

astal_tray_tray_item_create_menu

Creates a new Gtk Menu for this item.

astal_tray_tray_item_to_json_string
No description available.

astal_tray_tray_item_get_title
No description available.

astal_tray_tray_item_get_category
No description available.

astal_tray_tray_item_get_status
No description available.

astal_tray_tray_item_get_tooltip
No description available.

astal_tray_tray_item_get_tooltip_markup
No description available.

astal_tray_tray_item_get_id
No description available.

astal_tray_tray_item_get_is_menu
No description available.

astal_tray_tray_item_get_icon_theme_path
No description available.

astal_tray_tray_item_get_icon_name
No description available.

astal_tray_tray_item_get_icon_pixbuf
No description available.

astal_tray_tray_item_get_gicon
No description available.

astal_tray_tray_item_get_item_id
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalTray.TrayItem:title

The Title of the TrayItem.

AstalTray.TrayItem:category

The category this item belongs to.

AstalTray.TrayItem:status

The current status of this item.

AstalTray.TrayItem:tooltip

The tooltip of this item.

AstalTray.TrayItem:tooltip-markup

A markup representation of the tooltip. This is basically equvivalent to tooltip.title \n tooltip.description.

AstalTray.TrayItem:id

The id of the item. This id is specified by the tray app.

AstalTray.TrayItem:is-menu

If set, this only supports the menu, so showing the menu should be prefered over calling astal_tray_tray_item_activate().

AstalTray.TrayItem:icon-theme-path

The icon theme path, where to look for the AstalTrayTrayItem:icon-name. It is recommended to use the AstalTrayTrayItem:gicon property, which does the icon lookups for you.

AstalTray.TrayItem:icon-name

The name of the icon. This should be looked up in the AstalTrayTrayItem:icon-theme-path if set or in the currently used icon theme otherwise. It is recommended to use the AstalTrayTrayItem:gicon property, which does the icon lookups for you.

AstalTray.TrayItem:icon-pixbuf

A pixbuf containing the icon. It is recommended to use the AstalTrayTrayItem:gicon property, which does the icon lookups for you.

AstalTray.TrayItem:gicon

Contains the items icon. This property is intended to be used with the gicon property of the Icon widget and the recommended way to display the icon. This property unifies the AstalTrayTrayItem:icon-name, AstalTrayTrayItem:icon-theme-path and [property AstalTray.TrayItem:icon-pixbuf] properties.

AstalTray.TrayItem:item-id

The id of the item used to uniquely identify the TrayItems by this lib.

Signals

AstalTray.TrayItem::changed
No description available.

AstalTray.TrayItem::ready
No description available.

Signals inherited from GObject (1)
GObject::notify

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.

Class structure

struct AstalTrayTrayItemClass {
  /* no available fields */
}

No description available.