Constructor

AgsGuiRulernew

since: 3.0.0

Declaration [src]

AgsRuler*
ags_ruler_new (
  GtkOrientation orientation,
  guint step,
  gdouble factor,
  gdouble precision,
  gdouble scale_precision
)

Description [src]

Create a new instance of AgsRuler.

Available since: 3.0.0

Parameters

orientation

Type: GtkOrientation

The GtkOrientation.

step

Type: guint

The step size.

factor

Type: gdouble

The factor.

precision

Type: gdouble

The precision.

scale_precision

Type: gdouble

The scale precision.

Return value

Type: AgsRuler

The new AgsRuler.

The data is owned by the called function.