[Gtk-sharp-list] TreeModelAdapter + TreeDragSourceAdapter
christian.hergert at gmail.com
Mon Jan 12 05:58:06 EST 2009
My apologies, It seems when inheriting from GLib.Object, simply adding
the implementor to your inherited interfaces works correctly.
That was a pleasant surprise!
Example for the curious,
public class BdbListStore<T>: GLib.Object, TreeModelImplementor,
TreeDragSourceImplementor where T: class
On Mon, Jan 12, 2009 at 2:45 AM, Christian Hergert
<christian.hergert at gmail.com> wrote:
> How the heck does one implement a TreeModel AND a TreeDragSource using
> this funky GInterface Implementor/Adapter stuff.
> I need the Model (a TreeModelAdapter) to implement TreeDragSource,
> while I'm supposed to implement through theTreeModelImplementor, thus
> having no control over that.
> Is it possible for a class to implement 2 GInterfaces?
> -- Christian
More information about the Gtk-sharp-list