AgsLine

AgsLine — A composite widget to visualize AgsChannel

Functions

Properties

AgsChannel * channel Read / Write
AgsPad * pad Read / Write

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBox
                        ╰── GtkVBox
                            ╰── AgsLine
                                ├── AgsDrumInputLine
                                ├── AgsDrumOutputLine
                                ├── AgsMixerInputLine
                                ├── AgsPanelInputLine
                                ╰── AgsSynthInputLine

Implemented Interfaces

AgsLine implements AtkImplementorIface, GtkBuildable, GtkOrientable, AgsConnectable and AgsPlugin.

Includes

#include <ags/X/ags_line.h>

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.

Functions

ags_line_set_channel ()

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

Is emitted as channel gets modified.

Parameters

line

an AgsLine

 

channel

the AgsChannel to set

 

Since: 0.3


ags_line_group_changed ()

void
ags_line_group_changed (AgsLine *line);

Is emitted as group is changed.

Parameters

line

an AgsLine

 

Since: 0.4


ags_line_add_effect ()

GList *
ags_line_add_effect (AgsLine *line,
                     GList *control_type_name,
                     gchar *filename,
                     gchar *effect);

Add a line member.

Parameters

line

the AgsLine

 

control_type_name

the control GType string representation

 

filename

the filename of the plugin

 

effect

the effect's name

 

Returns

a GList containing new AgsPort objects

Since: 0.4.3


ags_line_remove_effect ()

void
ags_line_remove_effect (AgsLine *line,
                        guint nth);

Remove a line member.

Parameters

line

the AgsLine

 

nth

nth effect to remove

 

Since: 0.4.3


ags_line_map_recall ()

void
ags_line_map_recall (AgsLine *line,
                     guint output_pad_start);

Is emitted as group is changed.

Parameters

line

an AgsLine

 

output_pad_start

the start pad

 

Since: 0.4


ags_line_find_port ()

GList *
ags_line_find_port (AgsLine *line);

Lookup ports of assigned recalls.

Parameters

line

an AgsLine

 

Returns

an GList containing all related AgsPort

Since: 0.4


ags_line_find_next_grouped ()

GList *
ags_line_find_next_grouped (GList *line);

Retrieve next grouped line.

Parameters

line

a GList of AgsLine objects

 

Returns

next matching GList containing AgsLine

Since: 0.4


ags_line_indicator_queue_draw ()

gboolean
ags_line_indicator_queue_draw (GtkWidget *widget);


ags_line_new ()

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

Creates an AgsLine

Parameters

pad

the parent pad

 

channel

the channel to visualize

 

Returns

a new AgsLine

Since: 0.3

Types and Values

AGS_LINE_DEFAULT_VERSION

#define AGS_LINE_DEFAULT_VERSION "0.7.0\0"


AGS_LINE_DEFAULT_BUILD_ID

#define AGS_LINE_DEFAULT_BUILD_ID "CEST 31-10-2015 19:49\0"


AGS_LINE_COLUMNS_COUNT

#define AGS_LINE_COLUMNS_COUNT (2)


enum AgsLineFlags

Members

AGS_LINE_CONNECTED

   

AGS_LINE_GROUPED

   

AGS_LINE_MAPPED_RECALL

   

AGS_LINE_PREMAPPED_RECALL

   

Property Details

The “channel” property

  “channel”                  AgsChannel *

The channel it is assigned with.

Flags: Read / Write

Since: 0.4


The “pad” property

  “pad”                      AgsPad *

The pad which is its parent.

Flags: Read / Write

Since: 0.4

Signal Details

The “add-effect” signal

gpointer
user_function (AgsLine *line,
               gpointer control_type_name,
               gchar   *filename,
               gchar   *effect,
               gpointer user_data)

Flags: Run Last

Since: 0.4.3


The “find-port” signal

void
user_function (AgsLine *line,
               gpointer user_data)

Flags: Run Last

Since: 0.4.3


The “group-changed” signal

void
user_function (AgsLine *line,
               gpointer user_data)

Flags: Run Last

Since: 0.4.3


The “map-recall” signal

void
user_function (AgsLine *line,
               guint    output_pad_start,
               gpointer user_data)

Flags: Run Last

Since: 0.4.3


The “remove-effect” signal

void
user_function (AgsLine *line,
               guint    nth,
               gpointer user_data)

Flags: Run Last

Since: 0.4.3


The “set-channel” signal

void
user_function (AgsLine *line,
               GObject *channel,
               gpointer user_data)

Flags: Run Last

Since: 0.4.3