Advanced Gtk+ Sequencer Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#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
);
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.
struct AgsCountableInterface { GTypeInterface interface; guint (*get_notation_counter)(AgsCountable *countable); guint (*get_sequencer_counter)(AgsCountable *countable); };
guint ags_countable_get_notation_counter (AgsCountable *countable
);
Retrieve current position of notation.
|
an AgsCountable |
Returns : |
the current position |
Since 0.4
guint ags_countable_get_sequencer_counter (AgsCountable *countable
);
Retrieve current position of sequencer.
|
an AgsCountable |
Returns : |
the current position |
Since 0.4