Hi all, i've to build a desktop application, and i'm using GTK# how can i add multiple widget to the same GUI?
best regards, Luca MenuBar mainMenu = new MenuBar(); //adding content this.Add(mainMenu); Gtk.TreeView tree = new Gtk.TreeView (); //building tree this.Add(tree); where this is mainwindow (testdialog:3691): Gtk-WARNING **: Attempting to add a widget with type GtkTreeView to a __gtksharp_0_MainWindow, but as a GtkBin subclass a __gtksharp_0_MainWindow can only contain one widget at a time; it already contains a widget of type GtkMenuBar The application was terminated by a signal: SIGKILL -- View this message in context: http://mono.1490590.n4.nabble.com/menuBar-and-gtk-treeview-same-GUI-tp3475820p3475820.html Sent from the Mono - Gtk# mailing list archive at Nabble.com. _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
