Exemplo n.º 1
0
		public MainWindow()
			: base()
		{
			Title = "MonoWorks Studio";

			_wrapper = new ViewportWrapper();
			Content = _wrapper;

			_scene = new StudioScene(_wrapper.Viewport);
			_wrapper.Viewport.RootScene = _scene;

		}
Exemplo n.º 2
0
		public MainWindow() : base(gtk.WindowType.Toplevel)
		{
			Title = "MonoWorks Studio";
			
			_adapter = new ViewportAdapter();
			_scene = new StudioScene(_adapter.Viewport);
			
			Add(_adapter);
			_adapter.Viewport.RootScene = _scene;
			
			DeleteEvent += delegate {
				gtk.Application.Quit();
			};
			
		}