[Gtk-sharp-list] Databinding in Gtk#

Miguel de Icaza miguel at ximian.com
Sat Dec 8 01:12:15 EST 2007


Hello folks,

    Matjaz is back on the channel, and I believe he wants to complete
his work on databound Gtk# controls.

    It just occurred something to me: would it be feasible to use C# 3.0
extension methods to extend the existing controls to be databound,
instead of having to create a new hierarchy that derives from the
original controls?

    There are a few downsides to my proposal, for one, the storage of
information associated with a control (in Matjaz' implementation, for
example the ControlAdaptor and the changed state) would have to reside
in the GLib.Object.Data hashtable and that might not be optimal at all.

Miguel.


More information about the Gtk-sharp-list mailing list