CinnamonTrayIcon

CinnamonTrayIcon

Functions

ClutterActor * cinnamon_tray_icon_new ()
void cinnamon_tray_icon_click ()

Properties

guint pid Read
gchar * title Read
gchar * 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

 

Types and Values

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