Hi Gtk# List<br>Replying to my self<br>I am able to print keyvalues of Ctrl, Alt, Shift etc. But not keys a,A,b,B, etc. I&#39;ve used keypress event handler for this purpose. Plz tell me how can I get control of these keys in textview?<br>
The code snippet (very simple indeed).<br>protected virtual void OnTextview1KeyPressEvent (object o, Gtk.KeyPressEventArgs args)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; textview1.Buffer.InsertAtCursor(args.Event.HardwareKeycode.ToString());<br>
&nbsp;&nbsp;&nbsp; }<br>Waiting for your valueable suggestions.<br>Regards<br><div class="gmail_quote">On Sat, Jul 12, 2008 at 2:48 PM, True_Friend &lt;<a href="mailto:true.friend2004@gmail.com">true.friend2004@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;"><br>
Hi<br>
I am a beginner in c# and gtk. I want to modify TextView widget in such a<br>
way that it print (in textbox obviously) keys of my language Urdu. As if I<br>
press &#39;a&#39; it prints &#39;ا&#39;. The same thing is done by one of my colleges in<br>
Windows.Forms with richtextbox and textbox controls. I have seen some<br>
windows.forms specific things in it so I cannot apply it as it to gtk. Plz<br>
guide me how can I achieve it. I have found a little clue about it<br>
<a href="http://www.go-mono.com/docs/index.aspx?link=T%3aGdk.Keymap%2f*" target="_blank">http://www.go-mono.com/docs/index.aspx?link=T%3aGdk.Keymap%2f*</a> here &nbsp;in<br>
monodoc. Plz refer me to some guide in this regard even it is not GTK# (but<br>
gtk obviously) so I may able to understand even the lang will not c#. Here<br>
is the textbox class modified for this purpose for windows.forms.<br>
<a href="http://www.nabble.com/file/p18417433/UrduTextBox.cs" target="_blank">http://www.nabble.com/file/p18417433/UrduTextBox.cs</a> UrduTextBox.cs<br>
Regards<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/Enabling-TextView-to-print-custom-language-character%28without-system-support%29-tp18417433p18417433.html" target="_blank">http://www.nabble.com/Enabling-TextView-to-print-custom-language-character%28without-system-support%29-tp18417433p18417433.html</a><br>

Sent from the Mono - Gtk# mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Gtk-sharp-list maillist &nbsp;- &nbsp;<a href="mailto:Gtk-sharp-list@lists.ximian.com">Gtk-sharp-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list" target="_blank">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Muhammad Shakir Aziz محمد شاکر عزیز<br>