[gtkada] Attaching widgets to a GtkAda.Canvas

Emmanuel Briot briot at ACT-Europe.FR
Thu Nov 29 09:59:37 CET 2001


Charles Darcy <charlie at mullum.com.au> writes:

>     That's a pity, widget support for a canvas would be handy. I suppose
> that adding the functionality would not be trivial, or I might try
> myself. Perhaps in a future release ?

I indeed think it is not trivial, but that shouldn't stop anyone from
trying. At least this is a good way to thoroughly understand what the signals
are, how size negociations are done, how to handle expose and drawing
events,...
Lots of very interesting things :-)

We haven't scheduled that workd ourselves, since we currently don't have a need
for this. If we do, then maybe we'll implement it, but this is definitely not
planned at this point.
In one of the future release, there is provision for plugging layout algorithms
in the canvas (so that you can organize the items the way you want).

Zooming has also been reimplemented and is now done by the canvas itself,
without any help from the items.

But no support for widgets yet :-)

Emmanuel




More information about the gtkada mailing list