resources/RooUsage.txt
[app.Builder.js] / src / Builder4 / MainWindow.bjs
index 88a88a6..c1ec4a3 100644 (file)
@@ -16,7 +16,7 @@
    },
    "id" : "MainWindow",
    "default_width" : 800,
-   "* init" : " \n\t  \n    //this.el.show_all();\n    \n     ",
+   "* init" : " \n\t  \n    //this.el.show_all();\n    //try {\n         this.el.set_icon_name(\"roobuilder\");\n\t//} catch (Exception e) {\n\t//\tprint(\"no icon found\");\n//\t}",
    "| void openNewWindow" : "() {\n\tXcls_MainWindow.singleton().no_windows++;\n        var w = new Xcls_MainWindow();\n        w.ref();\n\n        w.el.show_all();\n        w.initChildren();\n        w.windowstate.switchState(WindowState.State.FILES);\n}\n",
    "# Project.Project project" : "null",
    "# string title" : "\"Application Builder\"",
@@ -62,9 +62,9 @@
              "listeners" : {
               "activate" : "( ) => {\n       _this.openNewWindow();\n}"
              },
-             "xtype" : "MenuItem",
              "string label" : "Open a new Window",
              "* pack" : "append",
+             "xtype" : "MenuItem",
              "$ xns" : "Gtk"
             },
             {
              "listeners" : {
               "activate" : " ( ) => {\n         Resources.singleton().fetchStart();\n}"
              },
-             "* pack" : "append",
              "xtype" : "MenuItem",
              "string label" : "Download updated Resources",
+             "* pack" : "append",
              "$ xns" : "Gtk"
             },
             {
              "listeners" : {
               "activate" : "() => {\n    About.singleton().el.show();\n    }"
              },
-             "string label" : "About the Builder",
              "* pack" : "append",
              "xtype" : "MenuItem",
+             "string label" : "About the Builder",
              "$ xns" : "Gtk"
             }
            ]
           },
           {
-           "xtype" : "Image",
            "utf8 icon_name" : "help-about",
            "* pack" : "set_image",
+           "xtype" : "Image",
            "$ xns" : "Gtk"
           }
          ]
          "$ tooltop_text" : "\"Open File\"",
          "items" : [
           {
-           "* pack" : "set_image",
            "xtype" : "Image",
            "utf8 icon_name" : "document-open",
+           "* pack" : "set_image",
            "$ xns" : "Gtk"
           }
          ]
          "bool visible" : false,
          "items" : [
           {
-           "utf8 icon_name" : "go-previous",
            "* pack" : "set_image",
            "xtype" : "Image",
+           "utf8 icon_name" : "go-previous",
            "$ xns" : "Gtk"
           }
          ]
                    "height_request" : 50,
                    "items" : [
                     {
-                     "* pack" : "set_image",
                      "xtype" : "Image",
                      "utf8 icon_name" : "go-previous",
+                     "* pack" : "set_image",
                      "$ xns" : "Gtk"
                     }
                    ]
                    "height_request" : 50,
                    "items" : [
                     {
-                     "xtype" : "Image",
                      "utf8 icon_name" : "document-properties",
                      "* pack" : "set_image",
+                     "xtype" : "Image",
                      "$ xns" : "Gtk"
                     }
                    ]
                    "height_request" : 50,
                    "items" : [
                     {
-                     "* pack" : "set_image",
                      "xtype" : "Image",
                      "utf8 icon_name" : "emblem-system",
+                     "* pack" : "set_image",
                      "$ xns" : "Gtk"
                     }
                    ]
                    "height_request" : 50,
                    "items" : [
                     {
-                     "utf8 icon_name" : "list-add",
                      "* pack" : "set_image",
                      "xtype" : "Image",
+                     "utf8 icon_name" : "list-add",
                      "$ xns" : "Gtk"
                     }
                    ]
                    "height_request" : 50,
                    "items" : [
                     {
-                     "xtype" : "Image",
                      "utf8 icon_name" : "format-justify-left",
                      "* pack" : "set_image",
+                     "xtype" : "Image",
                      "$ xns" : "Gtk"
                     }
                    ]
                    "height_request" : 50,
                    "items" : [
                     {
-                     "* pack" : "set_image",
                      "xtype" : "Image",
                      "utf8 icon_name" : "appointment-new",
+                     "* pack" : "set_image",
                      "$ xns" : "Gtk"
                     }
                    ]
                    "height_request" : 50,
                    "items" : [
                     {
-                     "xtype" : "Image",
                      "utf8 icon_name" : "folder-new",
                      "* pack" : "set_image",
+                     "xtype" : "Image",
                      "$ xns" : "Gtk"
                     }
                    ]
                    "height_request" : 50,
                    "items" : [
                     {
-                     "utf8 icon_name" : "document-new",
                      "* pack" : "set_image",
                      "xtype" : "Image",
+                     "utf8 icon_name" : "document-new",
                      "$ xns" : "Gtk"
                     }
                    ]
                    "height_request" : 50,
                    "items" : [
                     {
-                     "xtype" : "Image",
                      "utf8 icon_name" : "user-trash",
                      "* pack" : "set_image",
+                     "xtype" : "Image",
                      "$ xns" : "Gtk"
                     }
                    ]
        "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
        "items" : [
         {
-         "string label" : "   ",
          "* pack" : "pack_start,true,true,0",
          "xtype" : "Label",
+         "string label" : "   ",
          "$ xns" : "Gtk"
         },
         {
            "$ xns" : "Gtk",
            "items" : [
             {
-             "utf8 icon_name" : "system-search",
              "* pack" : "set_image",
              "xtype" : "Image",
+             "utf8 icon_name" : "system-search",
              "bool sensitive" : false,
              "$ xns" : "Gtk"
             }
            "$ xns" : "Gtk",
            "items" : [
             {
-             "* pack" : "set_image",
              "xtype" : "Image",
              "utf8 icon_name" : "dialog-error",
+             "* pack" : "set_image",
              "$ xns" : "Gtk"
             }
            ]
            "$ xns" : "Gtk",
            "items" : [
             {
-             "utf8 icon_name" : "dialog-warning",
              "* pack" : "set_image",
              "xtype" : "Image",
+             "utf8 icon_name" : "dialog-warning",
              "$ xns" : "Gtk"
             }
            ]
            "$ xns" : "Gtk",
            "items" : [
             {
-             "xtype" : "Image",
              "utf8 icon_name" : "dialog-information",
              "* pack" : "set_image",
+             "xtype" : "Image",
              "$ xns" : "Gtk"
             }
            ]
            "$ xns" : "Gtk",
            "items" : [
             {
-             "utf8 icon_name" : "media-playback-start",
              "* pack" : "set_image",
              "xtype" : "Image",
+             "utf8 icon_name" : "media-playback-start",
              "$ xns" : "Gtk"
             }
            ]