GiwCompass

GiwCompass

Synopsis


#include <giwcompass.h>


                    GiwCompass;
GtkWidget*          giw_compass_new                     (void);
gfloat              giw_compass_get_angle               (GiwCompass *compass);
void                giw_compass_set_angle               (GiwCompass *compass,
                                                         gfloat angle);
void                giw_compass_set_directions          (GiwCompass *compass,
                                                         guchar north,
                                                         guchar south,
                                                         guchar west,
                                                         guchar east);
void                giw_compass_enable_mouse            (GiwCompass *compass,
                                                         gboolean option);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GiwCompass

Implemented Interfaces

GiwCompass implements AtkImplementorIface.

Signals


  "angle-changed"                                  : Run First / Action

Description

Details

GiwCompass

typedef struct _GiwCompass GiwCompass;


giw_compass_new ()

GtkWidget*          giw_compass_new                     (void);

Returns :

giw_compass_get_angle ()

gfloat              giw_compass_get_angle               (GiwCompass *compass);

compass :
Returns :

giw_compass_set_angle ()

void                giw_compass_set_angle               (GiwCompass *compass,
                                                         gfloat angle);

compass :
angle :

giw_compass_set_directions ()

void                giw_compass_set_directions          (GiwCompass *compass,
                                                         guchar north,
                                                         guchar south,
                                                         guchar west,
                                                         guchar east);

compass :
north :
south :
west :
east :

giw_compass_enable_mouse ()

void                giw_compass_enable_mouse            (GiwCompass *compass,
                                                         gboolean option);

compass :
option :

Signal Details

The "angle-changed" signal

void                user_function                      (GiwCompass *giwcompass,
                                                        gpointer    user_data)       : Run First / Action

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