| Advanced Gtk+ Sequencer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
AgsLineAgsLine — A composite widget to visualize AgsChannel |
#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 *lineGList * ags_line_find_port (AgsLine *line);void ags_line_group_changed (AgsLine *line);void ags_line_map_recall (AgsLine *line,); AgsLine * ags_line_new (guint output_pad_start,GtkWidget *padAgsChannel *channel);void ags_line_set_channel (AgsLine *line,AgsChannel *channel);
AgsLine is a composite widget to visualize AgsChannel. It should be packed by an AgsPad. It may contain AgsLineMember to modify ports of AgsRecall.
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 {
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);
};
typedef enum {
AGS_LINE_CONNECTED = 1,
AGS_LINE_GROUPED = 1 << 1,
AGS_LINE_MAPPED_RECALL = 1 << 2,
AGS_LINE_PREMAPPED_RECALL = 1 << 3,
} AgsLineFlags;
GList * ags_line_find_next_grouped ();GList *line
Retrieve next grouped line.
|
an AgsLine |
Since 0.4
GList * ags_line_find_port (AgsLine *line);
Lookup ports of assigned recalls.
Since 0.4
void ags_line_group_changed (AgsLine *line);
Is emitted as group is changed.
|
an AgsLine |
Since 0.4
void ags_line_map_recall (AgsLine *line,);guint output_pad_start
Is emitted as group is changed.
Since 0.4
AgsLine * ags_line_new (,GtkWidget *padAgsChannel *channel);
Creates an AgsLine
|
the parent pad |
|
the channel to visualize |
Returns : |
a new AgsLine |
Since 0.3
void ags_line_set_channel (AgsLine *line,AgsChannel *channel);
Is emitted as channel gets modified.
|
an AgsLine |
|
the AgsChannel to set |
Since 0.3