[Gtk-sharp-list] Gtk.TreeModelImplementor and Signals

Christian Hoff christian_hoff at gmx.net
Wed Dec 31 05:49:22 EST 2008


Christian Hergert wrote:
> I noticed that the signals for Gtk.TreeModel are located in
> Gtk.TreeModelAdapter.  Meanwhile, a consumer implements
> Gtk.TreeModelImplementor.  Since the implementor will not necessarily
> have a reference to the adapter, how would one go about emiting row
> inserted, changed, and deleted signals?
>   
Generate an adapter instance in your managed tree model implementation
and invoke the adapter.EmitRow(Inserted|Deleted|Changed) methods
> -- Christia



More information about the Gtk-sharp-list mailing list