AgsRemoveRegionFromSelection

AgsRemoveRegionFromSelection — remove region from notation selection

Functions

Properties

AgsNotation * notation Read / Write
guint x0 Read / Write
guint x1 Read / Write
guint y0 Read / Write
guint y1 Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsRemoveRegionFromSelection

Implemented Interfaces

AgsRemoveRegionFromSelection implements AgsConnectable.

Includes

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

Description

The AgsRemoveRegionFromSelection task removes the specified AgsNote from selection of AgsNotation.

Functions

ags_remove_region_from_selection_new ()

AgsRemoveRegionFromSelection *
ags_remove_region_from_selection_new (AgsNotation *notation,
                                      guint x0,
                                      guint y0,
                                      guint x1,
                                      guint y1);

Creates an AgsRemoveRegionFromSelection.

Parameters

notation

the AgsNotation providing the selection

 

x0

start x coordinate

 

y0

start y coordinate

 

x1

end x coordinate

 

y1

end y coordinate

 

Since: 1.0.0


AGS_IS_REMOVE_REGION_FROM_SELECTION()

#define AGS_IS_REMOVE_REGION_FROM_SELECTION(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_REGION_FROM_SELECTION))

AGS_REMOVE_REGION_FROM_SELECTION()

#define AGS_REMOVE_REGION_FROM_SELECTION(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_REGION_FROM_SELECTION, AgsRemoveRegionFromSelection))

AGS_REMOVE_REGION_FROM_SELECTION_CLASS()

#define AGS_REMOVE_REGION_FROM_SELECTION_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_REGION_FROM_SELECTION, AgsRemoveRegionFromSelectionClass))

AGS_REMOVE_REGION_FROM_SELECTION_GET_CLASS()

#define AGS_REMOVE_REGION_FROM_SELECTION_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_REGION_FROM_SELECTION, AgsRemoveRegionFromSelectionClass))

ags_remove_region_from_selection_get_type ()

GType
ags_remove_region_from_selection_get_type
                               ();

Types and Values

AGS_TYPE_REMOVE_REGION_FROM_SELECTION

#define AGS_TYPE_REMOVE_REGION_FROM_SELECTION                (ags_remove_region_from_selection_get_type())

struct AgsRemoveRegionFromSelection

struct AgsRemoveRegionFromSelection;

struct AgsRemoveRegionFromSelectionClass

struct AgsRemoveRegionFromSelectionClass {
  AgsTaskClass task;
};

Property Details

The “notation” property

  “notation”                 AgsNotation *

The assigned AgsNotation

Flags: Read / Write

Since: 1.0.0


The “x0” property

  “x0”                       guint

Note offset x0.

Flags: Read / Write

Allowed values: <= 65535

Default value: 0

Since: 1.0.0


The “x1” property

  “x1”                       guint

Note offset x1.

Flags: Read / Write

Allowed values: <= 65535

Default value: 0

Since: 1.0.0


The “y0” property

  “y0”                       guint

Note offset y0.

Flags: Read / Write

Allowed values: <= 65535

Default value: 0

Since: 1.0.0


The “y1” property

  “y1”                       guint

Note offset y1.

Flags: Read / Write

Allowed values: <= 65535

Default value: 0

Since: 1.0.0