On Mon, Jul 14, 2008 at 10:28 AM, True Friend <[EMAIL PROTECTED]> 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.) -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list