<br><div class="gmail_quote"><br>Thanks for reply. I've applied it as attribute before the event handler and know it is working. <br>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#.<br>
Regards<div class="Ih2E3d"><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br>
</div>Try applying [GLib.ConnectBefore] to your event handler. (But note<br>
that this is the evil way of approaching this -- you really want to<br>
subclass TextView and override its own keypress handler.)<br>
<font color="#888888"><br>
--<br>
Chris Howie<br>
<a href="http://www.chrishowie.com" target="_blank">http://www.chrishowie.com</a><br>
<a href="http://en.wikipedia.org/wiki/User:Crazycomputers" target="_blank">http://en.wikipedia.org/wiki/User:Crazycomputers</a><br>
</font></blockquote></div><br><br clear="all"><br></div><div><div></div><div class="Wj3C7c">-- <br>Muhammad Shakir Aziz محمد شاکر عزیز<br>
</div></div></div><br><br clear="all"><br>-- <br>Muhammad Shakir Aziz محمد شاکر عزیز<br>