AgsMachineEditor

AgsMachineEditor — Edit audio related aspects

Functions

Properties

AgsMachine * machine Read / Write

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkWindow
                        ╰── GtkDialog
                            ╰── AgsMachineEditor

Implemented Interfaces

AgsMachineEditor implements AtkImplementorIface, GtkBuildable, AgsConnectable and AgsApplicable.

Includes

#include <ags/X/ags_machine_editor.h>

Description

AgsMachineEditor is a composite widget to edit all aspects of AgsAudio. It consists of multiple child editors.

Functions

ags_machine_editor_add_children ()

void
ags_machine_editor_add_children (AgsMachineEditor *machine_editor);

Add all child editors.

Parameters

machine_editor

the AgsMachineEditor

 

Since: 3.0.0


ags_machine_editor_set_machine ()

void
ags_machine_editor_set_machine (AgsMachineEditor *machine_editor,
                                AgsMachine *machine);

Is emitted as machine gets modified.

Parameters

machine_editor

an AgsMachineEditor

 

machine

the new AgsMachine

 

Since: 3.0.0


ags_machine_editor_add_input ()

void
ags_machine_editor_add_input (AgsMachineEditor *machine_editor);

ags_machine_editor_add_output ()

void
ags_machine_editor_add_output (AgsMachineEditor *machine_editor);

ags_machine_editor_remove_input ()

void
ags_machine_editor_remove_input (AgsMachineEditor *machine_editor);

ags_machine_editor_remove_output ()

void
ags_machine_editor_remove_output (AgsMachineEditor *machine_editor);

ags_machine_editor_new ()

AgsMachineEditor *
ags_machine_editor_new (AgsMachine *machine);

Creates an AgsMachineEditor

Parameters

machine

the assigned machine.

 

Returns

a new AgsMachineEditor

Since: 3.0.0


AGS_IS_MACHINE_EDITOR()

#define AGS_IS_MACHINE_EDITOR(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MACHINE_EDITOR))

AGS_MACHINE_EDITOR()

#define AGS_MACHINE_EDITOR(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MACHINE_EDITOR, AgsMachineEditor))

AGS_MACHINE_EDITOR_CLASS()

#define AGS_MACHINE_EDITOR_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MACHINE_EDITOR, AgsMachineEditorClass))

AGS_MACHINE_EDITOR_GET_CLASS()

#define AGS_MACHINE_EDITOR_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MACHINE_EDITOR, AgsMachineEditorClass))

ags_machine_editor_get_type ()

GType
ags_machine_editor_get_type (void);

Types and Values

AGS_MACHINE_EDITOR_DEFAULT_VERSION

#define AGS_MACHINE_EDITOR_DEFAULT_VERSION "0.4.2"

AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID

#define AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36"

enum AgsMachineEditorFlags

Members

AGS_MACHINE_EDITOR_CONNECTED

   

AGS_MACHINE_EDITOR_CLOSING

   

AGS_TYPE_MACHINE_EDITOR

#define AGS_TYPE_MACHINE_EDITOR                (ags_machine_editor_get_type())

struct AgsMachineEditor

struct AgsMachineEditor;

struct AgsMachineEditorClass

struct AgsMachineEditorClass {
  GtkDialogClass dialog;

  void (*set_machine)(AgsMachineEditor *machine_editor,
		      AgsMachine *machine);
};

Property Details

The “machine” property

  “machine”                  AgsMachine *

The AgsMachine to edit.

Owner: AgsMachineEditor

Flags: Read / Write

Since: 3.0.0

Signal Details

The “set-machine” signal

void
user_function (AgsMachineEditor *machine_editor,
               GObject          *machine,
               gpointer          user_data)

The ::set-machine notify about modified machine.

Parameters

machine_editor

the AgsMachineEditor

 

machine

the AgsMachine to set

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0