class Fox::FXFoldingItem
Public Class Methods
new(*args)
click to toggle source
SWIGINTERN VALUE _wrap_new_FXFoldingItem(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXIcon *arg2 = (FXIcon *) 0 ; FXIcon *arg3 = (FXIcon *) 0 ; void *arg4 = (void *) 0 ; SwigValueWrapper< FXString > p1 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXFoldingItem *result = 0 ; if ((argc < 1) || (argc > 4)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } p1 = to_FXString(argv[0]); arg1 = &p1; if (argc > 1) { res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","FXFoldingItem", 2, argv[1] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); } if (argc > 2) { res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","FXFoldingItem", 3, argv[2] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); } if (argc > 3) { arg4 = (argv[3] == Qnil) ? NULL : (void *) argv[3]; } { result = (FXFoldingItem *)new_FXFoldingItem((FXString const &)*arg1,arg2,arg3,arg4); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; }
new(text, *args, &blk)
click to toggle source
# File lib/fox16/kwargs.rb, line 2394 def initialize(text, *args, &blk) argument_names = %w{openIcon closedIcon data} default_params = { :openIcon => nil, :closedIcon => nil, :data => nil } params = {} params = args.pop if args.last.is_a? Hash args.each_with_index { |e, i| params[argument_names[i].intern] = e } params.keys.each { |key| raise ArgumentError, "Unrecognized parameter #{key}" unless default_params.keys.include?(key) } params = default_params.merge(params) old_initialize(text, params[:openIcon], params[:closedIcon], params[:data], &blk) end
Also aliased as: old_initialize
Public Instance Methods
create(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_create(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","create", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); FXFoldingItem_create(arg1); return Qnil; fail: return Qnil; }
destroy(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_destroy(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","destroy", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); FXFoldingItem_destroy(arg1); return Qnil; fail: return Qnil; }
detach(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_detach(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","detach", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); FXFoldingItem_detach(arg1); return Qnil; fail: return Qnil; }
each() { |aFoldingItem| ... }
click to toggle source
Calls block once for each child of this folding list item, passing a reference to that child item as a parameter.
# File lib/fox16/iterators.rb, line 53 def each # :yields: aFoldingItem current = first while current != nil next_current = current.next yield current current = next_current end self end
getAbove(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getAbove(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getAbove", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXFoldingItem *)((FXFoldingItem const *)arg1)->getAbove(); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getBelow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getBelow(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getBelow", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXFoldingItem *)((FXFoldingItem const *)arg1)->getBelow(); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getClosedIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getClosedIcon(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXIcon *result = 0 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getClosedIcon", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXIcon *)((FXFoldingItem const *)arg1)->getClosedIcon(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getData(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getData(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getData", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (VALUE)FXFoldingItem_getData((FXFoldingItem const *)arg1); vresult = result; return vresult; fail: return Qnil; }
getFirst(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getFirst(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getFirst", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXFoldingItem *)((FXFoldingItem const *)arg1)->getFirst(); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getHeight(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXFoldingList *arg2 = (FXFoldingList *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getHeight", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingList const *","getHeight", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingList * >(argp2); result = (FXint)FXFoldingItem_getHeight((FXFoldingItem const *)arg1,(FXFoldingList const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getLast(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getLast(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getLast", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXFoldingItem *)((FXFoldingItem const *)arg1)->getLast(); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getNext(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getNext(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getNext", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXFoldingItem *)((FXFoldingItem const *)arg1)->getNext(); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getNumChildren(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getNumChildren(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getNumChildren", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXint)((FXFoldingItem const *)arg1)->getNumChildren(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getOpenIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getOpenIcon(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXIcon *result = 0 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getOpenIcon", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXIcon *)((FXFoldingItem const *)arg1)->getOpenIcon(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getParent(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getParent(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getParent", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXFoldingItem *)((FXFoldingItem const *)arg1)->getParent(); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getPrev(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getPrev(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getPrev", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXFoldingItem *)((FXFoldingItem const *)arg1)->getPrev(); vresult = FXRbGetRubyObj(result, "FXFoldingItem *"); return vresult; fail: return Qnil; }
getText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getText(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getText", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXString *) &((FXFoldingItem const *)arg1)->getText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; }
getWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_getWidth(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXFoldingList *arg2 = (FXFoldingList *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","getWidth", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFoldingList, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFoldingList const *","getWidth", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingList * >(argp2); result = (FXint)FXFoldingItem_getWidth((FXFoldingItem const *)arg1,(FXFoldingList const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
hasFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_hasFocus(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","hasFocus", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXbool)((FXFoldingItem const *)arg1)->hasFocus(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
hasItems=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_hasItemse___(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","setHasItems", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setHasItems(arg2); return Qnil; fail: return Qnil; }
hasItems?(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_hasItemsq___(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","hasItems", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXbool)((FXFoldingItem const *)arg1)->hasItems(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isChildOf(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_isChildOf(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 ; 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","isChildOf", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(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 *","isChildOf", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXbool)((FXFoldingItem const *)arg1)->isChildOf((FXFoldingItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isDraggable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_isDraggable(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","isDraggable", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXbool)((FXFoldingItem const *)arg1)->isDraggable(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isEnabled(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_isEnabled(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","isEnabled", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXbool)((FXFoldingItem const *)arg1)->isEnabled(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isExpanded(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_isExpanded(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","isExpanded", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXbool)((FXFoldingItem const *)arg1)->isExpanded(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isOpened(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_isOpened(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","isOpened", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXbool)((FXFoldingItem const *)arg1)->isOpened(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isParentOf(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_isParentOf(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 ; 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","isParentOf", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(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 *","isParentOf", 2, argv[0] )); } arg2 = reinterpret_cast< FXFoldingItem * >(argp2); result = (FXbool)((FXFoldingItem const *)arg1)->isParentOf((FXFoldingItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isSelected(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_isSelected(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","isSelected", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); result = (FXbool)((FXFoldingItem const *)arg1)->isSelected(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
load(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_load(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","load", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(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); FXFoldingItem_load(arg1,*arg2); return Qnil; fail: return Qnil; }
save(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_save(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem const *","save", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(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); FXFoldingItem_save((FXFoldingItem const *)arg1,*arg2); return Qnil; fail: return Qnil; }
setClosedIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_setClosedIcon(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXIcon *arg2 = (FXIcon *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; if ((argc < 1) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","setClosedIcon", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setClosedIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXFoldingItem_setClosedIcon(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
setData(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_setData(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; VALUE arg2 = (VALUE) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","setData", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); arg2 = argv[0]; FXFoldingItem_setData(arg1,arg2); return Qnil; fail: return Qnil; }
setDraggable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_setDraggable(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","setDraggable", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); arg2 = to_FXbool(argv[0]); FXFoldingItem_setDraggable(arg1,arg2); return Qnil; fail: return Qnil; }
setEnabled(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_setEnabled(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","setEnabled", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); arg2 = to_FXbool(argv[0]); FXFoldingItem_setEnabled(arg1,arg2); return Qnil; fail: return Qnil; }
setExpanded(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_setExpanded(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","setExpanded", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); arg2 = to_FXbool(argv[0]); FXFoldingItem_setExpanded(arg1,arg2); return Qnil; fail: return Qnil; }
setFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_setFocus(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); arg2 = to_FXbool(argv[0]); FXFoldingItem_setFocus(arg1,arg2); return Qnil; fail: return Qnil; }
setOpenIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_setOpenIcon(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXIcon *arg2 = (FXIcon *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; if ((argc < 1) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","setOpenIcon", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setOpenIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXFoldingItem_setOpenIcon(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
setOpened(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_setOpened(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","setOpened", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); arg2 = to_FXbool(argv[0]); FXFoldingItem_setOpened(arg1,arg2); return Qnil; fail: return Qnil; }
setSelected(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_setSelected(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","setSelected", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); arg2 = to_FXbool(argv[0]); FXFoldingItem_setSelected(arg1,arg2); return Qnil; fail: return Qnil; }
setText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFoldingItem_setText(int argc, VALUE *argv, VALUE self) { FXFoldingItem *arg1 = (FXFoldingItem *) 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_FXFoldingItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFoldingItem *","setText", 1, self )); } arg1 = reinterpret_cast< FXFoldingItem * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; FXFoldingItem_setText(arg1,(FXString const &)*arg2); return Qnil; fail: return Qnil; }