From: Alan Knowles Date: Tue, 23 Aug 2011 05:09:41 +0000 (+0800) Subject: Builder/Provider/File/Gtk.js X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=ada415c3d8f427e9078980a2205466ce032aefc8;hp=3b915ee311c6c2f49cc4f64e158b8f1c6fc7de4b Builder/Provider/File/Gtk.js --- diff --git a/Builder/About.js b/Builder/About.js index ee2939266..4fc46b139 100644 --- a/Builder/About.js +++ b/Builder/About.js @@ -8,6 +8,7 @@ GtkSource = imports.gi.GtkSource; WebKit = imports.gi.WebKit; Vte = imports.gi.Vte; GtkClutter = imports.gi.GtkClutter; +Gdl = imports.gi.Gdl; console = imports.console; XObject = imports.XObject.XObject; About=new XObject({ diff --git a/Builder/Provider/rooprops.json b/Builder/Provider/rooprops.json index c6c27ec81..c88f3ec8a 100644 --- a/Builder/Provider/rooprops.json +++ b/Builder/Provider/rooprops.json @@ -990,6 +990,12 @@ "desc": "When used with {@link #url}, calls {@link #setUrl} with this value", "memberOf": "" }, + { + "name": "content", + "type": "String", + "desc": "Raw content to fill content panel with (uses setContent on construction.)", + "memberOf": "" + }, { "name": "listeners", "type": "Object", @@ -1648,6 +1654,12 @@ "desc": "When used with {@link #url}, calls {@link #setUrl} with this value", "memberOf": "Roo.ContentPanel" }, + { + "name": "content", + "type": "String", + "desc": "Raw content to fill content panel with (uses setContent on construction.)", + "memberOf": "Roo.ContentPanel" + }, { "name": "listeners", "type": "Object", @@ -1776,6 +1788,12 @@ "type": "function", "desc": "Fires when loading fails." }, + { + "name": "preparedata", + "sig": "function (_self, data, row, record)\n{\n\n}", + "type": "function", + "desc": "Fires on every row to render, to allow you to change the data." + }, { "name": "selectionchange", "sig": "function (_self, selections)\n{\n\n}", @@ -2217,7 +2235,7 @@ { "name": "resizeTabs", "type": "Boolean", - "desc": "True to enable automatic tab resizing. This will resize the tabs so they are all the same size and fit within\nthe space available, similar to FireFox 1.5 tabs (defaults to false)", + "desc": "True to enable automatic tab resizing. This will resize the tabs so they are all the same size and fit within\n the space available, similar to FireFox 1.5 tabs (defaults to false)", "memberOf": "" }, { @@ -2274,6 +2292,12 @@ "desc": "To show the splitter", "memberOf": "" }, + { + "name": "toolbar", + "type": "Boolean", + "desc": "xtype configuration for a toolbar - shows on right of tabbar", + "memberOf": "" + }, { "name": "listeners", "type": "Object", @@ -2356,7 +2380,7 @@ "name": "removeMask", "type": "Boolean", "desc": "True to create a single-use mask that is automatically destroyed after loading (useful for page loads),\nFalse to persist the mask element reference for multiple uses (e.g., for paged data widgets). Defaults to false.", - "memberOf": "Roo" + "memberOf": "" }, { "name": "msg", @@ -2708,6 +2732,12 @@ "desc": "When used with {@link #url}, calls {@link #setUrl} with this value", "memberOf": "Roo.ContentPanel" }, + { + "name": "content", + "type": "String", + "desc": "Raw content to fill content panel with (uses setContent on construction.)", + "memberOf": "Roo.ContentPanel" + }, { "name": "listeners", "type": "Object", @@ -2778,7 +2808,7 @@ "name": "items", "type": "Roo.data.Store", "desc": "array of button configs or elements to add", - "memberOf": "Roo" + "memberOf": "Roo.Toolbar" } ], "events": [] @@ -3015,7 +3045,7 @@ "name": "mode", "type": "String", "desc": "The shadow display mode. Supports the following options:
\nsides: Shadow displays on both sides and bottom only
\nframe: Shadow displays equally on all four sides
\ndrop: Traditional bottom-right drop shadow (default)", - "memberOf": "Roo" + "memberOf": "" }, { "name": "offset", @@ -3363,7 +3393,7 @@ { "name": "resizeTabs", "type": "Boolean", - "desc": "True to enable automatic tab resizing. This will resize the tabs so they are all the same size and fit within\nthe space available, similar to FireFox 1.5 tabs (defaults to false)", + "desc": "True to enable automatic tab resizing. This will resize the tabs so they are all the same size and fit within\n the space available, similar to FireFox 1.5 tabs (defaults to false)", "memberOf": "Roo.LayoutRegion" }, { @@ -3420,6 +3450,12 @@ "desc": "To show the splitter", "memberOf": "Roo.LayoutRegion" }, + { + "name": "toolbar", + "type": "Boolean", + "desc": "xtype configuration for a toolbar - shows on right of tabbar", + "memberOf": "Roo.LayoutRegion" + }, { "name": "listeners", "type": "Object", @@ -3573,7 +3609,7 @@ "name": "items", "type": "Roo.data.Store", "desc": "array of button configs or elements to add", - "memberOf": "Roo" + "memberOf": "" }, { "name": "container", @@ -4074,6 +4110,12 @@ "desc": "When used with {@link #url}, calls {@link #setUrl} with this value", "memberOf": "Roo.ContentPanel" }, + { + "name": "content", + "type": "String", + "desc": "Raw content to fill content panel with (uses setContent on construction.)", + "memberOf": "Roo.ContentPanel" + }, { "name": "listeners", "type": "Object", @@ -4222,6 +4264,12 @@ "type": "function", "desc": "Fires when a template node is double clicked." }, + { + "name": "preparedata", + "sig": "function (_self, data, row, record)\n{\n\n}", + "type": "function", + "desc": "Fires on every row to render, to allow you to change the data." + }, { "name": "selectionchange", "sig": "function (_self, selections)\n{\n\n}", @@ -4256,6 +4304,12 @@ "desc": "String to display while loading.", "memberOf": "" }, + { + "name": "region", + "type": "String", + "desc": "Region to render component to (defaults to center)", + "memberOf": "" + }, { "name": "items", "type": "Array", @@ -4537,6 +4591,12 @@ "desc": "A config object in the format: {field: \"fieldName\", direction: \"ASC|DESC\"}", "memberOf": "Roo.data.Store" }, + { + "name": "multiSort", + "type": "Boolean", + "desc": "enable multi column sorting (sort is based on the order of columns, remote only at present)", + "memberOf": "Roo.data.Store" + }, { "name": "remoteSort", "type": "boolean", @@ -4772,6 +4832,12 @@ "desc": "A config object in the format: {field: \"fieldName\", direction: \"ASC|DESC\"}", "memberOf": "Roo.data.Store" }, + { + "name": "multiSort", + "type": "Boolean", + "desc": "enable multi column sorting (sort is based on the order of columns, remote only at present)", + "memberOf": "Roo.data.Store" + }, { "name": "remoteSort", "type": "boolean", @@ -4890,6 +4956,12 @@ "desc": "A config object in the format: {field: \"fieldName\", direction: \"ASC|DESC\"}", "memberOf": "" }, + { + "name": "multiSort", + "type": "Boolean", + "desc": "enable multi column sorting (sort is based on the order of columns, remote only at present)", + "memberOf": "" + }, { "name": "remoteSort", "type": "boolean", @@ -9189,6 +9261,24 @@ "type": "String", "desc": "The default value for the create link prompt (defaults to http:/ /)", "memberOf": "" + }, + { + "name": "resizable", + "type": "String", + "desc": "'s' or 'se' or 'e' - wrapps the element in a\n Roo.resizable.", + "memberOf": "" + }, + { + "name": "height", + "type": "Number", + "desc": "(in pixels)", + "memberOf": "" + }, + { + "name": "width", + "type": "Number", + "desc": "(in pixels)", + "memberOf": "" } ], "events": [ diff --git a/Builder3/About.js b/Builder3/About.js index 9a6e09383..7becbf44c 100644 --- a/Builder3/About.js +++ b/Builder3/About.js @@ -7,6 +7,11 @@ GObject = imports.gi.GObject; GtkSource = imports.gi.GtkSource; WebKit = imports.gi.WebKit; Vte = imports.gi.Vte; +<<<<<<< HEAD +//GtkClutter = imports.gi.GtkClutter; +//Gdl = imports.gi.Gdl; +======= +>>>>>>> 3b915ee311c6c2f49cc4f64e158b8f1c6fc7de4b console = imports.console; XObject = imports.XObject.XObject; About=new XObject({ diff --git a/Builder3/DialogConfirm.js b/Builder3/DialogConfirm.js index 70703aca5..908bf6980 100644 --- a/Builder3/DialogConfirm.js +++ b/Builder3/DialogConfirm.js @@ -7,6 +7,8 @@ GObject = imports.gi.GObject; GtkSource = imports.gi.GtkSource; WebKit = imports.gi.WebKit; Vte = imports.gi.Vte; +//GtkClutter = imports.gi.GtkClutter; +//Gdl = imports.gi.Gdl; console = imports.console; XObject = imports.XObject.XObject; DialogConfirm=new XObject({ diff --git a/Builder3/Editor.js b/Builder3/Editor.js index d9bd20bfd..9c4f0e1cf 100644 --- a/Builder3/Editor.js +++ b/Builder3/Editor.js @@ -7,6 +7,10 @@ GObject = imports.gi.GObject; GtkSource = imports.gi.GtkSource; WebKit = imports.gi.WebKit; Vte = imports.gi.Vte; +<<<<<<< HEAD +//GtkClutter = imports.gi.GtkClutter; +======= +>>>>>>> 3b915ee311c6c2f49cc4f64e158b8f1c6fc7de4b console = imports.console; XObject = imports.XObject.XObject; Editor=new XObject({ diff --git a/Builder3/RooProjectProperties.js b/Builder3/RooProjectProperties.js index 6db9a8d9c..e3ad35811 100644 --- a/Builder3/RooProjectProperties.js +++ b/Builder3/RooProjectProperties.js @@ -7,6 +7,10 @@ GObject = imports.gi.GObject; GtkSource = imports.gi.GtkSource; WebKit = imports.gi.WebKit; Vte = imports.gi.Vte; +<<<<<<< HEAD +//GtkClutter = imports.gi.GtkClutter; +======= +>>>>>>> 3b915ee311c6c2f49cc4f64e158b8f1c6fc7de4b //Gdl = imports.gi.Gdl; console = imports.console; XObject = imports.XObject.XObject; diff --git a/Builder3/StandardErrorDialog.js b/Builder3/StandardErrorDialog.js index a12c6d5be..704bffec9 100644 --- a/Builder3/StandardErrorDialog.js +++ b/Builder3/StandardErrorDialog.js @@ -7,6 +7,8 @@ GObject = imports.gi.GObject; GtkSource = imports.gi.GtkSource; WebKit = imports.gi.WebKit; Vte = imports.gi.Vte; +//GtkClutter = imports.gi.GtkClutter; +//Gdl = imports.gi.Gdl; console = imports.console; XObject = imports.XObject.XObject; StandardErrorDialog=new XObject({ diff --git a/JSDOC b/JSDOC new file mode 120000 index 000000000..64bd7b504 --- /dev/null +++ b/JSDOC @@ -0,0 +1 @@ +../gnome.introspection-doc-generator/JSDOC \ No newline at end of file diff --git a/JsParser.js b/JsParser.js new file mode 100644 index 000000000..b0dcb8b66 --- /dev/null +++ b/JsParser.js @@ -0,0 +1,566 @@ +//