AgsPatternBox

AgsPatternBox — pattern box sequencer

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Includes

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

Description

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

Functions

ags_pattern_box_get_pad ()

GList *
ags_pattern_box_get_pad (AgsPatternBox *pattern_box);

Get pad of pattern_box .

Parameters

pattern_box

the AgsPatternBox

 

Returns

the GList containing GtkToggleButton

Since: 4.0.0


ags_pattern_box_add_pad ()

void
ags_pattern_box_add_pad (AgsPatternBox *pattern_box,
                         GtkToggleButton *pad);

Add pad to pattern_box .

Parameters

pattern_box

the AgsPattern_Box

 

pad

the GtkToggleButton

 

Since: 4.0.0


ags_pattern_box_remove_pad ()

void
ags_pattern_box_remove_pad (AgsPatternBox *pattern_box,
                            GtkToggleButton *pad);

Remove pad from pattern_box .

Parameters

pattern_box

the AgsPattern_Box

 

pad

the AgsPad

 

Since: 4.0.0


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: 2.0.0


ags_pattern_box_new ()

AgsPatternBox *
ags_pattern_box_new ();

Create a new instance of AgsPatternBox

Returns

the new AgsPatternBox

Since: 3.0.0

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 (10)

AGS_PATTERN_BOX_LED_DEFAULT_HEIGHT

#define AGS_PATTERN_BOX_LED_DEFAULT_HEIGHT (10)

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

   

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