class Fox::FXFileDialog
Public Class Methods
getOpenDirectory(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getOpenDirectory(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; FXString 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(argv[0], &argp1,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWindow *","FXFileDialog::getOpenDirectory", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = FXFileDialog::getOpenDirectory(arg1,(FXString const &)*arg2,(FXString const &)*arg3); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
getOpenFilename(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getOpenFilename(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXString const &arg4_defvalue = "*" ; FXString *arg4 = (FXString *) &arg4_defvalue ; FXint arg5 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; FXString result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWindow *","FXFileDialog::getOpenFilename", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; if (argc > 3) { p4 = to_FXString(argv[3]); arg4 = &p4; } if (argc > 4) { arg5 = NUM2INT(argv[4]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = FXFileDialog::getOpenFilename(arg1,(FXString const &)*arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
getOpenFilenames(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getOpenFilenames(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXString const &arg4_defvalue = "*" ; FXString *arg4 = (FXString *) &arg4_defvalue ; FXint arg5 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; VALUE result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWindow *","FXFileDialog_getOpenFilenames", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; if (argc > 3) { p4 = to_FXString(argv[3]); arg4 = &p4; } if (argc > 4) { arg5 = NUM2INT(argv[4]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (VALUE)FXFileDialog_getOpenFilenames(arg1,(FXString const &)*arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5); vresult = result; return vresult; fail: return Qnil; }
getSaveFilename(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getSaveFilename(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXString const &arg4_defvalue = "*" ; FXString *arg4 = (FXString *) &arg4_defvalue ; FXint arg5 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; FXString result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWindow *","FXFileDialog::getSaveFilename", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; if (argc > 3) { p4 = to_FXString(argv[3]); arg4 = &p4; } if (argc > 4) { arg5 = NUM2INT(argv[4]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = FXFileDialog::getSaveFilename(arg1,(FXString const &)*arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
new(*args)
click to toggle source
SWIGINTERN VALUE _wrap_new_FXFileDialog(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 >= 2) && (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) { if (argc <= 2) { return _wrap_new_FXFileDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXFileDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_new_FXFileDialog__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_FXFileDialog__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_FXFileDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXFileDialog__SWIG_0(nargs, args, self); } } } } } } } } if ((argc >= 2) && (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) { if (argc <= 2) { return _wrap_new_FXFileDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXFileDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_new_FXFileDialog__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_FXFileDialog__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_FXFileDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXFileDialog__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 7, "FXFileDialog.new", " FXFileDialog.new(FXWindow *owner, FXString const &name, FXuint opts, FXint x, FXint y, FXint w, FXint h)\n" " FXFileDialog.new(FXApp *a, FXString const &name, FXuint opts, FXint x, FXint y, FXint w, FXint h)\n"); return Qnil; }
new(owner, name, *args, &blk)
click to toggle source
# File lib/fox16/kwargs.rb, line 2334 def initialize(owner, name, *args, &blk) argument_names = %w{opts x y width height} default_params = { :opts => 0, :x => 0, :y => 0, :width => 500, :height => 300 } 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, name, params[:opts], params[:x], params[:y], params[:width], params[:height], &blk) end
Also aliased as: old_initialize
Public Instance Methods
canFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_canFocus(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (bool)FXFileDialog_canFocus((FXFileDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
changeFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_changeFocus(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(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); FXFileDialog_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; }
clearShape(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_clearShape(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_clearShape(arg1); return Qnil; fail: return Qnil; }
close(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_close(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","close", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFileDialog_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
contains(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_contains(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","contains", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXFileDialog_contains((FXFileDialog 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_FXFileDialog_create(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","create", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_create(arg1); return Qnil; fail: return Qnil; }
destroy(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_destroy(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","destroy", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_destroy(arg1); return Qnil; fail: return Qnil; }
detach(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_detach(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","detach", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_detach(arg1); return Qnil; fail: return Qnil; }
disable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_disable(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","disable", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_disable(arg1); return Qnil; fail: return Qnil; }
doesSaveUnder(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (bool)FXFileDialog_doesSaveUnder((FXFileDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
dropDisable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_dropDisable(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_dropDisable(arg1); return Qnil; fail: return Qnil; }
dropEnable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_dropEnable(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_dropEnable(arg1); return Qnil; fail: return Qnil; }
enable(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_enable(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","enable", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_enable(arg1); return Qnil; fail: return Qnil; }
execute(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_execute(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","execute", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXFileDialog_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getAllowPatternEntry(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getAllowPatternEntry(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","allowPatternEntry", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXbool)((FXFileDialog const *)arg1)->allowPatternEntry(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
getCurrentPattern(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getCurrentPattern(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getCurrentPattern", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXint)((FXFileDialog const *)arg1)->getCurrentPattern(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getDefaultHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXint)FXFileDialog_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getDefaultWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXint)FXFileDialog_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getDirectory(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getDirectory(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getDirectory", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = ((FXFileDialog const *)arg1)->getDirectory(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
getFileBoxStyle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getFileBoxStyle(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getFileBoxStyle", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXuint)((FXFileDialog const *)arg1)->getFileBoxStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getFilename(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getFilename(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getFilename", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = ((FXFileDialog const *)arg1)->getFilename(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
getFilenames(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getFilenames(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getFilenames", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (VALUE)FXFileDialog_getFilenames((FXFileDialog const *)arg1); vresult = result; return vresult; fail: return Qnil; }
getHeightForWidth(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXFileDialog_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getImageSize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getImageSize(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getImageSize", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXint)((FXFileDialog const *)arg1)->getImageSize(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getItemSpace(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getItemSpace(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getItemSpace", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXint)((FXFileDialog const *)arg1)->getItemSpace(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
getMatchMode(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getMatchMode(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getMatchMode", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXuint)((FXFileDialog const *)arg1)->getMatchMode(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getPattern(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getPattern(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getPattern", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = ((FXFileDialog const *)arg1)->getPattern(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
getPatternList(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getPatternList(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getPatternList", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (VALUE)FXFileDialog_getPatternList((FXFileDialog const *)arg1); vresult = result; return vresult; fail: return Qnil; }
getPatternText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getPatternText(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; FXString 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getPatternText", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = ((FXFileDialog const *)arg1)->getPatternText(arg2); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
getReadOnly(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getReadOnly(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getReadOnly", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXbool)((FXFileDialog const *)arg1)->getReadOnly(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
getSelectMode(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getSelectMode(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getSelectMode", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXuint)((FXFileDialog const *)arg1)->getSelectMode(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
getShowHiddenFiles(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getShowHiddenFiles(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","showHiddenFiles", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXbool)((FXFileDialog const *)arg1)->showHiddenFiles(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
getShowImages(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getShowImages(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","showImages", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXbool)((FXFileDialog const *)arg1)->showImages(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
getWidthForHeight(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXFileDialog_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_FXFileDialog_hide(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","hide", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_hide(arg1); return Qnil; fail: return Qnil; }
isComposite(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_isComposite(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (bool)FXFileDialog_isComposite((FXFileDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; }
killFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_killFocus(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_killFocus(arg1); return Qnil; fail: return Qnil; }
layout(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_layout(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","layout", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_layout(arg1); return Qnil; fail: return Qnil; }
load(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_load(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","load", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(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); FXFileDialog_load(arg1,*arg2); return Qnil; fail: return Qnil; }
lower(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_lower(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","lower", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_lower(arg1); return Qnil; fail: return Qnil; }
maximize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_maximize(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","maximize", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFileDialog_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
minimize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_minimize(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","minimize", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFileDialog_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
move(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_move(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","move", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXFileDialog_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
numPatterns(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_numPatterns(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getNumPatterns", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXint)((FXFileDialog const *)arg1)->getNumPatterns(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
position(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_position(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","position", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXFileDialog_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; }
raiseWindow(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_raiseWindow(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","raise", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_raise(arg1); return Qnil; fail: return Qnil; }
recalc(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_recalc(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","recalc", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_recalc(arg1); return Qnil; fail: return Qnil; }
reparent(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_reparent(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","reparent", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(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); FXFileDialog_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
resize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_resize(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","resize", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXFileDialog_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
restore(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_restore(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","restore", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFileDialog_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
save(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_save(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","save", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(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); FXFileDialog_save((FXFileDialog const *)arg1,*arg2); return Qnil; fail: return Qnil; }
setAllowPatternEntry(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setAllowPatternEntry(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","allowPatternEntry", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->allowPatternEntry(arg2); return Qnil; fail: return Qnil; }
setBackColor(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setBackColor(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXColor(argv[0]); FXFileDialog_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; }
setCurrentPattern(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setCurrentPattern(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setCurrentPattern", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setCurrentPattern(arg2); return Qnil; fail: return Qnil; }
setDefault(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setDefault(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXFileDialog_setDefault(arg1,arg2); return Qnil; fail: return Qnil; }
setDirectory(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setDirectory(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setDirectory", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setDirectory((FXString const &)*arg2); return Qnil; fail: return Qnil; }
setFileBoxStyle(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setFileBoxStyle(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setFileBoxStyle", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setFileBoxStyle(arg2); return Qnil; fail: return Qnil; }
setFilename(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setFilename(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setFilename", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setFilename((FXString const &)*arg2); return Qnil; fail: return Qnil; }
setFocus(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setFocus(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_setFocus(arg1); return Qnil; fail: return Qnil; }
setImageSize(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setImageSize(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setImageSize", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setImageSize(arg2); return Qnil; fail: return Qnil; }
setItemSpace(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setItemSpace(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setItemSpace", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setItemSpace(arg2); return Qnil; fail: return Qnil; }
setMatchMode(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setMatchMode(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setMatchMode", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setMatchMode(arg2); return Qnil; fail: return Qnil; }
setPattern(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setPattern(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setPattern", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setPattern((FXString const &)*arg2); return Qnil; fail: return Qnil; }
setPatternList(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setPatternList(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setPatternList", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = argv[0]; FXFileDialog_setPatternList(arg1,arg2); return Qnil; fail: return Qnil; }
setPatternText(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setPatternText(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXint arg2 ; FXString *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setPatternText", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; (arg1)->setPatternText(arg2,(FXString const &)*arg3); return Qnil; fail: return Qnil; }
setReadOnly(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setReadOnly(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setReadOnly", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setReadOnly(arg2); return Qnil; fail: return Qnil; }
setSelectMode(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setSelectMode(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setSelectMode", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setSelectMode(arg2); return Qnil; fail: return Qnil; }
setShape(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_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_FXFileDialog, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXFileDialog_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFileDialog, 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_FXFileDialog_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFileDialog, 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_FXFileDialog_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; }
setShowHiddenFiles(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setShowHiddenFiles(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","showHiddenFiles", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->showHiddenFiles(arg2); return Qnil; fail: return Qnil; }
setShowImages(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_setShowImages(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","showImages", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->showImages(arg2); return Qnil; fail: return Qnil; }
show(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_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_FXFileDialog, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXFileDialog_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFileDialog, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXFileDialog_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; }
showReadOnly(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_showReadOnly(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","showReadOnly", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->showReadOnly(arg2); return Qnil; fail: return Qnil; }
shownReadOnly(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_shownReadOnly(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","shownReadOnly", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXbool)((FXFileDialog const *)arg1)->shownReadOnly(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
tr(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXFileDialog_tr(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","tr", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXFileDialog_tr((FXFileDialog const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; }