Hello Fredrik,

Fredrik Nilsson wrote:

I don't think you can use the same widget at two places.
You have to create two versions of the treeview.
But you can use the same treemodel to more than one treeview.

Oh, you're right in the source I posted, I really do this. I don't in my real application source code, but I tried both lines separately.

I want to subclass a TreeView and then use two _different_ instances at two different places in my GUI, thats more precise now :-)

So far, I try to just use one instance at one place to test my widget, but that already fails to work, so I have not tried yet to use two instances in the GUI.

So, in my code, just imagine the line

         tab2VBox.PackEnd (mlv);

is deleted.


Regards,
Sebastian
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to