class Fox::FXDirItem

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE
_wrap_new_FXDirItem(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 ;
  FXDirItem *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 *","FXDirItem", 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 *","FXDirItem", 3, argv[2] )); 
    }
    arg3 = reinterpret_cast< FXIcon * >(argp3);
  }
  if (argc > 3) {
    arg4 = (argv[3] == Qnil) ? NULL : (void *) argv[3];
  }
  {
    result = (FXDirItem *)new_FXDirItem((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 1045
def initialize(text, *args, &blk)
  argument_names = %w{oi ci data}
  default_params = { :oi => nil, :ci => nil, :data => 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[:oi], params[:ci], params[:data], &blk)
end
Also aliased as: old_initialize

Public Instance Methods

create(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_create(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  FXDirItem_create(arg1);
  return Qnil;
fail:
  return Qnil;
}
destroy(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_destroy(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  FXDirItem_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}
detach(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_detach(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  FXDirItem_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}
getAssoc(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_getAssoc(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","getAssoc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  result = (FXFileAssoc *)((FXDirItem const *)arg1)->getAssoc();
  vresult = FXRbGetRubyObj(result, "FXFileAssoc *");
  return vresult;
fail:
  return Qnil;
}
getDate(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_getDate(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","getDate", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  result = (FXTime)((FXDirItem 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_FXDirItem_getHeight(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 0 ;
  FXTreeList *arg2 = (FXTreeList *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","getHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeList, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeList const *","getHeight", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTreeList * >(argp2);
  result = (FXint)FXDirItem_getHeight((FXDirItem const *)arg1,(FXTreeList const *)arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
getSize(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_getSize(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","getSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  result = ((FXDirItem const *)arg1)->getSize();
  vresult = LONG2NUM(result);
  return vresult;
fail:
  return Qnil;
}
getWidth(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_getWidth(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 0 ;
  FXTreeList *arg2 = (FXTreeList *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","getWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeList, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeList const *","getWidth", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTreeList * >(argp2);
  result = (FXint)FXDirItem_getWidth((FXDirItem const *)arg1,(FXTreeList const *)arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
isBlockdev(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_isBlockdev(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","isBlockdev", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  result = (FXbool)((FXDirItem const *)arg1)->isBlockdev();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isChardev(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_isChardev(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","isChardev", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  result = (FXbool)((FXDirItem const *)arg1)->isChardev();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isDirectory(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_isDirectory(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","isDirectory", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  result = (FXbool)((FXDirItem const *)arg1)->isDirectory();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isExecutable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_isExecutable(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","isExecutable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  result = (FXbool)((FXDirItem const *)arg1)->isExecutable();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isFifo(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_isFifo(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","isFifo", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  result = (FXbool)((FXDirItem const *)arg1)->isFifo();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isFile(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_isFile(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","isFile", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  result = (FXbool)((FXDirItem const *)arg1)->isFile();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isSocket(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_isSocket(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","isSocket", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  result = (FXbool)((FXDirItem const *)arg1)->isSocket();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
load(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_load(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(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);
  FXDirItem_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_FXDirItem_save(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(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);
  FXDirItem_save((FXDirItem const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}
setClosedIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_setClosedIcon(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","setClosedIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(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 *","setClosedIcon", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  FXDirItem_setClosedIcon(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
setDraggable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_setDraggable(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","setDraggable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXDirItem_setDraggable(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setEnabled(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_setEnabled(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","setEnabled", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXDirItem_setEnabled(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setExpanded(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_setExpanded(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","setExpanded", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXDirItem_setExpanded(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setFocus(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_setFocus(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXDirItem_setFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setOpenIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_setOpenIcon(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","setOpenIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(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 *","setOpenIcon", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  FXDirItem_setOpenIcon(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
setOpened(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_setOpened(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","setOpened", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXDirItem_setOpened(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setSelected(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_setSelected(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","setSelected", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXDirItem_setSelected(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXDirItem_setText(int argc, VALUE *argv, VALUE self) {
  FXDirItem *arg1 = (FXDirItem *) 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_FXDirItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirItem *","setText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDirItem * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  FXDirItem_setText(arg1,(FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}