AgsScaleBox

AgsScaleBox — abstract box widget

Stability Level

Stable, unless otherwise indicated

Functions

Properties

guint fixed-scale-height Read / Write
guint fixed-scale-width Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── AgsScaleBox
                        ├── AgsHScaleBox
                        ╰── AgsVScaleBox

Implemented Interfaces

AgsScaleBox implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Includes

#include <ags/widget/ags_scale_box.h>

Description

The AgsScaleBox is an abstract box widget containing AgsScale.

Functions

ags_scale_box_new ()

AgsScaleBox *
ags_scale_box_new ();

Create a new instance of AgsScaleBox.

Returns

the new AgsScaleBox instance

Since: 3.0.0


AGS_IS_SCALE_BOX()

#define AGS_IS_SCALE_BOX(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCALE_BOX))

AGS_IS_SCALE_BOX_CLASS()

#define AGS_IS_SCALE_BOX_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCALE_BOX))

AGS_SCALE_BOX()

#define AGS_SCALE_BOX(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCALE_BOX, AgsScaleBox))

AGS_SCALE_BOX_CLASS()

#define AGS_SCALE_BOX_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SCALE_BOX, AgsScaleBoxClass))

AGS_SCALE_BOX_GET_CLASS()

#define AGS_SCALE_BOX_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_SCALE_BOX, AgsScaleBoxClass))

ags_scale_box_get_type ()

GType
ags_scale_box_get_type (void);

Types and Values

AGS_SCALE_BOX_DEFAULT_FIXED_SCALE_WIDTH

#define AGS_SCALE_BOX_DEFAULT_FIXED_SCALE_WIDTH (60)

AGS_SCALE_BOX_DEFAULT_FIXED_SCALE_HEIGHT

#define AGS_SCALE_BOX_DEFAULT_FIXED_SCALE_HEIGHT (128)

enum AgsScaleBoxFlags

Members

AGS_SCALE_BOX_FIXED_SCALE_SIZE

   

AGS_TYPE_SCALE_BOX

#define AGS_TYPE_SCALE_BOX                (ags_scale_box_get_type())

struct AgsScaleBox

struct AgsScaleBox;

struct AgsScaleBoxClass

struct AgsScaleBoxClass {
  GtkBoxClass box;
};

Property Details

The “fixed-scale-height” property

  “fixed-scale-height”       guint

The fixed height of a scale.

Owner: AgsScaleBox

Flags: Read / Write

Default value: 128

Since: 3.0.0


The “fixed-scale-width” property

  “fixed-scale-width”        guint

The fixed width of a scale.

Owner: AgsScaleBox

Flags: Read / Write

Default value: 60

Since: 3.0.0