AgsRemoveNote

AgsRemoveNote — remove note object from notation

Stability Level

Stable, unless otherwise indicated

Functions

Properties

AgsAudio * audio Read / Write
guint audio-channel Read / Write
AgsNote * note Read / Write
gboolean use-selection-list Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsRemoveNote

Includes

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

Description

The AgsRemoveNote task removes AgsNote from AgsNotation.

Functions

ags_remove_note_new ()

AgsRemoveNote *
ags_remove_note_new (AgsAudio *audio,
                     AgsNote *note,
                     guint audio_channel,
                     gboolean use_selection_list);

Create a new instance of AgsRemoveNote.

Parameters

audio

the AgsAudio

 

note

the AgsNote to remove

 

audio_channel

the audio channel

 

use_selection_list

if TRUE remove of selection, otherwise of notation

 

Returns

the new AgsRemoveNote

Since: 3.0.0


AGS_IS_REMOVE_NOTE()

#define AGS_IS_REMOVE_NOTE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_NOTE))

AGS_IS_REMOVE_NOTE_CLASS()

#define AGS_IS_REMOVE_NOTE_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_NOTE))

AGS_REMOVE_NOTE()

#define AGS_REMOVE_NOTE(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_NOTE, AgsRemoveNote))

AGS_REMOVE_NOTE_CLASS()

#define AGS_REMOVE_NOTE_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_NOTE, AgsRemoveNoteClass))

AGS_REMOVE_NOTE_GET_CLASS()

#define AGS_REMOVE_NOTE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_NOTE, AgsRemoveNoteClass))

ags_remove_note_get_type ()

GType
ags_remove_note_get_type ();

Types and Values

AGS_TYPE_REMOVE_NOTE

#define AGS_TYPE_REMOVE_NOTE                (ags_remove_note_get_type())

struct AgsRemoveNote

struct AgsRemoveNote;

struct AgsRemoveNoteClass

struct AgsRemoveNoteClass {
  AgsTaskClass task;
};

Property Details

The “audio” property

  “audio”                    AgsAudio *

The assigned AgsAudio

Owner: AgsRemoveNote

Flags: Read / Write

Since: 3.0.0


The “audio-channel” property

  “audio-channel”            guint

The assigned audio channel

Owner: AgsRemoveNote

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “note” property

  “note”                     AgsNote *

The assigned AgsNote

Owner: AgsRemoveNote

Flags: Read / Write

Since: 3.0.0


The “use-selection-list” property

  “use-selection-list”       gboolean

The notation's use-selection-list.

Owner: AgsRemoveNote

Flags: Read / Write

Default value: FALSE

Since: 3.0.0