[gtkada] Attaching widgets to a GtkAda.Canvas

Charles Darcy charlie at mullum.com.au
Wed Nov 28 05:46:43 CET 2001


Hello,

    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.

    In the 'create_canvas.adb' from the 'testgtk' program, however,
there is a commented out 'Add_Widget_Item' procedure which refers to a
'Canvas_Item_Widget_Record' and seems to show an attempt to attach a 
button widget to a canvas.

    If anyone knows if it is possible to put widgets into a canvas, I'd
love to hear of it.


regards,

Charles.





More information about the gtkada mailing list