AgsLine

AgsLine — A composite widget to visualize AgsChannel

Synopsis

#include <ags/X/ags_line.h>

#define             AGS_LINE_DEFAULT_BUILD_ID
#define             AGS_LINE_DEFAULT_VERSION
struct              AgsLine;
struct              AgsLineClass;
enum                AgsLineFlags;
GList *             ags_line_find_next_grouped          (GList *line);
GList *             ags_line_find_port                  (AgsLine *line);
void                ags_line_group_changed              (AgsLine *line);
void                ags_line_map_recall                 (AgsLine *line,
                                                         guint output_pad_start);
AgsLine *           ags_line_new                        (GtkWidget *pad,
                                                         AgsChannel *channel);
void                ags_line_set_channel                (AgsLine *line,
                                                         AgsChannel *channel);

Description

AgsLine is a composite widget to visualize AgsChannel. It should be packed by an AgsPad. It may contain AgsLineMember to modify ports of AgsRecall.

Details

AGS_LINE_DEFAULT_BUILD_ID

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

AGS_LINE_DEFAULT_VERSION

#define AGS_LINE_DEFAULT_VERSION "0.4.2\0"

struct AgsLine

struct AgsLine {
  GtkVBox vbox;

  guint flags;

  gchar *version;
  gchar *build_id;

  gchar *name;

  AgsChannel *channel;

  GtkWidget *pad;

  GtkLabel *label;
  GtkToggleButton *group;

  AgsExpander *expander;
};

struct AgsLineClass

struct AgsLineClass {
  GtkVBoxClass vbox;

  void (*set_channel)(AgsLine *line, AgsChannel *channel);

  void (*group_changed)(AgsLine *line);

  void (*map_recall)(AgsLine *line,
		     guint output_pad_start);
  GList (*find_port)(AgsLine *line);
};

enum AgsLineFlags

typedef enum {
  AGS_LINE_CONNECTED         = 1,
  AGS_LINE_GROUPED           = 1 << 1,
  AGS_LINE_MAPPED_RECALL     = 1 << 2,
  AGS_LINE_PREMAPPED_RECALL  = 1 << 3,
} AgsLineFlags;

ags_line_find_next_grouped ()

GList *             ags_line_find_next_grouped          (GList *line);

Retrieve next grouped line.

line :

an AgsLine

Since 0.4


ags_line_find_port ()

GList *             ags_line_find_port                  (AgsLine *line);

Lookup ports of assigned recalls.

line :

an AgsLine Returns: an GList containing all related AgsPort

Since 0.4


ags_line_group_changed ()

void                ags_line_group_changed              (AgsLine *line);

Is emitted as group is changed.

line :

an AgsLine

Since 0.4


ags_line_map_recall ()

void                ags_line_map_recall                 (AgsLine *line,
                                                         guint output_pad_start);

Is emitted as group is changed.

line :

an AgsLine Returns: an GList containing all related AgsPort

Since 0.4


ags_line_new ()

AgsLine *           ags_line_new                        (GtkWidget *pad,
                                                         AgsChannel *channel);

Creates an AgsLine

pad :

the parent pad

channel :

the channel to visualize

Returns :

a new AgsLine

Since 0.3


ags_line_set_channel ()

void                ags_line_set_channel                (AgsLine *line,
                                                         AgsChannel *channel);

Is emitted as channel gets modified.

line :

an AgsLine

channel :

the AgsChannel to set

Since 0.3