[Gtk-sharp-list] Creating Custom Widget Library in MD

True Friend true.friend2004 at gmail.com
Thu Aug 19 06:54:38 EDT 2010


Hi
I am trying to create a widget library in MD 1.0 (Ubuntu 8.04). I have found
a webcast in this regard as well, where every thing was explained clearly,
but.. what I want wasn't there. I just want to subclass a Gtk.Textview to
override its Keypress Eventhandler method. Now the problem is when I start a
project as widget library and then add a new widget to it, the default class
is inherited from Gtk.Bin. But I want it to be inherited from Gtk.Textview.
If I try to change default code, it creates errors. I am unable to find a
way to add a text view by visual designer (in this widget library) and then
set its override OnKeyPressEvent() method. Please guide me in this regard,
after a lot of search I couldn't find a solution. I'll be very thankful to
you.
Regards

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


More information about the Gtk-sharp-list mailing list