[linux-audio-dev] Re: Project: modular synth editor

Paul Davis paul at linuxaudiosystems.com
Mon Jan 26 18:16:18 UTC 2004


>>From: torbenh at gmx.de
>>
>[ gnomecanvas ]
>>the only problem would be determining widget size when you add a widget
>>to the canvas. gtk behaves sort of strange there.
>
>  [ Posted this to gtk-app-devel-list as well. Reply to where you wish
>    as I will summary. ]
>
>Should the module widgets be put to a fixed size container before
>they are inserted to the canvas? Or what is the problem?

widgets on the canvas are second class citizens. don't go there.

all of GTK is slowly migrating toward a client-side compositing model
based on Cairo. do not expect the GTK crew to be supportive of any
attempts to fix up the existing canvas/widget dichotomy.


>Is the viewport a wrong widget for the task? Is there any other constant
>size container in GTK?

GtkLayout is the correct widget to use. But like all GTK containers,
it is not intended to handle overlapping widgets, although it can do
so under some circumstances.

--p



More information about the Linux-audio-dev mailing list