[gtkada] Re: Using modifier+return in Gtk_Entry
Manuel Op de Coul
manuel.op.de.coul at eon-benelux.com
Fri Oct 15 17:34:09 CEST 2004
You're using the wrong signal, "activate" doesn't include
modifier keys in its parameters.
The Storage_Error is raised because of a memory access
violation.
So you should attach handlers for "key_press_event" and
"clicked". In the former you check whether it was the
enter key that was pressed, and in the latter if the
click was a double click. In both you can check the
modifier key.
Manuel
More information about the gtkada
mailing list