mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 05:31:03 +00:00
Update gtk.js
This commit is contained in:
parent
461a34ad2b
commit
a7c778f9b5
|
@ -29,10 +29,12 @@ var GTKWidget = function() {
|
||||||
} else {
|
} else {
|
||||||
throw new TypeError("EventListener must be a function");
|
throw new TypeError("EventListener must be a function");
|
||||||
}
|
}
|
||||||
|
};.
|
||||||
|
this.eventListener = function() {
|
||||||
|
return GTKEventListener(this);
|
||||||
};
|
};
|
||||||
|
|
||||||
GTKWidgets[this.widgetID] = this;
|
GTKWidgets[this.widgetID] = this;
|
||||||
GTKEventListener(this);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Common (definedEvents)
|
// Common (definedEvents)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user