AgsLineMember

AgsLineMember — Modify assigned recall's port

Functions

Properties

gchar * control-port Read / Write
gchar * effect Read / Write
gchar * filename Read / Write
gchar * plugin-name Read / Write
AgsPort * port Read / Write
gpointer port-data Read / Write
AgsPort * recall-port Read / Write
gpointer recall-port-data Read / Write
gchar * specifier Read / Write
guint steps Read / Write
gulong task-type Read / Write
gchar * widget-label Read / Write
gulong widget-type Read / Write

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── GtkFrame
                            ╰── AgsLineMember

Implemented Interfaces

AgsLineMember implements AtkImplementorIface, GtkBuildable and AgsConnectable.

Includes

#include <ags/X/ags_line_member.h>

Description

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.

Functions

ags_line_member_get_widget ()

GtkWidget *
ags_line_member_get_widget (AgsLineMember *line_member);

ags_line_member_set_label ()

void
ags_line_member_set_label (AgsLineMember *line_member,
                           gchar *label);

Modify the label of the line member.

Parameters

line_member

an AgsLineMember

 

label

the label of the control

 

ags_line_member_change_port ()

void
ags_line_member_change_port (AgsLineMember *line_member,
                             gpointer port_data);

ags_line_member_find_port ()

GList *
ags_line_member_find_port (AgsLineMember *line_member);

Lookup ports of assigned recalls.

Parameters

line_member

an AgsLineMember

 

Returns

an GList containing all related AgsPort

Since: 1.0.0


ags_line_member_chained_event ()

void
ags_line_member_chained_event (AgsLineMember *line_member);

Chain changed control and apply the very same value to grouped controls if sticky controls set.

Parameters

line_member

an AgsLineMember

 

Since: 1.0.0


ags_line_member_new ()

AgsLineMember *
ags_line_member_new ();

Creates an AgsLineMember

Returns

a new AgsLineMember

Since: 1.0.0


AGS_IS_LINE_MEMBER()

#define AGS_IS_LINE_MEMBER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINE_MEMBER))

AGS_LINE_MEMBER()

#define AGS_LINE_MEMBER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINE_MEMBER, AgsLineMember))

AGS_LINE_MEMBER_CLASS()

#define AGS_LINE_MEMBER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINE_MEMBER, AgsLineMemberClass))

AGS_LINE_MEMBER_GET_CLASS()

#define AGS_LINE_MEMBER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LINE_MEMBER, AgsLineMemberClass))

ags_line_member_get_type ()

GType
ags_line_member_get_type (void);

Types and Values

AGS_LINE_MEMBER_DEFAULT_VERSION

#define AGS_LINE_MEMBER_DEFAULT_VERSION "0.7.33\0"

AGS_LINE_MEMBER_DEFAULT_BUILD_ID

#define AGS_LINE_MEMBER_DEFAULT_BUILD_ID "Wed Jun 15 13:48:15 UTC 2016\0"

enum Agslinememberflags

Members

AGS_LINE_MEMBER_CONNECTED

   

AGS_LINE_MEMBER_DEFAULT_TEMPLATE

   

AGS_LINE_MEMBER_RESET_BY_ATOMIC

   

AGS_LINE_MEMBER_RESET_BY_TASK

   

AGS_LINE_MEMBER_APPLY_RECALL

   

AGS_LINE_MEMBER_PLAY_CALLBACK_WRITE

   

AGS_LINE_MEMBER_RECALL_CALLBACK_WRITE

   

AGS_LINE_MEMBER_CALLBACK_READ_BLOCK

   

AGS_LINE_MEMBER_CALLBACK_WRITE_BLOCK

   

AGS_LINE_MEMBER_APPLY_INITIAL

   

AGS_LINE_MEMBER_BLOCK_CHAINED

   

enum AgsLineMemberPortFlags

Members

AGS_LINE_MEMBER_PORT_BOOLEAN

   

AGS_LINE_MEMBER_PORT_INTEGER

   

AGS_TYPE_LINE_MEMBER

#define AGS_TYPE_LINE_MEMBER                (ags_line_member_get_type())

struct AgsLineMember

struct AgsLineMember;

struct AgsLineMemberClass

struct AgsLineMemberClass {
  GtkFrameClass frame;

  void (*change_port)(AgsLineMember *line_member,
		      gpointer port_data);

  GList* (*find_port)(AgsLineMember *line_member);
};

Property Details

The “control-port” property

  “control-port”             gchar *

The control port of the recall.

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “effect” property

  “effect”                   gchar *

The plugin effect of the recall to apply.

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “filename” property

  “filename”                 gchar *

The plugin filename of the recall to apply.

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “plugin-name” property

  “plugin-name”              gchar *

The plugin name of the recall to use.

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “port” property

  “port”                     AgsPort *

The matching simple port of plugin name and specifier.

Flags: Read / Write

Since: 1.0.0


The “port-data” property

  “port-data”                gpointer

The port data to apply.

Flags: Read / Write

Since: 1.0.0


The “recall-port” property

  “recall-port”              AgsPort *

The matching complex port of plugin name and specifier.

Flags: Read / Write

Since: 1.0.0


The “recall-port-data” property

  “recall-port-data”         gpointer

The complex port data to apply.

Flags: Read / Write

Since: 1.0.0


The “specifier” property

  “specifier”                gchar *

The plugin specifier of the recall to apply.

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “steps” property

  “steps”                    guint

If line member has integer ports, this is the number of steps.

Flags: Read / Write

Default value: 8

Since: 1.0.0


The “task-type” property

  “task-type”                gulong

The task type to apply the port.

Flags: Read / Write

Since: 1.0.0


The “widget-label” property

  “widget-label”             gchar *

The widget's label to use.

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “widget-type” property

  “widget-type”              gulong

The widget type to instantiate and use as control.

Flags: Read / Write

Since: 1.0.0

Signal Details

The “change-port” signal

void
user_function (AgsLineMember *line_member,
               gpointer       port_data,
               gpointer       user_data)

The ::change-port signal notifies modified port.

Parameters

line_member

the AgsLineMember

 

port_data

the port's data

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last


The “find-port” signal

gpointer
user_function (AgsLineMember *agslinemember,
               gpointer       user_data)

Flags: Run Last