<div dir="ltr">Thanks for reply. I am basically wanting to make a re-usable widget (at least a textview) which can write my local language Urdu without system support. I am impressed by the similar work in winforms(c#) with textbox control(equivalent to gtk textview). There the keypress controling method is <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.control.wndproc.aspx">Control.WndProc</a> which can be overridden in custom control to filter messages. Similar thing I could find is to write a keypress event handler in gtk. I am wondering if a custom widget laying in a dll can have such event handler without the need to write an event handler for every new instance. Thats why I asked. <br>
Sorry for the long answer, I tried to explain. You can refer me to some documentation of gtk&nbsp; or sone hint how can I do this. I use google frequently. Hopefully I&#39;ll be able to get helpful links on your hint.<br>Best Regards<br>
<br><div class="gmail_quote">On Tue, Jul 15, 2008 at 6:04 PM, Chris Howie &lt;<a href="mailto:cdhowie@gmail.com">cdhowie@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You might want to look up object oriented design, or preferably find a<br>
class you can take in your area. &nbsp;What you&#39;re asking relates to<br>
encapsulation and isn&#39;t something that can be answered quickly in one<br>
or two sentences.<br>
<div><div></div><div class="Wj3C7c"><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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Muhammad Shakir Aziz محمد شاکر عزیز<br>
</div>