| Top |
| GtkWidget * | gva_music_button_new () |
| void | gva_music_button_play () |
| void | gva_music_button_pause () |
| const gchar * | gva_music_button_get_game () |
| void | gva_music_button_set_game () |
| const gchar * | gva_music_button_get_status () |
A GvaMusicButton toggles between playing and pausing in-game music clips streamed from http://www.arcade-history.com/.
This requires arcade history information from a 'history.dat' file.
void
gva_music_button_play (GvaMusicButton *music_button);
Plays a music clip from the game specified by the GvaMusicButton:game property. The clip will repeat indefinitely until paused or a different game is chosen.
void
gva_music_button_pause (GvaMusicButton *music_button);
Pauses a music clip from the game specified by the GvaMusicButton:game property.
const gchar *
gva_music_button_get_game (GvaMusicButton *music_button);
Returns the name of the game for which to play a music clip.
void gva_music_button_set_game (GvaMusicButton *music_button,const gchar *game);
Sets the name of the game for which to play a music clip. Use
gva_music_button_play() to play the clip.
const gchar *
gva_music_button_get_status (GvaMusicButton *music_button);
Returns a status message about the music clip, such as buffering progress or whether a music clip is available for the selected game.