Also be sure to take a look to:

http://www.mono-project.com/GInterfaces

Regards.

Christian Hergert wrote:
> 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
> 
> -- Christian
> 
> On Mon, Jan 12, 2009 at 2:45 AM, Christian Hergert
> <christian.herg...@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
>>

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to