[gtkada] Canvas

Emmanuel Briot briot at act-europe.fr
Wed Mar 17 12:19:09 CET 2004


On Wed, 2004-03-17 at 11:21, Chicher Arnaud wrote:
> My question is : can we insert classic widget like gtk-entry in a
canvas and if yes this widget have all functionalities like items in a
canvas?

No, this is not yet doable.
We had some point to do that, but then we also had too much work already
:-(
Note that implementing something like this is really complex, as we have
discovered while writing gtkada-mdi.adb, and will take quite a lot of
time, since the container has to transmit most of the events to the
child widget.

> in fact this is to develop an application like glade-2 but in more
>  simple with less widget

What do you have in mind ? Why would the canvas help ? Can't you simply
use a Gtk.Fixed widget ?

Emmanuel




More information about the gtkada mailing list