shell-tray-icon: Shell Reference Manual

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

## Functions

void | shell_tray_icon_click ()

## Types and Values

#define | SHELL_TYPE_TRAY_ICON
| ShellTrayIcon

## Description

## Functions

### 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 ())

### ShellTrayIcon

    typedef struct _ShellTrayIcon ShellTrayIcon;