class Fox::FXIconItem

Public Class Methods

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

Public Instance Methods

<=>(otherItem) click to toggle source
# File lib/fox16/core.rb, line 4
def <=>(otherItem)
  text <=> otherItem.text
end
create(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_create(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  FXIconItem_create(arg1);
  return Qnil;
fail:
  return Qnil;
}
destroy(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_destroy(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  FXIconItem_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}
detach(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_detach(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  FXIconItem_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}
draw(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_draw(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","draw", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(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]);
  FXIconItem_draw((FXIconItem const *)arg1,(FXIconList const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
drawBigIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_drawBigIcon(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","drawBigIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(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]);
  FXIconItem_drawBigIcon((FXIconItem const *)arg1,(FXIconList const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
drawDetails(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_drawDetails(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","drawDetails", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(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]);
  FXIconItem_drawDetails((FXIconItem const *)arg1,(FXIconList const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
drawMiniIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_drawMiniIcon(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","drawMiniIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(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]);
  FXIconItem_drawMiniIcon((FXIconItem const *)arg1,(FXIconList const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
getBigIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_getBigIcon(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXIcon *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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","getBigIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  result = (FXIcon *)((FXIconItem const *)arg1)->getBigIcon();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getData(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_getData(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","getData", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  result = (VALUE)FXIconItem_getData((FXIconItem const *)arg1);
  vresult = result;
  return vresult;
fail:
  return Qnil;
}
getHeight(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_getHeight(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","getHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(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)FXIconItem_getHeight((FXIconItem const *)arg1,(FXIconList const *)arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
getMiniIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_getMiniIcon(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXIcon *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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","getMiniIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  result = (FXIcon *)((FXIconItem const *)arg1)->getMiniIcon();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_getText(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","getText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  result = (FXString *) &((FXIconItem const *)arg1)->getText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}
getWidth(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_getWidth(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","getWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(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)FXIconItem_getWidth((FXIconItem const *)arg1,(FXIconList const *)arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
hasFocus(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_hasFocus(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","hasFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  result = (FXbool)((FXIconItem const *)arg1)->hasFocus();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
hitItem(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_hitItem(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","hitItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(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)FXIconItem_hitItem((FXIconItem const *)arg1,(FXIconList const *)arg2,arg3,arg4,arg5,arg6);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
isDraggable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_isDraggable(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","isDraggable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  result = (FXbool)((FXIconItem const *)arg1)->isDraggable();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isEnabled(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_isEnabled(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","isEnabled", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  result = (FXbool)((FXIconItem const *)arg1)->isEnabled();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isSelected(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_isSelected(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","isSelected", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  result = (FXbool)((FXIconItem const *)arg1)->isSelected();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
load(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_load(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(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);
  FXIconItem_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_FXIconItem_save(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(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);
  FXIconItem_save((FXIconItem const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}
setBigIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_setBigIcon(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem *","setBigIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(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]);
  }
  FXIconItem_setBigIcon(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
setData(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_setData(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 0 ;
  VALUE arg2 = (VALUE) 0 ;
  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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem *","setData", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  arg2 = argv[0];
  FXIconItem_setData(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setDraggable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_setDraggable(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem *","setDraggable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXIconItem_setDraggable(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setEnabled(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_setEnabled(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem *","setEnabled", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXIconItem_setEnabled(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setFocus(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_setFocus(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXIconItem_setFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setMiniIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_setMiniIcon(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem *","setMiniIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(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]);
  }
  FXIconItem_setMiniIcon(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
setSelected(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_setSelected(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem *","setSelected", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXIconItem_setSelected(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXIconItem_setText(int argc, VALUE *argv, VALUE self) {
  FXIconItem *arg1 = (FXIconItem *) 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_FXIconItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXIconItem *","setText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXIconItem * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  FXIconItem_setText(arg1,(FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}