{
"listeners" : {
"script_dialog" : " (dialog) => {\n var msg = dialog.get_message();\n if (msg.length < 4) {\n return false;\n }\n if (msg.substring(0,4) != \"IPC:\") {\n return false;\n }\n var ar = msg.split(\":\", 3);\n if (ar.length < 3) {\n return false;\n }\n switch(ar[1]) {\n case \"SAVEHTML\":\n _this.file.saveHTML(ar[2]);\n return true;\n default:\n return false;\n }\n \n}",
- "show" : " ( ) => {\n this.inspector = this.el.get_inspector();\n this.inspector.open_window.connect(() => {\n \n print(\"inspector attach\\n\");\n var wv = this.inspector.get_web_view();\n if (wv != null) {\n print(\"got inspector web view\\n\");\n _this.inspectorcontainer.el.add(wv);\n wv.show();\n } else {\n print(\"no web view yet\\n\");\n }\n return true;\n \n });\n this.inspector.close.connect(() => {\n \n this.inspector.show();\n \n }); \n this.inspector.show();\n}",
+ "show" : " ( ) => {\n this.inspector = this.el.get_inspector();\n this.inspector.open_window.connect(() => {\n \n print(\"inspector attach\\n\");\n var wv = this.inspector.get_web_view();\n if (wv != null) {\n print(\"got inspector web view\\n\");\n _this.inspectorcontainer.el.add(wv);\n wv.show();\n } else {\n print(\"no web view yet\\n\");\n }\n return true;\n \n });\n this.inspector.closed.connect(() => {\n \n this.inspector.show();\n \n }); \n this.inspector.show();\n}",
"drag_drop" : " ( ctx, x, y,time, ud) => {\n return false;\n /*\n\tprint(\"TARGET: drag-drop\");\n var is_valid_drop_site = true;\n \n \n Gtk.drag_get_data\n (\n w, // will receive 'drag-data-received' signal \n ctx, /* represents the current state of the DnD \n this.get('/Window').atoms[\"STRING\"], /* the target type we want \n time /* time stamp \n );\n \n \n /* No target offered by source => error \n \n\n\treturn is_valid_drop_site;\n\t*/\n}"
},
"# string renderedData" : "\"\"",