class Fox::FXTableItem

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE
_wrap_new_FXTableItem(int argc, VALUE *argv, VALUE self) {
  FXString *arg1 = 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *arg3 = (void *) 0 ;
  SwigValueWrapper< FXString > p1 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXTableItem *result = 0 ;
  
  if ((argc < 1) || (argc > 3)) {
    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 *","FXTableItem", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXIcon * >(argp2);
  }
  if (argc > 2) {
    arg3 = (argv[2] == Qnil) ? NULL : (void *) argv[2];
  }
  {
    result = (FXTableItem *)new_FXTableItem((FXString const &)*arg1,arg2,arg3);
    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 443
def initialize(text, *args, &blk)
  argument_names = %w{icon data}
  default_params = { :icon => 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[:icon], params[:data], &blk)
end
Also aliased as: old_initialize

Public Instance Methods

create(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_create(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  FXTableItem_create(arg1);
  return Qnil;
fail:
  return Qnil;
}
destroy(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_destroy(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  FXTableItem_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}
detach(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_detach(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  FXTableItem_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}
draw(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_draw(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXTable *arg2 = (FXTable *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","draw", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTable const *","draw", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTable * >(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]);
  FXTableItem_draw((FXTableItem const *)arg1,(FXTable const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
drawBackground(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_drawBackground(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXTable *arg2 = (FXTable *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","drawBackground", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTable const *","drawBackground", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTable * >(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 &","drawBackground", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDC &","drawBackground", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXDC * >(argp3);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXTableItem_drawBackground((FXTableItem const *)arg1,(FXTable const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
drawBorders(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_drawBorders(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXTable *arg2 = (FXTable *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","drawBorders", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTable const *","drawBorders", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTable * >(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 &","drawBorders", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDC &","drawBorders", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXDC * >(argp3);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXTableItem_drawBorders((FXTableItem const *)arg1,(FXTable const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
drawContent(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_drawContent(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXTable *arg2 = (FXTable *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","drawContent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTable const *","drawContent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTable * >(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 &","drawContent", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDC &","drawContent", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXDC * >(argp3);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXTableItem_drawContent((FXTableItem const *)arg1,(FXTable const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
drawPattern(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_drawPattern(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXTable *arg2 = (FXTable *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","drawPattern", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTable const *","drawPattern", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTable * >(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 &","drawPattern", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDC &","drawPattern", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXDC * >(argp3);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  arg6 = NUM2INT(argv[4]);
  arg7 = NUM2INT(argv[5]);
  FXTableItem_drawPattern((FXTableItem const *)arg1,(FXTable const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  return Qnil;
fail:
  return Qnil;
}
getBorders(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_getBorders(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","getBorders", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  result = (FXuint)((FXTableItem const *)arg1)->getBorders();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
getControlFor(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_getControlFor(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXTable *arg2 = (FXTable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXWindow *result = 0 ;
  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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","getControlFor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTable *","getControlFor", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTable * >(argp2);
  result = (FXWindow *)FXTableItem_getControlFor(arg1,arg2);
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXWindow, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getData(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_getData(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","getData", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  result = (VALUE)FXTableItem_getData((FXTableItem const *)arg1);
  vresult = result;
  return vresult;
fail:
  return Qnil;
}
getHeight(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_getHeight(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXTable *arg2 = (FXTable *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","getHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTable const *","getHeight", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTable * >(argp2);
  result = (FXint)FXTableItem_getHeight((FXTableItem const *)arg1,(FXTable const *)arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
getIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_getIcon(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","getIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  result = (FXIcon *)FXTableItem_getIcon((FXTableItem const *)arg1);
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getIconPosition(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_getIconPosition(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","getIconPosition", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  result = (FXuint)((FXTableItem const *)arg1)->getIconPosition();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
getJustify(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_getJustify(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","getJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  result = (FXuint)((FXTableItem const *)arg1)->getJustify();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
getStipple(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_getStipple(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXStipplePattern 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","getStipple", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  result = (FXStipplePattern)((FXTableItem const *)arg1)->getStipple();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
getText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_getText(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","getText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  result = FXTableItem_getText((FXTableItem const *)arg1);
  vresult = to_ruby((&result)->text());
  return vresult;
fail:
  return Qnil;
}
getWidth(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_getWidth(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXTable *arg2 = (FXTable *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","getWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTable const *","getWidth", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTable * >(argp2);
  result = (FXint)FXTableItem_getWidth((FXTableItem const *)arg1,(FXTable const *)arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
hasFocus(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_hasFocus(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","hasFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  result = (FXbool)((FXTableItem const *)arg1)->hasFocus();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isDraggable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_isDraggable(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","isDraggable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  result = (FXbool)((FXTableItem const *)arg1)->isDraggable();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isEnabled(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_isEnabled(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","isEnabled", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  result = (FXbool)((FXTableItem const *)arg1)->isEnabled();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isSelected(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_isSelected(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","isSelected", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  result = (FXbool)((FXTableItem const *)arg1)->isSelected();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
load(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_load(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(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);
  FXTableItem_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_FXTableItem_save(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(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);
  FXTableItem_save((FXTableItem const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}
setBorders(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_setBorders(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXuint arg2 = (FXuint) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","setBorders", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  if (argc > 0) {
    arg2 = NUM2UINT(argv[0]);
  }
  FXTableItem_setBorders(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setData(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_setData(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","setData", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  arg2 = argv[0];
  FXTableItem_setData(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setDraggable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_setDraggable(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","setDraggable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXTableItem_setDraggable(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setEnabled(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_setEnabled(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","setEnabled", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXTableItem_setEnabled(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setFocus(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_setFocus(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXTableItem_setFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setFromControl(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_setFromControl(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXWindow *arg2 = (FXWindow *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","setFromControl", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","setFromControl", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXTableItem_setFromControl(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_setIcon(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","setIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(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 *","setIcon", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  FXTableItem_setIcon(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
setIconPosition(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_setIconPosition(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXuint 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","setIconPosition", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  FXTableItem_setIconPosition(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setJustify(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_setJustify(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXuint arg2 = (FXuint) FXTableItem::RIGHT|FXTableItem::CENTER_Y ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","setJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  if (argc > 0) {
    arg2 = NUM2UINT(argv[0]);
  }
  FXTableItem_setJustify(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setSelected(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_setSelected(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","setSelected", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXTableItem_setSelected(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setStipple(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_setStipple(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 0 ;
  FXStipplePattern arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","setStipple", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXStipplePattern","setStipple", 2, argv[0] ));
  } 
  arg2 = static_cast< FXStipplePattern >(val2);
  FXTableItem_setStipple(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableItem_setText(int argc, VALUE *argv, VALUE self) {
  FXTableItem *arg1 = (FXTableItem *) 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_FXTableItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableItem *","setText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableItem * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  FXTableItem_setText(arg1,(FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}