AgsPadEditor

AgsPadEditor — A composite widget to edit AgsChannel

Synopsis

#include <ags/X/ags_pad_editor.h>

#define             AGS_PAD_EDITOR_DEFAULT_BUILD_ID
#define             AGS_PAD_EDITOR_DEFAULT_VERSION
struct              AgsPadEditor;
struct              AgsPadEditorClass;
AgsPadEditor *      ags_pad_editor_new                  (AgsChannel *channel);
void                ags_pad_editor_set_channel          (AgsPadEditor *pad_editor,
                                                         AgsChannel *channel);

Description

AgsPadEditor is a composite widget to edit AgsChannel. It should be packed by an AgsPadEditor.

Details

AGS_PAD_EDITOR_DEFAULT_BUILD_ID

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

AGS_PAD_EDITOR_DEFAULT_VERSION

#define AGS_PAD_EDITOR_DEFAULT_VERSION "0.4.2\0"

struct AgsPadEditor

struct AgsPadEditor {
  GtkVBox vbox;

  gchar *version;
  gchar *build_id;
  
  AgsChannel *pad;

  GtkExpander *line_editor_expander;
  GtkVBox *line_editor;
};

struct AgsPadEditorClass

struct AgsPadEditorClass {
  GtkVBoxClass vbox;
};

ags_pad_editor_new ()

AgsPadEditor *      ags_pad_editor_new                  (AgsChannel *channel);

Creates an AgsPadEditor

channel :

the channel to edit

Returns :

a new AgsPadEditor

Since 0.3


ags_pad_editor_set_channel ()

void                ags_pad_editor_set_channel          (AgsPadEditor *pad_editor,
                                                         AgsChannel *channel);

Is called as channel gets modified.

pad_editor :

an AgsPadEditor

channel :

the new AgsChannel

Since 0.3