running a function



I am new to gtk, and trying my hand at writing a mp3player, I am
working on the point of the player that when one song is done playing
it will load and play the next song. How do I run a test function
every couple milli seconds to check to see if it is still playing or
not? is g_timeout_add() what I need to use? Any example code?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]