File: Engine.cs

package info (click to toggle)
gtkglarea-sharp 0.0.17-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,144 kB
  • ctags: 492
  • sloc: sh: 3,376; cs: 2,633; makefile: 421; xml: 126
file content (29 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;

using Gtk;
using Glade;

namespace GladeExample
{
	public class Engine
	{
		public static int Main (string[] args)
		{
			// Prepare application execution. This is where you
			// would load up your glade files and any other
			// resources.
			Gtk.Application.Init();

			GtkGL.GladeExample ge = new GtkGL.GladeExample();

			// Show the GL widget window and all it's children.
			ge.glwidget.ShowAll();
			
			// Begin application processing.
			Gtk.Application.Run();

			// And we're done.
			return 0;
		}
    }
}