Advanced Gtk+ Sequencer Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#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
);
AgsMachineEditor is a composite widget to edit all aspects of AgsAudio. It consists of multiple child editors.
#define AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
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 { GtkDialogClass dialog; void (*set_machine)(AgsMachineEditor *machine_editor, AgsMachine *machine); };
void ags_machine_editor_add_children (AgsMachineEditor *machine_editor
);
Add all child editors.
Since 0.3
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
);
Creates an AgsMachineEditor
|
the assigned machine. |
Returns : |
a new AgsMachineEditor |
Since 0.3
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
);
Is emitted as machine gets modified.
|
an AgsMachineEditor |
|
the new AgsMachine |
Since 0.3