src/Builder4/DialogPluginWebkit.vala
"delete_event" : "(self, event) => {\n this.el.hide();\n return true; \n //test \n} \n "
},
"string tmpjs" : "",
"delete_event" : "(self, event) => {\n this.el.hide();\n return true; \n //test \n} \n "
},
"string tmpjs" : "",
- "id" : "DialogPluginWebkit",
"utf8 title" : "Add / Edit Component",
"utf8 title" : "Add / Edit Component",
+ "id" : "DialogPluginWebkit",
"gint default_height" : 500,
"gboolean deletable" : true,
"xtype" : "Dialog",
"gint default_height" : 500,
"gboolean deletable" : true,
"xtype" : "Dialog",
"items" : [
{
"* init" : " this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n \n",
"items" : [
{
"* init" : " this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n \n",
- "* pack" : "pack_start,false,true,3",
"xtype" : "ScrolledWindow",
"xtype" : "ScrolledWindow",
+ "* pack" : "pack_start,false,true,3",
"gboolean expand" : true,
"$ xns" : "Gtk",
"items" : [
"gboolean expand" : true,
"$ xns" : "Gtk",
"items" : [
"* pack" : "add_action_widget,3",
"* pack" : "add_action_widget,3",
"$ xns" : "Gtk"
},
{
"label" : "Cancel",
"$ xns" : "Gtk"
},
{
"label" : "Cancel",
- "* pack" : "add_action_widget,0",
+ "* pack" : "add_action_widget,0",
"$ xns" : "Gtk"
},
{
"label" : "OK",
"$ xns" : "Gtk"
},
{
"label" : "OK",
"* pack" : "add_action_widget,1",
"* pack" : "add_action_widget,1",
static Xcls_DialogPluginWebkit _DialogPluginWebkit;
static Xcls_DialogPluginWebkit _DialogPluginWebkit;
-public class Xcls_DialogPluginWebkit : Object
+public class Xcls_DialogPluginWebkit : Object
{
public Gtk.Dialog el;
private Xcls_DialogPluginWebkit _this;
{
public Gtk.Dialog el;
private Xcls_DialogPluginWebkit _this;
public string tmpjs;
public string result_json;
public string tmpjs;
public string result_json;
public Xcls_DialogPluginWebkit()
{
_this = this;
public Xcls_DialogPluginWebkit()
{
_this = this;
child_3.ref();
this.el.add_action_widget ( child_3.el , 1 );
child_3.ref();
this.el.add_action_widget ( child_3.el , 1 );
this.el.delete_event.connect( (self, event) => {
this.el.hide();
return true;
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 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;
{
public Gtk.Box el;
private Xcls_DialogPluginWebkit _this;
public Xcls_Box2(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
public Xcls_Box2(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
this.el.pack_start ( child_0.el , false,true,3 );
}
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;
{
public Gtk.ScrolledWindow el;
private Xcls_DialogPluginWebkit _this;
public Xcls_ScrolledWindow3(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
public Xcls_ScrolledWindow3(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
child_0.ref();
this.el.add ( child_0.el );
child_0.ref();
this.el.add ( child_0.el );
this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
}
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;
{
public WebKit.WebView el;
private Xcls_DialogPluginWebkit _this;
public Xcls_webview(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
public Xcls_webview(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
this.el.script_dialog.connect( (dialog) => {
if (this.el == null) {
return true;
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;
{
public Gtk.Button el;
private Xcls_DialogPluginWebkit _this;
public Xcls_Button5(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
public Xcls_Button5(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
this.el.label = "Reload";
}
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;
{
public Gtk.Button el;
private Xcls_DialogPluginWebkit _this;
public Xcls_Button6(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
public Xcls_Button6(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
this.el.label = "Cancel";
}
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;
{
public Gtk.Button el;
private Xcls_DialogPluginWebkit _this;
public Xcls_Button7(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
public Xcls_Button7(Xcls_DialogPluginWebkit _owner )
{
_this = _owner;
- // user defined functions
+ // user defined functions