class Fox::FXDirDialog
Directory selection dialog
Attributes
Directory list style [Integer]
Directory [String]
Wildcard matching mode, some combination of file matching flags [Integer]
Public Class Methods
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_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 *","FXDirDialog::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 = FXDirDialog::getOpenDirectory(arg1,(FXString const &)*arg2,(FXString const &)*arg3);
vresult = to_ruby((&result)->text());
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE _wrap_new_FXDirDialog(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 = 0;
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_FXDirDialog__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_FXDirDialog__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_FXDirDialog__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_FXDirDialog__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_FXDirDialog__SWIG_0(nargs, args, self);
}
{
_v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0;
}
if (_v) {
return _wrap_new_FXDirDialog__SWIG_0(nargs, args, self);
}
}
}
}
}
}
}
}
if ((argc >= 2) && (argc <= 7)) {
int _v = 0;
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_FXDirDialog__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_FXDirDialog__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_FXDirDialog__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_FXDirDialog__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_FXDirDialog__SWIG_1(nargs, args, self);
}
{
_v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0;
}
if (_v) {
return _wrap_new_FXDirDialog__SWIG_1(nargs, args, self);
}
}
}
}
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 7, "FXDirDialog.new",
" FXDirDialog.new(FXWindow *owner, FXString const &name, FXuint opts, FXint x, FXint y, FXint w, FXint h)\n"
" FXDirDialog.new(FXApp *a, FXString const &name, FXuint opts, FXint x, FXint y, FXint w, FXint h)\n");
return Qnil;
}
Source
# File lib/fox16/kwargs.rb, line 671 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
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_canFocus(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","canFocus", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
result = (bool)FXDirDialog_canFocus((FXDirDialog const *)arg1);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_changeFocus(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","changeFocus", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(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);
FXDirDialog_changeFocus(arg1,arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_clearShape(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","clearShape", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_clearShape(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_close(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","close", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
if (argc > 0) {
arg2 = to_FXbool(argv[0]);
}
result = (FXbool)FXDirDialog_close(arg1,arg2);
vresult = result ? Qtrue : Qfalse;
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_contains(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","contains", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
result = (bool)FXDirDialog_contains((FXDirDialog const *)arg1,arg2,arg3);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_create(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","create", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_create(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_destroy(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","destroy", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_destroy(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_detach(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","detach", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_detach(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_disable(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","disable", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_disable(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","doesSaveUnder", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
result = (bool)FXDirDialog_doesSaveUnder((FXDirDialog const *)arg1);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_dropDisable(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","dropDisable", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_dropDisable(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_dropEnable(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","dropEnable", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_dropEnable(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_enable(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","enable", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_enable(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_execute(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","execute", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
if (argc > 0) {
arg2 = NUM2UINT(argv[0]);
}
result = (FXuint)FXDirDialog_execute(arg1,arg2);
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return vresult;
fail:
return Qnil;
}
Source
# File rdoc-sources/FXDirDialog.rb, line 27 def filesShown=(state); end
If state is true, the directory list will show files as well as directories; otherwise, it will only show directories.
Source
# File rdoc-sources/FXDirDialog.rb, line 21 def filesShown?; end
Return true if showing files as well as directories
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","getDefaultHeight", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
result = (FXint)FXDirDialog_getDefaultHeight(arg1);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","getDefaultWidth", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
result = (FXint)FXDirDialog_getDefaultWidth(arg1);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_getDirBoxStyle(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","getDirBoxStyle", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
result = (FXuint)((FXDirDialog const *)arg1)->getDirBoxStyle();
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_getDirectory(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","getDirectory", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
result = ((FXDirDialog const *)arg1)->getDirectory();
vresult = to_ruby((&result)->text());
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","getHeightForWidth", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
arg2 = NUM2INT(argv[0]);
result = (FXint)FXDirDialog_getHeightForWidth(arg1,arg2);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_getMatchMode(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","getMatchMode", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
result = (FXuint)((FXDirDialog const *)arg1)->getMatchMode();
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_getShowFiles(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","showFiles", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
result = (FXbool)((FXDirDialog const *)arg1)->showFiles();
vresult = result ? Qtrue : Qfalse;
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_getShowHiddenFiles(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","showHiddenFiles", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
result = (FXbool)((FXDirDialog const *)arg1)->showHiddenFiles();
vresult = result ? Qtrue : Qfalse;
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","getWidthForHeight", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
arg2 = NUM2INT(argv[0]);
result = (FXint)FXDirDialog_getWidthForHeight(arg1,arg2);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_hide(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","hide", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_hide(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_isComposite(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","isComposite", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
result = (bool)FXDirDialog_isComposite((FXDirDialog const *)arg1);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_killFocus(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","killFocus", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_killFocus(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_layout(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","layout", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_layout(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_load(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","load", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(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);
FXDirDialog_load(arg1,*arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_lower(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","lower", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_lower(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_maximize(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","maximize", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
if (argc > 0) {
arg2 = to_FXbool(argv[0]);
}
result = (FXbool)FXDirDialog_maximize(arg1,arg2);
vresult = result ? Qtrue : Qfalse;
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_minimize(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","minimize", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
if (argc > 0) {
arg2 = to_FXbool(argv[0]);
}
result = (FXbool)FXDirDialog_minimize(arg1,arg2);
vresult = result ? Qtrue : Qfalse;
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_move(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","move", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
FXDirDialog_move(arg1,arg2,arg3);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_position(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","position", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
arg4 = NUM2INT(argv[2]);
arg5 = NUM2INT(argv[3]);
FXDirDialog_position(arg1,arg2,arg3,arg4,arg5);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_raiseWindow(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","raise", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_raise(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_recalc(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","recalc", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_recalc(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_reparent(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","reparent", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(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);
FXDirDialog_reparent(arg1,arg2,arg3);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_resize(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","resize", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
FXDirDialog_resize(arg1,arg2,arg3);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_restore(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","restore", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
if (argc > 0) {
arg2 = to_FXbool(argv[0]);
}
result = (FXbool)FXDirDialog_restore(arg1,arg2);
vresult = result ? Qtrue : Qfalse;
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_save(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","save", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(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);
FXDirDialog_save((FXDirDialog const *)arg1,*arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_setBackColor(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setBackColor", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
arg2 = to_FXColor(argv[0]);
FXDirDialog_setBackColor(arg1,arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_setDefault(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setDefault", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
if (argc > 0) {
arg2 = to_FXbool(argv[0]);
}
FXDirDialog_setDefault(arg1,arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_setDirBoxStyle(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setDirBoxStyle", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
arg2 = NUM2UINT(argv[0]);
(arg1)->setDirBoxStyle(arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_setDirectory(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setDirectory", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
p2 = to_FXString(argv[0]); arg2 = &p2;
(arg1)->setDirectory((FXString const &)*arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_setFocus(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setFocus", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
FXDirDialog_setFocus(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_setMatchMode(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setMatchMode", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
arg2 = NUM2UINT(argv[0]);
(arg1)->setMatchMode(arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE _wrap_FXDirDialog_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 = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirDialog, 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_FXDirDialog_setShape__SWIG_0(nargs, args, self);
}
}
}
if (argc == 2) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirDialog, 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_FXDirDialog_setShape__SWIG_1(nargs, args, self);
}
}
}
if (argc == 2) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirDialog, 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_FXDirDialog_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;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_setShowFiles(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","showFiles", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
arg2 = to_FXbool(argv[0]);
(arg1)->showFiles(arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_setShowHiddenFiles(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","showHiddenFiles", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
arg2 = to_FXbool(argv[0]);
(arg1)->showHiddenFiles(arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE _wrap_FXDirDialog_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 = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirDialog, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FXDirDialog_show__SWIG_0(nargs, args, self);
}
}
if (argc == 2) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirDialog, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0;
}
if (_v) {
return _wrap_FXDirDialog_show__SWIG_1(nargs, args, self);
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 3, "show",
" void show()\n"
" void show(FXuint placement)\n");
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirDialog_tr(int argc, VALUE *argv, VALUE self) {
FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","tr", 1, self ));
}
arg1 = reinterpret_cast< FXDirDialog * >(argp1);
arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
if (argc > 1) {
arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
}
result = (FXchar *)FXDirDialog_tr((FXDirDialog const *)arg1,(char const *)arg2,(char const *)arg3);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
fail:
return Qnil;
}