shell-tray-icon: Shell Reference Manual

## shell-tray-icon shell-tray-icon |

## Functions

ClutterActor * | shell_tray_icon_new ()
void | shell_tray_icon_click ()

## Properties

guint | pid | Read
gchar * | title | Read
gchar * | wm-class | Read

## Types and Values

#define | SHELL_TYPE_TRAY_ICON
struct | ShellTrayIcon

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── ClutterActor
                ╰── ClutterClone
                    ╰── ShellGtkEmbed
                        ╰── ShellTrayIcon

## Implemented Interfaces

ShellTrayIcon implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.

## Description

## Functions

### shell_tray_icon_new ()

    ClutterActor *
    shell_tray_icon_new (ShellEmbeddedWindow *window);

### shell_tray_icon_click ()

    void
    shell_tray_icon_click (ShellTrayIcon *icon,
                           ClutterEvent *event);

Fakes a press and release on `icon` . `event` must be a `CLUTTER_BUTTON_RELEASE`, `CLUTTER_KEY_PRESS` or `CLUTTER_KEY_RELEASE` event. Its relevant details will be passed on to the icon, but its coordinates will be ignored; the click is always made on the center of `icon` .

#### Parameters

icon | a ShellTrayIcon |
event | the ClutterEvent triggering the fake click |

## Types and Values

### SHELL_TYPE_TRAY_ICON

    #define SHELL_TYPE_TRAY_ICON                 (shell_tray_icon_get_type ())

### struct ShellTrayIcon

    struct ShellTrayIcon;

## Property Details

### The `“pid”` property

      “pid”                      guint

The PID of the icon's application.

Flags: Read

Default value: 0

### The `“title”` property

      “title”                    gchar *

The icon's window title.

Flags: Read

Default value: NULL

### The `“wm-class”` property

      “wm-class”                 gchar *

The icon's window WM_CLASS.

Flags: Read

Default value: NULL