AgsEditor

AgsEditor — A composite widget to edit notes

Functions

Properties

GObject * soundcard Read / Write

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBox
                        ╰── GtkVBox
                            ╰── AgsEditor

Implemented Interfaces

AgsEditor implements AtkImplementorIface, GtkBuildable, GtkOrientable and AgsConnectable.

Includes

#include <ags/X/ags_editor.h>

Description

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

Functions

AGS_EDITOR_CHILD()

#define AGS_EDITOR_CHILD(ptr) ((AgsEditorChild *)(ptr))


ags_editor_child_alloc ()

AgsEditorChild *
ags_editor_child_alloc (AgsMachine *machine,
                        AgsNotebook *notebook,
                        AgsMeter *meter,
                        GtkWidget *edit_widget);


ags_editor_machine_changed ()

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

Is emitted as machine changed of editor.

Parameters

editor

an AgsEditor

 

machine

the new AgsMachine

 

Since: 0.4


ags_editor_select_all ()

void
ags_editor_select_all (AgsEditor *editor);

Invert all notation of editor 's selected machine.

Parameters

editor

an AgsEditor

 

Since: 0.5.0


ags_editor_paste ()

void
ags_editor_paste (AgsEditor *editor);

Is emitted as machine changed of editor.

Parameters

editor

an AgsEditor

 

Since: 0.4.2


ags_editor_copy ()

void
ags_editor_copy (AgsEditor *editor);

Is emitted as machine changed of editor.

Parameters

editor

an AgsEditor

 

Since: 0.4.2


ags_editor_cut ()

void
ags_editor_cut (AgsEditor *editor);

Is emitted as machine changed of editor.

Parameters

editor

an AgsEditor

 

Since: 0.4.2


ags_editor_invert ()

void
ags_editor_invert (AgsEditor *editor);


ags_editor_new ()

AgsEditor *
ags_editor_new ();

Creates an AgsEditor

Returns

a new AgsEditor

Since: 0.3

Types and Values

AGS_EDITOR_DEFAULT_VERSION

#define AGS_EDITOR_DEFAULT_VERSION "0.4.2\0"


AGS_EDITOR_DEFAULT_BUILD_ID

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


AGS_EDITOR_DEFAULT

#define AGS_EDITOR_DEFAULT "default\0"


enum AgsEditorFlags

Members

AGS_EDITOR_CONNECTED

   

struct AgsEditorChild

struct AgsEditorChild {
  AgsMachine *machine;

  AgsNotebook *notebook;
  AgsMeter *meter;
  GtkWidget *edit_widget;
};

Property Details

The “soundcard” property

  “soundcard”                GObject *

The soundcard it is assigned with.

Flags: Read / Write

Since: 0.4

Signal Details

The “machine-changed” signal

void
user_function (AgsEditor *editor,
               GObject   *machine,
               gpointer   user_data)

Flags: Run Last