mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 00:45:14 +00:00
Update gtk.js
This commit is contained in:
parent
4636196448
commit
b704189a44
11
lib/gtk.js
11
lib/gtk.js
|
@ -64,8 +64,15 @@ var Table = function() {
|
||||||
GTKElement.apply(this, arguments);
|
GTKElement.apply(this, arguments);
|
||||||
|
|
||||||
this.type = "Table";
|
this.type = "Table";
|
||||||
this.attach = function(element, left, right, top, buttom) {
|
this.attachedElements = [];
|
||||||
// TODO: Table.attach()
|
this.attach = function(element, left, right, top, bottom) {
|
||||||
|
this.attachedElements.push({
|
||||||
|
"element": element,
|
||||||
|
"left": left,
|
||||||
|
"right": right,
|
||||||
|
"top": top,
|
||||||
|
"bottom": bottom
|
||||||
|
});
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
Table.prototype = new GTKElement();
|
Table.prototype = new GTKElement();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user