Top |
Functions
|
ags_move_note_set_selection () |
AgsMoveNote * | ags_move_note_new () |
#define | AGS_IS_MOVE_NOTE() |
#define | AGS_IS_MOVE_NOTE_CLASS() |
#define | AGS_MOVE_NOTE() |
#define | AGS_MOVE_NOTE_CLASS() |
#define | AGS_MOVE_NOTE_GET_CLASS() |
|
ags_move_note_get_type () |
Types and Values
#define | AGS_MOVE_NOTE_DEFAULT_X_LENGTH |
#define | AGS_MOVE_NOTE_DEFAULT_Y_LENGTH |
#define | AGS_TYPE_MOVE_NOTE |
struct | AgsMoveNote |
struct | AgsMoveNoteClass |
Functions
ags_move_note_set_selection ()
void ags_move_note_set_selection (AgsMoveNote *move_note
,);
GList *selection
Set selection
of move_note
.
Parameters
move_note |
the AgsMoveNote |
|
selection |
the selection as |
[element-type AgsAudio.Note][transfer none] |
Since:
ags_move_note_new ()
AgsMoveNote * ags_move_note_new (AgsAudio *audio
,AgsNotation *notation
,,
GList *selection,
guint first_x,
guint first_y,
gint move_x,
gint move_y,
gboolean relative);
gboolean absolute
Create a new instance of AgsMoveNote task. Note either relative
or absolute
shall
be TRUE
Parameters
audio |
the AgsAudio |
|
notation |
the AgsNotation |
|
selection |
the selection as |
[element-type AgsAudio.Note][transfer none] |
first_x |
the x offset to move from |
|
first_y |
the x padding to use |
|
move_x |
the amout to move in x direction |
|
move_y |
the amout to move in y direction |
|
relative |
if |
|
absolute |
if |
Since:
AGS_IS_MOVE_NOTE()
#define AGS_IS_MOVE_NOTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MOVE_NOTE))
AGS_IS_MOVE_NOTE_CLASS()
#define AGS_IS_MOVE_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MOVE_NOTE))
AGS_MOVE_NOTE()
#define AGS_MOVE_NOTE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MOVE_NOTE, AgsMoveNote))
AGS_MOVE_NOTE_CLASS()
#define AGS_MOVE_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MOVE_NOTE, AgsMoveNoteClass))
AGS_MOVE_NOTE_GET_CLASS()
#define AGS_MOVE_NOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MOVE_NOTE, AgsMoveNoteClass))
Property Details
The “absolute”
property
“absolute”gboolean
Move notation by absolute position.
Owner: AgsMoveNote
Flags: Read / Write
Default value: FALSE
Since:
The “audio”
property
“audio” AgsAudio *
The assigned AgsAudio
Owner: AgsMoveNote
Flags: Read / Write
Since:
The “first-x”
property
“first-x”guint
Move notation from x offset.
Owner: AgsMoveNote
Flags: Read / Write
Allowed values: <= 307200
Default value: 0
Since:
The “first-y”
property
“first-y”guint
Move notation with x padding.
Owner: AgsMoveNote
Flags: Read / Write
Allowed values: <= 307200
Default value: 0
Since:
The “move-x”
property
“move-x”int
Move notation by move-x amount.
Owner: AgsMoveNote
Flags: Read / Write
Allowed values: [-307200,307200]
Default value: 0
Since:
The “move-y”
property
“move-y”int
Move notation by move-y amount.
Owner: AgsMoveNote
Flags: Read / Write
Allowed values: [-1024,1024]
Default value: 0
Since:
The “notation”
property
“notation” AgsNotation *
The assigned AgsNotation
Owner: AgsMoveNote
Flags: Read / Write
Since:
The “relative”
property
“relative”gboolean
Move notation by relative position.
Owner: AgsMoveNote
Flags: Read / Write
Default value: FALSE
Since:
The “selection”
property
“selection”gpointer
The assigned AgsNote
[type GList(AgsNote)]
Owner: AgsMoveNote
Flags: Read / Write
Since: