[gtkada] Event string constants.

Pascal p.p14 at orange.fr
Thu Mar 29 10:45:16 CEST 2012


Hello,
Signal names are declared by GTK with dashes though GtKAda declares them with underscores, like:
gtkwidget.c :
  widget_signals[BUTTON_PRESS_EVENT] =
    g_signal_new (I_("button-press-event"),
...
gtk-widget.ads:
   Signal_Button_Press_Event      : constant Glib.Signal_Name :=
                                   "button_press_event";
...

Both seems acceptable, what is this mystery?

Thanks, Pascal.
http://blady.pagesperso-orange.fr




More information about the gtkada mailing list