[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
Tue Jul 15 11:51:33 EDT 2008


wow. The word *subclass* was the key I couldn't understand. Subclassing how
to do it, I am getting pretty good documentation on it. If I couldn't get an
answer I'll ask once again.
Thanks for your kind answers.
Regards

On Tue, Jul 15, 2008 at 8:10 PM, True Friend <true.friend2004 at gmail.com>
wrote:

> 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
> Control.WndProc<http://msdn.microsoft.com/en-us/library/system.windows.forms.control.wndproc.aspx>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.
> Sorry for the long answer, I tried to explain. You can refer me to some
> documentation of gtk  or sone hint how can I do this. I use google
> frequently. Hopefully I'll be able to get helpful links on your hint.
> Best Regards
>
> On Tue, Jul 15, 2008 at 6:04 PM, Chris Howie <cdhowie at gmail.com> wrote:
>
>> You might want to look up object oriented design, or preferably find a
>> class you can take in your area.  What you're asking relates to
>> encapsulation and isn't something that can be answered quickly in one
>> or two sentences.
>>
>> --
>> 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/20080715/c9a767bb/attachment.html 


More information about the Gtk-sharp-list mailing list