[gtkada] Puzzled about GtkLabel in GtkAda 2.0

Preben Randhol randhol at pvv.org
Thu Apr 24 18:37:21 CEST 2003


Emmanuel Briot <briot at act-europe.fr> wrote on 24/04/2003 (18:30) :
> On Thu, 2003-04-24 at 18:25, Preben Randhol wrote:
> > In gtk-label.ads is says that some procedures are missing. Does this
> > mean that they are not implemented at all or that they are through
> > the Set_Property procedure?
> 
> 
> We just haven't made a binding for them because we didn't have any
> need for them, nor did we think they were really important. I
> definitely encourage you to add some of the bindings if you need them
> in your own application or for Glade 2.

So I am correct in assuming that in GtkAda 2.0 it is not possible to use
Markups in the Label or can you do that with a call to Set_Property. I'm
confused because there is a :

   Use_Markup_Property : constant Glib.Properties.Property_Boolean
        := Glib.Properties.Build ("use_markup");

If you can simply use Set_Property I can agree that this is enough, but
if not, then at least I would like support for markups in Labels.

Btw you don't have any tips for me about the GObject error I get when I
try to call the Misc_Generator in the Label_Generator that I reported
earlier? Maybe a hint could help me move on as I got stuck with the
Label due to this.

Thanks in advance

-- 
Preben Randhol -------------- http://www.pvv.org/~randhol/Ada95 --
                 «For me, Ada95 puts back the joy in programming.»



More information about the gtkada mailing list