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 () |
gdouble | ags_ruler_get_factor () |
void | ags_ruler_set_factor () |
gdouble | ags_ruler_get_precision () |
void | ags_ruler_set_precision () |
gdouble | ags_ruler_get_scale_precision () |
void | ags_ruler_set_scale_precision () |
GtkAdjustment * | ags_ruler_get_adjustment () |
void | ags_ruler_set_adjustment () |
AgsRuler * | ags_ruler_new () |
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_FACTOR |
#define | AGS_RULER_DEFAULT_PRECISION |
#define | AGS_RULER_DEFAULT_SCALE_PRECISION |
#define | AGS_RULER_DEFAULT_HEIGHT |
#define | AGS_RULER_DEFAULT_STEP |
#define | AGS_RULER_DEFAULT_LARGE_STEP |
#define | AGS_RULER_DEFAULT_SMALL_STEP |
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
gdouble
ags_ruler_get_factor (AgsRuler *ruler
);
Get factor of ruler
.
Since: 4.0.0
void ags_ruler_set_factor (AgsRuler *ruler
,gdouble factor
);
Set factor of ruler
.
Since: 4.0.0
gdouble
ags_ruler_get_precision (AgsRuler *ruler
);
Get precision of ruler
.
Since: 4.0.0
void ags_ruler_set_precision (AgsRuler *ruler
,gdouble precision
);
Set precision of ruler
.
Since: 4.0.0
gdouble
ags_ruler_get_scale_precision (AgsRuler *ruler
);
Get scale precision of ruler
.
Since: 4.0.0
void ags_ruler_set_scale_precision (AgsRuler *ruler
,gdouble scale_precision
);
Set scale precision of ruler
.
Since: 4.0.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
“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