class Fox::FXMessageBox
Public Class Methods
error(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_error(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs; if (argc > 4) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 4) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_error__SWIG_0(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_error__SWIG_0(nargs, args, self); } } } } } } if (argc == 4) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_error__SWIG_1(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_error__SWIG_1(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 4, "FXMessageBox.error", " FXuint FXMessageBox.error(FXWindow *owner, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n" " FXuint FXMessageBox.error(FXApp *app, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n"); return Qnil; }
information(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_information(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs; if (argc > 4) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 4) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_information__SWIG_0(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_information__SWIG_0(nargs, args, self); } } } } } } if (argc == 4) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_information__SWIG_1(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_information__SWIG_1(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 4, "FXMessageBox.information", " FXuint FXMessageBox.information(FXWindow *owner, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n" " FXuint FXMessageBox.information(FXApp *app, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n"); return Qnil; }
new(*args)
click to toggle source
SWIGINTERN VALUE _wrap_new_FXMessageBox(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[7]; int ii; argc = nargs; if (argc > 7) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 3) && (argc <= 7)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXMessageBox__SWIG_0(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_new_FXMessageBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXMessageBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXMessageBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXMessageBox__SWIG_0(nargs, args, self); } } } } } } } } if ((argc >= 3) && (argc <= 7)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXMessageBox__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_new_FXMessageBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXMessageBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXMessageBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXMessageBox__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 7, "FXMessageBox.new", " FXMessageBox.new(FXWindow *owner, FXString const &caption, FXString const &text, FXIcon *ic, FXuint opts, FXint x, FXint y)\n" " FXMessageBox.new(FXApp *app, FXString const &caption, FXString const &text, FXIcon *ic, FXuint opts, FXint x, FXint y)\n"); return Qnil; }
new(owner, caption, text, *args, &blk)
click to toggle source
# File lib/fox16/kwargs.rb, line 1950 def initialize(owner, caption, text, *args, &blk) argument_names = %w{ic opts x y} default_params = { :ic => nil, :opts => 0, :x => 0, :y => 0 } params = {} params = args.pop if args.last.is_a? Hash args.each_with_index { |e, i| params[argument_names[i].intern] = e } params.keys.each { |key| raise ArgumentError, "Unrecognized parameter #{key}" unless default_params.keys.include?(key) } params = default_params.merge(params) old_initialize(owner, caption, text, params[:ic], params[:opts], params[:x], params[:y], &blk) end
Also aliased as: old_initialize
question(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_question(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs; if (argc > 4) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 4) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_question__SWIG_0(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_question__SWIG_0(nargs, args, self); } } } } } } if (argc == 4) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_question__SWIG_1(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_question__SWIG_1(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 4, "FXMessageBox.question", " FXuint FXMessageBox.question(FXWindow *owner, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n" " FXuint FXMessageBox.question(FXApp *app, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n"); return Qnil; }
warning(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_warning(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs; if (argc > 4) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 4) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_warning__SWIG_0(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_warning__SWIG_0(nargs, args, self); } } } } } } if (argc == 4) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_warning__SWIG_1(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_warning__SWIG_1(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 4, "FXMessageBox.warning", " FXuint FXMessageBox.warning(FXWindow *owner, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n" " FXuint FXMessageBox.warning(FXApp *app, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n"); return Qnil; }
Public Instance Methods
canFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_canFocus(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); result = (bool)FXMessageBox_canFocus((FXMessageBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
changeFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_changeFocus(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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); FXMessageBox_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; }
clearShape(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_clearShape(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_clearShape(arg1); return Qnil; fail: return Qnil; }
close(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_close(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","close", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXMessageBox_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
contains(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_contains(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox const *","contains", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXMessageBox_contains((FXMessageBox const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
create(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_create(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","create", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_create(arg1); return Qnil; fail: return Qnil; }
destroy(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_destroy(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","destroy", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_destroy(arg1); return Qnil; fail: return Qnil; }
detach(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_detach(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","detach", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_detach(arg1); return Qnil; fail: return Qnil; }
disable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_disable(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","disable", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_disable(arg1); return Qnil; fail: return Qnil; }
doesSaveUnder(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); result = (bool)FXMessageBox_doesSaveUnder((FXMessageBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
dropDisable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_dropDisable(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_dropDisable(arg1); return Qnil; fail: return Qnil; }
dropEnable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_dropEnable(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_dropEnable(arg1); return Qnil; fail: return Qnil; }
enable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_enable(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","enable", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_enable(arg1); return Qnil; fail: return Qnil; }
execute(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_execute(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","execute", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXMessageBox_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getDefaultHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); result = (FXint)FXMessageBox_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getDefaultWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); result = (FXint)FXMessageBox_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getHeightForWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMessageBox_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getWidthForHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMessageBox_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
hide(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_hide(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","hide", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_hide(arg1); return Qnil; fail: return Qnil; }
isComposite(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_isComposite(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); result = (bool)FXMessageBox_isComposite((FXMessageBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
killFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_killFocus(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_killFocus(arg1); return Qnil; fail: return Qnil; }
layout(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_layout(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","layout", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_layout(arg1); return Qnil; fail: return Qnil; }
load(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_load(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","load", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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); FXMessageBox_load(arg1,*arg2); return Qnil; fail: return Qnil; }
lower(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_lower(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","lower", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_lower(arg1); return Qnil; fail: return Qnil; }
maximize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_maximize(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","maximize", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXMessageBox_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
minimize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_minimize(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","minimize", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXMessageBox_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
move(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_move(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","move", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMessageBox_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
onCmdCancel(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_onCmdCancel(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","onCmdCancel", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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 *","onCmdCancel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCancel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
onCmdClicked(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_onCmdClicked(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","onCmdClicked", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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 *","onCmdClicked", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdClicked(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; }
position(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_position(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 4) || (argc > 4)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","position", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXMessageBox_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; }
raiseWindow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_raiseWindow(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","raise", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_raise(arg1); return Qnil; fail: return Qnil; }
recalc(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_recalc(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","recalc", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_recalc(arg1); return Qnil; fail: return Qnil; }
reparent(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_reparent(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","reparent", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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); FXMessageBox_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
resize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_resize(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","resize", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMessageBox_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
restore(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_restore(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","restore", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXMessageBox_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
save(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_save(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox const *","save", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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); FXMessageBox_save((FXMessageBox const *)arg1,*arg2); return Qnil; fail: return Qnil; }
setBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_setBackColor(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = to_FXColor(argv[0]); FXMessageBox_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; }
setDefault(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_setDefault(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMessageBox_setDefault(arg1,arg2); return Qnil; fail: return Qnil; }
setFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_setFocus(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_setFocus(arg1); return Qnil; fail: return Qnil; }
setShape(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_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_FXMessageBox, 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_FXMessageBox_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMessageBox, 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_FXMessageBox_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMessageBox, 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_FXMessageBox_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; }
show(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_show(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 == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMessageBox, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMessageBox, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXMessageBox_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; }
tr(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXMessageBox_tr(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox const *","tr", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXMessageBox_tr((FXMessageBox const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; }