public static int Main(string[] args) { Gtk.Application.Init (); GtkGL.GladeExample ge = new GtkGL.GladeExample (); // Create a new Triangle object, translate it a bit and add it to our gl window LWObject penguin = new LWObject("penguin.lwo"); gladeWindow.glw.AddGLObject( penguin ); // Show the GL widget window ge.window.Show(); ge.glw.Show(); Gtk.Application.Run (); return 0; }
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; }