Update gtk.js

This commit is contained in:
Namhyeon Go 2020-10-26 18:15:35 +09:00
parent 4636196448
commit b704189a44

View File

@ -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();