Advanced Gtk+ Sequencer Reference Manual | ||||
---|---|---|---|---|
Top | Description |
AgsPadAgsPad — A composite widget to visualize a bunch of AgsChannel |
#include <ags/X/ags_pad.h> #define AGS_PAD_DEFAULT_BUILD_ID #define AGS_PAD_DEFAULT_VERSION struct AgsPad; struct AgsPadClass; enum AgsPadFlags;GList * ags_pad_find_port (AgsPad *pad
);void ags_pad_map_recall (AgsPad *pad
,); AgsPad * ags_pad_new (
guint output_pad_startAgsChannel *channel
);void ags_pad_resize_lines (AgsPad *pad
,,
GType line_type,
guint audio_channels);
guint audio_channels_oldvoid ags_pad_set_channel (AgsPad *pad
,AgsChannel *channel
);
AgsPad is a composite widget to visualize a bunch of AgsChannel. It should be packed by an AgsMachine.
struct AgsPad { GtkVBox vbox; guint flags; gchar *name; gchar *version; gchar *build_id; AgsChannel *channel; guint cols; AgsExpanderSet *expander_set; GtkToggleButton *group; GtkToggleButton *mute; GtkToggleButton *solo; GtkToggleButton *play; };
struct AgsPadClass { GtkVBoxClass vbox; void (*set_channel)(AgsPad *pad, AgsChannel *channel); void (*resize_lines)(AgsPad *pad, GType line_type, guint audio_channels, guint audio_channels_old); void (*map_recall)(AgsPad *pad, guint output_pad_start); GList* (*find_port)(AgsPad *pad); };
typedef enum { AGS_PAD_CONNECTED = 1, AGS_PAD_SHOW_GROUPING = 1 << 1, AGS_PAD_GROUP_ALL = 1 << 2, AGS_PAD_GROUP_LINE = 1 << 3, AGS_PAD_MAPPED_RECALL = 1 << 4, AGS_PAD_PREMAPPED_RECALL = 1 << 5, } AgsPadFlags;
GList * ags_pad_find_port (AgsPad *pad
);
Lookup ports of assigned recalls.
Since 0.4
void ags_pad_map_recall (AgsPad *pad
,);
guint output_pad_start
Start of output pad
|
the AgsPad to resize |
|
start of output pad |
Since 0.4
AgsPad * ags_pad_new (AgsChannel *channel
);
Creates an AgsPad
|
the parent pad |
|
the bunch of channel to visualize |
Returns : |
a new AgsPad |
Since 0.3
void ags_pad_resize_lines (AgsPad *pad
,,
GType line_type,
guint audio_channels);
guint audio_channels_old
Resize the count of AgsLine packe by AgsPad.
|
the AgsPad to resize |
|
channel type, either AGS_TYPE_INPUT AGS_TYPE_OUTPUT |
|
count of lines |
|
old count of lines |
Since 0.3
void ags_pad_set_channel (AgsPad *pad
,AgsChannel *channel
);
Is emitted as channel gets modified.
|
an AgsPad |
|
the AgsChannel to set |
Since 0.3