Update gtk.js

This commit is contained in:
Namhyeon Go 2020-10-27 10:52:15 +09:00
parent 461a34ad2b
commit a7c778f9b5

View File

@ -29,10 +29,12 @@ var GTKWidget = function() {
} else {
throw new TypeError("EventListener must be a function");
}
};.
this.eventListener = function() {
return GTKEventListener(this);
};
GTKWidgets[this.widgetID] = this;
GTKEventListener(this);
};
// Common (definedEvents)