class Fox::FXTextChange

Public Instance Methods

del(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTextChange_del(int argc, VALUE *argv, VALUE self) {
  FXTextChange *arg1 = (FXTextChange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextChange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextChange const *","del", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextChange * >(argp1);
  result = (VALUE)FXTextChange_del((FXTextChange const *)arg1);
  vresult = result;
  return vresult;
fail:
  return Qnil;
}
ins(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTextChange_ins(int argc, VALUE *argv, VALUE self) {
  FXTextChange *arg1 = (FXTextChange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextChange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextChange const *","ins", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextChange * >(argp1);
  result = (VALUE)FXTextChange_ins((FXTextChange const *)arg1);
  vresult = result;
  return vresult;
fail:
  return Qnil;
}
ndel(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTextChange_ndel_get(int argc, VALUE *argv, VALUE self) {
  FXTextChange *arg1 = (FXTextChange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextChange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextChange *","ndel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextChange * >(argp1);
  result = (FXint) ((arg1)->ndel);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
ndel=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTextChange_ndel_set(int argc, VALUE *argv, VALUE self) {
  FXTextChange *arg1 = (FXTextChange *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextChange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextChange *","ndel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextChange * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (arg1) (arg1)->ndel = arg2;
  return Qnil;
fail:
  return Qnil;
}
nins(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTextChange_nins_get(int argc, VALUE *argv, VALUE self) {
  FXTextChange *arg1 = (FXTextChange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextChange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextChange *","nins", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextChange * >(argp1);
  result = (FXint) ((arg1)->nins);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
nins=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTextChange_nins_set(int argc, VALUE *argv, VALUE self) {
  FXTextChange *arg1 = (FXTextChange *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextChange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextChange *","nins", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextChange * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (arg1) (arg1)->nins = arg2;
  return Qnil;
fail:
  return Qnil;
}
pos(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTextChange_pos_get(int argc, VALUE *argv, VALUE self) {
  FXTextChange *arg1 = (FXTextChange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextChange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextChange *","pos", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextChange * >(argp1);
  result = (FXint) ((arg1)->pos);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
pos=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTextChange_pos_set(int argc, VALUE *argv, VALUE self) {
  FXTextChange *arg1 = (FXTextChange *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextChange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextChange *","pos", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextChange * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (arg1) (arg1)->pos = arg2;
  return Qnil;
fail:
  return Qnil;
}