[Gtk-sharp-list] Inheriting a Gtk.Widget
Ecmel Ercan
ecmel@ercansoy.com
Tue, 09 Mar 2004 14:23:30 +0200
Hi,
I want to inherit TreeView widget but with the TreeView (NodeStore)
constructor.
I would normally do:
class MyTreeView : TreeView
{
..
..
public MyTreeView (NodeStore store) : base (store)
{
}
}
But, now I can not pass the GType to the base class and the inherited
class is not a real Gtk.Widget (e.g. virtual methods can not be overriden)
What is the correct way to do this?
Regards,
Ecmel Ercan