[gtkada] GObject properties

Arnaud Charlet charlet at ACT-Europe.FR
Wed Sep 24 14:29:03 CEST 2003


The normal way is to have the properties predefined in the corresponding
package (see e.g. gtk-label.ads:168)

It seems that you have found a case of a missing predefined property, so
the proper fix would be to suggest a patch to fill this gap.

The comments you are quoting are accurate, there are indeed simpler ways to
deal with this, assuming the property has been defined already.

At the very least, I'd suggest declaring the property in a global type package,
instead of declaring and using it on the fly as you did, this should allow
you to follow the guidelines given by the comments you quoted.

Arno



More information about the gtkada mailing list