CinnamonTrayIcon

CinnamonTrayIcon

Synopsis

struct              CinnamonTrayIcon;
struct              CinnamonTrayIconClass;
ClutterActor *      cinnamon_tray_icon_new              (CinnamonEmbeddedWindow *window);
void                cinnamon_tray_icon_click            (CinnamonTrayIcon *icon,
                                                         ClutterEvent *event);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----ClutterTexture
                     +----ClutterX11TexturePixmap
                           +----CinnamonGtkEmbed
                                 +----CinnamonTrayIcon

Implemented Interfaces

CinnamonTrayIcon implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.

Properties

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

Description

Details

struct CinnamonTrayIcon

struct CinnamonTrayIcon;

struct CinnamonTrayIconClass

struct CinnamonTrayIconClass {
    CinnamonGtkEmbedClass parent_class;
};

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.

icon :

a CinnamonTrayIcon

event :

the ClutterEvent triggering the fake click

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