AgsRuler

AgsRuler — A ruler widget

Functions

Properties

GObject * adjustment Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── AgsRuler

Implemented Interfaces

AgsRuler implements AtkImplementorIface and GtkBuildable.

Includes

#include <ags/widget/ags_ruler.h>

Description

AgsRuler is a widget representing a GtkAdjustment.

Functions

ags_ruler_new ()

AgsRuler *
ags_ruler_new ();

Creates an AgsRuler

Returns

a new AgsRuler

Since: 1.0.0


AGS_IS_RULER()

#define AGS_IS_RULER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RULER))

AGS_RULER()

#define AGS_RULER(obj)                (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_RULER, AgsRuler))

AGS_RULER_CLASS()

#define AGS_RULER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_RULER, AgsRulerClass))

AGS_RULER_GET_CLASS()

#define AGS_RULER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_RULER, AgsRulerClass))

ags_ruler_get_type ()

GType
ags_ruler_get_type ();

Types and Values

AGS_RULER_DEFAULT_STEP

#define AGS_RULER_DEFAULT_STEP (16)

AGS_RULER_LARGE_STEP

#define AGS_RULER_LARGE_STEP (8.0)

AGS_RULER_SMALL_STEP

#define AGS_RULER_SMALL_STEP (6.0)

AGS_TYPE_RULER

#define AGS_TYPE_RULER                (ags_ruler_get_type())

struct AgsRuler

struct AgsRuler;

struct AgsRulerClass

struct AgsRulerClass {
  GtkWidgetClass widget;
};

Property Details

The “adjustment” property

  “adjustment”               GObject *

The adjustment it is assigned with.

Flags: Read / Write