AgsCountable

AgsCountable — unique access to dialogs

Synopsis

#include <ags/object/ags_countable.h>

typedef             AgsCountable;
struct              AgsCountableInterface;
guint               ags_countable_get_notation_counter  (AgsCountable *countable);
guint               ags_countable_get_sequencer_counter (AgsCountable *countable);

Description

The AgsCountable interface gives you a unique access to counters. Generally we distinguish between notation and sequencer counters. Those may have their own relative positions, especially the sequencers may loop.

Details

AgsCountable

typedef void AgsCountable;

struct AgsCountableInterface

struct AgsCountableInterface {
  GTypeInterface interface;

  guint (*get_notation_counter)(AgsCountable *countable);
  guint (*get_sequencer_counter)(AgsCountable *countable);
};

ags_countable_get_notation_counter ()

guint               ags_countable_get_notation_counter  (AgsCountable *countable);

Retrieve current position of notation.

countable :

an AgsCountable

Returns :

the current position

Since 0.4


ags_countable_get_sequencer_counter ()

guint               ags_countable_get_sequencer_counter (AgsCountable *countable);

Retrieve current position of sequencer.

countable :

an AgsCountable

Returns :

the current position

Since 0.4