class Fox::FXFoldingList
Public Class Methods
ascending(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_ascending(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","FXFoldingList::ascending", 1, argv[0] )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","FXFoldingList::ascending", 2, argv[1] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXint)FXFoldingList::ascending((FXFoldingItem const *)arg1,(FXFoldingItem const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
ascendingCase(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_ascendingCase(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","FXFoldingList::ascendingCase", 1, argv[0] )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","FXFoldingList::ascendingCase", 2, argv[1] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXint)FXFoldingList::ascendingCase((FXFoldingItem const *)arg1,(FXFoldingItem const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
descending(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_descending(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","FXFoldingList::descending", 1, argv[0] )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","FXFoldingList::descending", 2, argv[1] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXint)FXFoldingList::descending((FXFoldingItem const *)arg1,(FXFoldingItem const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
descendingCase(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_descendingCase(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","FXFoldingList::descendingCase", 1, argv[0] )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","FXFoldingList::descendingCase", 2, argv[1] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXint)FXFoldingList::descendingCase((FXFoldingItem const *)arg1,(FXFoldingItem 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_FXFoldingList(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) FOLDINGLIST_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 ; FXFoldingList *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 *","FXFoldingList", 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 *","FXFoldingList", 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 = (FXFoldingList *)new_FXFoldingList(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 2408 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
appendHeader(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_appendHeader(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXString *arg2 = 0 ; FXIcon *arg3 = (FXIcon *) 0 ; FXint arg4 = (FXint) 1 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; void *argp3 = 0 ; int res3 = 0 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","appendHeader", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { 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 *","appendHeader", 3, argv[1] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); } if (argc > 2) { arg4 = NUM2INT(argv[2]); } (arg1)->appendHeader((FXString const &)*arg2,arg3,arg4); return Qnil; fail: return Qnil; }
appendItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_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_FXFoldingList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXFoldingItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXFoldingItem, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 3) { return _wrap_FXFoldingList_appendItem__SWIG_0(nargs, args, self); } { _v = (argv[3] == Qtrue || argv[3] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXFoldingList_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_FXFoldingList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXFoldingItem, 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_FXFoldingList_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_FXFoldingList_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_FXFoldingList_appendItem__SWIG_1(nargs, args, self); } { _v = 1; } if (_v) { if (argc <= 6) { return _wrap_FXFoldingList_appendItem__SWIG_1(nargs, args, self); } { _v = (argv[6] == Qtrue || argv[6] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXFoldingList_appendItem__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 8, "appendItem", " FXFoldingItem appendItem(FXFoldingItem *father, FXFoldingItem *item, FXbool notify)\n" " FXFoldingItem * appendItem(FXFoldingItem *father, FXString const &text, FXIcon *oi, FXIcon *ci, void *ITEMDATA, FXbool notify)\n"); return Qnil; }
canFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_canFocus(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (bool)FXFoldingList_canFocus((FXFoldingList const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
changeFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_changeFocus(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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); FXFoldingList_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; }
clearItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_clearItems(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","clearItems", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXFoldingList_clearItems(arg1,arg2); return Qnil; fail: return Qnil; }
clearShape(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_clearShape(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_clearShape(arg1); return Qnil; fail: return Qnil; }
closeItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_closeItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","closeItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","closeItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXFoldingList_closeItem(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
collapseTree(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_collapseTree(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","collapseTree", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","collapseTree", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXFoldingList_collapseTree(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
contains(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_contains(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","contains", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXFoldingList_contains((FXFoldingList 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_FXFoldingList_create(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","create", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_create(arg1); return Qnil; fail: return Qnil; }
deselectItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_deselectItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","deselectItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","deselectItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXFoldingList_deselectItem(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
destroy(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_destroy(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","destroy", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_destroy(arg1); return Qnil; fail: return Qnil; }
detach(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_detach(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","detach", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_detach(arg1); return Qnil; fail: return Qnil; }
disable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_disable(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","disable", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_disable(arg1); return Qnil; fail: return Qnil; }
disableItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_disableItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","disableItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","disableItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXbool)FXFoldingList_disableItem(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
doesSaveUnder(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (bool)FXFoldingList_doesSaveUnder((FXFoldingList const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
dropDisable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_dropDisable(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_dropDisable(arg1); return Qnil; fail: return Qnil; }
dropEnable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_dropEnable(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_dropEnable(arg1); return Qnil; fail: return Qnil; }
each() { |aFoldingItem| ... }
click to toggle source
Calls block once for each root-level folding list item, passing a reference to that item as a parameter.
# File lib/fox16/iterators.rb, line 34 def each # :yields: aFoldingItem 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_FXFoldingList_enable(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","enable", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_enable(arg1); return Qnil; fail: return Qnil; }
enableItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_enableItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","enableItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","enableItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXbool)FXFoldingList_enableItem(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
expandTree(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_expandTree(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","expandTree", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","expandTree", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXFoldingList_expandTree(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
extendSelection(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_extendSelection(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","extendSelection", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","extendSelection", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXFoldingList_extendSelection(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
extractItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_extractItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXFoldingItem *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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","extractItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","extractItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXFoldingItem *)(arg1)->extractItem(arg2,arg3); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
fillItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_fillItems(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","fillItems", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","fillItems", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(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)FXFoldingList_fillItems(arg1,arg2,(char 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_FXFoldingList_findItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXString *arg2 = 0 ; FXFoldingItem *arg3 = (FXFoldingItem *) 0 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; void *argp3 = 0 ; int res3 = 0 ; FXFoldingItem *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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","findItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXFoldingItem *","findItem", 3, argv[1] )); } arg3 = reinterpret_cast< FXFoldingItem * >(argp3); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); } result = (FXFoldingItem *)((FXFoldingList const *)arg1)->findItem((FXString const &)*arg2,arg3,arg4); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
findItemByData(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_findItemByData(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; void *arg2 = (void *) 0 ; FXFoldingItem *arg3 = (FXFoldingItem *) 0 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ; void *argp1 = 0 ; int res1 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXFoldingItem *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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","findItemByData", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = (argv[0] == Qnil) ? NULL : (void *) argv[0]; if (argc > 1) { res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXFoldingItem *","findItemByData", 3, argv[1] )); } arg3 = reinterpret_cast< FXFoldingItem * >(argp3); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); } result = (FXFoldingItem *)((FXFoldingList const *)arg1)->findItemByData((void const *)arg2,arg3,arg4); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getAnchorItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getAnchorItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFoldingItem *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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getAnchorItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXFoldingItem *)((FXFoldingList const *)arg1)->getAnchorItem(); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getContentHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getContentHeight(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","getContentHeight", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXint)FXFoldingList_getContentHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getContentWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getContentWidth(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","getContentWidth", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXint)FXFoldingList_getContentWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getCurrentItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getCurrentItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFoldingItem *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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getCurrentItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXFoldingItem *)((FXFoldingList const *)arg1)->getCurrentItem(); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getCursorItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getCursorItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFoldingItem *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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getCursorItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXFoldingItem *)((FXFoldingList const *)arg1)->getCursorItem(); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getDefaultHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXint)FXFoldingList_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getDefaultWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXint)FXFoldingList_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getFirstItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getFirstItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFoldingItem *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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getFirstItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXFoldingItem *)((FXFoldingList const *)arg1)->getFirstItem(); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getFont(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getFont(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getFont", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXFont *)((FXFoldingList const *)arg1)->getFont(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getHeader(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getHeader(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXHeader *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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getHeader", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXHeader *)((FXFoldingList const *)arg1)->getHeader(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXHeader, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getHeaderIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getHeaderIcon(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getHeaderIcon", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXIcon *)((FXFoldingList const *)arg1)->getHeaderIcon(arg2); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getHeaderSize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getHeaderSize(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getHeaderSize", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXFoldingList const *)arg1)->getHeaderSize(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getHeaderText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getHeaderText(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getHeaderText", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); result = ((FXFoldingList const *)arg1)->getHeaderText(arg2); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
getHeightForWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXFoldingList_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_FXFoldingList_getHelpText(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getHelpText", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXString *) &((FXFoldingList const *)arg1)->getHelpText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; }
getIndent(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getIndent(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getIndent", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXint)((FXFoldingList 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_FXFoldingList_getItemAt(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; FXFoldingItem *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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getItemAt", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (FXFoldingItem *)FXFoldingList_getItemAt((FXFoldingList const *)arg1,arg2,arg3); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getItemClosedIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getItemClosedIcon(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getItemClosedIcon", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","getItemClosedIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXIcon *)((FXFoldingList const *)arg1)->getItemClosedIcon((FXFoldingItem 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_FXFoldingList_getItemData(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getItemData", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","getItemData", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (VALUE)FXFoldingList_getItemData((FXFoldingList const *)arg1,(FXFoldingItem const *)arg2); vresult = result; return vresult; fail: return Qnil; }
getItemHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getItemHeight(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getItemHeight", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","getItemHeight", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXint)((FXFoldingList const *)arg1)->getItemHeight((FXFoldingItem const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getItemOpenIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getItemOpenIcon(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getItemOpenIcon", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","getItemOpenIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXIcon *)((FXFoldingList const *)arg1)->getItemOpenIcon((FXFoldingItem 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_FXFoldingList_getItemText(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getItemText", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","getItemText", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = ((FXFoldingList const *)arg1)->getItemText((FXFoldingItem const *)arg2); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
getItemWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getItemWidth(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getItemWidth", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","getItemWidth", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXint)((FXFoldingList const *)arg1)->getItemWidth((FXFoldingItem const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getLastItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getLastItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFoldingItem *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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getLastItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXFoldingItem *)((FXFoldingList const *)arg1)->getLastItem(); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getLineColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getLineColor(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getLineColor", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXColor)((FXFoldingList 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_FXFoldingList_getListStyle(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getListStyle", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXuint)((FXFoldingList const *)arg1)->getListStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getNumHeaders(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getNumHeaders(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getNumHeaders", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXint)((FXFoldingList const *)arg1)->getNumHeaders(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getNumItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getNumItems(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getNumItems", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXint)((FXFoldingList 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_FXFoldingList_getNumVisible(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getNumVisible", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXint)((FXFoldingList 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_FXFoldingList_getSelBackColor(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXColor)((FXFoldingList 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_FXFoldingList_getSelTextColor(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXColor)((FXFoldingList const *)arg1)->getSelTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getSortFunc(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getSortFunc(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFoldingListSortFunc 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getSortFunc", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = ((FXFoldingList const *)arg1)->getSortFunc(); vresult = SWIG_NewPointerObj((new FXFoldingListSortFunc(static_cast< const FXFoldingListSortFunc& >(result))), SWIGTYPE_p_FXFoldingListSortFunc, SWIG_POINTER_OWN | 0 ); return vresult; fail: return Qnil; }
getTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getTextColor(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","getTextColor", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXColor)((FXFoldingList 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_FXFoldingList_getViewportHeight(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","getViewportHeight", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXint)FXFoldingList_getViewportHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getViewportWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getViewportWidth(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","getViewportWidth", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (FXint)FXFoldingList_getViewportWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getWidthForHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXFoldingList_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_FXFoldingList_hide(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","hide", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_hide(arg1); return Qnil; fail: return Qnil; }
hitItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_hitItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","hitItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","hitItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); result = (FXint)((FXFoldingList const *)arg1)->hitItem((FXFoldingItem 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_FXFoldingList_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_FXFoldingList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXFoldingItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXFoldingItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXFoldingItem, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXFoldingList_insertItem__SWIG_0(nargs, args, self); } { _v = (argv[4] == Qtrue || argv[4] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXFoldingList_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_FXFoldingList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXFoldingItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXFoldingItem, 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_FXFoldingList_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_FXFoldingList_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_FXFoldingList_insertItem__SWIG_1(nargs, args, self); } { _v = 1; } if (_v) { if (argc <= 7) { return _wrap_FXFoldingList_insertItem__SWIG_1(nargs, args, self); } { _v = (argv[7] == Qtrue || argv[7] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXFoldingList_insertItem__SWIG_1(nargs, args, self); } } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 9, "insertItem", " FXFoldingItem insertItem(FXFoldingItem *other, FXFoldingItem *father, FXFoldingItem *item, FXbool notify)\n" " FXFoldingItem * insertItem(FXFoldingItem *other, FXFoldingItem *father, FXString const &text, FXIcon *oi, FXIcon *ci, void *ITEMDATA, FXbool notify)\n"); return Qnil; }
isComposite(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_isComposite(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); result = (bool)FXFoldingList_isComposite((FXFoldingList const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
isItemCurrent(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_isItemCurrent(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","isItemCurrent", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","isItemCurrent", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXbool)((FXFoldingList const *)arg1)->isItemCurrent((FXFoldingItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isItemEnabled(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_isItemEnabled(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","isItemEnabled", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","isItemEnabled", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXbool)((FXFoldingList const *)arg1)->isItemEnabled((FXFoldingItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isItemExpanded(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_isItemExpanded(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","isItemExpanded", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","isItemExpanded", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXbool)((FXFoldingList const *)arg1)->isItemExpanded((FXFoldingItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isItemLeaf(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_isItemLeaf(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","isItemLeaf", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","isItemLeaf", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXbool)((FXFoldingList const *)arg1)->isItemLeaf((FXFoldingItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isItemOpened(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_isItemOpened(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","isItemOpened", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","isItemOpened", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXbool)((FXFoldingList const *)arg1)->isItemOpened((FXFoldingItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isItemSelected(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_isItemSelected(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","isItemSelected", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","isItemSelected", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXbool)((FXFoldingList const *)arg1)->isItemSelected((FXFoldingItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isItemVisible(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_isItemVisible(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","isItemVisible", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem const *","isItemVisible", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXbool)((FXFoldingList const *)arg1)->isItemVisible((FXFoldingItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
killFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_killFocus(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_killFocus(arg1); return Qnil; fail: return Qnil; }
killSelection(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_killSelection(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","killSelection", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFoldingList_killSelection(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
layout(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_layout(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","layout", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_layout(arg1); return Qnil; fail: return Qnil; }
load(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_load(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","load", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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); FXFoldingList_load(arg1,*arg2); return Qnil; fail: return Qnil; }
lower(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_lower(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","lower", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_lower(arg1); return Qnil; fail: return Qnil; }
makeItemVisible(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_makeItemVisible(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","makeItemVisible", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","makeItemVisible", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); FXFoldingList_makeItemVisible(arg1,arg2); return Qnil; fail: return Qnil; }
move(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_move(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","move", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXFoldingList_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
moveItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_moveItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 0 ; FXFoldingItem *arg3 = (FXFoldingItem *) 0 ; FXFoldingItem *arg4 = (FXFoldingItem *) 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 ; FXFoldingItem *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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","moveItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","moveItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXFoldingItem *","moveItem", 3, argv[1] )); } arg3 = reinterpret_cast< FXFoldingItem * >(argp3); res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXFoldingItem *","moveItem", 4, argv[2] )); } arg4 = reinterpret_cast< FXFoldingItem * >(argp4); result = (FXFoldingItem *)(arg1)->moveItem(arg2,arg3,arg4); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
onAutoScroll(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_onAutoScroll(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onAutoScroll", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onAutoScroll", 4, 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_FXFoldingList_onClicked(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onClicked", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onClicked", 4, argv[2] )); } 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_FXFoldingList_onCommand(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onCommand", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCommand", 4, argv[2] )); } 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_FXFoldingList_onDoubleClicked(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onDoubleClicked", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onDoubleClicked", 4, argv[2] )); } 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_FXFoldingList_onEnter(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onEnter", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onEnter", 4, 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_FXFoldingList_onFocusIn(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onFocusIn", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onFocusIn", 4, 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_FXFoldingList_onFocusOut(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onFocusOut", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onFocusOut", 4, argv[2] )); } result = (long)(arg1)->onFocusOut(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onHeaderChanged(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_onHeaderChanged(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onHeaderChanged", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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 *","onHeaderChanged", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onHeaderChanged", 4, argv[2] )); } result = (long)(arg1)->onHeaderChanged(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_FXFoldingList_onKeyPress(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onKeyPress", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onKeyPress", 4, 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_FXFoldingList_onKeyRelease(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onKeyRelease", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onKeyRelease", 4, 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_FXFoldingList_onLeave(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onLeave", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onLeave", 4, 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_FXFoldingList_onLeftBtnPress(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onLeftBtnPress", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onLeftBtnPress", 4, 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_FXFoldingList_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onLeftBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onLeftBtnRelease", 4, 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_FXFoldingList_onLookupTimer(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onLookupTimer", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onLookupTimer", 4, argv[2] )); } 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_FXFoldingList_onMotion(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onMotion", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onMotion", 4, 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_FXFoldingList_onPaint(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onPaint", 4, 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_FXFoldingList_onQueryHelp(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onQueryHelp", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onQueryHelp", 4, argv[2] )); } 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_FXFoldingList_onQueryTip(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onQueryTip", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onQueryTip", 4, argv[2] )); } 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_FXFoldingList_onRightBtnPress(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onRightBtnPress", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onRightBtnPress", 4, 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_FXFoldingList_onRightBtnRelease(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onRightBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onRightBtnRelease", 4, 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_FXFoldingList_onTipTimer(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onTipTimer", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onTipTimer", 4, argv[2] )); } 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_FXFoldingList_onTripleClicked(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onTripleClicked", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onTripleClicked", 4, argv[2] )); } 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_FXFoldingList_onUngrabbed(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res4 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","onUngrabbed", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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]); res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onUngrabbed", 4, 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_FXFoldingList_openItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","openItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","openItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXFoldingList_openItem(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
position(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_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_FXFoldingList, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXFoldingList_position__SWIG_1(nargs, args, self); } } if (argc == 5) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFoldingList, 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_FXFoldingList_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_FXFoldingList_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_FXFoldingList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXFoldingItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXFoldingItem, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 3) { return _wrap_FXFoldingList_prependItem__SWIG_0(nargs, args, self); } { _v = (argv[3] == Qtrue || argv[3] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXFoldingList_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_FXFoldingList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXFoldingItem, 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_FXFoldingList_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_FXFoldingList_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_FXFoldingList_prependItem__SWIG_1(nargs, args, self); } { _v = 1; } if (_v) { if (argc <= 6) { return _wrap_FXFoldingList_prependItem__SWIG_1(nargs, args, self); } { _v = (argv[6] == Qtrue || argv[6] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXFoldingList_prependItem__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 8, "prependItem", " FXFoldingItem prependItem(FXFoldingItem *father, FXFoldingItem *item, FXbool notify)\n" " FXFoldingItem * prependItem(FXFoldingItem *father, FXString const &text, FXIcon *oi, FXIcon *ci, void *ITEMDATA, FXbool notify)\n"); return Qnil; }
raiseWindow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_raiseWindow(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","raise", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_raise(arg1); return Qnil; fail: return Qnil; }
recalc(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_recalc(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","recalc", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_recalc(arg1); return Qnil; fail: return Qnil; }
removeHeader(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_removeHeader(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","removeHeader", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->removeHeader(arg2); return Qnil; fail: return Qnil; }
removeItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_removeItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","removeItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","removeItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXFoldingList_removeItem(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
removeItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_removeItems(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 0 ; FXFoldingItem *arg3 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","removeItems", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","removeItems", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXFoldingItem *","removeItems", 3, argv[1] )); } arg3 = reinterpret_cast< FXFoldingItem * >(argp3); if (argc > 2) { arg4 = to_FXbool(argv[2]); } FXFoldingList_removeItems(arg1,arg2,arg3,arg4); return Qnil; fail: return Qnil; }
reparent(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_reparent(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","reparent", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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); FXFoldingList_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
resize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_resize(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","resize", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXFoldingList_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
save(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_save(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","save", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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); FXFoldingList_save((FXFoldingList const *)arg1,*arg2); return Qnil; fail: return Qnil; }
selectItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_selectItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","selectItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","selectItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXFoldingList_selectItem(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
setAnchorItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setAnchorItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setAnchorItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","setAnchorItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); (arg1)->setAnchorItem(arg2); return Qnil; fail: return Qnil; }
setBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setBackColor(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = to_FXColor(argv[0]); FXFoldingList_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; }
setCurrentItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setCurrentItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setCurrentItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","setCurrentItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXFoldingList_setCurrentItem(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
setDefault(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setDefault(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXFoldingList_setDefault(arg1,arg2); return Qnil; fail: return Qnil; }
setFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setFocus(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_setFocus(arg1); return Qnil; fail: return Qnil; }
setFont(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setFont(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setFont", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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; }
setHeaderIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setHeaderIcon(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXint arg2 ; FXIcon *arg3 = (FXIcon *) 0 ; void *argp1 = 0 ; int res1 = 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setHeaderIcon", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); 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 *","setHeaderIcon", 3, argv[1] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); (arg1)->setHeaderIcon(arg2,arg3); return Qnil; fail: return Qnil; }
setHeaderSize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setHeaderSize(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setHeaderSize", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); (arg1)->setHeaderSize(arg2,arg3); return Qnil; fail: return Qnil; }
setHeaderText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setHeaderText(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXint arg2 ; FXString *arg3 = 0 ; void *argp1 = 0 ; int res1 = 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setHeaderText", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; (arg1)->setHeaderText(arg2,(FXString const &)*arg3); return Qnil; fail: return Qnil; }
setHeaders(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setHeaders(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; VALUE arg2 = (VALUE) 0 ; FXint arg3 = (FXint) 1 ; void *argp1 = 0 ; int res1 = 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setHeaders", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = argv[0]; if (argc > 1) { arg3 = NUM2INT(argv[1]); } FXFoldingList_setHeaders(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
setHelpText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setHelpText(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setHelpText", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(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_FXFoldingList_setIndent(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setIndent", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setIndent(arg2); return Qnil; fail: return Qnil; }
setItemClosedIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setItemClosedIcon(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setItemClosedIcon", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","setItemClosedIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(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_FXFoldingList_setItemData(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setItemData", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","setItemData", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); arg3 = argv[1]; FXFoldingList_setItemData(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
setItemOpenIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setItemOpenIcon(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setItemOpenIcon", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","setItemOpenIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(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_FXFoldingList_setItemText(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setItemText", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","setItemText", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(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_FXFoldingList_setLineColor(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setLineColor", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setLineColor(arg2); return Qnil; fail: return Qnil; }
setListStyle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setListStyle(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setListStyle", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setListStyle(arg2); return Qnil; fail: return Qnil; }
setNumVisible(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setNumVisible(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setNumVisible", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNumVisible(arg2); return Qnil; fail: return Qnil; }
setSelBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setSelBackColor(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelBackColor(arg2); return Qnil; fail: return Qnil; }
setSelTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setSelTextColor(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelTextColor(arg2); return Qnil; fail: return Qnil; }
setShape(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_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_FXFoldingList, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXFoldingList_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFoldingList, 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_FXFoldingList_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFoldingList, 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_FXFoldingList_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; }
setSortFunc(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setSortFunc(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingListSortFunc arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setSortFunc", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); { res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXFoldingListSortFunc, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingListSortFunc","setSortFunc", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXFoldingListSortFunc","setSortFunc", 2, argv[0])); } else { arg2 = *(reinterpret_cast< FXFoldingListSortFunc * >(argp2)); } } (arg1)->setSortFunc(arg2); return Qnil; fail: return Qnil; }
setTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_setTextColor(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","setTextColor", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setTextColor(arg2); return Qnil; fail: return Qnil; }
show(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_show(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","show", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); FXFoldingList_show(arg1); return Qnil; fail: return Qnil; }
sortChildItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_sortChildItems(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","sortChildItems", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","sortChildItems", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); (arg1)->sortChildItems(arg2); return Qnil; fail: return Qnil; }
sortItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_sortItems(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","sortItems", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); (arg1)->sortItems(); return Qnil; fail: return Qnil; }
sortRootItems(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_sortRootItems(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","sortRootItems", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); (arg1)->sortRootItems(); return Qnil; fail: return Qnil; }
toggleItem(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_toggleItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","toggleItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","toggleItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXFoldingList_toggleItem(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
tr(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingList_tr(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList const *","tr", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXFoldingList_tr((FXFoldingList 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_FXFoldingList_updateItem(int argc, VALUE *argv, VALUE self) { FXFoldingList *arg1 = (FXFoldingList *) 0 ; FXFoldingItem *arg2 = (FXFoldingItem *) 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_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingList *","updateItem", 1, self )); } arg1 = reinterpret_cast< FXFoldingList * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingItem *","updateItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); (arg1)->updateItem(arg2); return Qnil; fail: return Qnil; }