PolycodeViewBase.js 708 B

1234567891011121314151617181920212223
  1. function PolycodeViewBase() {
  2. if(arguments[0] != "__skip_ptr__") {
  3. this.__ptr = Polycode.PolycodeViewBase()
  4. }
  5. Object.defineProperties(this, {
  6. 'resizable': { enumerable: true, configurable: true, get: PolycodeViewBase.prototype.__get_resizable, set: PolycodeViewBase.prototype.__set_resizable}
  7. })
  8. }
  9. PolycodeViewBase.prototype.__get_resizable = function() {
  10. return Polycode.PolycodeViewBase__get_resizable(this.__ptr)
  11. }
  12. PolycodeViewBase.prototype.__set_resizable = function(val) {
  13. Polycode.PolycodeViewBase__set_resizable(this.__ptr, val)
  14. }
  15. Duktape.fin(PolycodeViewBase.prototype, function (x) {
  16. if (x === PolycodeViewBase.prototype) {
  17. return;
  18. }
  19. Polycode.PolycodeViewBase__delete(x.__ptr)
  20. })