GtkGauge

GtkGauge

Synopsis


#include <gtk-hst/gtkgauge.h>


            GtkGauge;
            GtkGaugeClass;
GtkWidget*  gtk_gauge_new                   (gfloat xmin,
                                             gfloat xmax);
void        gtk_gauge_set_value             (GtkGauge *gg,
                                             float v);
gfloat      gtk_gauge_get_value             (GtkGauge *gg);
void        gtk_gauge_set_range             (GtkGauge *gg,
                                             gfloat xmin,
                                             gfloat xmax);
void        gtk_gauge_set_color             (GtkGauge *gg,
                                             const char *cnam);
void        gtk_gauge_set_title             (GtkGauge *gg,
                                             const char *cnam);
char*       gtk_gauge_get_title             (GtkGauge *gg);
void        gtk_gauge_set_squared           (GtkGauge *gg,
                                             gboolean squared);


Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkGauge

Implemented Interfaces

GtkGauge implements AtkImplementorIface.

Properties


  "xmax"                 gdouble               : Read / Write
  "xmin"                 gdouble               : Read / Write

Description

Details

GtkGauge

typedef struct _GtkGauge GtkGauge;


GtkGaugeClass

typedef struct {
    GtkWidgetClass parent_class;
} GtkGaugeClass;


gtk_gauge_new ()

GtkWidget*  gtk_gauge_new                   (gfloat xmin,
                                             gfloat xmax);

xmin :
xmax :
Returns :

gtk_gauge_set_value ()

void        gtk_gauge_set_value             (GtkGauge *gg,
                                             float v);

gg :
v :

gtk_gauge_get_value ()

gfloat      gtk_gauge_get_value             (GtkGauge *gg);

gg :
Returns :

gtk_gauge_set_range ()

void        gtk_gauge_set_range             (GtkGauge *gg,
                                             gfloat xmin,
                                             gfloat xmax);

gg :
xmin :
xmax :

gtk_gauge_set_color ()

void        gtk_gauge_set_color             (GtkGauge *gg,
                                             const char *cnam);

gg :
cnam :

gtk_gauge_set_title ()

void        gtk_gauge_set_title             (GtkGauge *gg,
                                             const char *cnam);

gg :
cnam :

gtk_gauge_get_title ()

char*       gtk_gauge_get_title             (GtkGauge *gg);

gg :
Returns :

gtk_gauge_set_squared ()

void        gtk_gauge_set_squared           (GtkGauge *gg,
                                             gboolean squared);

gg :
squared :

Property Details

The "xmax" property

  "xmax"                 gdouble               : Read / Write

Maximum value of X.

Default value: 1


The "xmin" property

  "xmin"                 gdouble               : Read / Write

Minimum value of X.

Default value: 0