Top |
void ags_crop_note_set_selection (AgsCropNote *crop_note
,GList *selection
);
Set selection
of crop_note
.
crop_note |
the AgsCropNote |
|
selection |
the selection as GList. |
[element-type AgsAudio.Note][transfer none] |
Since: 3.2.3
AgsCropNote * ags_crop_note_new (AgsAudio *audio
,AgsNotation *notation
,GList *selection
,guint x_padding
,gint x_crop
,gboolean absolute
,gboolean in_place
,gboolean do_resize
);
WARNING you need to provide AgsAudio as a property.
Creates an AgsCropNote task. Note either in_place
or do_resize
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] |
x_padding |
the x padding to use |
|
x_crop |
the amout to crop |
|
absolute |
if |
|
in_place |
if |
|
do_resize |
if |
Since: 3.0.0
“absolute”
property “absolute” gboolean
Crop notation by absolute position.
Owner: AgsCropNote
Flags: Read / Write
Default value: FALSE
Since: 3.0.0
“audio”
property“audio” AgsAudio *
The assigned AgsAudio
Owner: AgsCropNote
Flags: Read / Write
Since: 3.0.0
“do-resize”
property “do-resize” gboolean
Crop notation do resize.
Owner: AgsCropNote
Flags: Read / Write
Default value: FALSE
Since: 3.0.0
“in-place”
property “in-place” gboolean
Crop notation in place.
Owner: AgsCropNote
Flags: Read / Write
Default value: FALSE
Since: 3.0.0
“notation”
property“notation” AgsNotation *
The assigned AgsNotation
Owner: AgsCropNote
Flags: Read / Write
Since: 3.0.0
“selection”
property “selection” gpointer
The assigned AgsNote
[transfer full]
Owner: AgsCropNote
Flags: Read / Write
Since: 3.0.0
“x-crop”
property “x-crop” int
Crop notation by x-crop amount.
Owner: AgsCropNote
Flags: Read / Write
Allowed values: [-307200,307200]
Default value: 0
Since: 3.0.0