Top |
void ags_move_note_set_selection (AgsMoveNote *move_note
,GList *selection
);
Set selection
of move_note
.
move_note |
the AgsMoveNote |
|
selection |
the selection as GList. |
[element-type AgsAudio.Note][transfer none] |
Since: 3.2.3
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
else it won't have any effect.
audio |
the AgsAudio |
|
notation |
the AgsNotation |
|
selection |
the selection as GList. |
[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: 3.0.0
“absolute”
property “absolute” gboolean
Move notation by absolute position.
Owner: AgsMoveNote
Flags: Read / Write
Default value: FALSE
Since: 3.0.0
“audio”
property“audio” AgsAudio *
The assigned AgsAudio
Owner: AgsMoveNote
Flags: Read / Write
Since: 3.0.0
“first-x”
property “first-x” guint
Move notation from x offset.
Owner: AgsMoveNote
Flags: Read / Write
Allowed values: <= 307200
Default value: 0
Since: 3.0.0
“first-y”
property “first-y” guint
Move notation with x padding.
Owner: AgsMoveNote
Flags: Read / Write
Allowed values: <= 307200
Default value: 0
Since: 3.0.0
“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: 3.0.0
“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: 3.0.0
“notation”
property“notation” AgsNotation *
The assigned AgsNotation
Owner: AgsMoveNote
Flags: Read / Write
Since: 3.0.0
“relative”
property “relative” gboolean
Move notation by relative position.
Owner: AgsMoveNote
Flags: Read / Write
Default value: FALSE
Since: 3.0.0
“selection”
property “selection” gpointer
The assigned AgsNote
[type GList(AgsNote)]
Owner: AgsMoveNote
Flags: Read / Write
Since: 3.0.0