class Fox::FXListItem
Public Class Methods
new(*args)
click to toggle source
SWIGINTERN VALUE _wrap_new_FXListItem(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXIcon *arg2 = (FXIcon *) 0 ; void *arg3 = (void *) 0 ; SwigValueWrapper< FXString > p1 ; void *argp2 = 0 ; int res2 = 0 ; FXListItem *result = 0 ; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } p1 = to_FXString(argv[0]); arg1 = &p1; if (argc > 1) { res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","FXListItem", 2, argv[1] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); } if (argc > 2) { arg3 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } { result = (FXListItem *)new_FXListItem((FXString const &)*arg1,arg2,arg3); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; }
new(text, *args, &blk)
click to toggle source
# File lib/fox16/kwargs.rb, line 2070 def initialize(text, *args, &blk) argument_names = %w{icon data} default_params = { :icon => nil, :data => nil } params = {} params = args.pop if args.last.is_a? Hash args.each_with_index { |e, i| params[argument_names[i].intern] = e } params.keys.each { |key| raise ArgumentError, "Unrecognized parameter #{key}" unless default_params.keys.include?(key) } params = default_params.merge(params) old_initialize(text, params[:icon], params[:data], &blk) end
Also aliased as: old_initialize
Public Instance Methods
<=>(otherItem)
click to toggle source
# File lib/fox16/core.rb, line 10 def <=>(otherItem) text <=> otherItem.text end
create(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_create(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem *","create", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); FXListItem_create(arg1); return Qnil; fail: return Qnil; }
destroy(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_destroy(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem *","destroy", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); FXListItem_destroy(arg1); return Qnil; fail: return Qnil; }
detach(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_detach(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem *","detach", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); FXListItem_detach(arg1); return Qnil; fail: return Qnil; }
getData(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_getData(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem const *","getData", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); result = (VALUE)FXListItem_getData((FXListItem const *)arg1); vresult = result; return vresult; fail: return Qnil; }
getHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_getHeight(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ; FXList *arg2 = (FXList *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem const *","getHeight", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXList, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXList const *","getHeight", 2, argv[0] )); } arg2 = reinterpret_cast< FXList * >(argp2); result = (FXint)FXListItem_getHeight((FXListItem const *)arg1,(FXList const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_getIcon(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem const *","getIcon", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); result = (FXIcon *)((FXListItem const *)arg1)->getIcon(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_getText(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem const *","getText", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); result = (FXString *) &((FXListItem const *)arg1)->getText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; }
getWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_getWidth(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ; FXList *arg2 = (FXList *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem const *","getWidth", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXList, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXList const *","getWidth", 2, argv[0] )); } arg2 = reinterpret_cast< FXList * >(argp2); result = (FXint)FXListItem_getWidth((FXListItem const *)arg1,(FXList const *)arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
hasFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_hasFocus(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem const *","hasFocus", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); result = (FXbool)((FXListItem const *)arg1)->hasFocus(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isDraggable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_isDraggable(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem const *","isDraggable", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); result = (FXbool)((FXListItem const *)arg1)->isDraggable(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isEnabled(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_isEnabled(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem const *","isEnabled", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); result = (FXbool)((FXListItem const *)arg1)->isEnabled(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isSelected(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_isSelected(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem const *","isSelected", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); result = (FXbool)((FXListItem const *)arg1)->isSelected(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
load(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_load(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem *","load", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(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); FXListItem_load(arg1,*arg2); return Qnil; fail: return Qnil; }
save(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_save(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem const *","save", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(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); FXListItem_save((FXListItem const *)arg1,*arg2); return Qnil; fail: return Qnil; }
setData(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_setData(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem *","setData", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); arg2 = argv[0]; FXListItem_setData(arg1,arg2); return Qnil; fail: return Qnil; }
setDraggable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_setDraggable(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem *","setDraggable", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); arg2 = to_FXbool(argv[0]); FXListItem_setDraggable(arg1,arg2); return Qnil; fail: return Qnil; }
setEnabled(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_setEnabled(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem *","setEnabled", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); arg2 = to_FXbool(argv[0]); FXListItem_setEnabled(arg1,arg2); return Qnil; fail: return Qnil; }
setFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_setFocus(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); arg2 = to_FXbool(argv[0]); FXListItem_setFocus(arg1,arg2); return Qnil; fail: return Qnil; }
setIcon(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_setIcon(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem *","setIcon", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXListItem_setIcon(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
setSelected(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_setSelected(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem *","setSelected", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); arg2 = to_FXbool(argv[0]); FXListItem_setSelected(arg1,arg2); return Qnil; fail: return Qnil; }
setText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXListItem_setText(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 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_FXListItem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListItem *","setText", 1, self )); } arg1 = reinterpret_cast< FXListItem * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; FXListItem_setText(arg1,(FXString const &)*arg2); return Qnil; fail: return Qnil; }