On Wed, 2010-07-07 at 22:36 +0100, James Morris wrote: 
> On 7 July 2010 17:34, Staffan Gimåker <staf...@gimaker.se> wrote:
> > Is there a particular reason that you need a custom widget? Can you not
> > just use a GtkDrawingArea and use Cairo to draw things in it?
> 
> That's the thing I'm unsure of, when to use a GtkDrawingArea and when
> to use a custom widget.

If it's something you use over and over again in different places of
your app it's a good custom widget candidate. E.g. if you need lots of
"knob" widgets for your hypothetical DJ mixer app.
As long as the standard widgets suffice, you should avoid it.

/Staffan
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to