AgsAddNote

AgsAddNote — add note object to notation

Functions

Properties

AgsNotation * notation Read / Write
AgsNote * note Read / Write
gboolean use-selection-list Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsAddNote

Implemented Interfaces

AgsAddNote implements AgsConnectable.

Includes

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

Description

The AgsAddNote task adds AgsNote to AgsNotation.

Functions

ags_add_note_new ()

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

Creates an AgsAddNote.

Parameters

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


AGS_ADD_NOTE()

#define AGS_ADD_NOTE(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_NOTE, AgsAddNote))


AGS_ADD_NOTE_CLASS()

#define AGS_ADD_NOTE_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_NOTE, AgsAddNoteClass))


AGS_ADD_NOTE_GET_CLASS()

#define AGS_ADD_NOTE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_NOTE, AgsAddNoteClass))


AGS_IS_ADD_NOTE()

#define AGS_IS_ADD_NOTE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_NOTE))


AGS_IS_ADD_NOTE_CLASS()

#define AGS_IS_ADD_NOTE_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_NOTE))


ags_add_note_get_type ()

GType
ags_add_note_get_type ();

Types and Values

AGS_TYPE_ADD_NOTE

#define AGS_TYPE_ADD_NOTE                (ags_add_note_get_type())


struct AgsAddNote

struct AgsAddNote;


struct AgsAddNoteClass

struct AgsAddNoteClass {
  AgsTaskClass task;
};

Property Details

The “notation” property

  “notation”                 AgsNotation *

The assigned AgsNotation

Flags: Read / Write

Since: 0.7.117


The “note” property

  “note”                     AgsNote *

The assigned AgsNote

Flags: Read / Write

Since: 0.7.117


The “use-selection-list” property

  “use-selection-list”       gboolean

The notation's use-selection-list.

Flags: Read / Write

Default value: FALSE

Since: 0.7.117