3 Pango = imports.gi.Pango;
4 GLib = imports.gi.GLib;
6 GObject = imports.gi.GObject;
7 GtkSource = imports.gi.GtkSource;
8 WebKit = imports.gi.WebKit;
10 console = imports.console;
11 XObject = imports.XObject.XObject;
12 RooProjectProperties=new XObject({
16 // get the active project.
17 var file = this.get('/Window.LeftTree').getActiveFile();
19 this.get('/StandardErrorDialog').show("No file is currently active");
22 var project = this.get('/Window.LeftTree').getActiveFile().project;
29 "delete_event":function (self, event) {
33 "response":function (self, response_id) {
46 pack : function(p,e) {
47 p.el.get_content_area().add(e.el);
53 pack : "pack_start,true,true,3",
55 this.el = new Gtk.Table.c_new(1,2, true);
56 XObject.prototype.init.call(this);
62 pack : "attach,0,1,0,1,0,0,0,0",
67 pack : "attach,1,2,0,1,5"
71 pack : "attach,0,1,1,2,0,0,1,0",
76 pack : "attach,1,2,1,2,5"
80 pack : "attach,0,1,2,3,0,0,1,0",
85 pack : "attach,1,2,2,3,5",
94 pack : "add_action_widget,1",
99 pack : "add_action_widget,0",
104 RooProjectProperties.init();
105 XObject.cache['/RooProjectProperties'] = RooProjectProperties;