[Gtk-sharp-list] Drawing a wave file
latexer at gentoo.org
Tue Jan 9 18:27:31 EST 2007
On Tue, Jan 09, 2007 at 11:17:11PM +0200, Balaurul wrote:
> 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).
<latexer at gentoo.org>
More information about the Gtk-sharp-list