[MonoDevelop] trouble showing data in NodeView

Adam Tauno WIlliams awilliam at whitemice.org
Tue Mar 17 18:44:18 EDT 2009


> ...I'm using the 'MyTreeNode' class from the tutorial, and 'jobsView'
> is the NodeView created by stetic. I noticed that stetic is
> instantiating jobsView with the no arg constructor.  I couldn't find
> any methods to tie it to my NodeStore other than the constructor, so
> I'm assuming it's ok to instantiate a new 'NodeView' object here and
> pass my NodeStore to it, but maybe this is where I'm going wrong, I
> don't know. Any help/insight appreciated. 

No, if you do that you have to appropriately re-parent the widget.  

Why not just associate your NodeStore with the jobView widget via the
Model property?



More information about the Monodevelop-list mailing list