AgsEnvelopeEditor

AgsEnvelopeEditor — Edit envelope of notes

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── GtkVBox
                        ╰── AgsEnvelopeEditor

Implemented Interfaces

AgsEnvelopeEditor implements AtkImplementorIface, GtkBuildable, GtkOrientable, AgsConnectable and AgsApplicable.

Includes

#include <ags/X/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


AGS_ENVELOPE_EDITOR()

#define AGS_ENVELOPE_EDITOR(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ENVELOPE_EDITOR, AgsEnvelopeEditor))

AGS_ENVELOPE_EDITOR_CLASS()

#define AGS_ENVELOPE_EDITOR_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ENVELOPE_EDITOR, AgsEnvelopeEditorClass))

AGS_ENVELOPE_EDITOR_GET_CLASS()

#define AGS_ENVELOPE_EDITOR_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ENVELOPE_EDITOR, AgsEnvelopeEditorClass))

AGS_IS_ENVELOPE_EDITOR()

#define AGS_IS_ENVELOPE_EDITOR(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ENVELOPE_EDITOR))

AGS_IS_ENVELOPE_EDITOR_CLASS()

#define AGS_IS_ENVELOPE_EDITOR_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ENVELOPE_EDITOR))

ags_envelope_editor_get_type ()

GType
ags_envelope_editor_get_type (void);

Types and Values

AGS_ENVELOPE_EDITOR_DEFAULT_VERSION

#define AGS_ENVELOPE_EDITOR_DEFAULT_VERSION "0.8.2"

AGS_ENVELOPE_EDITOR_DEFAULT_BUILD_ID

#define AGS_ENVELOPE_EDITOR_DEFAULT_BUILD_ID "CEST 24-05-2017 10:16"

enum AgsEnvelopeEditorFlags

Members

AGS_ENVELOPE_EDITOR_CONNECTED

   

AGS_ENVELOPE_EDITOR_NO_UPDATE

   

AGS_TYPE_ENVELOPE_EDITOR

#define AGS_TYPE_ENVELOPE_EDITOR                (ags_envelope_editor_get_type())

struct AgsEnvelopeEditor

struct AgsEnvelopeEditor;

struct AgsEnvelopeEditorClass

struct AgsEnvelopeEditorClass {
  GtkVBoxClass vbox;
};