Advanced Gtk+ Sequencer Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <ags/X/ags_line_member.h> struct AgsLineMember; struct AgsLineMemberClass; enum AgsLineMemberFlags;void ags_line_member_change_port (AgsLineMember *line_member
,);
gpointer port_datavoid ags_line_member_find_port (AgsLineMember *line_member
);GtkWidget * ags_line_member_get_widget (AgsLineMember *line_member
); AgsLineMember * ags_line_member_new ();void ags_line_member_set_label (AgsLineMember *line_member
,);
gchar *label
AgsLineMember is a composite widget to modify ports of recalls. A line member controls only one specific port of a recall but distinguishes between simple/complex recall. It is generally packed into a AgsLine.
struct AgsLineMember { GtkFrame frame; guint flags; GType widget_type; gchar *widget_label; gchar *plugin_name; gchar *specifier; gchar *control_port; AgsPort *port; gpointer port_data; gboolean active; AgsPort *recall_port; gpointer recall_port_data; gboolean recall_active; GType task_type; };
struct AgsLineMemberClass { GtkFrameClass frame; void (*change_port)(AgsLineMember *line_member, gpointer port_data); };
typedef enum { AGS_LINE_MEMBER_DEFAULT_TEMPLATE = 1, AGS_LINE_MEMBER_RESET_BY_ATOMIC = 1 << 1, AGS_LINE_MEMBER_RESET_BY_TASK = 1 << 2, AGS_LINE_MEMBER_APPLY_RECALL = 1 << 3, AGS_LINE_MEMBER_PLAY_CALLBACK_WRITE = 1 << 4, AGS_LINE_MEMBER_RECALL_CALLBACK_WRITE = 1 << 5, AGS_LINE_MEMBER_CALLBACK_READ_BLOCK = 1 << 6, AGS_LINE_MEMBER_CALLBACK_WRITE_BLOCK = 1 << 7, } AgsLineMemberFlags;
void ags_line_member_change_port (AgsLineMember *line_member
,);
gpointer port_data
void ags_line_member_find_port (AgsLineMember *line_member
);
Lookup ports of assigned recall.
|
an AgsLineMember |
Since 0.4
AgsLineMember * ags_line_member_new ();
Creates an AgsLineMember
Returns : |
a new AgsLineMember |
Since 0.4
void ags_line_member_set_label (AgsLineMember *line_member
,);
gchar *label
Modify the label of the line member.
|
an AgsLineMember |
|
the label of the control |