[gtkada] Gtk.Adjustment.Gtk_New

Arnaud Charlet charlet at ACT-Europe.FR
Mon Aug 18 15:50:07 CEST 2003


> it would be useful to not need to convert at each time, since i use 
> only integers :-)

Well, in this case it becomes a computer science issue then:

What would you do if you need to perform often the same task ?
Answer: factorize this task in a routine that you write, and call this routine.

In other words, instead of calling Gtk_Adjustment.Gtk_New, you could
create a function Create_Integer_Adjustment (or Gtk_New for that matter) that
would have the semantics you want.

Arno



More information about the gtkada mailing list