AgsTogglePatternBit

AgsTogglePatternBit — toggles the pattern

Functions

Signals

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsTogglePatternBit

Implemented Interfaces

AgsTogglePatternBit implements AgsConnectable.

Includes

#include <ags/audio/task/ags_toggle_pattern_bit.h>

Description

The AgsTogglePatternBit task toggles the specified AgsPattern.

Functions

ags_toggle_pattern_bit_refresh_gui ()

void
ags_toggle_pattern_bit_refresh_gui (AgsTogglePatternBit *toggle_pattern_bit);


ags_toggle_pattern_bit_new ()

AgsTogglePatternBit *
ags_toggle_pattern_bit_new (AgsPattern *pattern,
                            guint line,
                            guint index_i,
                            guint index_j,
                            guint bit);

Creates an AgsTogglePatternBit.

Parameters

pattern

the AgsPattern to toggle

 

line

the affected line

 

index_i

bank 0

 

index_j

bank 1

 

bit

the index within pattern

 

Returns

an new AgsTogglePatternBit.

Since: 0.4

Types and Values

Signal Details

The “refresh-gui” signal

void
user_function (AgsTogglePatternBit *agstogglepatternbit,
               gpointer             user_data)

Flags: Run Last