AgsEnvelopeEditor

AgsEnvelopeEditor — Edit envelope of notes

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkBox
                ╰── AgsEnvelopeEditor

Includes

#include <ags/app/ags_envelope_editor.h>

Description

AgsEnvelopeEditor is a composite widget to edit envelope controls of selected AgsNote.

Functions

ags_envelope_editor_get_active_preset ()

AgsPreset *
ags_envelope_editor_get_active_preset (AgsEnvelopeEditor *envelope_editor);

Get active preset.

Parameters

envelope_editor

the AgsEnvelopeEditor

 

Returns

the matching AgsPreset, if none selected NULL

Since: 3.0.0


ags_envelope_editor_load_preset ()

void
ags_envelope_editor_load_preset (AgsEnvelopeEditor *envelope_editor);

Load preset.

Parameters

envelope_editor

the AgsPatternEnvelope

 

Since: 3.0.0


ags_envelope_editor_add_preset ()

void
ags_envelope_editor_add_preset (AgsEnvelopeEditor *envelope_editor,
                                gchar *preset_name);

Add preset.

Parameters

envelope_editor

the AgsPatternEnvelope

 

preset_name

the preset name

 

Since: 3.0.0


ags_envelope_editor_remove_preset ()

void
ags_envelope_editor_remove_preset (AgsEnvelopeEditor *envelope_editor,
                                   guint nth);

Remove preset.

Parameters

envelope_editor

the AgsPatternEnvelope

 

nth

the nth preset to remove

 

Since: 3.0.0


ags_envelope_editor_reset_control ()

void
ags_envelope_editor_reset_control (AgsEnvelopeEditor *envelope_editor);

Reset controls.

Parameters

envelope_editor

the AgsEnvelopeEditor

 

Since: 3.0.0


ags_envelope_editor_plot ()

void
ags_envelope_editor_plot (AgsEnvelopeEditor *envelope_editor);

Plot envelope.

Parameters

envelope_editor

the AgsEnvelopeEditor

 

Since: 3.0.0


ags_envelope_editor_new ()

AgsEnvelopeEditor *
ags_envelope_editor_new ();

Create a new instance of AgsEnvelopeEditor

Returns

the new AgsEnvelopeEditor

Since: 3.0.0

Types and Values

AGS_ENVELOPE_EDITOR_DEFAULT_VERSION

#define AGS_ENVELOPE_EDITOR_DEFAULT_VERSION "4.0.0"

AGS_ENVELOPE_EDITOR_DEFAULT_BUILD_ID

#define AGS_ENVELOPE_EDITOR_DEFAULT_BUILD_ID "Tue Mar 01 12:27:51 UTC 2022"

AGS_ENVELOPE_EDITOR_SCALE_WIDTH

#define AGS_ENVELOPE_EDITOR_SCALE_WIDTH (250)

enum AgsEnvelopeEditorFlags

Members

AGS_ENVELOPE_EDITOR_NO_UPDATE