class Fox::FXFileItem

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE
_wrap_new_FXFileItem(int argc, VALUE *argv, VALUE self) {
  FXString *arg1 = 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  FXIcon *arg3 = (FXIcon *) 0 ;
  void *arg4 = (void *) 0 ;
  SwigValueWrapper< FXString > p1 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  FXFileItem *result = 0 ;
  
  if ((argc < 1) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  p1 = to_FXString(argv[0]); arg1 = &p1;
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","FXFileItem", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXIcon * >(argp2);
  }
  if (argc > 2) {
    res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXIcon, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","FXFileItem", 3, argv[2] )); 
    }
    arg3 = reinterpret_cast< FXIcon * >(argp3);
  }
  if (argc > 3) {
    arg4 = (argv[3] == Qnil) ? NULL : (void *) argv[3];
  }
  {
    result = (FXFileItem *)new_FXFileItem((FXString const &)*arg1,arg2,arg3,arg4);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}
new(text, *args, &blk) click to toggle source
# File lib/fox16/kwargs.rb, line 783
def initialize(text, *args, &blk)
  argument_names = %w{bi mi ptr}
  default_params = { :bi => nil, :mi => nil, :ptr => nil }
  params = {}
  params = args.pop if args.last.is_a? Hash
  args.each_with_index { |e, i| params[argument_names[i].intern] = e }
  params.keys.each { |key| raise ArgumentError, "Unrecognized parameter #{key}" unless default_params.keys.include?(key) }
  params = default_params.merge(params)
  old_initialize(text, params[:bi], params[:mi], params[:ptr], &blk)
end
Also aliased as: old_initialize

Public Instance Methods

