AgsMutable

AgsMutable — unique access to recalls

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── AgsMutable

Includes

#include <ags/object/ags_mutable.h>

Description

The AgsMutable interface gives you a unique access to mutable classes Its purpose is to set muted.

Functions

ags_mutable_set_muted ()

void
ags_mutable_set_muted (AgsMutable *mutable,
                       gboolean muted);

Mute a class instance.

Parameters

mutable

an AgsMutable

 

muted

if TRUE then muted, else playing

 

Since: 1.0.0


AGS_IS_MUTABLE()

#define AGS_IS_MUTABLE(obj)                 (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MUTABLE))

AGS_IS_MUTABLE_INTERFACE()

#define AGS_IS_MUTABLE_INTERFACE(vtable)    (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_MUTABLE))

AGS_MUTABLE()

#define AGS_MUTABLE(obj)                    (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTABLE, AgsMutable))

AGS_MUTABLE_GET_INTERFACE()

#define AGS_MUTABLE_GET_INTERFACE(obj)      (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_MUTABLE, AgsMutableInterface))

AGS_MUTABLE_INTERFACE()

#define AGS_MUTABLE_INTERFACE(vtable)       (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_MUTABLE, AgsMutableInterface))

ags_mutable_get_type ()

GType
ags_mutable_get_type ();

Types and Values

AGS_TYPE_MUTABLE

#define AGS_TYPE_MUTABLE                    (ags_mutable_get_type())

AgsMutable

typedef struct _AgsMutable AgsMutable;

struct AgsMutableInterface

struct AgsMutableInterface {
  GTypeInterface ginterface;

  void (*set_muted)(AgsMutable *mutable, gboolean muted);
};