AwnApplet

AwnApplet

Synopsis




                    AwnAppletPrivate;
                    AwnApplet;
gboolean            (*AwnAppletInitFunc)                (AwnApplet *applet);
AwnApplet*          (*AwnAppletInitPFunc)               (const gchar *uid,
                                                         gint orient,
                                                         gint height);
AwnApplet*          awn_applet_new                      (const gchar *uid,
                                                         gint orient,
                                                         gint height);
AwnOrientation      awn_applet_get_orientation          (AwnApplet *applet);
guint               awn_applet_get_height               (AwnApplet *applet);
GtkWidget*          awn_applet_create_default_menu      (AwnApplet *applet);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkEventBox
                                       +----AwnApplet
                                             +----AwnAppletSimple

Implemented Interfaces

AwnApplet implements AtkImplementorIface and GtkBuildable.

Properties


  "height"                   gint                  : Read / Write / Construct
  "orient"                   gint                  : Read / Write / Construct
  "uid"                      gchararray            : Read / Write / Construct

Signals


  "applet-deleted"                                 : Run First
  "height-changed"                                 : Run First
  "orientation-changed"                            : Run First

Description

Details

AwnAppletPrivate

typedef struct _AwnAppletPrivate AwnAppletPrivate;


AwnApplet

typedef struct _AwnApplet AwnApplet;


AwnAppletInitFunc ()

gboolean            (*AwnAppletInitFunc)                (AwnApplet *applet);

applet :
Returns :

AwnAppletInitPFunc ()

AwnApplet*          (*AwnAppletInitPFunc)               (const gchar *uid,
                                                         gint orient,
                                                         gint height);

uid :
orient :
height :
Returns :

awn_applet_new ()

AwnApplet*          awn_applet_new                      (const gchar *uid,
                                                         gint orient,
                                                         gint height);

uid :
orient :
height :
Returns :

awn_applet_get_orientation ()

AwnOrientation      awn_applet_get_orientation          (AwnApplet *applet);

applet :
Returns :

awn_applet_get_height ()

guint               awn_applet_get_height               (AwnApplet *applet);

applet :
Returns :

awn_applet_create_default_menu ()

GtkWidget*          awn_applet_create_default_menu      (AwnApplet *applet);

applet :
Returns :

Property Details

The "height" property

  "height"                   gint                  : Read / Write / Construct

The current visible height of the bar.

Allowed values: [12,100]

Default value: 48


The "orient" property

  "orient"                   gint                  : Read / Write / Construct

The current bar orientation.

Allowed values: [0,10]

Default value: 0


The "uid" property

  "uid"                      gchararray            : Read / Write / Construct

Awn's Unique ID for this applet instance (used for gconf).

Default value: NULL

Signal Details

The "applet-deleted" signal

void                user_function                      (AwnApplet *awnapplet,
                                                        gchar     *arg1,
                                                        gpointer   user_data)      : Run First

awnapplet : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.

The "height-changed" signal

void                user_function                      (AwnApplet *awnapplet,
                                                        gint       arg1,
                                                        gpointer   user_data)      : Run First

awnapplet : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.

The "orientation-changed" signal

void                user_function                      (AwnApplet *awnapplet,
                                                        gint       arg1,
                                                        gpointer   user_data)      : Run First

awnapplet : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.