[LAD] pixmap based knob widgets and theme integration.

Paul Davis paul at linuxaudiosystems.com
Tue Sep 28 13:31:15 UTC 2010


On Tue, Sep 28, 2010 at 7:00 AM, Olivier Guilyardi <list at samalyse.com> wrote:

> I'm not a gtk engine wizard, but the problem is still here IIUC.

Most custom widgets for GTK suffer from this problem. Its not a new
thing. The GTK docs and even the GTK "team" have never really
advocated that all widgets should draw themselves with gdk_draw_*(),
at least not to an extent that has resulted in this being the case.
The problem is that there really is a conflict here:

On the one hand:

    1) the desire for a generic, powerful graphics language/API to
draw widgets with (e.g. Cairo)

and on the other

     2) the desire to push all widget drawing through a themeable
layer which necessarily reduces the complexity of the graphics API
(e.g. gdk_draw_*())

I don't think that these can be reconciled.

--p



More information about the Linux-audio-dev mailing list