[gtkada] Making a custom widgets

Preben Randhol randhol at pvv.org
Mon Jul 14 14:55:03 CEST 2003


Hi

Just want to see what you think about this. I'm making some custom
widgets, dialogs etc and plan to put them in a library called GAC
(GtkAda Composites or sth like that). In GtkAda one use:

   Gtk_New (Some_Widget);

I was thinking perhaps to name my procedures:

   Gac_New (Some_Widget);

to seperate it from GtkAda, but I'm a bit unsure if this only will raise
unnecessary typos and hair tearing sessions if one write Gtk_New instead
and the compiler complains. So should I rather keep the Gtk_New ? What
do you think?

Thanks in advance.

-- 
Ada95 is good for you.
http://www.crystalcode.com/codemage/MainMenu/Coding/Ada/IntroducingAda.php



More information about the gtkada mailing list