AgsApplicable

AgsApplicable — unique access to applicable objects

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── AgsApplicable

Includes

#include <ags/object/ags_applicable.h>

Description

The AgsApplicable interface gives you a unique access to applicable objects.

Functions

ags_applicable_set_update ()

void
ags_applicable_set_update (AgsApplicable *applicable,
                           gboolean update);

Update behaviour.

Parameters

applicable

an AgsApplicable

 

update

if TRUE do ::reset after ::apply

 

Since: 1.0.0


ags_applicable_apply ()

void
ags_applicable_apply (AgsApplicable *applicable);

Apply all changes done so far.

Parameters

applicable

an AgsApplicable

 

Since: 1.0.0


ags_applicable_reset ()

void
ags_applicable_reset (AgsApplicable *applicable);

Reset all changes within the user interface.

Parameters

applicable

an AgsApplicable

 

Since: 1.0.0


AGS_APPLICABLE()

#define AGS_APPLICABLE(obj)                    (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLICABLE, AgsApplicable))

AGS_APPLICABLE_GET_INTERFACE()

#define AGS_APPLICABLE_GET_INTERFACE(obj)      (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_APPLICABLE, AgsApplicableInterface))

AGS_APPLICABLE_INTERFACE()

#define AGS_APPLICABLE_INTERFACE(vtable)       (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_APPLICABLE, AgsApplicableInterface))

AGS_IS_APPLICABLE()

#define AGS_IS_APPLICABLE(obj)                 (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLICABLE))

AGS_IS_APPLICABLE_INTERFACE()

#define AGS_IS_APPLICABLE_INTERFACE(vtable)    (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_APPLICABLE))

ags_applicable_get_type ()

GType
ags_applicable_get_type ();

Types and Values

AGS_TYPE_APPLICABLE

#define AGS_TYPE_APPLICABLE                    (ags_applicable_get_type())

AgsApplicable

typedef struct _AgsApplicable AgsApplicable;

struct AgsApplicableInterface

struct AgsApplicableInterface {
  GTypeInterface ginterface;
  
  void (*set_update)(AgsApplicable *applicable, gboolean update);
  void (*apply)(AgsApplicable *applicable);
  void (*reset)(AgsApplicable *applicable);
};