- "Gtk.Align halign" : "Gtk.Align.START",
- "bool hexpand" : true,
- "utf8 label" : "compile flags",
- "xtype" : "Label"
- },
- {
- "$ xns" : "Gtk",
- "id" : "compile_flags",
- "listeners" : {
- "changed" : [
- "() => {",
- " ",
- " _this.project.compile_flags = this.el.buffer.text;",
- " _this.project.save();",
- "// _this.project.save();",
- "",
- "}"
- ]
- },
- "utf8 placeholder_text" : "eg. -g --valasrc $BASEDIR ",
- "xtype" : "Entry"
+ "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
+ "int spacing" : 10,
+ "items" : [
+ {
+ "$ xns" : "Gtk",
+ "Gtk.Align halign" : "Gtk.Align.START",
+ "bool hexpand" : false,
+ "utf8 label" : "Compile flags:",
+ "xtype" : "Label"
+ },
+ {
+ "$ xns" : "Gtk",
+ "id" : "compile_flags",
+ "listeners" : {
+ "changed" : [
+ "() => {",
+ " ",
+ " _this.project.compile_flags = this.el.buffer.text;",
+ " _this.project.save();",
+ "// _this.project.save();",
+ "",
+ "}"
+ ]
+ },
+ "utf8 placeholder_text" : "eg. -g --valasrc $BASEDIR ",
+ "xtype" : "Entry"
+ },
+ {
+ "$ xns" : "Gtk",
+ "Gtk.Align halign" : "Gtk.Align.START",
+ "bool hexpand" : false,
+ "utf8 label" : "Version:",
+ "xtype" : "Label"
+ },
+ {
+ "$ xns" : "Gtk",
+ "id" : "version",
+ "listeners" : {
+ "changed" : [
+ "() => {",
+ " ",
+ " _this.project.version = this.el.buffer.text;",
+ " _this.project.save();",
+ "// _this.project.save();",
+ "",
+ "}"
+ ]
+ },
+ "utf8 placeholder_text" : "eg. 1.5",
+ "xtype" : "Entry"
+ },
+ {
+ "$ xns" : "Gtk",
+ "Gtk.Align halign" : "Gtk.Align.START",
+ "bool hexpand" : false,
+ "utf8 label" : "Licence:",
+ "xtype" : "Label"
+ },
+ {
+ "$ xns" : "Gtk",
+ "id" : "licence",
+ "listeners" : {
+ "changed" : [
+ "() => {",
+ " ",
+ " _this.project.licence = this.el.buffer.text;",
+ " _this.project.save();",
+ "// _this.project.save();",
+ "",
+ "}"
+ ]
+ },
+ "utf8 placeholder_text" : "eg. LGPL",
+ "xtype" : "Entry"
+ }
+ ],
+ "xtype" : "Box"