class Fox::FXSpinner
Public Class Methods
new(*args)
click to toggle source
SWIGINTERN VALUE _wrap_new_FXSpinner(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXint arg2 ; FXObject *arg3 = (FXObject *) 0 ; FXSelector arg4 = (FXSelector) 0 ; FXuint arg5 = (FXuint) SPIN_NORMAL ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 0 ; FXint arg10 = (FXint) DEFAULT_PAD ; FXint arg11 = (FXint) DEFAULT_PAD ; FXint arg12 = (FXint) DEFAULT_PAD ; FXint arg13 = (FXint) DEFAULT_PAD ; void *argp1 = 0 ; int res1 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXSpinner *result = 0 ; if ((argc < 2) || (argc > 13)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXSpinner", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); arg2 = NUM2INT(argv[1]); if (argc > 2) { res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXObject *","FXSpinner", 3, argv[2] )); } arg3 = reinterpret_cast< FXObject * >(argp3); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXSpinner *)new_FXSpinner(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; }
new(p, cols, *args, &blk)
click to toggle source
# File lib/fox16/kwargs.rb, line 985 def initialize(p, cols, *args, &blk) argument_names = %w{target selector opts x y width height padLeft padRight padTop padBottom} default_params = { :target => nil, :selector => 0, :opts => SPIN_NORMAL, :x => 0, :y => 0, :width => 0, :height => 0, :padLeft => DEFAULT_PAD, :padRight => DEFAULT_PAD, :padTop => DEFAULT_PAD, :padBottom => DEFAULT_PAD } params = {} params = args.pop if args.last.is_a? Hash args.each_with_index { |e, i| params[argument_names[i].intern] = e } if params.key? :padding value = params.delete(:padding) [:padLeft, :padRight, :padTop, :padBottom].each { |s| params[s] ||= value } end params.keys.each { |key| raise ArgumentError, "Unrecognized parameter #{key}" unless default_params.keys.include?(key) } params = default_params.merge(params) old_initialize(p, cols, params[:target], params[:selector], params[:opts], params[:x], params[:y], params[:width], params[:height], params[:padLeft], params[:padRight], params[:padTop], params[:padBottom], &blk) end
Also aliased as: old_initialize
Public Instance Methods
canFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_canFocus(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (bool)FXSpinner_canFocus((FXSpinner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
changeFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_changeFocus(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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); FXSpinner_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; }
clearShape(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_clearShape(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_clearShape(arg1); return Qnil; fail: return Qnil; }
contains(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_contains(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","contains", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXSpinner_contains((FXSpinner 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_FXSpinner_create(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","create", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_create(arg1); return Qnil; fail: return Qnil; }
decrement(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_decrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","decrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->decrement(arg2); return Qnil; fail: return Qnil; }
decrementByAmount(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_decrementByAmount(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","decrementByAmount", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->decrementByAmount(arg2,arg3); return Qnil; fail: return Qnil; }
destroy(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_destroy(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","destroy", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_destroy(arg1); return Qnil; fail: return Qnil; }
detach(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_detach(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","detach", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_detach(arg1); return Qnil; fail: return Qnil; }
disable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_disable(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","disable", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_disable(arg1); return Qnil; fail: return Qnil; }
doesSaveUnder(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (bool)FXSpinner_doesSaveUnder((FXSpinner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
dropDisable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_dropDisable(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_dropDisable(arg1); return Qnil; fail: return Qnil; }
dropEnable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_dropEnable(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_dropEnable(arg1); return Qnil; fail: return Qnil; }
enable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_enable(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","enable", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_enable(arg1); return Qnil; fail: return Qnil; }
getCursorColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getCursorColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getCursorColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXColor)((FXSpinner const *)arg1)->getCursorColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getDefaultHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXint)FXSpinner_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getDefaultWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXint)FXSpinner_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getDownArrowColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getDownArrowColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getDownArrowColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXColor)((FXSpinner const *)arg1)->getDownArrowColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getFont(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getFont(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getFont", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXFont *)((FXSpinner const *)arg1)->getFont(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; }
getHeightForWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXSpinner_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_FXSpinner_getHelpText(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getHelpText", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXString *) &((FXSpinner const *)arg1)->getHelpText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; }
getIncrement(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getIncrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getIncrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXint)((FXSpinner const *)arg1)->getIncrement(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getNumColumns(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getNumColumns(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getNumColumns", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXint)((FXSpinner const *)arg1)->getNumColumns(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getRange(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getRange(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getRange", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (VALUE)FXSpinner_getRange((FXSpinner const *)arg1); vresult = result; return vresult; fail: return Qnil; }
getSelBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getSelBackColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXColor)((FXSpinner 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_FXSpinner_getSelTextColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXColor)((FXSpinner const *)arg1)->getSelTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getSpinnerStyle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getSpinnerStyle(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getSpinnerStyle", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXuint)((FXSpinner const *)arg1)->getSpinnerStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getTextColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getTextColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXColor)((FXSpinner const *)arg1)->getTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getTipText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getTipText(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getTipText", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXString *) &((FXSpinner const *)arg1)->getTipText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; }
getUpArrowColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getUpArrowColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getUpArrowColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXColor)((FXSpinner const *)arg1)->getUpArrowColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getValue(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getValue(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getValue", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXint)((FXSpinner const *)arg1)->getValue(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getWidthForHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXSpinner_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_FXSpinner_hide(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","hide", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_hide(arg1); return Qnil; fail: return Qnil; }
increment(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_increment(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","increment", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->increment(arg2); return Qnil; fail: return Qnil; }
incrementByAmount(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_incrementByAmount(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","incrementByAmount", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->incrementByAmount(arg2,arg3); return Qnil; fail: return Qnil; }
isComposite(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_isComposite(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (bool)FXSpinner_isComposite((FXSpinner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
isCyclic(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_isCyclic(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","isCyclic", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXbool)((FXSpinner const *)arg1)->isCyclic(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isEditable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_isEditable(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","isEditable", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXbool)((FXSpinner const *)arg1)->isEditable(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isTextVisible(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_isTextVisible(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","isTextVisible", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXbool)((FXSpinner const *)arg1)->isTextVisible(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
killFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_killFocus(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_killFocus(arg1); return Qnil; fail: return Qnil; }
layout(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_layout(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","layout", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_layout(arg1); return Qnil; fail: return Qnil; }
load(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_load(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","load", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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); FXSpinner_load(arg1,*arg2); return Qnil; fail: return Qnil; }
lower(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_lower(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","lower", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_lower(arg1); return Qnil; fail: return Qnil; }
move(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_move(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","move", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXSpinner_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
onChgEntry(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onChgEntry(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onChgEntry", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onChgEntry", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onChgEntry(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdDecrement(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onCmdDecrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdDecrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdDecrement", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onCmdDecrement(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdEntry(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onCmdEntry(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdEntry", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdEntry", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdEntry(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdGetIntRange(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onCmdGetIntRange(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdGetIntRange", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdGetIntRange", 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 *","onCmdGetIntRange", 4, argv[2] )); } result = (long)(arg1)->onCmdGetIntRange(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdGetIntValue(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdGetIntValue", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdGetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdIncrement(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onCmdIncrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdIncrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdIncrement", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onCmdIncrement(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSetIntRange(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onCmdSetIntRange(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXint values4[2] ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdSetIntRange", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdSetIntRange", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { Check_Type(argv[2], T_ARRAY); values4[0] = (FXint) NUM2INT(rb_ary_entry(argv[2], 0)); values4[1] = (FXint) NUM2INT(rb_ary_entry(argv[2], 1)); arg4 = static_cast<void*>(values4); } result = (long)(arg1)->onCmdSetIntRange(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSetIntValue(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXint value4 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdSetIntValue", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdSetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = (FXint) NUM2INT(argv[2]); arg4 = static_cast<void*>(&value4); } result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSetValue(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdSetValue", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdSetValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast<void*>(NUM2INT(argv[2])); result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onFocusSelf(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onFocusSelf(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onFocusSelf", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onFocusSelf", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusSelf(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_FXSpinner_onKeyPress(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onKeyPress", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onKeyPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onKeyRelease(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onKeyRelease(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onKeyRelease", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onUpdDecrement(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onUpdDecrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onUpdDecrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onUpdDecrement", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdDecrement(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onUpdIncrement(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onUpdIncrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onUpdIncrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onUpdIncrement", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdIncrement(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onWheelEntry(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_onWheelEntry(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onWheelEntry", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onWheelEntry", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onWheelEntry(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
position(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_position(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 4) || (argc > 4)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","position", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXSpinner_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; }
raiseWindow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_raiseWindow(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","raise", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_raise(arg1); return Qnil; fail: return Qnil; }
recalc(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_recalc(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","recalc", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_recalc(arg1); return Qnil; fail: return Qnil; }
reparent(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_reparent(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","reparent", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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); FXSpinner_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
resize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_resize(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","resize", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXSpinner_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
save(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_save(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","save", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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); FXSpinner_save((FXSpinner const *)arg1,*arg2); return Qnil; fail: return Qnil; }
setBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setBackColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); FXSpinner_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; }
setCursorColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setCursorColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setCursorColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setCursorColor(arg2); return Qnil; fail: return Qnil; }
setCyclic(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setCyclic(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setCyclic", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setCyclic(arg2); return Qnil; fail: return Qnil; }
setDefault(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setDefault(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXSpinner_setDefault(arg1,arg2); return Qnil; fail: return Qnil; }
setDownArrowColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setDownArrowColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setDownArrowColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setDownArrowColor(arg2); return Qnil; fail: return Qnil; }
setEditable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setEditable(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setEditable", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->setEditable(arg2); return Qnil; fail: return Qnil; }
setFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setFocus(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_setFocus(arg1); return Qnil; fail: return Qnil; }
setFont(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setFont(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setFont", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); } arg2 = reinterpret_cast< FXFont * >(argp2); (arg1)->setFont(arg2); return Qnil; fail: return Qnil; }
setHelpText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setHelpText(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setHelpText", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setHelpText((FXString const &)*arg2); return Qnil; fail: return Qnil; }
setIncrement(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setIncrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setIncrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setIncrement(arg2); return Qnil; fail: return Qnil; }
setNumColumns(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setNumColumns(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setNumColumns", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNumColumns(arg2); return Qnil; fail: return Qnil; }
setRange(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setRange(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; VALUE arg2 = (VALUE) 0 ; FXbool arg3 = (FXbool) 0 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setRange", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = argv[0]; if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXSpinner_setRange(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
setSelBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setSelBackColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelBackColor(arg2); return Qnil; fail: return Qnil; }
setSelTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setSelTextColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelTextColor(arg2); return Qnil; fail: return Qnil; }
setShape(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_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_FXSpinner, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXSpinner_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSpinner, 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_FXSpinner_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSpinner, 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_FXSpinner_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; }
setSpinnerStyle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setSpinnerStyle(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setSpinnerStyle", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setSpinnerStyle(arg2); return Qnil; fail: return Qnil; }
setTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setTextColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setTextColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setTextColor(arg2); return Qnil; fail: return Qnil; }
setTextVisible(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setTextVisible(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setTextVisible", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setTextVisible(arg2); return Qnil; fail: return Qnil; }
setTipText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setTipText(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setTipText", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setTipText((FXString const &)*arg2); return Qnil; fail: return Qnil; }
setUpArrowColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setUpArrowColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setUpArrowColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setUpArrowColor(arg2); return Qnil; fail: return Qnil; }
setValue(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_setValue(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setValue", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXSpinner_setValue(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
show(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_show(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","show", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_show(arg1); return Qnil; fail: return Qnil; }
tr(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXSpinner_tr(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","tr", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXSpinner_tr((FXSpinner const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; }