create(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_create(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  FXFileItem_create(arg1);
  return Qnil;
fail:
  return Qnil;
}
destroy(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_destroy(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  FXFileItem_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}
detach(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_detach(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  FXFileItem_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}
draw(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_draw(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXIconList *arg2 = (FXIconList *) 0 ;
  FXDC *arg3 = 0 ;
  FXint arg4 ;
  FXint arg5 ;
  FXint arg6 ;
  FXint arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 6) || (argc > 6)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","draw", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIconList, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIconList const *","draw", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIconList * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FXDC,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXDC &","draw", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDC &","draw", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXDC * >(argp3);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXFileItem_draw((FXFileItem const *)arg1,(FXIconList const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
drawBigIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_drawBigIcon(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXIconList *arg2 = (FXIconList *) 0 ;
  FXDC *arg3 = 0 ;
  FXint arg4 ;
  FXint arg5 ;
  FXint arg6 ;
  FXint arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 6) || (argc > 6)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","drawBigIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIconList, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIconList const *","drawBigIcon", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIconList * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FXDC,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXDC &","drawBigIcon", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDC &","drawBigIcon", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXDC * >(argp3);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXFileItem_drawBigIcon((FXFileItem const *)arg1,(FXIconList const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
drawDetails(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_drawDetails(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXIconList *arg2 = (FXIconList *) 0 ;
  FXDC *arg3 = 0 ;
  FXint arg4 ;
  FXint arg5 ;
  FXint arg6 ;
  FXint arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 6) || (argc > 6)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","drawDetails", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIconList, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIconList const *","drawDetails", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIconList * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FXDC,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXDC &","drawDetails", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDC &","drawDetails", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXDC * >(argp3);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXFileItem_drawDetails((FXFileItem const *)arg1,(FXIconList const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
drawMiniIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_drawMiniIcon(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXIconList *arg2 = (FXIconList *) 0 ;
  FXDC *arg3 = 0 ;
  FXint arg4 ;
  FXint arg5 ;
  FXint arg6 ;
  FXint arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 6) || (argc > 6)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","drawMiniIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIconList, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIconList const *","drawMiniIcon", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIconList * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FXDC,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXDC &","drawMiniIcon", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDC &","drawMiniIcon", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXDC * >(argp3);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXFileItem_drawMiniIcon((FXFileItem const *)arg1,(FXIconList const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
getAssoc(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_getAssoc(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXFileAssoc *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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","getAssoc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  result = (FXFileAssoc *)((FXFileItem const *)arg1)->getAssoc();
  vresult = FXRbGetRubyObj(result, "FXFileAssoc *");
  return vresult;
fail:
  return Qnil;
}
getDate(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_getDate(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXTime 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","getDate", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  result = (FXTime)((FXFileItem const *)arg1)->getDate();
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
getHeight(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_getHeight(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXIconList *arg2 = (FXIconList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","getHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIconList, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIconList const *","getHeight", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIconList * >(argp2);
  result = (FXint)FXFileItem_getHeight((FXFileItem const *)arg1,(FXIconList const *)arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
getSize(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_getSize(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXlong 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","getSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  result = ((FXFileItem const *)arg1)->getSize();
  vresult = LONG2NUM(result);
  return vresult;
fail:
  return Qnil;
}
getWidth(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_getWidth(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXIconList *arg2 = (FXIconList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","getWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIconList, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIconList const *","getWidth", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIconList * >(argp2);
  result = (FXint)FXFileItem_getWidth((FXFileItem const *)arg1,(FXIconList const *)arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
hitItem(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_hitItem(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXIconList *arg2 = (FXIconList *) 0 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 = (FXint) 1 ;
  FXint arg6 = (FXint) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 5)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","hitItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIconList, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIconList const *","hitItem", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIconList * >(argp2);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  if (argc > 3) {
    arg5 = NUM2INT(argv[3]);
  }
  if (argc > 4) {
    arg6 = NUM2INT(argv[4]);
  }
  result = (FXint)FXFileItem_hitItem((FXFileItem const *)arg1,(FXIconList const *)arg2,arg3,arg4,arg5,arg6);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
isBlockdev(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_isBlockdev(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","isBlockdev", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  result = (FXbool)((FXFileItem const *)arg1)->isBlockdev();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isChardev(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_isChardev(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","isChardev", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  result = (FXbool)((FXFileItem const *)arg1)->isChardev();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isDirectory(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_isDirectory(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","isDirectory", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  result = (FXbool)((FXFileItem const *)arg1)->isDirectory();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isExecutable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_isExecutable(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","isExecutable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  result = (FXbool)((FXFileItem const *)arg1)->isExecutable();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isFifo(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_isFifo(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","isFifo", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  result = (FXbool)((FXFileItem const *)arg1)->isFifo();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isFile(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_isFile(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","isFile", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  result = (FXbool)((FXFileItem const *)arg1)->isFile();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isShare(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_isShare(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","isShare", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  result = (FXbool)((FXFileItem const *)arg1)->isShare();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isSocket(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_isSocket(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","isSocket", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  result = (FXbool)((FXFileItem const *)arg1)->isSocket();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
load(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_load(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(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);
  FXFileItem_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}
old_initialize(text, *args, &blk)
Alias for: new
save(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_save(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(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);
  FXFileItem_save((FXFileItem const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}
setBigIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_setBigIcon(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem *","setBigIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setBigIcon", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  FXFileItem_setBigIcon(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
setDraggable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_setDraggable(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXbool 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem *","setDraggable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXFileItem_setDraggable(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setEnabled(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_setEnabled(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXbool 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem *","setEnabled", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXFileItem_setEnabled(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setFocus(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_setFocus(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXbool 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXFileItem_setFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setMiniIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_setMiniIcon(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem *","setMiniIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setMiniIcon", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  FXFileItem_setMiniIcon(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
setSelected(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_setSelected(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 0 ;
  FXbool 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem *","setSelected", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXFileItem_setSelected(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXFileItem_setText(int argc, VALUE *argv, VALUE self) {
  FXFileItem *arg1 = (FXFileItem *) 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_FXFileItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileItem *","setText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXFileItem * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  FXFileItem_setText(arg1,(FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}