AgsNoteEdit

AgsNoteEdit — edit notes

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkTable
                        ╰── AgsNoteEdit

Implemented Interfaces

AgsNoteEdit implements AtkImplementorIface, GtkBuildable and AgsConnectable.

Includes

#include <ags/X/editor/ags_note_edit.h>

Description

The AgsNoteEdit lets you edit notes.

Functions

ags_note_edit_set_map_height ()

void
ags_note_edit_set_map_height (AgsNoteEdit *note_edit,
                              guint map_height);

Set the map height in pixel.

Parameters

note_edit

the AgsNoteEdit

 

map_height

the new height

 

Since: 1.0.0


ags_note_edit_reset_vertically ()

void
ags_note_edit_reset_vertically (AgsNoteEdit *note_edit,
                                guint flags);

Reset note_edit as configured vertically.

Parameters

note_edit

the AgsNoteEdit

 

flags

the AgsNoteEditResetFlags

 

Since: 1.0.0


ags_note_edit_reset_horizontally ()

void
ags_note_edit_reset_horizontally (AgsNoteEdit *note_edit,
                                  guint flags);

Reset note_edit as configured horizontally.

Parameters

note_edit

the AgsNoteEdit

 

flags

the AgsNoteEditResetFlags

 

Since: 1.0.0


ags_note_edit_draw_segment ()

void
ags_note_edit_draw_segment (AgsNoteEdit *note_edit,
                            cairo_t *cr);

Draws horizontal and vertical lines.

Parameters

note_edit

the AgsNoteEdit

 

cr

the cairo_t surface

 

Since: 1.0.0


ags_note_edit_draw_position ()

void
ags_note_edit_draw_position (AgsNoteEdit *note_edit,
                             cairo_t *cr);

Draws the cursor.

Parameters

note_edit

the AgsNoteEdit

 

cr

the cairo_t surface

 

Since: 1.0.0


ags_note_edit_draw_notation ()

void
ags_note_edit_draw_notation (AgsNoteEdit *note_edit,
                             cairo_t *cr);

Draw the AgsNotation of selected AgsMachine on note_edit .

Parameters

note_edit

the AgsNoteEdit

 

cr

the cairo_t surface

 

Since: 1.0.0


ags_note_edit_draw_scroll ()

void
ags_note_edit_draw_scroll (AgsNoteEdit *note_edit,
                           cairo_t *cr,
                           gdouble position);

Change visible x-position of note_edit .

Parameters

note_edit

the AgsNoteEdit

 

cr

the cairo_t surface

 

position

the new position

 

Since: 1.0.0


ags_note_edit_new ()

AgsNoteEdit *
ags_note_edit_new ();

Create a new AgsNoteEdit.

Returns

a new AgsNoteEdit

Since: 1.0.0


AGS_IS_NOTE_EDIT()

#define AGS_IS_NOTE_EDIT(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_NOTE_EDIT))

AGS_NOTE_EDIT()

#define AGS_NOTE_EDIT(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_NOTE_EDIT, AgsNoteEdit))

AGS_NOTE_EDIT_CLASS()

#define AGS_NOTE_EDIT_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NOTE_EDIT, AgsNoteEditClass))

AGS_NOTE_EDIT_GET_CLASS()

#define AGS_NOTE_EDIT_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_NOTE_EDIT, AgsNoteEditClass))

ags_note_edit_get_type ()

GType
ags_note_edit_get_type (void);

Types and Values

AGS_NOTE_EDIT_MAX_CONTROLS

#define AGS_NOTE_EDIT_MAX_CONTROLS (1200)

enum AgsNoteEditFlags

Members

AGS_NOTE_EDIT_RESETING_VERTICALLY

   

AGS_NOTE_EDIT_RESETING_HORIZONTALLY

   

AGS_NOTE_EDIT_POSITION_CURSOR

   

AGS_NOTE_EDIT_ADDING_NOTE

   

AGS_NOTE_EDIT_DELETING_NOTE

   

AGS_NOTE_EDIT_SELECTING_NOTES

   

AGS_NOTE_EDIT_DRAW_FADER

   

enum AgsNoteEditResetFlags

Members

AGS_NOTE_EDIT_RESET_VSCROLLBAR

   

AGS_NOTE_EDIT_RESET_HSCROLLBAR

   

AGS_NOTE_EDIT_RESET_WIDTH

   

AGS_NOTE_EDIT_RESET_HEIGHT

   

enum AgsNoteEditKeyMask

Members

AGS_NOTE_EDIT_KEY_L_CONTROL

   

AGS_NOTE_EDIT_KEY_R_CONTROL

   

AGS_NOTE_EDIT_KEY_L_SHIFT

   

AGS_NOTE_EDIT_KEY_R_SHIFT

   

AGS_TYPE_NOTE_EDIT

#define AGS_TYPE_NOTE_EDIT                (ags_note_edit_get_type())

struct AgsNoteEdit

struct AgsNoteEdit;

struct AgsNoteEditClass

struct AgsNoteEditClass {
  GtkTableClass table;
};