[Gtk-sharp-list] Custom (subclassed) widget fails to show up in Glade based application

Sebastian scut at nb.in-berlin.de
Sun Oct 16 09:56:38 EDT 2005


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


More information about the Gtk-sharp-list mailing list