AgsConnectionEditor

AgsConnectionEditor — Edit audio connections

Stability Level

Stable, unless otherwise indicated

Functions

Properties

AgsMachine * machine Read / Write

Signals

Types and Values

Object Hierarchy

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

Implemented Interfaces

AgsConnectionEditor implements AtkImplementorIface, GtkBuildable, AgsConnectable and AgsApplicable.

Includes

#include <ags/X/ags_connection_editor.h>

Description

AgsConnectionEditor is a composite widget intended to assign output or input soundcards. It consists of multiple child editors.

Functions

ags_connection_editor_set_machine ()

void
ags_connection_editor_set_machine (AgsConnectionEditor *connection_editor,
                                   AgsMachine *machine);

Is emitted as machine gets modified.

Parameters

connection_editor

an AgsConnectionEditor

 

machine

the new AgsMachine

 

Since: 3.0.0


ags_connection_editor_new ()

AgsConnectionEditor *
ags_connection_editor_new (AgsMachine *machine);

Create a new instance of AgsConnectionEditor

Parameters

machine

the assigned AgsMachine.

 

Returns

the new AgsConnectionEditor

Since: 3.0.0


AGS_CONNECTION_EDITOR()

#define AGS_CONNECTION_EDITOR(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CONNECTION_EDITOR, AgsConnectionEditor))

AGS_CONNECTION_EDITOR_CLASS()

#define AGS_CONNECTION_EDITOR_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CONNECTION_EDITOR, AgsConnectionEditorClass))

AGS_CONNECTION_EDITOR_GET_CLASS()

#define AGS_CONNECTION_EDITOR_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CONNECTION_EDITOR, AgsConnectionEditorClass))

AGS_IS_CONNECTION_EDITOR()

#define AGS_IS_CONNECTION_EDITOR(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CONNECTION_EDITOR))

AGS_IS_CONNECTION_EDITOR_CLASS()

#define AGS_IS_CONNECTION_EDITOR_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CONNECTION_EDITOR))

ags_connection_editor_get_type ()

GType
ags_connection_editor_get_type (void);

Types and Values

AGS_CONNECTION_EDITOR_DEFAULT_VERSION

#define AGS_CONNECTION_EDITOR_DEFAULT_VERSION "2.0.0"

AGS_CONNECTION_EDITOR_DEFAULT_BUILD_ID

#define AGS_CONNECTION_EDITOR_DEFAULT_BUILD_ID "Sun Aug 26 19:06:10 UTC 2018"

enum AgsConnectionEditorFlags

Members

AGS_CONNECTION_EDITOR_CONNECTED

   

AGS_CONNECTION_EDITOR_CLOSING

   

AGS_CONNECTION_EDITOR_SHOW_OUTPUT

   

AGS_CONNECTION_EDITOR_SHOW_INPUT

   

AGS_TYPE_CONNECTION_EDITOR

#define AGS_TYPE_CONNECTION_EDITOR                (ags_connection_editor_get_type())

struct AgsConnectionEditor

struct AgsConnectionEditor;

struct AgsConnectionEditorClass

struct AgsConnectionEditorClass {
  GtkDialogClass dialog;

  void (*set_machine)(AgsConnectionEditor *connection_editor,
		      AgsMachine *machine);
};

Property Details

The “machine” property

  “machine”                  AgsMachine *

The machine which this machine editor is assigned with.

Owner: AgsConnectionEditor

Flags: Read / Write

Signal Details

The “set-machine” signal

void
user_function (AgsConnectionEditor *agsconnectioneditor,
               GObject             *arg1,
               gpointer             user_data)

Flags: Run Last