"show" : "(self) => {\n this.el.show_all();\n //test\n}"
},
"| void updateFileFromEntry" : "() {\n\n _this.file.title = _this.title.el.get_text();\n _this.file.region = _this.region.el.get_text(); \n _this.file.parent = _this.parent.el.get_text(); \n _this.file.permname = _this.permname.el.get_text(); \n _this.file.modOrder = _this.modOrder.el.get_text();\n \n if (_this.file.name.length > 0 && _this.file.name != _this.name.el.get_text()) {\n _this.file.renameTo(_this.name.el.get_text());\n }\n \n} ",
- "@ void success" : "(Project.Project pr, JsRender.JsRender file)",
"id" : "DialogNewComponent",
+ "@ void success" : "(Project.Project pr, JsRender.JsRender file)",
"default_width" : 500,
"$ deletable" : true,
"# Project.Project project" : "",
},
{
"label" : "Region",
- "tooltip_text" : "center, north, south, east, west",
"$ visible" : true,
+ "tooltip_text" : "center, north, south, east, west",
"xalign" : 0.90000000000000002,
"* pack" : "attach_defaults,0,1,2,3",
"xtype" : "Label",
"x_options" : 4,
"$ xns" : "Gtk"
},
+ {
+ "id" : "modOrder",
+ "$ visible" : true,
+ "xtype" : "Entry",
+ "* pack" : "attach_defaults,1,2,5,6",
+ "$ xns" : "Gtk"
+ },
+ {
+ "label" : "Order (for tabs)",
+ "$ visible" : true,
+ "xalign" : 0.90000000000000002,
+ "* pack" : "attach_defaults,0,1,5,6",
+ "xtype" : "Label",
+ "$ justify" : "Gtk.Justification.RIGHT",
+ "x_options" : 4,
+ "$ xns" : "Gtk"
+ },
{
"id" : "modOrder",
"$ visible" : true,
},
{
"label" : "Cancel",
- "* pack" : "add_action_widget,0",
"xtype" : "Button",
+ "* pack" : "add_action_widget,0",
"$ xns" : "Gtk"
},
{
"label" : "OK",
- "* pack" : "add_action_widget,1",
"xtype" : "Button",
+ "* pack" : "add_action_widget,1",
"$ xns" : "Gtk"
}
]
public Xcls_region region;
public Xcls_parent parent;
public Xcls_permname permname;
+ public Xcls_modOrder modOrder;
public Xcls_modOrder modOrder;
// my vars (def)
var child_0 = new Xcls_VBox2( _this );
child_0.ref();
this.el.get_content_area().add ( child_0.el );
- var child_1 = new Xcls_Button16( _this );
+ var child_1 = new Xcls_Button18( _this );
child_1.ref();
this.el.add_action_widget ( child_1.el , 0 );
- var child_2 = new Xcls_Button17( _this );
+ var child_2 = new Xcls_Button19( _this );
child_2.ref();
this.el.add_action_widget ( child_2.el , 1 );
var child_11 = new Xcls_modOrder( _this );
child_11.ref();
this.el.attach_defaults ( child_11.el , 1,2,5,6 );
+ var child_12 = new Xcls_Label16( _this );
+ child_12.ref();
+ this.el.attach_defaults ( child_12.el , 0,1,5,6 );
+ var child_13 = new Xcls_modOrder( _this );
+ child_13.ref();
+ this.el.attach_defaults ( child_13.el , 1,2,5,6 );
}
// user defined functions
// user defined functions
}
- public class Xcls_Button16 : Object
+ public class Xcls_Label16 : Object
+ {
+ public Gtk.Label el;
+ private Xcls_DialogNewComponent _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Label16(Xcls_DialogNewComponent _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Label( "Order (for tabs)" );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.justify = Gtk.Justification.RIGHT;
+ this.el.xalign = 0.900000f;
+ this.el.visible = true;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_modOrder : Object
+ {
+ public Gtk.Entry el;
+ private Xcls_DialogNewComponent _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_modOrder(Xcls_DialogNewComponent _owner )
+ {
+ _this = _owner;
+ _this.modOrder = this;
+ this.el = new Gtk.Entry();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.visible = true;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_Button18 : Object
{
public Gtk.Button el;
private Xcls_DialogNewComponent _this;
// my vars (def)
// ctor
- public Xcls_Button16(Xcls_DialogNewComponent _owner )
+ public Xcls_Button18(Xcls_DialogNewComponent _owner )
{
_this = _owner;
this.el = new Gtk.Button();
// user defined functions
}
- public class Xcls_Button17 : Object
+ public class Xcls_Button19 : Object
{
public Gtk.Button el;
private Xcls_DialogNewComponent _this;
// my vars (def)
// ctor
- public Xcls_Button17(Xcls_DialogNewComponent _owner )
+ public Xcls_Button19(Xcls_DialogNewComponent _owner )
{
_this = _owner;
this.el = new Gtk.Button();