Ardour  9.0-pre0-384-ga76afae0e9
gtkruler.h File Reference
#include <gtk/gtkwidget.h>
Include dependency graph for gtkruler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GtkRuler
 
struct  _GtkRulerClass
 
struct  _GtkRulerMetric
 

Macros

#define __GTK_RULER_H__
 
#define GTK_TYPE_RULER   (gtk_ruler_get_type ())
 
#define GTK_RULER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RULER, GtkRuler))
 
#define GTK_RULER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RULER, GtkRulerClass))
 
#define GTK_IS_RULER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RULER))
 
#define GTK_IS_RULER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RULER))
 
#define GTK_RULER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RULER, GtkRulerClass))
 

Typedefs

typedef struct _GtkRuler GtkRuler
 
typedef struct _GtkRulerClass GtkRulerClass
 
typedef struct _GtkRulerMetric GtkRulerMetric
 

Functions

GType gtk_ruler_get_type (void) G_GNUC_CONST
 
void gtk_ruler_set_metric (GtkRuler *ruler, GtkMetricType metric)
 
GtkMetricType gtk_ruler_get_metric (GtkRuler *ruler)
 
void gtk_ruler_set_range (GtkRuler *ruler, gdouble lower, gdouble upper, gdouble position, gdouble max_size)
 
void gtk_ruler_get_range (GtkRuler *ruler, gdouble *lower, gdouble *upper, gdouble *position, gdouble *max_size)
 
void gtk_ruler_draw_ticks (GtkRuler *ruler)
 
void gtk_ruler_draw_pos (GtkRuler *ruler)
 

Macro Definition Documentation

◆ __GTK_RULER_H__

#define __GTK_RULER_H__

Definition at line 44 of file gtkruler.h.

◆ GTK_IS_RULER

#define GTK_IS_RULER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RULER))

Definition at line 55 of file gtkruler.h.

◆ GTK_IS_RULER_CLASS

#define GTK_IS_RULER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RULER))

Definition at line 56 of file gtkruler.h.

◆ GTK_RULER

#define GTK_RULER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RULER, GtkRuler))

Definition at line 53 of file gtkruler.h.

◆ GTK_RULER_CLASS

#define GTK_RULER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RULER, GtkRulerClass))

Definition at line 54 of file gtkruler.h.

◆ GTK_RULER_GET_CLASS

#define GTK_RULER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RULER, GtkRulerClass))

Definition at line 57 of file gtkruler.h.

◆ GTK_TYPE_RULER

#define GTK_TYPE_RULER   (gtk_ruler_get_type ())

Definition at line 52 of file gtkruler.h.

Typedef Documentation

◆ GtkRuler

typedef struct _GtkRuler GtkRuler

Definition at line 50 of file gtkruler.h.

◆ GtkRulerClass

typedef struct _GtkRulerClass GtkRulerClass

Definition at line 50 of file gtkruler.h.

◆ GtkRulerMetric

Definition at line 50 of file gtkruler.h.

Function Documentation

◆ gtk_ruler_draw_pos()

void gtk_ruler_draw_pos ( GtkRuler ruler)

◆ gtk_ruler_draw_ticks()

void gtk_ruler_draw_ticks ( GtkRuler ruler)

◆ gtk_ruler_get_metric()

GtkMetricType gtk_ruler_get_metric ( GtkRuler ruler)

◆ gtk_ruler_get_range()

void gtk_ruler_get_range ( GtkRuler ruler,
gdouble *  lower,
gdouble *  upper,
gdouble *  position,
gdouble *  max_size 
)

◆ gtk_ruler_get_type()

GType gtk_ruler_get_type ( void  )

◆ gtk_ruler_set_metric()

void gtk_ruler_set_metric ( GtkRuler ruler,
GtkMetricType  metric 
)

◆ gtk_ruler_set_range()

void gtk_ruler_set_range ( GtkRuler ruler,
gdouble  lower,
gdouble  upper,
gdouble  position,
gdouble  max_size 
)