On Thu, February 28, 2013 1:37 pm, drew Roberts wrote:
A custom gtk/cairo widget is pretty easy to update. You have a draw method
in the widget class and call widget_queue_redraw(widget) when you want to
refresh the widget.
You can set the widget's data before the call to widget_queue_redraw()
With the peak data you can use a timer or loop to update a callback that
sets the meter widget's data then calls the redraw command.
Boost Hardware Ltd
Linux-audio-dev mailing list
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries. Linuxaudio.org logo copyright Thorsten Wilms © 2006. Hosting provided by the Virginia Tech Department of Music and DISIS.