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



From: torbenh 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]