Re: custom widgets - advice on where to start?
- From: Staffan Gimåker <staffan gimaker se>
- To: James Morris <james jwm-art net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: custom widgets - advice on where to start?
- Date: Thu, 08 Jul 2010 00:40:43 +0200
On Wed, 2010-07-07 at 22:36 +0100, James Morris wrote:
On 7 July 2010 17:34, Staffan GimÃker <staffan 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]