AgsAutomationEditor

AgsAutomationEditor — A composite widget to edit automation

Functions

Properties

GObject * soundcard Read / Write

Signals

Types and Values

Object Hierarchy

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

Implemented Interfaces

AgsAutomationEditor implements AtkImplementorIface, GtkBuildable, GtkOrientable and AgsConnectable.

Includes

#include <ags/X/ags_automation_editor.h>

Description

AgsAutomationEditor is a composite widget to edit automation. You may select machines or change editor tool to do automation.

Functions

AGS_AUTOMATION_EDITOR_CHILD()

#define AGS_AUTOMATION_EDITOR_CHILD(ptr) ((AgsAutomationEditorChild *)(ptr))

ags_automation_editor_child_alloc ()

AgsAutomationEditorChild *
ags_automation_editor_child_alloc (AgsMachine *machine,
                                   AgsScale *audio_scale,
                                   AgsAutomationEdit *audio_automation_edit,
                                   AgsNotebook *output_notebook,
                                   AgsScale *output_scale,
                                   AgsAutomationEdit *output_automation_edit,
                                   AgsNotebook *input_notebook,
                                   AgsScale *input_scale,
                                   AgsAutomationEdit *input_automation_edit);

ags_automation_editor_reset_port ()

void
ags_automation_editor_reset_port (AgsAutomationEditor *automation_editor,
                                  AgsMachine *machine,
                                  GType channel_type,
                                  gchar **remove_specifier);

Reset port if removed automation.

Parameters

automation_editor

an AgsAutomationEditor

 

machine

the AgsMachine

 

channel_type

G_TYPE_NONE, AGS_TYPE_OUTPUT or AGS_TYPE_INPUT

 

remove_specifier

the specifiers to remove

 

Since: 1.0.0


ags_automation_editor_machine_changed ()

void
ags_automation_editor_machine_changed (AgsAutomationEditor *automation_editor,
                                       AgsMachine *machine);

Is emitted as machine changed of automation editor.

Parameters

automation_editor

an AgsAutomationEditor

 

machine

the new AgsMachine

 

Since: 1.0.0


ags_automation_editor_select_all ()

void
ags_automation_editor_select_all (AgsAutomationEditor *automation_editor);

ags_automation_editor_paste ()

void
ags_automation_editor_paste (AgsAutomationEditor *automation_editor);

ags_automation_editor_copy ()

void
ags_automation_editor_copy (AgsAutomationEditor *automation_editor);

ags_automation_editor_cut ()

void
ags_automation_editor_cut (AgsAutomationEditor *automation_editor);

ags_automation_editor_invert ()

void
ags_automation_editor_invert (AgsAutomationEditor *automation_editor);

ags_automation_editor_new ()

AgsAutomationEditor *
ags_automation_editor_new ();

Create a new AgsAutomationEditor.

Returns

a new AgsAutomationEditor

Since: 1.0.0


AGS_AUTOMATION_EDITOR()

#define AGS_AUTOMATION_EDITOR(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUTOMATION_EDITOR, AgsAutomationEditor))

AGS_AUTOMATION_EDITOR_CLASS()

#define AGS_AUTOMATION_EDITOR_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUTOMATION_EDITOR, AgsAutomationEditorClass))

AGS_AUTOMATION_EDITOR_GET_CLASS()

#define AGS_AUTOMATION_EDITOR_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_AUTOMATION_EDITOR, AgsAutomationEditorClass))

AGS_IS_AUTOMATION_EDITOR()

#define AGS_IS_AUTOMATION_EDITOR(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUTOMATION_EDITOR))

ags_automation_editor_get_type ()

GType
ags_automation_editor_get_type (void);

Types and Values

AGS_AUTOMATION_EDITOR_DEFAULT_VERSION

#define AGS_AUTOMATION_EDITOR_DEFAULT_VERSION "0.7.29\0"

AGS_AUTOMATION_EDITOR_DEFAULT_BUILD_ID

#define AGS_AUTOMATION_EDITOR_DEFAULT_BUILD_ID "Mon Jun 13 11:50:58 UTC 2016\0"

enum AgsAutomationEditorFlags

Members

AGS_AUTOMATION_EDITOR_CONNECTED

   

struct AgsAutomationEditorChild

struct AgsAutomationEditorChild {
  AgsMachine *machine;
  
  AgsScale *audio_scale;
  AgsAutomationEdit *audio_automation_edit;

  AgsScale *output_scale;
  AgsNotebook *output_notebook;
  AgsAutomationEdit *output_automation_edit;

  AgsScale *input_scale;
  AgsNotebook *input_notebook;
  AgsAutomationEdit *input_automation_edit;
};

AGS_TYPE_AUTOMATION_EDITOR

#define AGS_TYPE_AUTOMATION_EDITOR                (ags_automation_editor_get_type())

struct AgsAutomationEditor

struct AgsAutomationEditor;

struct AgsAutomationEditorClass

struct AgsAutomationEditorClass {
  GtkVBoxClass vbox;

  void (*machine_changed)(AgsAutomationEditor *automation_editor,
			  AgsMachine *machine);
};

Property Details

The “soundcard” property

  “soundcard”                GObject *

The assigned AgsSoundcard acting as default sink.

Flags: Read / Write

Since: 1.0.0

Signal Details

The “machine-changed” signal

void
user_function (AgsAutomationEditor *agsautomationeditor,
               GObject             *arg1,
               gpointer             user_data)

Flags: Run Last