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
461a34ad2b
commit
a7c778f9b5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user