[Gtk-sharp-list] Subclassing controls and databinding
Tue, 18 Nov 2003 14:38:05 -0600
On Tue, 2003-11-18 at 13:47, John Luke wrote:
> > 1) Are there any plans to support databinding with GTK# controls?
> Yes, it is filed in bugzilla, but I don't know if anyone is working on
> it yet.
Nobody has told me they are actively working on it. I've discouraged a
few people from doing databindings yet for TreeView and ComboBox since
NodeStore is imcomplete and the new sexy combo box won't be available
until Gtk+ 2.4 is out.
> > 2) Is it possible to subclass typical GTK# widgets to add additional
> > functionality to my programs (for example, to add databinding)
> Yes, see gtk-sharp/sample/SubClass.cs or Gtk.Bin example in monodoc.
That example shows how to register a gtype for your subclass, but it's
not yet possible to override virtual class methods yet, another
important part of subclassing. I've been making progress on this
capability though. Hopefully soon.
Mike Kestner <email@example.com>