## CinnamonTrayIcon

CinnamonTrayIcon

## Functions

ClutterActor * | cinnamon_tray_icon_new ()
void | cinnamon_tray_icon_click ()

## Properties

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

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── ClutterActor
                ╰── ClutterTexture
                    ╰── ClutterX11TexturePixmap
                        ╰── CinnamonGtkEmbed
                            ╰── CinnamonTrayIcon

## Description

## Functions

### cinnamon_tray_icon_new ()

    ClutterActor *
    cinnamon_tray_icon_new (CinnamonEmbeddedWindow *window);

### cinnamon_tray_icon_click ()

    void
    cinnamon_tray_icon_click (CinnamonTrayIcon *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` .

#### Parameters

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

## Property Details

### The `“pid”` property

      “pid”                      guint

The PID of the icon's application.

Owner: CinnamonTrayIcon

Flags: Read

Default value: 0

### The `“title”` property

      “title”                    char *

The icon's window title.

Owner: CinnamonTrayIcon

Flags: Read

Default value: NULL

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

      “wm-class”                 char *

The icon's window WM_CLASS.

Owner: CinnamonTrayIcon

Flags: Read

Default value: NULL