projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
224caed
)
XObjectBase/GtkTable.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 26 Nov 2010 07:42:33 +0000
(15:42 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 26 Nov 2010 07:42:33 +0000
(15:42 +0800)
XObjectBase/GtkTable.js
patch
|
blob
|
history
diff --git
a/XObjectBase/GtkTable.js
b/XObjectBase/GtkTable.js
index
c4ede54
..
1f04240
100644
(file)
--- a/
XObjectBase/GtkTable.js
+++ b/
XObjectBase/GtkTable.js
@@
-8,11
+8,9
@@
XObject = imports.XObject.XObject
// listener is added on show..
// we should really add a hock to destroy it..
-GtkTable = {
-
- onConstruct : function()
- {
- // set's the packing defaults on child objects..
+GtkTable = XObject.define(
+ function(cfg) {
+ XObject.call(this, cfg);
var _this = this;
this.items.forEach(function(i,n) {
@@
-26,10
+24,9
@@
GtkTable = {
]
});
- }/*,
-
- init : function() {
-
+ },
+ XObject,
+ {
}
-*/
-
}
;
\ No newline at end of file
+
+
)
;
\ No newline at end of file