[gtkada] Questions

Preben Randhol randhol at pvv.org
Mon Nov 12 16:34:03 CET 2001


Emmanuel Briot <briot at ACT-Europe.FR> wrote on 12/11/2001 (15:27) :
> > This doesn't work on Windows. I hope it will be fixed soon as my
> > application needs it. It works on linux though.
> 
> It won't be fixed on gtk+ 1.2.*.
> However, the development branch gtk+ 1.3.*, still unstable, has a much more
> powerful engine to handle languages other than english, called pango, which is
> fully supported with the appropriate version of GtkAda (see the sources in the
> cvs repository)

Ah. But is there a port to windows of gtk+ 1.3.* ? If there is then
"Yipiee!!" ;-)

> > > c. Access of the labels of button, item finely, radio operator button...
> > > to be able to modify them +en run time
> 
> > I suggest that you do that and make Labels you manually pack into the
> > buttons. Then you can modify the Labels with Set_Text.
> 
> 
> or do a
>     Set_Text (Gtk_Label (Get_Child (button)), "foo");
> 
> more complex, but doesn't require to store the label separately.

Yes I remembered that one can do it like this after posting :-(

> 
> > I don't know if this has/will change.
> 
> Yes, the development branch includes properties that can be modified
> dynamically, including one to modify the label of a gtk_button.

Nice!

> > > e. Can one not open window DOS bound, or automatically put it in icon?
> > 
> > I would like to know that too.
> 
> 
> Yes, link with -mwindows

Noted.

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




More information about the gtkada mailing list