Top | ![]() |
![]() |
![]() |
![]() |
guint | ags_ruler_get_font_size () |
void | ags_ruler_set_font_size () |
guint | ags_ruler_get_step () |
void | ags_ruler_set_step () |
guint | ags_ruler_get_large_step () |
void | ags_ruler_set_large_step () |
guint | ags_ruler_get_small_step () |
void | ags_ruler_set_small_step () |
GtkAdjustment * | ags_ruler_get_adjustment () |
void | ags_ruler_set_adjustment () |
AgsRuler * | ags_ruler_new () |
#define | AGS_IS_RULER() |
#define | AGS_IS_RULER_CLASS() |
#define | AGS_RULER() |
#define | AGS_RULER_CLASS() |
#define | AGS_RULER_GET_CLASS() |
GType | ags_ruler_get_type () |
GObject * | adjustment | Read / Write |
double | factor | Read / Write |
guint | font-size | Read / Write |
guint | large-step | Read / Write |
double | precision | Read / Write |
double | scale-precision | Read / Write |
guint | small-step | Read / Write |
guint | step | Read / Write |
#define | AGS_RULER_FONT_SIZE |
#define | AGS_RULER_FREE_SPACE |
#define | AGS_RULER_DEFAULT_HEIGHT |
#define | AGS_RULER_DEFAULT_STEP |
#define | AGS_RULER_DEFAULT_LARGE_STEP |
#define | AGS_RULER_DEFAULT_SMALL_STEP |
#define | AGS_TYPE_RULER |
struct | AgsRuler |
struct | AgsRulerClass |
AgsRuler implements GtkAccessible, GtkBuildable, GtkConstraintTarget and GtkOrientable.
guint
ags_ruler_get_font_size (AgsRuler *ruler
);
Get font size of ruler
.
Since: 3.6.15
void ags_ruler_set_font_size (AgsRuler *ruler
,guint font_size
);
Set font size of ruler
.
Since: 3.6.15
void ags_ruler_set_step (AgsRuler *ruler
,guint step
);
Set step of ruler
.
Since: 3.2.0
guint
ags_ruler_get_large_step (AgsRuler *ruler
);
Get large step of ruler
.
Since: 3.2.0
void ags_ruler_set_large_step (AgsRuler *ruler
,guint large_step
);
Set large step of ruler
.
Since: 3.2.0
guint
ags_ruler_get_small_step (AgsRuler *ruler
);
Get small step of ruler
.
Since: 3.2.0
void ags_ruler_set_small_step (AgsRuler *ruler
,guint small_step
);
Set small step of ruler
.
Since: 3.2.0
GtkAdjustment *
ags_ruler_get_adjustment (AgsRuler *ruler
);
Get adjustment of ruler
.
Since: 3.2.0
void ags_ruler_set_adjustment (AgsRuler *ruler
,GtkAdjustment *adjustment
);
Set adjustment of ruler
.
Since: 3.2.0
AgsRuler * ags_ruler_new (GtkOrientation orientation
,guint step
,gdouble factor
,gdouble precision
,gdouble scale_precision
);
Create a new instance of AgsRuler
Since: 3.0.0
#define AGS_IS_RULER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RULER))
#define AGS_RULER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_RULER, AgsRulerClass))
#define AGS_RULER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_RULER, AgsRulerClass))
“adjustment”
property“adjustment” GObject *
The adjustment.
Owner: AgsRuler
Flags: Read / Write
Since: 3.0.0
“factor”
property “factor” double
The factor.
Owner: AgsRuler
Flags: Read / Write
Allowed values: >= 0
Default value: 16
Since: 4.0.0
“font-size”
property“font-size” guint
The font size.
Owner: AgsRuler
Flags: Read / Write
Default value: 12
Since: 3.6.15
“large-step”
property“large-step” guint
The large step's width.
Owner: AgsRuler
Flags: Read / Write
Default value: 8
Since: 3.0.0
“precision”
property “precision” double
The precision.
Owner: AgsRuler
Flags: Read / Write
Allowed values: >= 0
Default value: 1
Since: 4.0.0
“scale-precision”
property “scale-precision” double
The scale precision.
Owner: AgsRuler
Flags: Read / Write
Allowed values: >= 0
Default value: 1
Since: 4.0.0
“small-step”
property“small-step” guint
The small step's width.
Owner: AgsRuler
Flags: Read / Write
Default value: 6
Since: 3.0.0
“step”
property“step” guint
The step's width.
Owner: AgsRuler
Flags: Read / Write
Default value: 16
Since: 3.0.0