[gtkada] Gate model

Arnaud Charlet charlet at ACT-Europe.FR
Wed May 9 12:45:32 CEST 2001


> A few days ago I wrote a message about a gate (gtkada) bug. The problem seems to be that I use glade-gnome and even deactivating gnome support gate is unable to generate code using these glade-gnome files. Beside that I forgot to say which system I work on:

Obviousely desactivating gnome support, but not removing gnome widgets
won't help.

> I don't think that ignoring the "predefined" window1 varible should be ignored (anybody seen the "<p> declared but not used" warning?) to declare two window1 variables.

You will never get such a wrning for global variables, and this is for good
reasons ;-)

The global variable genreated by gate is here only for convenience and can be
completely ignored, it won't do any harm.

But I agree that these variables are actually almost never helpful, and
gate could instead declare local variables in the (dummy) main program that
it generates.

> What about using the same window interface but with different callbacks?

Not clar what you mean here.

> What about making window record components "private" just to be used by de window package procedures, or callbacks?

The record components need to be accessed from outside, so they cannot be
all made private, but having the ability in the GUI builder to make some
components private and some other public is indeed something desirable and on
the todo list.

Arno




More information about the gtkada mailing list