[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#???

True Friend true.friend2004 at gmail.com
Mon Jul 14 11:25:28 EDT 2008


Thanks for reply. I've applied it as attribute before the event handler and
know it is working.
You are right I should override the default keypress event handler, I'll do
it while creating a widget library but currently I was frustrated due to
this problem. Same thing was going fine in python (py_gtk) but not in c#.
Regards


> 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
>



-- 
Muhammad Shakir Aziz محمد شاکر عزیز



-- 
Muhammad Shakir Aziz محمد شاکر عزیز
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20080714/70161747/attachment.html 


More information about the Gtk-sharp-list mailing list