AgsAddNote

AgsAddNote — add note object to notation

Synopsis

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

struct              AgsAddNote;
struct              AgsAddNoteClass;
AgsAddNote *        ags_add_note_new                    (AgsNotation *notation,
                                                         AgsNote *note,
                                                         gboolean use_selection_list);

Description

The AgsAddNote task adds AgsNote to AgsNotation.

Details

struct AgsAddNote

struct AgsAddNote {
  AgsTask task;

  AgsNotation *notation;

  AgsNote *note;
  gboolean use_selection_list;
};

struct AgsAddNoteClass

struct AgsAddNoteClass {
  AgsTaskClass task;
};

ags_add_note_new ()

AgsAddNote *        ags_add_note_new                    (AgsNotation *notation,
                                                         AgsNote *note,
                                                         gboolean use_selection_list);

Creates an AgsAddNote.

notation :

the AgsNotation

note :

the AgsNote to add

use_selection_list :

if TRUE added to selection, otherwise to notation

Returns :

an new AgsAddNote.

Since 0.4