GuppiAxisMarkers

Name

GuppiAxisMarkers -- 

Synopsis



struct      GuppiTick;
#define     guppi_tick_position             (x)
#define     guppi_tick_type                 (x)
#define     guppi_tick_has_label_only       (x)
#define     guppi_tick_is_major             (x)
#define     guppi_tick_is_minor             (x)
#define     guppi_tick_is_micro             (x)
#define     guppi_tick_is_rule              (x)
#define     guppi_tick_is_labelled          (x)
#define     guppi_tick_label                (x)
#define     GUPPI_AXIS_MARKERS0             (obj)
#define     GUPPI_IS_AXIS_MARKERS0          (obj)
GuppiAxisMarkers* guppi_axis_markers_new    (void);
void        guppi_axis_markers_freeze       (GuppiAxisMarkers*);
void        guppi_axis_markers_thaw         (GuppiAxisMarkers*);
gint        guppi_axis_markers_size         (GuppiAxisMarkers*);
const GuppiTick* guppi_axis_markers_get     (GuppiAxisMarkers*,
                                             gint i);
void        guppi_axis_markers_clear        (GuppiAxisMarkers*);
void        guppi_axis_markers_add          (GuppiAxisMarkers*,
                                             double pos,
                                             gint type,
                                             const gchar *label);
void        guppi_axis_markers_populate_scalar
                                            (GuppiAxisMarkers*,
                                             double min,
                                             double max,
                                             gint goal,
                                             gint radix,
                                             gboolean percentage);
void        guppi_axis_markers_populate_scalar_log
                                            (GuppiAxisMarkers*,
                                             double min,
                                             double max,
                                             gint goal,
                                             double base);
void        guppi_axis_markers_populate_dates
                                            (GuppiAxisMarkers*,
                                             GDate *min,
                                             GDate *max);
void        guppi_axis_markers_populate_generic
                                            (GuppiAxisMarkers*,
                                             gint type,
                                             double min,
                                             double max);
void        guppi_axis_markers_max_label_size
                                            (GuppiAxisMarkers*,
                                             GnomeFont*,
                                             gboolean consider_major,
                                             gboolean consider_minor,
                                             gboolean consider_micro,
                                             double *w,
                                             double *h);

Object Hierarchy


  GtkObject
   +----GuppiAxisMarkers

Signal Prototypes


"changed"   void        user_function      (GuppiAxisMarkers *guppiaxismarkers,
                                            gpointer user_data);

Description

Details

struct GuppiTick

struct GuppiTick {
  double position;
  gint type;
  gchar *label;
};


guppi_tick_position()

#define guppi_tick_position(x) ((x)->position)

x : 


guppi_tick_type()

#define guppi_tick_type(x) ((x)->type)

x : 


guppi_tick_has_label_only()

#define guppi_tick_has_label_only(x) ((x)->type == GUPPI_TICK_NONE)

x : 


guppi_tick_is_major()

#define     guppi_tick_is_major(x)

x : 


guppi_tick_is_minor()

#define     guppi_tick_is_minor(x)

x : 


guppi_tick_is_micro()

#define     guppi_tick_is_micro(x)

x : 


guppi_tick_is_rule()

#define     guppi_tick_is_rule(x)

x : 


guppi_tick_is_labelled()

#define guppi_tick_is_labelled(x) ((x)->label != NULL)

x : 


guppi_tick_label()

#define guppi_tick_label(x) ((x)->label)

x : 


GUPPI_AXIS_MARKERS0()

#define GUPPI_AXIS_MARKERS0(obj) ((obj) ? (GUPPI_AXIS_MARKERS(obj)) : NULL)

obj : 


GUPPI_IS_AXIS_MARKERS0()

#define GUPPI_IS_AXIS_MARKERS0(obj) (((obj) == NULL) || (GUPPI_IS_AXIS_MARKERS(obj)))

obj : 


guppi_axis_markers_new ()

GuppiAxisMarkers* guppi_axis_markers_new    (void);

Returns : 


guppi_axis_markers_freeze ()

void        guppi_axis_markers_freeze       (GuppiAxisMarkers*);

Param1 : 


guppi_axis_markers_thaw ()

void        guppi_axis_markers_thaw         (GuppiAxisMarkers*);

Param1 : 


guppi_axis_markers_size ()

gint        guppi_axis_markers_size         (GuppiAxisMarkers*);

Param1 : 
Returns : 


guppi_axis_markers_get ()

const GuppiTick* guppi_axis_markers_get     (GuppiAxisMarkers*,
                                             gint i);

Param1 : 
i : 
Returns : 


guppi_axis_markers_clear ()

void        guppi_axis_markers_clear        (GuppiAxisMarkers*);

Param1 : 


guppi_axis_markers_add ()

void        guppi_axis_markers_add          (GuppiAxisMarkers*,
                                             double pos,
                                             gint type,
                                             const gchar *label);

Param1 : 
pos : 
type : 
label : 


guppi_axis_markers_populate_scalar ()

void        guppi_axis_markers_populate_scalar
                                            (GuppiAxisMarkers*,
                                             double min,
                                             double max,
                                             gint goal,
                                             gint radix,
                                             gboolean percentage);

Param1 : 
min : 
max : 
goal : 
radix : 
percentage : 


guppi_axis_markers_populate_scalar_log ()

void        guppi_axis_markers_populate_scalar_log
                                            (GuppiAxisMarkers*,
                                             double min,
                                             double max,
                                             gint goal,
                                             double base);

Param1 : 
min : 
max : 
goal : 
base : 


guppi_axis_markers_populate_dates ()

void        guppi_axis_markers_populate_dates
                                            (GuppiAxisMarkers*,
                                             GDate *min,
                                             GDate *max);

Param1 : 
min : 
max : 


guppi_axis_markers_populate_generic ()

void        guppi_axis_markers_populate_generic
                                            (GuppiAxisMarkers*,
                                             gint type,
                                             double min,
                                             double max);

Param1 : 
type : 
min : 
max : 


guppi_axis_markers_max_label_size ()

void        guppi_axis_markers_max_label_size
                                            (GuppiAxisMarkers*,
                                             GnomeFont*,
                                             gboolean consider_major,
                                             gboolean consider_minor,
                                             gboolean consider_micro,
                                             double *w,
                                             double *h);

Param1 : 
Param2 : 
consider_major : 
consider_minor : 
consider_micro : 
w : 
h : 

Signals

The "changed" signal

void        user_function                  (GuppiAxisMarkers *guppiaxismarkers,
                                            gpointer user_data);

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