class Fox::FXText
Public Class Methods
new(*args)
click to toggle source
SWIGINTERN VALUE _wrap_new_FXText(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 3 ; FXint arg10 = (FXint) 3 ; FXint arg11 = (FXint) 2 ; FXint arg12 = (FXint) 2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXText *result = 0 ; if ((argc < 1) || (argc > 12)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXText", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); if (argc > 1) { res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXText", 2, argv[1] )); } arg2 = reinterpret_cast< FXObject * >(argp2); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (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 (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXText *)new_FXText(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; }
new(p, *args, &blk)
click to toggle source
# File lib/fox16/kwargs.rb, line 1549 def initialize(p, *args, &blk) argument_names = %w{target selector opts x y width height padLeft padRight padTop padBottom} default_params = { :target => nil, :selector => 0, :opts => 0, :x => 0, :y => 0, :width => 0, :height => 0, :padLeft => 3, :padRight => 3, :padTop => 2, :padBottom => 2 } 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, 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
textDelimiters()
click to toggle source
SWIGINTERN VALUE _wrap_FXText_textDelimiters_get(VALUE self) { VALUE _val; _val = SWIG_FromCharPtr(FXText::textDelimiters); return _val; }
Public Instance Methods
appendStyledText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_appendStyledText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXString *arg2 = 0 ; FXint arg3 = (FXint) 0 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","appendStyledText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { arg3 = NUM2INT(argv[1]); } if (argc > 2) { arg4 = to_FXbool(argv[2]); } FXText_appendStyledText(arg1,(FXString const &)*arg2,arg3,arg4); return Qnil; fail: return Qnil; }
appendText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_appendText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXString *arg2 = 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","appendText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXText_appendText(arg1,(FXString const &)*arg2,arg3); return Qnil; fail: return Qnil; }
canFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_canFocus(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (bool)FXText_canFocus((FXText const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
changeFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_changeFocus(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXText * >(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); FXText_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; }
changeStyle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_changeStyle(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[5]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 5) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 3) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXText, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { return _wrap_FXText_changeStyle__SWIG_1(nargs, args, self); } } } } if (argc == 4) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXText, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXText_changeStyle__SWIG_0(nargs, args, self); } } } } } fail: Ruby_Format_OverloadedError( argc, 5, "changeStyle", " void changeStyle(FXint pos, FXint n, FXint style)\n" " void changeStyle(FXint pos, FXString const &style)\n"); return Qnil; }
clearShape(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_clearShape(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_clearShape(arg1); return Qnil; fail: return Qnil; }
contains(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_contains(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","contains", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXText_contains((FXText const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
countCols(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_countCols(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","countCols", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (FXint)((FXText const *)arg1)->countCols(arg2,arg3); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
countLines(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_countLines(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","countLines", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (FXint)((FXText const *)arg1)->countLines(arg2,arg3); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
countRows(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_countRows(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","countRows", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (FXint)((FXText const *)arg1)->countRows(arg2,arg3); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
create(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_create(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","create", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_create(arg1); return Qnil; fail: return Qnil; }
dec(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_dec(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","dec", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->dec(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
destroy(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_destroy(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","destroy", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_destroy(arg1); return Qnil; fail: return Qnil; }
detach(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_detach(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","detach", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_detach(arg1); return Qnil; fail: return Qnil; }
disable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_disable(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","disable", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_disable(arg1); return Qnil; fail: return Qnil; }
doesSaveUnder(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (bool)FXText_doesSaveUnder((FXText const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
drawBufferText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_drawBufferText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXDCWindow *arg2 = 0 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; FXint arg8 ; FXuint arg9 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; if ((argc < 8) || (argc > 8)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","drawBufferText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXDCWindow, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXDCWindow &","drawBufferText", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDCWindow &","drawBufferText", 2, argv[0])); } arg2 = reinterpret_cast< FXDCWindow * >(argp2); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]); arg8 = NUM2INT(argv[6]); arg9 = NUM2UINT(argv[7]); FXText_drawBufferText(arg1,*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); return Qnil; fail: return Qnil; }
drawContents(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_drawContents(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXDCWindow *arg2 = 0 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; if ((argc < 5) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","drawContents", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXDCWindow, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXDCWindow &","drawContents", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDCWindow &","drawContents", 2, argv[0])); } arg2 = reinterpret_cast< FXDCWindow * >(argp2); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); FXText_drawContents(arg1,*arg2,arg3,arg4,arg5,arg6); return Qnil; fail: return Qnil; }
drawCursor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_drawCursor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","drawCursor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2UINT(argv[0]); FXText_drawCursor(arg1,arg2); return Qnil; fail: return Qnil; }
drawNumbers(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_drawNumbers(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXDCWindow *arg2 = 0 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; if ((argc < 5) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","drawNumbers", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXDCWindow, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXDCWindow &","drawNumbers", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDCWindow &","drawNumbers", 2, argv[0])); } arg2 = reinterpret_cast< FXDCWindow * >(argp2); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); FXText_drawNumbers(arg1,*arg2,arg3,arg4,arg5,arg6); return Qnil; fail: return Qnil; }
drawTextRow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_drawTextRow(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXDCWindow *arg2 = 0 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","drawTextRow", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXDCWindow, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXDCWindow &","drawTextRow", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDCWindow &","drawTextRow", 2, argv[0])); } arg2 = reinterpret_cast< FXDCWindow * >(argp2); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXText_drawTextRow(arg1,*arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; }
dropDisable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_dropDisable(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_dropDisable(arg1); return Qnil; fail: return Qnil; }
dropEnable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_dropEnable(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_dropEnable(arg1); return Qnil; fail: return Qnil; }
enable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_enable(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","enable", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_enable(arg1); return Qnil; fail: return Qnil; }
eraseCursorOverhang(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_eraseCursorOverhang(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","eraseCursorOverhang", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_eraseCursorOverhang(arg1); return Qnil; fail: return Qnil; }
extendSelection(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_extendSelection(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXTextSelectionMode arg3 = (FXTextSelectionMode) SELECT_CHARS ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val3 ; int ecode3 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","extendSelection", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { ecode3 = SWIG_AsVal_int(argv[1], &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXTextSelectionMode","extendSelection", 3, argv[1] )); } arg3 = static_cast< FXTextSelectionMode >(val3); } if (argc > 2) { arg4 = to_FXbool(argv[2]); } result = (FXbool)FXText_extendSelection(arg1,arg2,arg3,arg4); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
extractStyle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_extractStyle(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; VALUE 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","extractStyle", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (VALUE)FXText_extractStyle((FXText const *)arg1,arg2,arg3); vresult = result; return vresult; fail: return Qnil; }
extractText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_extractText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; VALUE 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","extractText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (VALUE)FXText_extractText((FXText const *)arg1,arg2,arg3); vresult = result; return vresult; fail: return Qnil; }
fillBufferRect(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_fillBufferRect(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXDCWindow *arg2 = 0 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXuint arg7 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; if ((argc < 6) || (argc > 6)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","fillBufferRect", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXDCWindow, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXDCWindow &","fillBufferRect", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXDCWindow &","fillBufferRect", 2, argv[0])); } arg2 = reinterpret_cast< FXDCWindow * >(argp2); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2UINT(argv[5]); FXText_fillBufferRect(arg1,*arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; fail: return Qnil; }
findText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_findText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXString *arg2 = 0 ; FXint arg3 = (FXint) 0 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP|SEARCH_EXACT ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; VALUE result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","findText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { arg3 = NUM2INT(argv[1]); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); } result = (VALUE)FXText_findText(arg1,(FXString const &)*arg2,arg3,arg4); vresult = result; return vresult; fail: return Qnil; }
Also aliased as: old_findText
getActiveBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getActiveBackColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getActiveBackColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXColor)((FXText const *)arg1)->getActiveBackColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getAnchorPos(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getAnchorPos(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getAnchorPos", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getAnchorPos(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getBarColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getBarColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getBarColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXColor)((FXText const *)arg1)->getBarColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getBarColumns(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getBarColumns(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getBarColumns", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getBarColumns(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getBottomLine(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getBottomLine(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getBottomLine", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getBottomLine(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getByte(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getByte(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getByte", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->getByte(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getChar(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getChar(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; FXwchar 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getChar", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXwchar)((FXText const *)arg1)->getChar(arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getCharLen(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getCharLen(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getCharLen", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->getCharLen(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getContentHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getContentHeight(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","getContentHeight", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)FXText_getContentHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getContentWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getContentWidth(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","getContentWidth", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)FXText_getContentWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getCursorColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getCursorColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getCursorColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXColor)((FXText const *)arg1)->getCursorColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getCursorColumn(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getCursorColumn(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getCursorColumn", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getCursorColumn(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getCursorPos(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getCursorPos(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getCursorPos", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getCursorPos(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getCursorRow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getCursorRow(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getCursorRow", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getCursorRow(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getDefaultHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)FXText_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getDefaultWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)FXText_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getDelimiters(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getDelimiters(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXchar *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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getDelimiters", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXchar *)((FXText const *)arg1)->getDelimiters(); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; }
getFont(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getFont(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getFont", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXFont *)((FXText 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_FXText_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXText_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_FXText_getHelpText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getHelpText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = ((FXText const *)arg1)->getHelpText(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
getHiliteBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getHiliteBackColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getHiliteBackColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXColor)((FXText const *)arg1)->getHiliteBackColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getHiliteMatchTime(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getHiliteMatchTime(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getHiliteMatchTime", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXuint)((FXText const *)arg1)->getHiliteMatchTime(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getHiliteStyles(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getHiliteStyles(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getHiliteStyles", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (VALUE)FXText_getHiliteStyles((FXText const *)arg1); vresult = result; return vresult; fail: return Qnil; }
getHiliteTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getHiliteTextColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getHiliteTextColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXColor)((FXText const *)arg1)->getHiliteTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getLength(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getLength(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getLength", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getLength(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getMarginBottom(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getMarginBottom(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getMarginBottom", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getMarginBottom(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getMarginLeft(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getMarginLeft(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getMarginLeft", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getMarginLeft(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getMarginRight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getMarginRight(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getMarginRight", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getMarginRight(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getMarginTop(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getMarginTop(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getMarginTop", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getMarginTop(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getNumberColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getNumberColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getNumberColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXColor)((FXText const *)arg1)->getNumberColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getPosAt(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getPosAt(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getPosAt", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (FXint)((FXText const *)arg1)->getPosAt(arg2,arg3); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getSelBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getSelBackColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXColor)((FXText const *)arg1)->getSelBackColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getSelEndPos(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getSelEndPos(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getSelEndPos", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getSelEndPos(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getSelStartPos(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getSelStartPos(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getSelStartPos", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getSelStartPos(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getSelTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getSelTextColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXColor)((FXText const *)arg1)->getSelTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getStyle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getStyle(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getStyle", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->getStyle(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getTabColumns(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getTabColumns(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getTabColumns", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getTabColumns(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = ((FXText const *)arg1)->getText(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
getTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getTextColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getTextColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXColor)((FXText const *)arg1)->getTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getTextStyle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getTextStyle(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getTextStyle", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXuint)((FXText const *)arg1)->getTextStyle(); 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_FXText_getTipText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getTipText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = ((FXText const *)arg1)->getTipText(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
getTopLine(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getTopLine(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getTopLine", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getTopLine(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getViewportHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getViewportHeight(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","getViewportHeight", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)FXText_getViewportHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getViewportWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getViewportWidth(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","getViewportWidth", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)FXText_getViewportWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getVisibleColumns(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getVisibleColumns(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getVisibleColumns", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getVisibleColumns(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getVisibleRows(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getVisibleRows(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getVisibleRows", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getVisibleRows(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getWidthForHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXText_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getWrapColumns(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_getWrapColumns(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getWrapColumns", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getWrapColumns(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
hide(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_hide(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","hide", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_hide(arg1); return Qnil; fail: return Qnil; }
inc(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_inc(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","inc", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->inc(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
insertStyledText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_insertStyledText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXString *arg3 = 0 ; FXint arg4 = (FXint) 0 ; FXbool arg5 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; if ((argc < 2) || (argc > 4)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","insertStyledText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; if (argc > 2) { arg4 = NUM2INT(argv[2]); } if (argc > 3) { arg5 = to_FXbool(argv[3]); } FXText_insertStyledText(arg1,arg2,(FXString const &)*arg3,arg4,arg5); return Qnil; fail: return Qnil; }
insertText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_insertText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXString *arg3 = 0 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","insertText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; if (argc > 2) { arg4 = to_FXbool(argv[2]); } FXText_insertText(arg1,arg2,(FXString const &)*arg3,arg4); return Qnil; fail: return Qnil; }
isComposite(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_isComposite(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (bool)FXText_isComposite((FXText const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
isEditable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_isEditable(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","isEditable", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXbool)((FXText const *)arg1)->isEditable(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isModified(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_isModified(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","isModified", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXbool)((FXText const *)arg1)->isModified(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isPosSelected(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_isPosSelected(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","isPosSelected", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXbool)((FXText const *)arg1)->isPosSelected(arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isPosVisible(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_isPosVisible(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","isPosVisible", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXbool)((FXText const *)arg1)->isPosVisible(arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
isStyled(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_isStyled(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","isStyled", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXbool)((FXText const *)arg1)->isStyled(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
killFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_killFocus(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_killFocus(arg1); return Qnil; fail: return Qnil; }
killHighlight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_killHighlight(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","killHighlight", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXbool)(arg1)->killHighlight(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
killSelection(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_killSelection(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXbool arg2 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","killSelection", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXText_killSelection(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
layout(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_layout(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","layout", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_layout(arg1); return Qnil; fail: return Qnil; }
leftWord(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_leftWord(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","leftWord", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->leftWord(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
lineEnd(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_lineEnd(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","lineEnd", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->lineEnd(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
lineStart(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_lineStart(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","lineStart", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->lineStart(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
load(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_load(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","load", 1, self )); } arg1 = reinterpret_cast< FXText * >(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); FXText_load(arg1,*arg2); return Qnil; fail: return Qnil; }
lower(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_lower(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","lower", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_lower(arg1); return Qnil; fail: return Qnil; }
makePositionVisible(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_makePositionVisible(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","makePositionVisible", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->makePositionVisible(arg2); return Qnil; fail: return Qnil; }
move(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_move(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","move", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXText_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
nextLine(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_nextLine(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 = (FXint) 1 ; void *argp1 = 0 ; int res1 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","nextLine", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = NUM2INT(argv[1]); } result = (FXint)((FXText const *)arg1)->nextLine(arg2,arg3); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
nextRow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_nextRow(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 = (FXint) 1 ; void *argp1 = 0 ; int res1 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","nextRow", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = NUM2INT(argv[1]); } result = (FXint)((FXText const *)arg1)->nextRow(arg2,arg3); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
numRows(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_numRows(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","getNumRows", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXint)((FXText const *)arg1)->getNumRows(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
onAutoScroll(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onAutoScroll(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onAutoScroll", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onAutoScroll", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onAutoScroll(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onBeginDrag(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onBeginDrag(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onBeginDrag", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onBeginDrag", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onBeginDrag(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onBlink(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onBlink(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onBlink", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onBlink", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onBlink(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onClipboardGained(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onClipboardGained(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onClipboardGained", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onClipboardGained", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onClipboardGained(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onClipboardLost(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onClipboardLost(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onClipboardLost", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onClipboardLost", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onClipboardLost(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onClipboardRequest(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onClipboardRequest(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onClipboardRequest", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onClipboardRequest", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onClipboardRequest(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdBackspace(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdBackspace(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdBackspace", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdBackspace", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdBackspace(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdBackspaceBol(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdBackspaceBol(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdBackspaceBol", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdBackspaceBol", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdBackspaceBol(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdBackspaceWord(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdBackspaceWord(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdBackspaceWord", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdBackspaceWord", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdBackspaceWord(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdBlockBeg(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdBlockBeg(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdBlockBeg", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdBlockBeg", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdBlockBeg(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdBlockEnd(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdBlockEnd(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdBlockEnd", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdBlockEnd", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdBlockEnd(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdChangeCase(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdChangeCase(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdChangeCase", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdChangeCase", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdChangeCase(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCopySel(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCopySel(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCopySel", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCopySel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCopySel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorBottom(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorBottom(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorBottom", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorBottom", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorBottom(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorColumn(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorColumn(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorColumn", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorColumn", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorColumn(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorDown(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorDown(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorDown", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorDown", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorDown(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorEnd(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorEnd(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorEnd", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorEnd", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorEnd(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorHome(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorHome(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorHome", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorHome", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorHome(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorLeft(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorLeft(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorLeft", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorLeft", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorLeft(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorPageDown(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorPageDown(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorPageDown", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorPageDown", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorPageDown(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorPageUp(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorPageUp(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorPageUp", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorPageUp", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorPageUp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorParEnd(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorParEnd(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorParEnd", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorParEnd", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorParEnd(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorParHome(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorParHome(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorParHome", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorParHome", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorParHome(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorRight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorRight(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorRight", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorRight", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorRight(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorRow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorRow(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorRow", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorRow", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorRow(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorScreenBottom(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorScreenBottom(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorScreenBottom", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorScreenBottom", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorScreenBottom(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorScreenCenter(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorScreenCenter(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorScreenCenter", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorScreenCenter", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorScreenCenter(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorScreenTop(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorScreenTop(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorScreenTop", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorScreenTop", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorScreenTop(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorTop(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorTop(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorTop", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorTop", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorTop(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorUp(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorUp(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorUp", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorUp", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorUp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorWordEnd(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorWordEnd(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorWordEnd", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorWordEnd", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorWordEnd(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorWordLeft(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorWordLeft(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorWordLeft", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorWordLeft", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorWordLeft(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorWordRight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorWordRight(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorWordRight", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorWordRight", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorWordRight(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCursorWordStart(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCursorWordStart(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCursorWordStart", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCursorWordStart", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCursorWordStart(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdCutSel(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdCutSel(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdCutSel", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdCutSel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCutSel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdDelete(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdDelete(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdDelete", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdDelete", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdDelete(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdDeleteAll(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdDeleteAll(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdDeleteAll", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdDeleteAll", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdDeleteAll(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdDeleteEol(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdDeleteEol(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdDeleteEol", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdDeleteEol", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdDeleteEol(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdDeleteLine(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdDeleteLine(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdDeleteLine", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdDeleteLine", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdDeleteLine(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdDeleteSel(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdDeleteSel(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdDeleteSel", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdDeleteSel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdDeleteSel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdDeleteWord(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdDeleteWord(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdDeleteWord", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdDeleteWord", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdDeleteWord(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdDeselectAll(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdDeselectAll(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdDeselectAll", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdDeselectAll", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdDeselectAll(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdExtend(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdExtend(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdExtend", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdExtend", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdExtend(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdGetStringValue(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdGetStringValue(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdGetStringValue", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdGetStringValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdGotoLine(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdGotoLine(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdGotoLine", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdGotoLine", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGotoLine(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdGotoMatching(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdGotoMatching(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdGotoMatching", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdGotoMatching", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGotoMatching(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdGotoSelected(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdGotoSelected(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdGotoSelected", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdGotoSelected", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGotoSelected(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdInsertNewline(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdInsertNewline(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdInsertNewline", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdInsertNewline", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdInsertNewline(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdInsertString(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdInsertString(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdInsertString", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdInsertString", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = static_cast<void*>(StringValuePtr(argv[2])); result = (long)(arg1)->onCmdInsertString(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdInsertTab(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdInsertTab(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdInsertTab", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdInsertTab", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdInsertTab(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdMark(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdMark(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdMark", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdMark", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdMark(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdOverstString(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdOverstString(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdOverstString", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdOverstString", 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 *","onCmdOverstString", 4, argv[2] )); } result = (long)(arg1)->onCmdOverstString(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdPasteMiddle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdPasteMiddle(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdPasteMiddle", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdPasteMiddle", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdPasteMiddle(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdPasteSel(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdPasteSel(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdPasteSel", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdPasteSel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdPasteSel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdReplace(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdReplace(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdReplace", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdReplace", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdReplace(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdScrollDown(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdScrollDown(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdScrollDown", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdScrollDown", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdScrollDown(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdScrollUp(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdScrollUp(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdScrollUp", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdScrollUp", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdScrollUp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSearch(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdSearch(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdSearch", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdSearch", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdSearch(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSearchNext(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdSearchNext(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdSearchNext", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdSearchNext", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdSearchNext(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSearchSel(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdSearchSel(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdSearchSel", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdSearchSel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdSearchSel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSelectAll(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdSelectAll(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdSelectAll", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdSelectAll", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdSelectAll(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSelectBlock(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdSelectBlock(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdSelectBlock", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdSelectBlock", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdSelectBlock(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSelectChar(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdSelectChar(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdSelectChar", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdSelectChar", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdSelectChar(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSelectLine(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdSelectLine(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdSelectLine", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdSelectLine", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdSelectLine(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSelectMatching(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdSelectMatching(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdSelectMatching", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdSelectMatching", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdSelectMatching(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSelectWord(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdSelectWord(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdSelectWord", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdSelectWord", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdSelectWord(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdSetStringValue(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdSetStringValue(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXString 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdSetStringValue", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdSetStringValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = FXString(StringValuePtr(argv[2])); arg4 = (void *) &value4; } result = (long)(arg1)->onCmdSetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdShiftText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdShiftText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdShiftText", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdShiftText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdShiftText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdToggleEditable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdToggleEditable(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdToggleEditable", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdToggleEditable", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdToggleEditable(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdToggleOverstrike(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onCmdToggleOverstrike(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onCmdToggleOverstrike", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onCmdToggleOverstrike", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdToggleOverstrike(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onDNDDrop(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onDNDDrop(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onDNDDrop", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onDNDDrop", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onDNDDrop(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onDNDEnter(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onDNDEnter(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onDNDEnter", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onDNDEnter", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onDNDEnter(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onDNDLeave(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onDNDLeave(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onDNDLeave", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onDNDLeave", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onDNDLeave(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onDNDMotion(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onDNDMotion(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onDNDMotion", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onDNDMotion", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onDNDMotion(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onDNDRequest(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onDNDRequest(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onDNDRequest", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onDNDRequest", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onDNDRequest(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onDragged(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onDragged(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onDragged", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onDragged", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onDragged(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onEndDrag(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onEndDrag(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onEndDrag", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onEndDrag", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onEndDrag(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onFlash(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onFlash(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onFlash", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onFlash", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onFlash(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onFocusIn(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onFocusIn(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onFocusIn", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onFocusIn", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusIn(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onFocusOut(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onFocusOut(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onFocusOut", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onFocusOut", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusOut(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onKeyPress(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onKeyPress(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onKeyPress", 1, self )); } arg1 = reinterpret_cast< FXText * >(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_FXText_onKeyRelease(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onKeyRelease", 1, self )); } arg1 = reinterpret_cast< FXText * >(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; }
onLeftBtnPress(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onLeftBtnPress(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onLeftBtnPress", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onLeftBtnRelease(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onLeftBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onMiddleBtnPress(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onMiddleBtnPress(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onMiddleBtnPress", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onMiddleBtnPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMiddleBtnPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onMiddleBtnRelease(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onMiddleBtnRelease(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onMiddleBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onMiddleBtnRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMiddleBtnRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onMotion(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onMotion(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onMotion", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMotion(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onPaint(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onPaint(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onQueryHelp(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onQueryHelp(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onQueryHelp", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onQueryTip(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onQueryTip(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onQueryTip", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onQueryTip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onRightBtnPress(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onRightBtnPress(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onRightBtnPress", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onRightBtnPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onRightBtnPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onRightBtnRelease(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onRightBtnRelease(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onRightBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onRightBtnRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onRightBtnRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onSelectionGained(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onSelectionGained(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onSelectionGained", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onSelectionGained", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onSelectionGained(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onSelectionLost(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onSelectionLost(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onSelectionLost", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onSelectionLost", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onSelectionLost(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onSelectionRequest(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onSelectionRequest(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onSelectionRequest", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onSelectionRequest", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onSelectionRequest(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onUngrabbed(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onUngrabbed(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onUngrabbed", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUngrabbed", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onUngrabbed(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onUpdCursorColumn(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onUpdCursorColumn(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onUpdCursorColumn", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onUpdCursorColumn", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdCursorColumn(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onUpdCursorRow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onUpdCursorRow(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onUpdCursorRow", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onUpdCursorRow", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdCursorRow(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onUpdHaveSelection(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onUpdHaveSelection(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onUpdHaveSelection", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onUpdHaveSelection", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdHaveSelection(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onUpdSelectAll(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onUpdSelectAll(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onUpdSelectAll", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onUpdSelectAll", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdSelectAll(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onUpdToggleEditable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onUpdToggleEditable(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onUpdToggleEditable", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onUpdToggleEditable", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdToggleEditable(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onUpdToggleOverstrike(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_onUpdToggleOverstrike(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","onUpdToggleOverstrike", 1, self )); } arg1 = reinterpret_cast< FXText * >(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 *","onUpdToggleOverstrike", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdToggleOverstrike(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
overstrike=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_overstrikee___(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setOverstrike", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->setOverstrike(arg2); return Qnil; fail: return Qnil; }
overstrike?(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_overstrikeq___(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","isOverstrike", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); result = (FXbool)((FXText const *)arg1)->isOverstrike(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
position(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_position(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 6) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXText, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXText_position__SWIG_1(nargs, args, self); } } if (argc == 5) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXText, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXText_position__SWIG_0(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 6, "position", " void position(FXint x, FXint y, FXint w, FXint h)\n" " VALUE position()\n"); return Qnil; }
positionAt(*args)
click to toggle source
# File lib/fox16/aliases.rb, line 4559 def positionAt(*args) getPosAt(*args) end
positionSelected?(*args)
click to toggle source
# File lib/fox16/aliases.rb, line 4553 def positionSelected?(*args) isPosSelected(*args) end
positionVisible?(*args)
click to toggle source
# File lib/fox16/aliases.rb, line 4556 def positionVisible?(*args) isPosVisible(*args) end
prevLine(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_prevLine(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 = (FXint) 1 ; void *argp1 = 0 ; int res1 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","prevLine", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = NUM2INT(argv[1]); } result = (FXint)((FXText const *)arg1)->prevLine(arg2,arg3); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
prevRow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_prevRow(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 = (FXint) 1 ; void *argp1 = 0 ; int res1 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","prevRow", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = NUM2INT(argv[1]); } result = (FXint)((FXText const *)arg1)->prevRow(arg2,arg3); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
raiseWindow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_raiseWindow(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","raise", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_raise(arg1); return Qnil; fail: return Qnil; }
recalc(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_recalc(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","recalc", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_recalc(arg1); return Qnil; fail: return Qnil; }
removeText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_removeText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","removeText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); if (argc > 2) { arg4 = to_FXbool(argv[2]); } FXText_removeText(arg1,arg2,arg3,arg4); return Qnil; fail: return Qnil; }
reparent(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_reparent(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","reparent", 1, self )); } arg1 = reinterpret_cast< FXText * >(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); FXText_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
replaceStyledText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_replaceStyledText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; FXString *arg4 = 0 ; FXint arg5 = (FXint) 0 ; FXbool arg6 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p4 ; if ((argc < 3) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","replaceStyledText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); p4 = to_FXString(argv[2]); arg4 = &p4; if (argc > 3) { arg5 = NUM2INT(argv[3]); } if (argc > 4) { arg6 = to_FXbool(argv[4]); } FXText_replaceStyledText(arg1,arg2,arg3,(FXString const &)*arg4,arg5,arg6); return Qnil; fail: return Qnil; }
replaceText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_replaceText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; FXString *arg4 = 0 ; FXbool arg5 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p4 ; if ((argc < 3) || (argc > 4)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","replaceText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); p4 = to_FXString(argv[2]); arg4 = &p4; if (argc > 3) { arg5 = to_FXbool(argv[3]); } FXText_replaceText(arg1,arg2,arg3,(FXString const &)*arg4,arg5); return Qnil; fail: return Qnil; }
resize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_resize(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","resize", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXText_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
rightWord(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_rightWord(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","rightWord", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->rightWord(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
rowEnd(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_rowEnd(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","rowEnd", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->rowEnd(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
rowStart(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_rowStart(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","rowStart", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->rowStart(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
save(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_save(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","save", 1, self )); } arg1 = reinterpret_cast< FXText * >(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); FXText_save((FXText const *)arg1,*arg2); return Qnil; fail: return Qnil; }
selectAll(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_selectAll(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXbool arg2 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","selectAll", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)(arg1)->selectAll(arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
setActiveBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setActiveBackColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setActiveBackColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setActiveBackColor(arg2); return Qnil; fail: return Qnil; }
setAnchorPos(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setAnchorPos(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setAnchorPos", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setAnchorPos(arg2); return Qnil; fail: return Qnil; }
setBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setBackColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = to_FXColor(argv[0]); FXText_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; }
setBarColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setBarColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setBarColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setBarColor(arg2); return Qnil; fail: return Qnil; }
setBarColumns(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setBarColumns(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setBarColumns", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setBarColumns(arg2); return Qnil; fail: return Qnil; }
setBottomLine(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setBottomLine(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setBottomLine", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setBottomLine(arg2); return Qnil; fail: return Qnil; }
setCenterLine(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setCenterLine(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setCenterLine", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setCenterLine(arg2); return Qnil; fail: return Qnil; }
setCursorColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setCursorColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setCursorColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setCursorColor(arg2); return Qnil; fail: return Qnil; }
setCursorColumn(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setCursorColumn(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setCursorColumn", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setCursorColumn(arg2,arg3); return Qnil; fail: return Qnil; }
setCursorPos(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setCursorPos(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setCursorPos", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXText_setCursorPos(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
setCursorRow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setCursorRow(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setCursorRow", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setCursorRow(arg2,arg3); return Qnil; fail: return Qnil; }
setDefault(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setDefault(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXText_setDefault(arg1,arg2); return Qnil; fail: return Qnil; }
setDelimiters(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setDelimiters(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXchar *arg2 = (FXchar *) FXText::textDelimiters ; 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setDelimiters", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); if (argc > 0) { arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); } (arg1)->setDelimiters((FXchar const *)arg2); return Qnil; fail: return Qnil; }
setEditable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setEditable(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setEditable", 1, self )); } arg1 = reinterpret_cast< FXText * >(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_FXText_setFocus(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_setFocus(arg1); return Qnil; fail: return Qnil; }
setFont(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setFont(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setFont", 1, self )); } arg1 = reinterpret_cast< FXText * >(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_FXText_setHelpText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setHelpText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setHelpText((FXString const &)*arg2); return Qnil; fail: return Qnil; }
setHighlight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setHighlight(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; FXbool 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setHighlight", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (FXbool)(arg1)->setHighlight(arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
setHiliteBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setHiliteBackColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setHiliteBackColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setHiliteBackColor(arg2); return Qnil; fail: return Qnil; }
setHiliteMatchTime(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setHiliteMatchTime(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setHiliteMatchTime", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setHiliteMatchTime(arg2); return Qnil; fail: return Qnil; }
setHiliteStyles(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setHiliteStyles(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setHiliteStyles", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = argv[0]; FXText_setHiliteStyles(arg1,arg2); return Qnil; fail: return Qnil; }
setHiliteTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setHiliteTextColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setHiliteTextColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setHiliteTextColor(arg2); return Qnil; fail: return Qnil; }
setMarginBottom(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setMarginBottom(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setMarginBottom", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setMarginBottom(arg2); return Qnil; fail: return Qnil; }
setMarginLeft(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setMarginLeft(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setMarginLeft", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setMarginLeft(arg2); return Qnil; fail: return Qnil; }
setMarginRight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setMarginRight(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setMarginRight", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setMarginRight(arg2); return Qnil; fail: return Qnil; }
setMarginTop(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setMarginTop(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setMarginTop", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setMarginTop(arg2); return Qnil; fail: return Qnil; }
setModified(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setModified(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setModified", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->setModified(arg2); return Qnil; fail: return Qnil; }
setNumberColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setNumberColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setNumberColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setNumberColor(arg2); return Qnil; fail: return Qnil; }
setSelBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setSelBackColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelBackColor(arg2); return Qnil; fail: return Qnil; }
setSelTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setSelTextColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelTextColor(arg2); return Qnil; fail: return Qnil; }
setSelection(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setSelection(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setSelection", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); if (argc > 2) { arg4 = to_FXbool(argv[2]); } result = (FXbool)(arg1)->setSelection(arg2,arg3,arg4); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
setShape(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_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_FXText, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXText_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXText, 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_FXText_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXText, 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_FXText_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; }
setStyled(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setStyled(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setStyled", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->setStyled(arg2); return Qnil; fail: return Qnil; }
setStyledText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setStyledText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXString *arg2 = 0 ; FXint arg3 = (FXint) 0 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setStyledText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { arg3 = NUM2INT(argv[1]); } if (argc > 2) { arg4 = to_FXbool(argv[2]); } FXText_setStyledText(arg1,(FXString const &)*arg2,arg3,arg4); return Qnil; fail: return Qnil; }
setTabColumns(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setTabColumns(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setTabColumns", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setTabColumns(arg2); return Qnil; fail: return Qnil; }
setText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXString *arg2 = 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXText_setText(arg1,(FXString const &)*arg2,arg3); return Qnil; fail: return Qnil; }
setTextColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setTextColor(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setTextColor", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setTextColor(arg2); return Qnil; fail: return Qnil; }
setTextStyle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setTextStyle(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setTextStyle", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setTextStyle(arg2); return Qnil; fail: return Qnil; }
setTipText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setTipText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setTipText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setTipText((FXString const &)*arg2); return Qnil; fail: return Qnil; }
setTopLine(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setTopLine(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setTopLine", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setTopLine(arg2); return Qnil; fail: return Qnil; }
setVisibleColumns(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setVisibleColumns(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setVisibleColumns", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setVisibleColumns(arg2); return Qnil; fail: return Qnil; }
setVisibleRows(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setVisibleRows(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setVisibleRows", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setVisibleRows(arg2); return Qnil; fail: return Qnil; }
setWrapColumns(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_setWrapColumns(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","setWrapColumns", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setWrapColumns(arg2); return Qnil; fail: return Qnil; }
shiftText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_shiftText(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; FXint arg4 ; FXbool arg5 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 4)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","shiftText", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); if (argc > 3) { arg5 = to_FXbool(argv[3]); } result = (FXint)(arg1)->shiftText(arg2,arg3,arg4,arg5); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
show(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_show(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","show", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); FXText_show(arg1); return Qnil; fail: return Qnil; }
style(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_style(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 0 ; FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; void *argp1 = 0 ; int res1 = 0 ; FXuint result; VALUE vresult = Qnil; 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText *","style", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); result = (FXuint)FXText_style(arg1,arg2,arg3,arg4,arg5); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
tr(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_tr(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","tr", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXText_tr((FXText const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; }
validPos(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_validPos(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","validPos", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->validPos(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
wordEnd(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_wordEnd(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","wordEnd", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->wordEnd(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
wordStart(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXText_wordStart(int argc, VALUE *argv, VALUE self) { FXText *arg1 = (FXText *) 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_FXText, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXText const *","wordStart", 1, self )); } arg1 = reinterpret_cast< FXText * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)((FXText const *)arg1)->wordStart(arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }