},
{
"listeners" : {
- "activate" : " ( ) =>{\n\n _this.addProp(\"prop\", \"XXXX\", \"function() { }\", \"| function\");\n}"
+ "activate" : " ( ) =>{\n\n _this.addProp(\"prop\", \"flexy:foreach\", \"array,key,value\", \"string\");\n}"
+ },
+ "label" : "Flexy - Foreach",
+ "* pack" : "append",
+ "xtype" : "MenuItem",
+ "tooltip_markup" : "Add a flexy foreach (for HTML templates)",
+ "$ xns" : "Gtk"
+ },
+ {
+ "listeners" : {
+ "activate" : " ( ) =>{\n\n _this.addProp(\"prop\", \"flexy:foreach\", \"array,key,value\", \"string\");\n}"
},
"label" : "Flexy - Foreach",
"xtype" : "MenuItem",
var child_13 = new Xcls_MenuItem21( _this );
child_13.ref();
this.el.append ( child_13.el );
+ var child_14 = new Xcls_MenuItem22( _this );
+ child_14.ref();
+ this.el.append ( child_14.el );
}
// user defined functions
// listeners
this.el.activate.connect( ( ) =>{
- _this.addProp("prop", "XXXX", "function() { }", "| function");
+ _this.addProp("prop", "flexy:foreach", "array,key,value", "string");
+ });
+ }
+
+ // user defined functions
+ }
+ public class Xcls_MenuItem22 : Object
+ {
+ public Gtk.MenuItem el;
+ private Xcls_LeftProps _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_MenuItem22(Xcls_LeftProps _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.MenuItem();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.tooltip_markup = "Add a flexy foreach (for HTML templates)";
+ this.el.label = "Flexy - Foreach";
+
+ // listeners
+ this.el.activate.connect( ( ) =>{
+
+ _this.addProp("prop", "flexy:foreach", "array,key,value", "string");
});
}
// my vars (dec)
// set gobject values
- var child_0 = new Xcls_MenuItem31( _this );
+ var child_0 = new Xcls_MenuItem32( _this );
child_0.ref();
this.el.append ( child_0.el );
- var child_1 = new Xcls_SeparatorMenuItem32( _this );
+ var child_1 = new Xcls_SeparatorMenuItem33( _this );
child_1.ref();
this.el.append ( child_1.el );
- var child_2 = new Xcls_MenuItem33( _this );
+ var child_2 = new Xcls_MenuItem34( _this );
child_2.ref();
this.el.append ( child_2.el );
}
// user defined functions
}
- public class Xcls_MenuItem31 : Object
+ public class Xcls_MenuItem32 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem31(Xcls_LeftProps _owner )
+ public Xcls_MenuItem32(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_SeparatorMenuItem32 : Object
+ public class Xcls_SeparatorMenuItem33 : Object
{
public Gtk.SeparatorMenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_SeparatorMenuItem32(Xcls_LeftProps _owner )
+ public Xcls_SeparatorMenuItem33(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.SeparatorMenuItem();
// user defined functions
}
- public class Xcls_MenuItem33 : Object
+ public class Xcls_MenuItem34 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem33(Xcls_LeftProps _owner )
+ public Xcls_MenuItem34(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();