"delete_event" : "(self, event) => {\n this.el.hide();\n return true; \n //test \n} \n "
},
"string tmpjs" : "",
- "id" : "DialogPluginWebkit",
"utf8 title" : "Add / Edit Component",
+ "id" : "DialogPluginWebkit",
"gint default_height" : 500,
"gboolean deletable" : true,
"xtype" : "Dialog",
"items" : [
{
"* init" : " this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n \n",
- "* pack" : "pack_start,false,true,3",
"xtype" : "ScrolledWindow",
+ "* pack" : "pack_start,false,true,3",
"gboolean expand" : true,
"$ xns" : "Gtk",
"items" : [
},
{
"label" : "Reload",
- "xtype" : "Button",
"* pack" : "add_action_widget,3",
+ "xtype" : "Button",
"$ xns" : "Gtk"
},
{
"label" : "Cancel",
- "* pack" : "add_action_widget,0",
"xtype" : "Button",
+ "* pack" : "add_action_widget,0",
"$ xns" : "Gtk"
},
{
"label" : "OK",
- "xtype" : "Button",
"* pack" : "add_action_widget,1",
+ "xtype" : "Button",
"$ xns" : "Gtk"
}
]
static Xcls_DialogPluginWebkit _DialogPluginWebkit;
-public class Xcls_DialogPluginWebkit : Object
+public class Xcls_DialogPluginWebkit : Object
{
public Gtk.Dialog el;
private Xcls_DialogPluginWebkit _this;
public string tmpjs;
public string result_json;
- // ctor
+ // ctor
public Xcls_DialogPluginWebkit()
{
_this = this;
child_3.ref();
this.el.add_action_widget ( child_3.el , 1 );
- // listeners
+ //listeners
this.el.delete_event.connect( (self, event) => {
this.el.hide();
return true;
});
}
- // user defined functions
+ // user defined functions
public string show (Gtk.Window ?parent, Project.Project project, string cls, string tbl) {// JsRender.Node node) {
if (parent != null) {
}
- public class Xcls_Box2 : Object
+ public class Xcls_Box2 : Object
{
public Gtk.Box el;
private Xcls_DialogPluginWebkit _this;
// my vars (def)
- // ctor
+ // ctor
public Xcls_Box2(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
this.el.pack_start ( child_0.el , false,true,3 );
}
- // user defined functions
+ // user defined functions
}
- public class Xcls_ScrolledWindow3 : Object
+ public class Xcls_ScrolledWindow3 : Object
{
public Gtk.ScrolledWindow el;
private Xcls_DialogPluginWebkit _this;
// my vars (def)
- // ctor
+ // ctor
public Xcls_ScrolledWindow3(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
child_0.ref();
this.el.add ( child_0.el );
- // init method
+ // init method
this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
}
- // user defined functions
+ // user defined functions
}
- public class Xcls_webview : Object
+ public class Xcls_webview : Object
{
public WebKit.WebView el;
private Xcls_DialogPluginWebkit _this;
// my vars (def)
- // ctor
+ // ctor
public Xcls_webview(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
// set gobject values
- // init method
+ // init method
{
// this may not work!?
}
- // listeners
+ //listeners
this.el.script_dialog.connect( (dialog) => {
if (this.el == null) {
return true;
});
}
- // user defined functions
+ // user defined functions
}
- public class Xcls_Button5 : Object
+
+
+
+ public class Xcls_Button5 : Object
{
public Gtk.Button el;
private Xcls_DialogPluginWebkit _this;
// my vars (def)
- // ctor
+ // ctor
public Xcls_Button5(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
this.el.label = "Reload";
}
- // user defined functions
+ // user defined functions
}
- public class Xcls_Button6 : Object
+
+ public class Xcls_Button6 : Object
{
public Gtk.Button el;
private Xcls_DialogPluginWebkit _this;
// my vars (def)
- // ctor
+ // ctor
public Xcls_Button6(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
this.el.label = "Cancel";
}
- // user defined functions
+ // user defined functions
}
- public class Xcls_Button7 : Object
+
+ public class Xcls_Button7 : Object
{
public Gtk.Button el;
private Xcls_DialogPluginWebkit _this;
// my vars (def)
- // ctor
+ // ctor
public Xcls_Button7(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
this.el.label = "OK";
}
- // user defined functions
+ // user defined functions
}
+
}