AgsPatternBox

AgsPatternBox — pattern box sequencer

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkTable
                        ╰── AgsPatternBox

Implemented Interfaces

AgsPatternBox implements AtkImplementorIface, GtkBuildable and AgsConnectable.

Includes

#include <ags/X/machine/ags_pattern_box.h>

Description

The AgsPatternBox is a composite widget to act as pattern box sequencer.

Functions

ags_pattern_box_set_pattern ()

void
ags_pattern_box_set_pattern (AgsPatternBox *pattern_box);

Resets the pattern on pattern_box .

Parameters

pattern_box

the AgsPatternBox

 

Since: 0.5.0


ags_pattern_box_new ()

AgsPatternBox *
ags_pattern_box_new ();

Creates an AgsPatternBox

Returns

a new AgsPatternBox

Since: 0.5

Types and Values

AGS_PATTERN_BOX_DEFAULT_PAD_WIDTH

#define AGS_PATTERN_BOX_DEFAULT_PAD_WIDTH   (24)


AGS_PATTERN_BOX_DEFAULT_PAD_HEIGHT

#define AGS_PATTERN_BOX_DEFAULT_PAD_HEIGHT  (24)


AGS_PATTERN_BOX_LED_DEFAULT_WIDTH

#define AGS_PATTERN_BOX_LED_DEFAULT_WIDTH (8)


AGS_PATTERN_BOX_LED_DEFAULT_HEIGHT

#define AGS_PATTERN_BOX_LED_DEFAULT_HEIGHT (4)


AGS_PATTERN_BOX_N_CONTROLS

#define AGS_PATTERN_BOX_N_CONTROLS (16)


AGS_PATTERN_BOX_N_INDICES

#define AGS_PATTERN_BOX_N_INDICES (4)


enum AgsPatternBoxFlags

Members

AGS_PATTERN_BOX_BLOCK_PATTERN

   

AGS_PATTERN_BOX_CONNECTED

   

enum AgsPatternBoxKeyMask

Members

AGS_PATTERN_BOX_KEY_L_CONTROL

   

AGS_PATTERN_BOX_KEY_R_CONTROL

   

enum AgsPatternBoxAction

Members

AGS_PATTERN_BOX_MOVE_LEFT

   

AGS_PATTERN_BOX_MOVE_RIGHT

   

AGS_PATTERN_BOX_INDEX_DECREMENT

   

AGS_PATTERN_BOX_INDEX_INCREMENT

   

AGS_PATTERN_BOX_TOGGLE_PAD

   

AGS_PATTERN_BOX_COPY_PATTERN