AgsScale

AgsScale — scale widget

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkDrawingArea
                    ╰── AgsScale

Implemented Interfaces

AgsScale implements AtkImplementorIface, GtkBuildable and AgsConnectable.

Includes

#include <ags/X/editor/ags_scale.h>

Description

The AgsScale draws you a scale.

Functions

ags_scale_paint ()

void
ags_scale_paint (AgsScale *scale);


ags_scale_add_area ()

void
ags_scale_add_area (AgsScale *scale,
                    AgsScaleArea *scale_area);

Adds scale_area to scale .

Parameters

scale

an AgsScale

 

scale_area

the AgsScaleArea to add

 

Since: 0.4.3


ags_scale_remove_area ()

void
ags_scale_remove_area (AgsScale *scale,
                       AgsScaleArea *scale_area);

Removes scale_area of scale .

Parameters

scale

an AgsScale

 

scale_area

the AgsScaleArea to remove

 

Since: 0.4.3


ags_scale_new ()

AgsScale *
ags_scale_new ();

Create a new AgsScale.

Returns

a new AgsScale

Since: 0.4.3

Types and Values

AGS_SCALE_MARGIN_TOP

#define AGS_SCALE_MARGIN_TOP (24)


AGS_SCALE_DEFAULT_HEIGHT

#define AGS_SCALE_DEFAULT_HEIGHT (128)


AGS_SCALE_DEFAULT_MARGIN

#define AGS_SCALE_DEFAULT_MARGIN (8)