Re: [LAD] python, gtk, gstreamer

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Thursday, February 28, 2013 - 3:09 am

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.

--
Patrick Shirkey
Boost Hardware Ltd
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] python, gtk, gstreamer, drew Roberts, (Wed Feb 27, 9:15 pm)
Re: [LAD] python, gtk, gstreamer, Patrick Shirkey, (Wed Feb 27, 11:51 pm)
Re: [LAD] python, gtk, gstreamer, drew Roberts, (Thu Feb 28, 2:37 am)
Re: [LAD] python, gtk, gstreamer, Patrick Shirkey, (Thu Feb 28, 3:09 am)