mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-11 16:35:13 +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);
|
||||
|
||||
this.type = "Table";
|
||||
this.attach = function(element, left, right, top, buttom) {
|
||||
// TODO: Table.attach()
|
||||
this.attachedElements = [];
|
||||
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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user