AgsAddPointToSelection

AgsAddPointToSelection — add point to notation selection

Synopsis

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

struct              AgsAddPointToSelection;
struct              AgsAddPointToSelectionClass;
AgsAddPointToSelection * ags_add_point_to_selection_new (AgsNotation *notation,
                                                         guint x,
                                                         guint y,
                                                         gboolean replace_current_selection);

Description

The AgsAddPointToSelection task adds the specified AgsNote to selection of AgsNotation.

Details

struct AgsAddPointToSelection

struct AgsAddPointToSelection {
  AgsTask task;

  AgsNotation *notation;

  guint x;
  guint y;

  gboolean replace_current_selection;
};

struct AgsAddPointToSelectionClass

struct AgsAddPointToSelectionClass {
  AgsTaskClass task;
};

ags_add_point_to_selection_new ()

AgsAddPointToSelection * ags_add_point_to_selection_new (AgsNotation *notation,
                                                         guint x,
                                                         guint y,
                                                         gboolean replace_current_selection);

Creates an AgsAddPointToSelection.

notation :

the AgsNotation providing the selection

x :

x coordinate

y :

y coordinate

replace_current_selection :

if TRUE new selection is created, otherwise added to current

Returns :

an new AgsAddPointToSelection.

Since 0.4