[gtkada] Attaching widgets to a GtkAda.Canvas

Charles Darcy charlie at mullum.com.au
Wed Nov 28 19:27:43 CET 2001


On Thu, 2001-11-29 at 01:56, Emmanuel Briot wrote:
> Charles Darcy <charlie at mullum.com.au> writes:
> 
> >     Is it possible to attach widgets to a Canvas ? The GtkAda.Canvas
> > package spec seems to indicate that only Canvas_Item's may be placed on
> > a Canvas.
> 
> No, it currently isn't possible. What you saw in testgtk was apparently some
> left over from some tests I was doing, but I never took the time to fully
> implement that functionality.
> The problem here is that the canvas is then responsible to forward all required
> events to the child widget, so that the latter is correctly resized, displayed,
> hidden,...


    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 ?
    


regards,

Charles.





More information about the gtkada mailing list