class Fox::FXRecentFiles

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE _wrap_new_FXRecentFiles(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[4];
  int ii;
  
  argc = nargs;
  if (argc > 4) SWIG_fail;
  for (ii = 0; (ii < argc); ++ii) {
    argv[ii] = args[ii];
  }
  if (argc == 0) {
    return _wrap_new_FXRecentFiles__SWIG_0(nargs, args, self);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_FXRecentFiles__SWIG_1(nargs, args, self);
    }
  }
  if ((argc >= 2) && (argc <= 4)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0;
      }
      if (_v) {
        if (argc <= 2) {
          return _wrap_new_FXRecentFiles__SWIG_2(nargs, args, self);
        }
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXObject, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          if (argc <= 3) {
            return _wrap_new_FXRecentFiles__SWIG_2(nargs, args, self);
          }
          {
            _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0;
          }
          if (_v) {
            return _wrap_new_FXRecentFiles__SWIG_2(nargs, args, self);
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 4, "FXRecentFiles.new", 
    "    FXRecentFiles.new()\n"
    "    FXRecentFiles.new(FXApp *a)\n"
    "    FXRecentFiles.new(FXApp *a, FXString const &gp, FXObject *tgt, FXSelector sel)\n");
  
  return Qnil;
}

Public Instance Methods

app(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_app(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXApp *result = 0 ;
  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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles const *","getApp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  result = (FXApp *)((FXRecentFiles const *)arg1)->getApp();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXApp, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
appendFile(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_appendFile(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","appendFile", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->appendFile((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}
clear(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_clear(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","clear", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  (arg1)->clear();
  return Qnil;
fail:
  return Qnil;
}
getFile(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_getFile(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString result;
  VALUE vresult = Qnil;
  
  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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles const *","getFile", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = ((FXRecentFiles const *)arg1)->getFile(arg2);
  vresult = to_ruby((&result)->text());
  return vresult;
fail:
  return Qnil;
}
getGroupName(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_getGroupName(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString 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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles const *","getGroupName", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  result = ((FXRecentFiles const *)arg1)->getGroupName();
  vresult = to_ruby((&result)->text());
  return vresult;
fail:
  return Qnil;
}
getMaxFiles(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_getMaxFiles(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles const *","getMaxFiles", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  result = (FXint)((FXRecentFiles const *)arg1)->getMaxFiles();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
getSelector(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_getSelector(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXSelector 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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles const *","getSelector", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  result = (FXSelector)((FXRecentFiles const *)arg1)->getSelector();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
getTarget(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_getTarget(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXObject *result = 0 ;
  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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles const *","getTarget", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  result = (FXObject *)((FXRecentFiles const *)arg1)->getTarget();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXObject, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
load(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_load(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXRecentFiles_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}
onCmdClear(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_onCmdClear(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","onCmdClear", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdClear", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdClear(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onCmdFile(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_onCmdFile(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","onCmdFile", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdFile", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdFile(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onUpdAnyFiles(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_onUpdAnyFiles(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","onUpdAnyFiles", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdAnyFiles", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdAnyFiles(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onUpdFile(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_onUpdFile(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","onUpdFile", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdFile", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdFile(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
removeFile(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_removeFile(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","removeFile", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->removeFile((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}
save(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_save(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXRecentFiles_save((FXRecentFiles const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}
setFile(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_setFile(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXint arg2 ;
  FXString *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p3 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","setFile", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  arg2 = NUM2INT(argv[0]);
  p3 = to_FXString(argv[1]); arg3 = &p3;
  (arg1)->setFile(arg2,(FXString const &)*arg3);
  return Qnil;
fail:
  return Qnil;
}
setGroupName(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_setGroupName(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","setGroupName", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setGroupName((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}
setMaxFiles(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_setMaxFiles(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","setMaxFiles", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setMaxFiles(arg2);
  return Qnil;
fail:
  return Qnil;
}
setSelector(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_setSelector(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXSelector 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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","setSelector", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setSelector(arg2);
  return Qnil;
fail:
  return Qnil;
}
setTarget(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRecentFiles_setTarget(int argc, VALUE *argv, VALUE self) {
  FXRecentFiles *arg1 = (FXRecentFiles *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 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_FXRecentFiles, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRecentFiles *","setTarget", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRecentFiles * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","setTarget", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  (arg1)->setTarget(arg2);
  return Qnil;
fail:
  return Qnil;
}