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

gboolean
ags_pattern_box_led_queue_draw_timeout
                               (AgsPatternBox *pattern_box);

Queue draw led.

Parameters

pattern_box

the AgsPatternBox

 

Returns

TRUE if continue timeout, otherwise FALSE

Since: 1.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: 0.5.0


ags_pattern_box_new ()

AgsPatternBox *
ags_pattern_box_new ();

Creates an AgsPatternBox

Returns

a new AgsPatternBox

Since: 0.5


AGS_IS_PATTERN_BOX()

#define AGS_IS_PATTERN_BOX(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PATTERN_BOX))

AGS_PATTERN_BOX()

#define AGS_PATTERN_BOX(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PATTERN_BOX, AgsPatternBox))

AGS_PATTERN_BOX_CLASS()

#define AGS_PATTERN_BOX_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PATTERN_BOX, AgsPatternBoxClass))

AGS_PATTERN_BOX_GET_CLASS()

#define AGS_PATTERN_BOX_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PATTERN_BOX, AgsPatternBoxClass))

ags_pattern_box_get_type ()

GType
ags_pattern_box_get_type (void);

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

   

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

   

AGS_TYPE_PATTERN_BOX

#define AGS_TYPE_PATTERN_BOX                (ags_pattern_box_get_type())

struct AgsPatternBox

struct AgsPatternBox;

struct AgsPatternBoxClass

struct AgsPatternBoxClass {
  GtkTableClass table;
};