{
"@ void buttonPressed" : "(string btn)",
"id" : "RooProjectSettings",
- "| void show" : " (Gtk.Widget btn, GitRepo repo) {\n _this.repo = repo;\n // get the active project.\n var lm = Gtk.SourceLanguageManager.get_default();\n \n// ((Gtk.SourceBuffer)(_this.view.el.get_buffer())) .set_language(\n // lm.get_language(\"html\")\n // );\n \n //print (project.fn);\n //project.runhtml = project.runhtml || '';\n _this.diff_view.el.get_buffer().set_text(\"diff goes here\");\n \n \n \n _this.rootURL.el.set_text( _this.project.rootURL );\n \n _this.html_gen_model.loadData(_this.project.html_gen);\n\n _this.base_template_model.loadData();\n \n var js = _this.project;\n _this.database_DBTYPE.el.set_text( js.get_string_member(\"DBTYPE\") );\n _this.database_DBNAME.el.set_text( js.get_string_member(\"DBNAME\") );\n _this.database_DBUSERNAME.el.set_text( js.get_string_member(\"DBUSERNAME\") );\n _this.database_DBPASSWORD.el.set_text( js.get_string_member(\"DBPASSWORD\") );\n \n \t//console.log('show all');\n\tthis.el.set_modal(true);\n\tthis.el.set_relative_to(btn);\n\n\tthis.el.set_position(Gtk.PositionType.RIGHT);\n\n\t// window + header?\n\t print(\"SHOWALL - POPIP\\n\");\n\tthis.el.show_all();\n\tthis.el.set_size_request(800,500);\n\tthis.view.el.grab_focus();\n\t\n \n //this.el.show_all();\n}\n",
+ "| void show" : " (Gtk.Widget btn, GitRepo repo) {\n _this.repo = repo;\n // get the active project.\n var lm = Gtk.SourceLanguageManager.get_default();\n \n// ((Gtk.SourceBuffer)(_this.view.el.get_buffer())) .set_language(\n // lm.get_language(\"html\")\n // );\n \n //print (project.fn);\n //project.runhtml = project.runhtml || '';\n _this.diff_view.el.get_buffer().set_text(\"diff goes here\");\n \n \n \n \t//console.log('show all');\n\tthis.el.set_modal(true);\n\tthis.el.set_relative_to(btn);\n\n\t//this.el.set_position(Gtk.PositionType.RIGHT);\n\n\t// window + header?\n\t print(\"SHOWALL - POPIP\\n\");\n\tthis.el.show_all();\n\tthis.el.set_size_request(800,500);\n\tthis.view.el.grab_focus();\n\t\n \n //this.el.show_all();\n}\n",
"xtype" : "Popover",
"Gtk.PositionType position" : "Gtk.PositionType.RIGHT",
"$ xns" : "Gtk",
- _this.rootURL.el.set_text( _this.project.rootURL );
-
- _this.html_gen_model.loadData(_this.project.html_gen);
-
- _this.base_template_model.loadData();
-
- var js = _this.project;
- _this.database_DBTYPE.el.set_text( js.get_string_member("DBTYPE") );
- _this.database_DBNAME.el.set_text( js.get_string_member("DBNAME") );
- _this.database_DBUSERNAME.el.set_text( js.get_string_member("DBUSERNAME") );
- _this.database_DBPASSWORD.el.set_text( js.get_string_member("DBPASSWORD") );
-
//console.log('show all');
this.el.set_modal(true);
this.el.set_relative_to(btn);
- this.el.set_position(Gtk.PositionType.RIGHT);
+ //this.el.set_position(Gtk.PositionType.RIGHT);
// window + header?
print("SHOWALL - POPIP\n");