## ShellTrayIcon ShellTrayIcon |

## Synopsis

    struct              ShellTrayIcon;
    struct              ShellTrayIconClass;
    void                shell_tray_icon_click               (ShellTrayIcon *icon,
                                                             ClutterEvent *event);
    ClutterActor *      shell_tray_icon_new                 (ShellEmbeddedWindow *window);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----ClutterActor
                   +----ClutterTexture
                         +----ClutterX11TexturePixmap
                               +----ShellGtkEmbed
                                     +----ShellTrayIcon

## Implemented Interfaces

ShellTrayIcon implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.

## Properties

      "pid"                      guint                 : Read
      "title"                    gchar*                : Read
      "wm-class"                 gchar*                : Read

## Description

## Details

### struct ShellTrayIcon

    struct ShellTrayIcon;

### struct ShellTrayIconClass

    struct ShellTrayIconClass {
        ShellGtkEmbedClass parent_class;
    };

### 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` 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`.

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

### shell_tray_icon_new ()

    ClutterActor *      shell_tray_icon_new                 (ShellEmbeddedWindow *window);

## Property Details

### The `"pid"` property

      "pid"                      guint                 : Read

The PID of the icon's application.

Default value: 0

### The `"title"` property

      "title"                    gchar*                : Read

The icon's window title.

Default value: NULL

### The `"wm-class"` property

      "wm-class"                 gchar*                : Read

The icon's window WM_CLASS.

Default value: NULL