AgsPackable

AgsPackable — packing recalls

Functions

gboolean ags_packable_pack ()
gboolean ags_packable_unpack ()
GType ags_packable_get_type ()

Types and Values

Includes

#include <ags/object/ags_packable.h>

Description

The AgsPackable interface gives you a unique access to recalls to be packed into a AgsRecallContainer.

Functions

ags_packable_pack ()

gboolean
ags_packable_pack (AgsPackable *packable,
                   GObject *container);

Pack to container.

Parameters

packable

the AgsPackable

 

container

the container

 

Returns

TRUE on success

Since: 0.4


ags_packable_unpack ()

gboolean
ags_packable_unpack (AgsPackable *packable);

Unpack of container.

Parameters

packable

the AgsPackable

 

Returns

TRUE on success

Since: 0.4


ags_packable_get_type ()

GType
ags_packable_get_type ();

Types and Values

struct AgsPackableInterface

struct AgsPackableInterface {
  GTypeInterface interface;

  gboolean (*pack)(AgsPackable *packable, GObject *container);
  gboolean (*unpack)(AgsPackable *packable);
};


AGS_TYPE_PACKABLE

#define AGS_TYPE_PACKABLE                    (ags_packable_get_type())