class Fox::FXTreeItem

Public Class Methods

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

Public Instance Methods

<=>(otherItem) click to toggle source
# File lib/fox16/core.rb, line 16
def <=>(otherItem)
  text <=> otherItem.text
end
create(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_create(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  FXTreeItem_create(arg1);
  return Qnil;
fail:
  return Qnil;
}
destroy(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_destroy(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  FXTreeItem_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}
detach(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_detach(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  FXTreeItem_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}
each() { |aTreeItem| ... } click to toggle source

Calls block once for each child of this tree item, passing a reference to that child item as a parameter.

# File lib/fox16/iterators.rb, line 201
def each # :yields: aTreeItem
  current = first
  while current != nil
    next_current = current.next
    yield current
    current = next_current
  end
  self
end
getAbove(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getAbove(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXTreeItem *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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getAbove", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXTreeItem *)((FXTreeItem const *)arg1)->getAbove();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getBelow(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getBelow(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXTreeItem *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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getBelow", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXTreeItem *)((FXTreeItem const *)arg1)->getBelow();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getClosedIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getClosedIcon(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getClosedIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXIcon *)((FXTreeItem const *)arg1)->getClosedIcon();
  {
    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_FXTreeItem_getData(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getData", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (VALUE)FXTreeItem_getData((FXTreeItem const *)arg1);
  vresult = result;
  return vresult;
fail:
  return Qnil;
}
getFirst(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getFirst(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXTreeItem *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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getFirst", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXTreeItem *)((FXTreeItem const *)arg1)->getFirst();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getHeight(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getHeight(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(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)FXTreeItem_getHeight((FXTreeItem const *)arg1,(FXTreeList const *)arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
getLast(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getLast(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXTreeItem *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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getLast", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXTreeItem *)((FXTreeItem const *)arg1)->getLast();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getNext(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getNext(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXTreeItem *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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getNext", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXTreeItem *)((FXTreeItem const *)arg1)->getNext();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getNumChildren(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getNumChildren(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getNumChildren", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXint)((FXTreeItem const *)arg1)->getNumChildren();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
getOpenIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getOpenIcon(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getOpenIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXIcon *)((FXTreeItem const *)arg1)->getOpenIcon();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getParent(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getParent(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXTreeItem *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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getParent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXTreeItem *)((FXTreeItem const *)arg1)->getParent();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getPrev(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getPrev(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXTreeItem *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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getPrev", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXTreeItem *)((FXTreeItem const *)arg1)->getPrev();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getText(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXString *) &((FXTreeItem const *)arg1)->getText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}
getWidth(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_getWidth(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","getWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(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)FXTreeItem_getWidth((FXTreeItem const *)arg1,(FXTreeList const *)arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
hasFocus(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_hasFocus(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","hasFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXbool)((FXTreeItem const *)arg1)->hasFocus();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
hasItems=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_hasItemse___(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","setHasItems", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  (arg1)->setHasItems(arg2);
  return Qnil;
fail:
  return Qnil;
}
hasItems?(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_hasItemsq___(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","hasItems", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXbool)((FXTreeItem const *)arg1)->hasItems();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isChildOf(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_isChildOf(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 0 ;
  FXTreeItem *arg2 = (FXTreeItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXbool 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","isChildOf", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem const *","isChildOf", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTreeItem * >(argp2);
  result = (FXbool)((FXTreeItem const *)arg1)->isChildOf((FXTreeItem const *)arg2);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isDraggable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_isDraggable(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","isDraggable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXbool)((FXTreeItem const *)arg1)->isDraggable();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isEnabled(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_isEnabled(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","isEnabled", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXbool)((FXTreeItem const *)arg1)->isEnabled();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isExpanded(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_isExpanded(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","isExpanded", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXbool)((FXTreeItem const *)arg1)->isExpanded();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isOpened(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_isOpened(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","isOpened", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXbool)((FXTreeItem const *)arg1)->isOpened();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isParentOf(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_isParentOf(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 0 ;
  FXTreeItem *arg2 = (FXTreeItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXbool 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","isParentOf", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem const *","isParentOf", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTreeItem * >(argp2);
  result = (FXbool)((FXTreeItem const *)arg1)->isParentOf((FXTreeItem const *)arg2);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
isSelected(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_isSelected(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","isSelected", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  result = (FXbool)((FXTreeItem const *)arg1)->isSelected();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}
load(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_load(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(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);
  FXTreeItem_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_FXTreeItem_save(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(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);
  FXTreeItem_save((FXTreeItem const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}
setClosedIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_setClosedIcon(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","setClosedIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(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]);
  }
  FXTreeItem_setClosedIcon(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
setData(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_setData(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","setData", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  arg2 = argv[0];
  FXTreeItem_setData(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setDraggable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_setDraggable(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","setDraggable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXTreeItem_setDraggable(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setEnabled(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_setEnabled(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","setEnabled", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXTreeItem_setEnabled(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setExpanded(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_setExpanded(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","setExpanded", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXTreeItem_setExpanded(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setFocus(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_setFocus(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXTreeItem_setFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setOpenIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_setOpenIcon(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","setOpenIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(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]);
  }
  FXTreeItem_setOpenIcon(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
setOpened(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_setOpened(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","setOpened", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXTreeItem_setOpened(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setSelected(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_setSelected(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","setSelected", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  FXTreeItem_setSelected(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTreeItem_setText(int argc, VALUE *argv, VALUE self) {
  FXTreeItem *arg1 = (FXTreeItem *) 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_FXTreeItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem *","setText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTreeItem * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  FXTreeItem_setText(arg1,(FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}