[Gtk-sharp-list] Using Gdk.Key.KP_Enter to accept input in a comboboxentry?

Jesper K. Pedersen linux at famped.dk
Mon Sep 15 14:07:31 EDT 2008

I have a small application where a few of my users have noted a small
They often use the numerical keypad enter key to enter/accept data on a
computer and this works fine with regular Gtk.Entry entries.

When it comes to a Gtk.ComboBoxEntry you can not use the
Gdk.Key.KP_Enter to accept entries - any ideas if this is a bug/feature
that can be worked around?

I've tried with the simple hack of trying to grab keypressed events and
emit the FinishEditing signal when coming accross the KP_Enter keypress
- but my event handler for keypressed events doesnt get called at all.

Any ideas ?

Best regards
Jesper KP


More information about the Gtk-sharp-list mailing list