AgsEditor

AgsEditor — A composite widget to edit notes

Synopsis

#include <ags/X/ags_editor.h>

#define             AGS_EDITOR_DEFAULT
#define             AGS_EDITOR_DEFAULT_BUILD_ID
#define             AGS_EDITOR_DEFAULT_VERSION
struct              AgsEditor;
struct              AgsEditorClass;
void                ags_editor_machine_changed          (AgsEditor *editor,
                                                         AgsMachine *machine);
AgsEditor *         ags_editor_new                      ();

Description

AgsEditor is a composite widget to edit notes. You may select machines or change editor tool to do notation.

Details

AGS_EDITOR_DEFAULT

#define AGS_EDITOR_DEFAULT "default\0"

AGS_EDITOR_DEFAULT_BUILD_ID

#define AGS_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"

AGS_EDITOR_DEFAULT_VERSION

#define AGS_EDITOR_DEFAULT_VERSION "0.4.2\0"

struct AgsEditor

struct AgsEditor {
  GtkVBox vbox;

  guint flags;

  gchar *version;
  gchar *build_id;

  AgsDevout *devout;

  AgsMachineSelector *machine_selector;
  AgsMachine *selected_machine;
  gulong set_audio_channels_handler;
  gulong set_pads_handler;

  AgsToolbar *toolbar;

  AgsNotebook *notebook;

  AgsMeter *meter;
  AgsNoteEdit *note_edit;

  guint tact_counter;
};

struct AgsEditorClass

struct AgsEditorClass {
  GtkVBoxClass vbox;

  void (*machine_changed)(AgsEditor *editor, AgsMachine *machine);
};

ags_editor_machine_changed ()

void                ags_editor_machine_changed          (AgsEditor *editor,
                                                         AgsMachine *machine);

Is emitted as machine changed of editor.

editor :

an AgsEditor

machine :

the new AgsMachine

Since 0.4


ags_editor_new ()

AgsEditor *         ags_editor_new                      ();

Creates an AgsEditor

Returns :

a new AgsEditor

Since 0.3