class Fox::FXTreeList
Public Class Methods
ascending(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_ascending(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 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","FXTreeList::ascending", 1, argv[0] )); } arg1 = reinterpret_cast< FXTreeItem * >(argp1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem const *","FXTreeList::ascending", 2, argv[1] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXint)FXTreeList::ascending((FXTreeItem const *)arg1,(FXTreeItem const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
ascendingCase(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_ascendingCase(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 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","FXTreeList::ascendingCase", 1, argv[0] )); } arg1 = reinterpret_cast< FXTreeItem * >(argp1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem const *","FXTreeList::ascendingCase", 2, argv[1] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXint)FXTreeList::ascendingCase((FXTreeItem const *)arg1,(FXTreeItem const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
descending(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_descending(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 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","FXTreeList::descending", 1, argv[0] )); } arg1 = reinterpret_cast< FXTreeItem * >(argp1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem const *","FXTreeList::descending", 2, argv[1] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXint)FXTreeList::descending((FXTreeItem const *)arg1,(FXTreeItem const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
descendingCase(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_descendingCase(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 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeItem const *","FXTreeList::descendingCase", 1, argv[0] )); } arg1 = reinterpret_cast< FXTreeItem * >(argp1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem const *","FXTreeList::descendingCase", 2, argv[1] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXint)FXTreeList::descendingCase((FXTreeItem const *)arg1,(FXTreeItem const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
new(*args)
click to toggle source
SWIGINTERN VALUE _wrap_new_FXTreeList(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) TREELIST_NORMAL ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXTreeList *result = 0 ; if ((argc < 1) || (argc > 8)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXTreeList", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); if (argc > 1) { res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXTreeList", 2, argv[1] )); } arg2 = reinterpret_cast< FXObject * >(argp2); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXTreeList *)new_FXTreeList(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; }
new(p, *args, &blk)
click to toggle source
# File lib/fox16/kwargs.rb, line 2674 def initialize(p, *args, &blk) argument_names = %w{target selector opts x y width height} default_params = { :target => nil, :selector => 0, :opts => TREELIST_NORMAL, :x => 0, :y => 0, :width => 0, :height => 0 } 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(p, params[:target], params[:selector], params[:opts], params[:x], params[:y], params[:width], params[:height], &blk) end
Also aliased as: old_initialize
Public Instance Methods
appendItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_appendItem(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[8]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 8) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if ((argc >= 3) && (argc <= 4)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 3) { return _wrap_FXTreeList_appendItem__SWIG_0(nargs, args, self); } { _v = (argv[3] == Qtrue || argv[3] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXTreeList_appendItem__SWIG_0(nargs, args, self); } } } } } if ((argc >= 3) && (argc <= 7)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_FXTreeList_appendItem__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXTreeList_appendItem__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 5) { return _wrap_FXTreeList_appendItem__SWIG_1(nargs, args, self); } { _v = 1; } if (_v) { if (argc <= 6) { return _wrap_FXTreeList_appendItem__SWIG_1(nargs, args, self); } { _v = (argv[6] == Qtrue || argv[6] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXTreeList_appendItem__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 8, "appendItem", " FXTreeItem appendItem(FXTreeItem *father, FXTreeItem *item, FXbool notify)\n" " FXTreeItem * appendItem(FXTreeItem *father, FXString const &text, FXIcon *oi, FXIcon *ci, void *ITEMDATA, FXbool notify)\n"); return Qnil; }
canFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_canFocus(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; bool 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (bool)FXTreeList_canFocus((FXTreeList const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
changeFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_changeFocus(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","changeFocus", 2, argv[0] )); } arg2 = reinterpret_cast< FXWindow * >(argp2); FXTreeList_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; }
clearItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_clearItems(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXbool arg2 = (FXbool) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","clearItems", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXTreeList_clearItems(arg1,arg2); return Qnil; fail: return Qnil; }
clearShape(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_clearShape(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_clearShape(arg1); return Qnil; fail: return Qnil; }
closeItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_closeItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","closeItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","closeItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXTreeList_closeItem(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
collapseTree(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_collapseTree(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","collapseTree", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","collapseTree", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXTreeList_collapseTree(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
contains(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_contains(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","contains", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXTreeList_contains((FXTreeList const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
create(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_create(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","create", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_create(arg1); return Qnil; fail: return Qnil; }
deselectItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_deselectItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","deselectItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","deselectItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXTreeList_deselectItem(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
destroy(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_destroy(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","destroy", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_destroy(arg1); return Qnil; fail: return Qnil; }
detach(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_detach(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","detach", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_detach(arg1); return Qnil; fail: return Qnil; }
disable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_disable(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","disable", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_disable(arg1); return Qnil; fail: return Qnil; }
disableItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_disableItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","disableItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","disableItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXbool)FXTreeList_disableItem(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
doesSaveUnder(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; bool 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (bool)FXTreeList_doesSaveUnder((FXTreeList const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
dropDisable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_dropDisable(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_dropDisable(arg1); return Qnil; fail: return Qnil; }
dropEnable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_dropEnable(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_dropEnable(arg1); return Qnil; fail: return Qnil; }
each() { |aTreeItem| ... }
click to toggle source
Calls block once for each root-level tree item, passing a reference to that item as a parameter.
# File lib/fox16/iterators.rb, line 227 def each # :yields: aTreeItem current = firstItem while current != nil next_current = current.next yield current current = next_current end self end
enable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_enable(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","enable", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_enable(arg1); return Qnil; fail: return Qnil; }
enableItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_enableItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","enableItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","enableItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXbool)FXTreeList_enableItem(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
expandTree(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_expandTree(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","expandTree", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","expandTree", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXTreeList_expandTree(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
extendSelection(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_extendSelection(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","extendSelection", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","extendSelection", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXTreeList_extendSelection(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
extractItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_extractItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXTreeItem *result = 0 ; VALUE vresult = Qnil; 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","extractItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","extractItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXTreeItem *)(arg1)->extractItem(arg2,arg3); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
fillItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_fillItems(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXchar **arg3 = (FXchar **) 0 ; FXIcon *arg4 = (FXIcon *) 0 ; FXIcon *arg5 = (FXIcon *) 0 ; void *arg6 = (void *) 0 ; FXbool arg7 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 6)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","fillItems", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","fillItems", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); { arg3 = NULL; if(!NIL_P(argv[1])){ Check_Type(argv[1], T_ARRAY); if (FXMALLOC(&arg3, FXchar *, RARRAY_LEN(argv[1])+1)) { for (long i = 0; i < RARRAY_LEN(argv[1]); i++) { VALUE e = rb_ary_entry(argv[1], i); arg3[i] = (FXchar *) StringValuePtr(e); } arg3[RARRAY_LEN(argv[1])] = 0; } } } if (argc > 2) { res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","fillItems", 4, argv[2] )); } arg4 = reinterpret_cast< FXIcon * >(argp4); } if (argc > 3) { res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","fillItems", 5, argv[3] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); } if (argc > 4) { arg6 = (argv[4] == Qnil) ? NULL : (void *) argv[4]; } if (argc > 5) { arg7 = to_FXbool(argv[5]); } result = (FXint)(arg1)->fillItems(arg2,(FXchar const **)arg3,arg4,arg5,arg6,arg7); vresult = SWIG_From_int(static_cast< int >(result)); FXFREE(&arg3); return vresult; fail: FXFREE(&arg3); return Qnil; }
findItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_findItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXString *arg2 = 0 ; FXTreeItem *arg3 = (FXTreeItem *) 0 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; void *argp3 = 0 ; int res3 = 0 ; FXTreeItem *result = 0 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","findItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXTreeItem *","findItem", 3, argv[1] )); } arg3 = reinterpret_cast< FXTreeItem * >(argp3); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); } result = (FXTreeItem *)((FXTreeList const *)arg1)->findItem((FXString const &)*arg2,arg3,arg4); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
findItemByData(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_findItemByData(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; void *arg2 = (void *) 0 ; FXTreeItem *arg3 = (FXTreeItem *) 0 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ; void *argp1 = 0 ; int res1 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXTreeItem *result = 0 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","findItemByData", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = (argv[0] == Qnil) ? NULL : (void *) argv[0]; if (argc > 1) { res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXTreeItem *","findItemByData", 3, argv[1] )); } arg3 = reinterpret_cast< FXTreeItem * >(argp3); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); } result = (FXTreeItem *)((FXTreeList const *)arg1)->findItemByData((void const *)arg2,arg3,arg4); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
first()
click to toggle source
Override Enumerable#first with FXWindow#first for backwards compatibility.
# File lib/fox16/iterators.rb, line 219 def first getFirst end
getAnchorItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getAnchorItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getAnchorItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXTreeItem *)((FXTreeList const *)arg1)->getAnchorItem(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getContentHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getContentHeight(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","getContentHeight", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXint)FXTreeList_getContentHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getContentWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getContentWidth(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","getContentWidth", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXint)FXTreeList_getContentWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getCurrentItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getCurrentItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getCurrentItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXTreeItem *)((FXTreeList const *)arg1)->getCurrentItem(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getCursorItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getCursorItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getCursorItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXTreeItem *)((FXTreeList const *)arg1)->getCursorItem(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getDefaultHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXint)FXTreeList_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getDefaultWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXint)FXTreeList_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getFirstItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getFirstItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getFirstItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXTreeItem *)((FXTreeList const *)arg1)->getFirstItem(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getFont(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getFont(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFont *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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getFont", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXFont *)((FXTreeList const *)arg1)->getFont(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getHeightForWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXTreeList_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getHelpText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getHelpText(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getHelpText", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXString *) &((FXTreeList const *)arg1)->getHelpText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; }
getIndent(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getIndent(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getIndent", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXint)((FXTreeList const *)arg1)->getIndent(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getItemAt(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getItemAt(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; FXTreeItem *result = 0 ; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getItemAt", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (FXTreeItem *)FXTreeList_getItemAt((FXTreeList const *)arg1,arg2,arg3); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getItemClosedIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getItemClosedIcon(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXIcon *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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getItemClosedIcon", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","getItemClosedIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXIcon *)((FXTreeList const *)arg1)->getItemClosedIcon((FXTreeItem const *)arg2); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getItemData(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getItemData(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; VALUE 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getItemData", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","getItemData", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (VALUE)FXTreeList_getItemData((FXTreeList const *)arg1,(FXTreeItem const *)arg2); vresult = result; return vresult; fail: return Qnil; }
getItemHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getItemHeight(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getItemHeight", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","getItemHeight", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXint)((FXTreeList const *)arg1)->getItemHeight((FXTreeItem const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getItemOpenIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getItemOpenIcon(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXIcon *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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getItemOpenIcon", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","getItemOpenIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXIcon *)((FXTreeList const *)arg1)->getItemOpenIcon((FXTreeItem const *)arg2); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getItemText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getItemText(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXString 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getItemText", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","getItemText", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = ((FXTreeList const *)arg1)->getItemText((FXTreeItem const *)arg2); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
getItemWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getItemWidth(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getItemWidth", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","getItemWidth", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXint)((FXTreeList const *)arg1)->getItemWidth((FXTreeItem const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getLastItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getLastItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getLastItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXTreeItem *)((FXTreeList const *)arg1)->getLastItem(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getLineColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getLineColor(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getLineColor", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXColor)((FXTreeList const *)arg1)->getLineColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getListStyle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getListStyle(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getListStyle", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXuint)((FXTreeList const *)arg1)->getListStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getNumItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getNumItems(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getNumItems", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXint)((FXTreeList const *)arg1)->getNumItems(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getNumVisible(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getNumVisible(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getNumVisible", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXint)((FXTreeList const *)arg1)->getNumVisible(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getSelBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getSelBackColor(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXColor)((FXTreeList const *)arg1)->getSelBackColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getSelTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getSelTextColor(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXColor)((FXTreeList const *)arg1)->getSelTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getTextColor(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","getTextColor", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXColor)((FXTreeList const *)arg1)->getTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getViewportHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getViewportHeight(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","getViewportHeight", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXint)FXTreeList_getViewportHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getViewportWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getViewportWidth(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","getViewportWidth", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (FXint)FXTreeList_getViewportWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getWidthForHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXTreeList_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
hide(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_hide(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","hide", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_hide(arg1); return Qnil; fail: return Qnil; }
hitItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_hitItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXint arg3 ; FXint arg4 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","hitItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","hitItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); result = (FXint)((FXTreeList const *)arg1)->hitItem((FXTreeItem const *)arg2,arg3,arg4); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
insertItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_insertItem(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[9]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 9) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if ((argc >= 4) && (argc <= 5)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXTreeList_insertItem__SWIG_0(nargs, args, self); } { _v = (argv[4] == Qtrue || argv[4] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXTreeList_insertItem__SWIG_0(nargs, args, self); } } } } } } if ((argc >= 4) && (argc <= 8)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[3]) || TYPE(argv[3]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_FXTreeList_insertItem__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 5) { return _wrap_FXTreeList_insertItem__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 6) { return _wrap_FXTreeList_insertItem__SWIG_1(nargs, args, self); } { _v = 1; } if (_v) { if (argc <= 7) { return _wrap_FXTreeList_insertItem__SWIG_1(nargs, args, self); } { _v = (argv[7] == Qtrue || argv[7] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXTreeList_insertItem__SWIG_1(nargs, args, self); } } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 9, "insertItem", " FXTreeItem insertItem(FXTreeItem *other, FXTreeItem *father, FXTreeItem *item, FXbool notify)\n" " FXTreeItem * insertItem(FXTreeItem *other, FXTreeItem *father, FXString const &text, FXIcon *oi, FXIcon *ci, void *ITEMDATA, FXbool notify)\n"); return Qnil; }
isComposite(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_isComposite(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; bool 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); result = (bool)FXTreeList_isComposite((FXTreeList const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
isItemCurrent(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_isItemCurrent(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","isItemCurrent", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","isItemCurrent", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXbool)((FXTreeList const *)arg1)->isItemCurrent((FXTreeItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isItemEnabled(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_isItemEnabled(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","isItemEnabled", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","isItemEnabled", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXbool)((FXTreeList const *)arg1)->isItemEnabled((FXTreeItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isItemExpanded(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_isItemExpanded(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","isItemExpanded", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","isItemExpanded", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXbool)((FXTreeList const *)arg1)->isItemExpanded((FXTreeItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isItemLeaf(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_isItemLeaf(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","isItemLeaf", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","isItemLeaf", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXbool)((FXTreeList const *)arg1)->isItemLeaf((FXTreeItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isItemOpened(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_isItemOpened(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","isItemOpened", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","isItemOpened", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXbool)((FXTreeList const *)arg1)->isItemOpened((FXTreeItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isItemSelected(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_isItemSelected(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","isItemSelected", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","isItemSelected", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXbool)((FXTreeList const *)arg1)->isItemSelected((FXTreeItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isItemVisible(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_isItemVisible(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","isItemVisible", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","isItemVisible", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXbool)((FXTreeList const *)arg1)->isItemVisible((FXTreeItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
killFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_killFocus(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_killFocus(arg1); return Qnil; fail: return Qnil; }
killSelection(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_killSelection(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXbool arg2 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","killSelection", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXTreeList_killSelection(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
layout(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_layout(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","layout", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_layout(arg1); return Qnil; fail: return Qnil; }
load(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_load(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","load", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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); FXTreeList_load(arg1,*arg2); return Qnil; fail: return Qnil; }
lower(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_lower(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","lower", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_lower(arg1); return Qnil; fail: return Qnil; }
makeItemVisible(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_makeItemVisible(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","makeItemVisible", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","makeItemVisible", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); FXTreeList_makeItemVisible(arg1,arg2); return Qnil; fail: return Qnil; }
move(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_move(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","move", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXTreeList_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
moveItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_moveItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXTreeItem *arg3 = (FXTreeItem *) 0 ; FXTreeItem *arg4 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; FXTreeItem *result = 0 ; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","moveItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","moveItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXTreeItem *","moveItem", 3, argv[1] )); } arg3 = reinterpret_cast< FXTreeItem * >(argp3); res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXTreeItem *","moveItem", 4, argv[2] )); } arg4 = reinterpret_cast< FXTreeItem * >(argp4); result = (FXTreeItem *)(arg1)->moveItem(arg2,arg3,arg4); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
onAutoScroll(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onAutoScroll(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onAutoScroll", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onAutoScroll", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onAutoScroll(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onClicked(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onClicked(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onClicked", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onClicked", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); SWIG_ConvertPtr(argv[2],&arg4,SWIGTYPE_p_FXTreeItem,1); result = (long)(arg1)->onClicked(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCommand(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onCommand(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onCommand", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCommand", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); SWIG_ConvertPtr(argv[2],&arg4,SWIGTYPE_p_FXTreeItem,1); result = (long)(arg1)->onCommand(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onDoubleClicked(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onDoubleClicked(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onDoubleClicked", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDoubleClicked", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); SWIG_ConvertPtr(argv[2],&arg4,SWIGTYPE_p_FXTreeItem,1); result = (long)(arg1)->onDoubleClicked(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onEnter(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onEnter(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onEnter", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onEnter", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onEnter(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onFocusIn(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onFocusIn(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onFocusIn", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onFocusIn", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusIn(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onFocusOut(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onFocusOut(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onFocusOut", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onFocusOut", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusOut(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onKeyPress(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onKeyPress(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onKeyPress", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onKeyPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onKeyRelease(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onKeyRelease(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onKeyRelease", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onLeave(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onLeave(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onLeave", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeave", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onLeave(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onLeftBtnPress(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onLeftBtnPress(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onLeftBtnPress", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onLeftBtnRelease(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onLeftBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onLookupTimer(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onLookupTimer(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onLookupTimer", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLookupTimer", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onLookupTimer(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onMotion(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onMotion(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onMotion", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMotion(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onPaint(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onPaint(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onQueryHelp(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onQueryHelp(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onQueryHelp", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onQueryTip(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onQueryTip(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onQueryTip", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onQueryTip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onRightBtnPress(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onRightBtnPress(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onRightBtnPress", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onRightBtnPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onRightBtnPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onRightBtnRelease(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onRightBtnRelease(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onRightBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onRightBtnRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onRightBtnRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onTipTimer(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onTipTimer(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onTipTimer", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onTipTimer", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onTipTimer(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onTripleClicked(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onTripleClicked(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onTripleClicked", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onTripleClicked", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); SWIG_ConvertPtr(argv[2],&arg4,SWIGTYPE_p_FXTreeItem,1); result = (long)(arg1)->onTripleClicked(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onUngrabbed(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_onUngrabbed(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","onUngrabbed", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUngrabbed", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onUngrabbed(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
openItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_openItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","openItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","openItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXTreeList_openItem(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
position(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_position(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 6) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeList, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXTreeList_position__SWIG_1(nargs, args, self); } } if (argc == 5) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeList, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXTreeList_position__SWIG_0(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 6, "position", " void position(FXint x, FXint y, FXint w, FXint h)\n" " VALUE position()\n"); return Qnil; }
prependItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_prependItem(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[8]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 8) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if ((argc >= 3) && (argc <= 4)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 3) { return _wrap_FXTreeList_prependItem__SWIG_0(nargs, args, self); } { _v = (argv[3] == Qtrue || argv[3] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXTreeList_prependItem__SWIG_0(nargs, args, self); } } } } } if ((argc >= 3) && (argc <= 7)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_FXTreeList_prependItem__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXTreeList_prependItem__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 5) { return _wrap_FXTreeList_prependItem__SWIG_1(nargs, args, self); } { _v = 1; } if (_v) { if (argc <= 6) { return _wrap_FXTreeList_prependItem__SWIG_1(nargs, args, self); } { _v = (argv[6] == Qtrue || argv[6] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXTreeList_prependItem__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 8, "prependItem", " FXTreeItem prependItem(FXTreeItem *father, FXTreeItem *item, FXbool notify)\n" " FXTreeItem * prependItem(FXTreeItem *father, FXString const &text, FXIcon *oi, FXIcon *ci, void *ITEMDATA, FXbool notify)\n"); return Qnil; }
raiseWindow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_raiseWindow(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","raise", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_raise(arg1); return Qnil; fail: return Qnil; }
recalc(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_recalc(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","recalc", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_recalc(arg1); return Qnil; fail: return Qnil; }
removeItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_removeItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","removeItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","removeItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXTreeList_removeItem(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
removeItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_removeItems(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXTreeItem *arg3 = (FXTreeItem *) 0 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","removeItems", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","removeItems", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXTreeItem *","removeItems", 3, argv[1] )); } arg3 = reinterpret_cast< FXTreeItem * >(argp3); if (argc > 2) { arg4 = to_FXbool(argv[2]); } FXTreeList_removeItems(arg1,arg2,arg3,arg4); return Qnil; fail: return Qnil; }
reparent(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_reparent(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXWindow *arg2 = (FXWindow *) 0 ; FXWindow *arg3 = (FXWindow *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","reparent", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","reparent", 2, argv[0] )); } arg2 = reinterpret_cast< FXWindow * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); } arg3 = reinterpret_cast< FXWindow * >(argp3); FXTreeList_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
resize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_resize(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","resize", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXTreeList_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
save(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_save(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","save", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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); FXTreeList_save((FXTreeList const *)arg1,*arg2); return Qnil; fail: return Qnil; }
selectItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_selectItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","selectItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","selectItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXTreeList_selectItem(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
setAnchorItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setAnchorItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setAnchorItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","setAnchorItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); (arg1)->setAnchorItem(arg2); return Qnil; fail: return Qnil; }
setBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setBackColor(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXColor 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = to_FXColor(argv[0]); FXTreeList_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; }
setCurrentItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setCurrentItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setCurrentItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","setCurrentItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXTreeList_setCurrentItem(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
setDefault(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setDefault(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXbool arg2 = (FXbool) 1 ; 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXTreeList_setDefault(arg1,arg2); return Qnil; fail: return Qnil; }
setFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setFocus(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_setFocus(arg1); return Qnil; fail: return Qnil; }
setFont(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setFont(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXFont *arg2 = (FXFont *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setFont", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); } arg2 = reinterpret_cast< FXFont * >(argp2); (arg1)->setFont(arg2); return Qnil; fail: return Qnil; }
setHelpText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setHelpText(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setHelpText", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setHelpText((FXString const &)*arg2); return Qnil; fail: return Qnil; }
setIndent(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setIndent(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXint 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setIndent", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setIndent(arg2); return Qnil; fail: return Qnil; }
setItemClosedIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setItemClosedIcon(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXIcon *arg3 = (FXIcon *) 0 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setItemClosedIcon", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","setItemClosedIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","setItemClosedIcon", 3, argv[1] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); if (argc > 2) { arg4 = to_FXbool(argv[2]); } (arg1)->setItemClosedIcon(arg2,arg3,arg4); return Qnil; fail: return Qnil; }
setItemData(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setItemData(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; VALUE arg3 = (VALUE) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setItemData", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","setItemData", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); arg3 = argv[1]; FXTreeList_setItemData(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
setItemOpenIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setItemOpenIcon(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXIcon *arg3 = (FXIcon *) 0 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setItemOpenIcon", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","setItemOpenIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","setItemOpenIcon", 3, argv[1] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); if (argc > 2) { arg4 = to_FXbool(argv[2]); } (arg1)->setItemOpenIcon(arg2,arg3,arg4); return Qnil; fail: return Qnil; }
setItemText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setItemText(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXString *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; SwigValueWrapper< FXString > p3 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setItemText", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","setItemText", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); p3 = to_FXString(argv[1]); arg3 = &p3; (arg1)->setItemText(arg2,(FXString const &)*arg3); return Qnil; fail: return Qnil; }
setLineColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setLineColor(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXColor 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setLineColor", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setLineColor(arg2); return Qnil; fail: return Qnil; }
setListStyle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setListStyle(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setListStyle", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setListStyle(arg2); return Qnil; fail: return Qnil; }
setNumVisible(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setNumVisible(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXint 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setNumVisible", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNumVisible(arg2); return Qnil; fail: return Qnil; }
setSelBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setSelBackColor(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXColor 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelBackColor(arg2); return Qnil; fail: return Qnil; }
setSelTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setSelTextColor(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXColor 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelTextColor(arg2); return Qnil; fail: return Qnil; }
setShape(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXTreeList_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXTreeList_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXTreeList_setShape__SWIG_2(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "setShape", " void setShape(FXRegion const ®ion)\n" " void setShape(FXBitmap *bitmap)\n" " void setShape(FXIcon *icon)\n"); return Qnil; }
setTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_setTextColor(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXColor 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","setTextColor", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setTextColor(arg2); return Qnil; fail: return Qnil; }
show(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_show(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","show", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); FXTreeList_show(arg1); return Qnil; fail: return Qnil; }
sortChildItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_sortChildItems(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","sortChildItems", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","sortChildItems", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); (arg1)->sortChildItems(arg2); return Qnil; fail: return Qnil; }
sortItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_sortItems(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","sortItems", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); (arg1)->sortItems(); return Qnil; fail: return Qnil; }
sortRootItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_sortRootItems(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","sortRootItems", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); (arg1)->sortRootItems(); return Qnil; fail: return Qnil; }
toggleItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_toggleItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList *","toggleItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","toggleItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXTreeList_toggleItem(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
tr(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_tr(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXchar *arg2 = (FXchar *) 0 ; FXchar *arg3 = (FXchar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXchar *result = 0 ; VALUE vresult = Qnil; 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","tr", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXTreeList_tr((FXTreeList const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; }
updateItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXTreeList_updateItem(int argc, VALUE *argv, VALUE self) { FXTreeList *arg1 = (FXTreeList *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 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_FXTreeList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeList const *","updateItem", 1, self )); } arg1 = reinterpret_cast< FXTreeList * >(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 *","updateItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); ((FXTreeList const *)arg1)->updateItem(arg2); return Qnil; fail: return Qnil; }