[Gtk-sharp-list] No keypress event raised when a, b, c or any other normal character key is pressed.IS IT A BUG IN GTK#???
cdhowie at gmail.com
Mon Jul 14 10:50:20 EDT 2008
On Mon, Jul 14, 2008 at 10:28 AM, True Friend <true.friend2004 at gmail.com> wrote:
> There are only two widgets on window. The keypress event is raised in
> textview1 and its output is in entry1. I am getting output (basically
> strange characters) when I press shift, alt, ctrl or caps lock or num lock
> but normal keys are not raising events. Where I am wrong plz point out so I
> can correct the code??
> OR IT IS A BUG IN GTK#??????
Try applying [GLib.ConnectBefore] to your event handler. (But note
that this is the evil way of approaching this -- you really want to
subclass TextView and override its own keypress handler.)
More information about the Gtk-sharp-list