[Gtk-sharp-list] GtkForms
Todd Berman
tberman@off.net
Thu, 07 Oct 2004 10:22:51 -0700
On Thu, 2004-10-07 at 08:31 -0400, Robert Brown wrote:
> Just my two cents, but a class that provides databinding functionality to
> GTK# widgets sounds good. Although the only way I could think to make it
> work would be to brute force it; ie passing the widget, the property to
> bind, the data-set and possibly a method that would tell the dataset that
> the widget has updated the data. Although not an elegant solution, it may
> work. Does anyone else have a better idea?
>
> BTW I wouldn't mind helping out code-wise on a project that allowed
> databinding to GTK# controls.
Not to be an ass, but this is already done.
The basic databinding model in gtk# is using a TreeModel. Vlad has
written a ManagedTreeModel that can be used to data-bind with ADO.NET
stuff. and it already works.
--Todd