AgsMachineEditor

AgsMachineEditor — pack pad editors.

Synopsis

#include <ags/X/ags_machine_editor.h>

#define             AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID
#define             AGS_MACHINE_EDITOR_DEFAULT_VERSION
struct              AgsMachineEditor;
struct              AgsMachineEditorClass;
enum                AgsMachineEditorFlags;
void                ags_machine_editor_add_children     (AgsMachineEditor *machine_editor);
void                ags_machine_editor_add_input        (AgsMachineEditor *machine_editor);
void                ags_machine_editor_add_output       (AgsMachineEditor *machine_editor);
AgsMachineEditor *  ags_machine_editor_new              (AgsMachine *machine);
void                ags_machine_editor_remove_input     (AgsMachineEditor *machine_editor);
void                ags_machine_editor_remove_output    (AgsMachineEditor *machine_editor);
void                ags_machine_editor_set_machine      (AgsMachineEditor *machine_editor,
                                                         AgsMachine *machine);

Description

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

Details

AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID

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

AGS_MACHINE_EDITOR_DEFAULT_VERSION

#define AGS_MACHINE_EDITOR_DEFAULT_VERSION "0.4.2\0"

struct AgsMachineEditor

struct AgsMachineEditor {
  GtkDialog dialog;

  guint flags;

  gchar *version;
  gchar *build_id;

  AgsMachine *machine;

  GtkNotebook *notebook;

  GtkScrolledWindow *output_scrolled_window;
  AgsListingEditor *output_editor;

  GtkScrolledWindow *input_scrolled_window;
  AgsListingEditor *input_editor;

  GtkScrolledWindow *output_link_editor_scrolled_window;
  AgsPropertyCollectionEditor *output_link_editor;

  GtkScrolledWindow *input_link_editor_scrolled_window;
  AgsPropertyCollectionEditor *input_link_editor;

  GtkScrolledWindow *resize_editor_scrolled_window;
  AgsResizeEditor *resize_editor;

  GtkButton *add;
  GtkButton *remove;
  GtkButton *apply;
  GtkButton *ok;
  GtkButton *cancel;
};

struct AgsMachineEditorClass

struct AgsMachineEditorClass {
  GtkDialogClass dialog;

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

enum AgsMachineEditorFlags

typedef enum {
  AGS_MACHINE_EDITOR_CLOSING   =  1,
} AgsMachineEditorFlags;

ags_machine_editor_add_children ()

void                ags_machine_editor_add_children     (AgsMachineEditor *machine_editor);

Add all child editors.

Since 0.3


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_new ()

AgsMachineEditor *  ags_machine_editor_new              (AgsMachine *machine);

Creates an AgsMachineEditor

machine :

the assigned machine.

Returns :

a new AgsMachineEditor

Since 0.3


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_set_machine ()

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

Is emitted as machine gets modified.

machine_editor :

an AgsMachineEditor

machine :

the new AgsMachine

Since 0.3