AgsLevelBox

AgsLevelBox — abstract box widget

Functions

Properties

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

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── AgsLevelBox
                        ├── AgsHLevelBox
                        ╰── AgsVLevelBox

Implemented Interfaces

AgsLevelBox implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Includes

#include <ags/widget/ags_level_box.h>

Description

The AgsLevelBox is an abstract box widget containing AgsLevel.

Functions

ags_level_box_new ()

AgsLevelBox *
ags_level_box_new ();

Create a new instance of AgsLevelBox.

Returns

the new AgsLevelBox instance

Since: 3.0.0


AGS_IS_LEVEL_BOX()

#define AGS_IS_LEVEL_BOX(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LEVEL_BOX))

AGS_LEVEL_BOX()

#define AGS_LEVEL_BOX(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LEVEL_BOX, AgsLevelBox))

AGS_LEVEL_BOX_CLASS()

#define AGS_LEVEL_BOX_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LEVEL_BOX, AgsLevelBoxClass))

AGS_LEVEL_BOX_GET_CLASS()

#define AGS_LEVEL_BOX_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_LEVEL_BOX, AgsLevelBoxClass))

ags_level_box_get_type ()

GType
ags_level_box_get_type (void);

Types and Values

AGS_LEVEL_BOX_DEFAULT_FIXED_LEVEL_WIDTH

#define AGS_LEVEL_BOX_DEFAULT_FIXED_LEVEL_WIDTH (60)

AGS_LEVEL_BOX_DEFAULT_FIXED_LEVEL_HEIGHT

#define AGS_LEVEL_BOX_DEFAULT_FIXED_LEVEL_HEIGHT (128)

enum AgsLevelBoxFlags

Members

AGS_LEVEL_BOX_FIXED_LEVEL_SIZE

   

AGS_TYPE_LEVEL_BOX

#define AGS_TYPE_LEVEL_BOX                (ags_level_box_get_type())

struct AgsLevelBox

struct AgsLevelBox;

struct AgsLevelBoxClass

struct AgsLevelBoxClass {
  GtkBoxClass box;
};

Property Details

The “fixed-level-height” property

  “fixed-level-height”       guint

The fixed height of a level.

Owner: AgsLevelBox

Flags: Read / Write

Default value: 128

Since: 3.0.0


The “fixed-level-width” property

  “fixed-level-width”        guint

The fixed width of a level.

Owner: AgsLevelBox

Flags: Read / Write

Default value: 60

Since: 3.0.0