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: 0.4


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: 0.4


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: 0.4


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: 0.4


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: 0.4


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: 0.4


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: 0.4


ags_note_edit_new ()

AgsNoteEdit *
ags_note_edit_new ();

Create a new AgsNoteEdit.

Returns

a new AgsNoteEdit

Since: 0.4

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