MexApplet

MexApplet

Synopsis

                    MexApplet;
                    MexAppletClass;
enum                MexAppletPresentationFlags;
void                mex_applet_activate                 (MexApplet *applet);
void                mex_applet_closed                   (MexApplet *applet,
                                                         ClutterActor *actor);
const gchar *       mex_applet_get_description          (MexApplet *applet);
const gchar *       mex_applet_get_id                   (MexApplet *applet);
const gchar *       mex_applet_get_name                 (MexApplet *applet);
const gchar *       mex_applet_get_thumbnail            (MexApplet *applet);
void                mex_applet_present_actor            (MexApplet *applet,
                                                         MexAppletPresentationFlags flags,
                                                         ClutterActor *actor);
void                mex_applet_request_close            (MexApplet *applet,
                                                         ClutterActor *actor);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----MexGenericContent
               +----MexApplet
  GFlags
   +----MexAppletPresentationFlags

Implemented Interfaces

MexApplet implements MexContent.

Properties

  "description"              gchar*                : Read
  "id"                       gchar*                : Read
  "name"                     gchar*                : Read
  "thumbnail"                gchar*                : Read

Signals

  "activated"                                      : Run First
  "closed"                                         : Run First
  "present-actor"                                  : Run First
  "request-close"                                  : Run First

Description

Details

MexApplet

typedef struct _MexApplet MexApplet;

MexAppletClass

typedef struct {
  MexGenericContentClass parent_class;

  /* vfuncs */
  const gchar *(*get_id) (MexApplet *applet);
  const gchar *(*get_name) (MexApplet *applet);
  const gchar *(*get_description) (MexApplet *applet);
  const gchar *(*get_thumbnail) (MexApplet *applet);

  /* signals */
  void (*activated) (MexApplet *applet);
  void (*request_close) (MexApplet *applet, ClutterActor *actor);
  void (*closed) (MexApplet *applet, ClutterActor *actor);
  void (*present_actor) (MexApplet *applet,
                         MexAppletPresentationFlags flags,
                         ClutterActor *actor);
} MexAppletClass;

enum MexAppletPresentationFlags

typedef enum {
  MEX_APPLET_PRESENT_NONE   = 0,
  MEX_APPLET_PRESENT_OPAQUE = 1 << 0,
  MEX_APPLET_PRESENT_DIALOG = 2 << 1,
} MexAppletPresentationFlags;

mex_applet_activate ()

void                mex_applet_activate                 (MexApplet *applet);

mex_applet_closed ()

void                mex_applet_closed                   (MexApplet *applet,
                                                         ClutterActor *actor);

mex_applet_get_description ()

const gchar *       mex_applet_get_description          (MexApplet *applet);

mex_applet_get_id ()

const gchar *       mex_applet_get_id                   (MexApplet *applet);

mex_applet_get_name ()

const gchar *       mex_applet_get_name                 (MexApplet *applet);

mex_applet_get_thumbnail ()

const gchar *       mex_applet_get_thumbnail            (MexApplet *applet);

mex_applet_present_actor ()

void                mex_applet_present_actor            (MexApplet *applet,
                                                         MexAppletPresentationFlags flags,
                                                         ClutterActor *actor);

mex_applet_request_close ()

void                mex_applet_request_close            (MexApplet *applet,
                                                         ClutterActor *actor);

Property Details

The "description" property

  "description"              gchar*                : Read

Longer description of the applet.

Default value: NULL


The "id" property

  "id"                       gchar*                : Read

Computer readable applet name.

Default value: NULL


The "name" property

  "name"                     gchar*                : Read

Human readable applet name.

Default value: NULL


The "thumbnail" property

  "thumbnail"                gchar*                : Read

Graphical representation of the applet.

Default value: NULL

Signal Details

The "activated" signal

void                user_function                      (MexApplet *mexapplet,
                                                        gpointer   user_data)      : Run First

The "closed" signal

void                user_function                      (MexApplet    *mexapplet,
                                                        ClutterActor *arg1,
                                                        gpointer      user_data)      : Run First

The "present-actor" signal

void                user_function                      (MexApplet                 *mexapplet,
                                                        MexAppletPresentationFlags arg1,
                                                        ClutterActor              *arg2,
                                                        gpointer                   user_data)      : Run First

The "request-close" signal

void                user_function                      (MexApplet    *mexapplet,
                                                        ClutterActor *arg1,
                                                        gpointer      user_data)      : Run First