[Gtk-sharp-list] Drawing a wave file

Balaurul calinuswork at gmail.com
Tue Jan 9 18:44:32 EST 2007


Thanks for your reply,

I will take a look and see what I manage to achieve,

On Tue, 2007-01-09 at 15:27 -0800, Peter Johanson wrote:
> On Tue, Jan 09, 2007 at 11:17:11PM +0200, Balaurul wrote:
> > Hy,
> > 
> >  I am a noob in working with Widgets, I have been working for a while
> > with C#, my question is what widget shall I use to draw a wave file ? I
> > suppose I can use DrawingArea, are there some examples of using this
> > widget ?
> 
> If you look in the samples/ directory of the gtk# sources, there's
> CairoSample.cs (using DrawingArea + cairo), DrawingSample.cs, and
> Scribble.cs, all of which should uses of DrawingArea. I'd recommnend a
> DrawingArea subclass that overrides the OnExposeEvent, OnSizeAllocate,
> etc, instead of just using an instance in your class that you hook up to
> (which is what scribble does). 
> 
> HTH,
> 
> -pete
> 



More information about the Gtk-sharp-list mailing list