[Gtk-sharp-list] You were right sergio

mikeflippin@blindmindseye.com mikeflippin@blindmindseye.com
Thu, 17 Mar 2005 11:14:20 -0800 (PST)


I just cut and pasted the VBox into a separate glade file outside of its
window and put this code in and it ran like a charm in the test:

using Gtk;
using Glade;
using System;

public class Test
{
	[Widget] VBox mainContainer;
	public Test()
	{
		Application.Init();
		Window w = new Window("Test");
		Glade.XML gxml = new Glade.XML(null,"newentry.glade", "mainContainer",
null);
		gxml.Autoconnect(this);

		w.Add(mainContainer);
		w.Visible = true;
		w.Resize(400,400);
		Application.Run();
	}
	public static void Main(string[] args)
	{
		new Test();
	}
}