Skip to content

Instantly share code, notes, and snippets.

@davidboy
Created August 17, 2012 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidboy/3380418 to your computer and use it in GitHub Desktop.
Save davidboy/3380418 to your computer and use it in GitHub Desktop.
using Gtk;
int main(string[] args) {
Gtk.init (ref args);
try {
var builder = new Builder ();
builder.add_from_file ("crux.glade");
var window = builder.get_object ("other_window") as Window;
window.show_all ();
Gtk.main ();
} catch (Error e) {
return 1;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment