AgsLineEditor

AgsLineEditor — A composite widget to edit AgsChannel

Synopsis

#include <ags/X/ags_line_editor.h>

#define             AGS_LINE_EDITOR_DEFAULT_BUILD_ID
#define             AGS_LINE_EDITOR_DEFAULT_VERSION
struct              AgsLineEditor;
struct              AgsLineEditorClass;
AgsLineEditor *     ags_line_editor_new                 (AgsChannel *channel);
void                ags_line_editor_set_channel         (AgsLineEditor *line_editor,
                                                         AgsChannel *channel);

Description

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

Details

AGS_LINE_EDITOR_DEFAULT_BUILD_ID

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

AGS_LINE_EDITOR_DEFAULT_VERSION

#define AGS_LINE_EDITOR_DEFAULT_VERSION "0.4.2\0"

struct AgsLineEditor

struct AgsLineEditor {
  GtkVBox vbox;

  gchar *version;
  gchar *build_id;

  AgsChannel *channel;

  AgsLinkEditor *link_editor;
  AgsLineMemberEditor *member_editor;
};

struct AgsLineEditorClass

struct AgsLineEditorClass {
  GtkVBoxClass vbox;
};

ags_line_editor_new ()

AgsLineEditor *     ags_line_editor_new                 (AgsChannel *channel);

Creates an AgsLineEditor

channel :

the channel to edit

Returns :

a new AgsLineEditor

Since 0.3


ags_line_editor_set_channel ()

void                ags_line_editor_set_channel         (AgsLineEditor *line_editor,
                                                         AgsChannel *channel);

Is called as channel gets modified.

line_editor :

an AgsLineEditor

channel :

the new AgsChannel

Since 0.3