Top |
#define | AGS_NAVIGATION_DEFAULT_TACT_STEP |
#define | AGS_NAVIGATION_SEEK_STEPS |
#define | AGS_NAVIGATION_REWIND_STEPS |
enum | AgsNavigationFlags |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GtkVBox ╰── AgsNavigation
AgsNavigation implements AtkImplementorIface, GtkBuildable, GtkOrientable and AgsConnectable.
AgsNavigation is a composite widget to control playback of AgsAudio objects. It can start AgsMachine in bulk mode or position the stream.
gchar * ags_navigation_tact_to_time_string (gdouble tact
,gdouble bpm
,gdouble delay_factor
);
Convert tact unit to time.
Since: 0.4
gchar * ags_navigation_relative_tact_to_time_string (gchar *timestr
,gdouble delay
,gdouble bpm
,gdouble delay_factor
);
gchar * ags_navigation_absolute_tact_to_time_string (gdouble tact
,gdouble bpm
,gdouble delay_factor
);
void ags_navigation_update_time_string (double tact
,gdouble bpm
,gdouble delay_factor
,gchar *time_string
);
Updates time as string.
tact |
the new position |
|
bpm |
the BPM |
|
delay_factor |
the delay factor |
|
time_string |
the pointer location to set |
Since: 0.4
void ags_navigation_set_seeking_sensitive (AgsNavigation *navigation
,gboolean enabled
);
void ags_navigation_change_position (AgsNavigation *navigation
,gdouble tact
);
Change tact position of editor. The scrollbar is adjustet and its playback position seeked.
Since: 0.4
gboolean
ags_navigation_duration_time_queue_draw
(GtkWidget *widget
);
AgsNavigation * ags_navigation_new ();
Creates an AgsNavigation to control the tree.
Since: 0.4
“soundcard”
property“soundcard” GObject *
The soundcard it is assigned with.
Flags: Read / Write
Since: 0.4
“change-position”
signalvoid user_function (AgsNavigation *navigation, gdouble tact, gpointer user_data)
Flags: Run Last