class Fox::FXDirSelector
The FXDirSelector widget is the reusable mega-widget component which is the core of the FXDirDialog. The function of the directory selector widget is very similar to the file selector widget, except that the directory selector widget displays a tree-structured view of the file system, and thereby makes up and down navigation through the file system significantly easier.
Message identifiers¶ ↑
ID_DIRNAME-
x
ID_DIRLIST-
x
ID_HOME-
x
ID_WORK-
x
ID_DIRECTORY_UP-
x
ID_BOOKMARK-
x
ID_VISIT-
x
ID_NEW-
x
ID_DELETE-
x
ID_MOVE-
x
ID_COPY-
x
ID_LINK-
x
Attributes
Directory list style [Integer]
Directory [String]
Wildcard matching mode, some combination of file matching flags [Integer]
Public Class Methods
Source
SWIGINTERN VALUE
_wrap_new_FXDirSelector(int argc, VALUE *argv, VALUE self) {
FXComposite *arg1 = (FXComposite *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 = (FXSelector) 0 ;
FXuint arg4 = (FXuint) 0 ;
FXint arg5 = (FXint) 0 ;
FXint arg6 = (FXint) 0 ;
FXint arg7 = (FXint) 0 ;
FXint arg8 = (FXint) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
FXDirSelector *result = 0 ;
if ((argc < 1) || (argc > 8)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXDirSelector", 1, argv[0] ));
}
arg1 = reinterpret_cast< FXComposite * >(argp1);
if (argc > 1) {
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXDirSelector", 2, argv[1] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
}
if (argc > 2) {
arg3 = NUM2UINT(argv[2]);
}
if (argc > 3) {
arg4 = NUM2UINT(argv[3]);
}
if (argc > 4) {
arg5 = NUM2INT(argv[4]);
}
if (argc > 5) {
arg6 = NUM2INT(argv[5]);
}
if (argc > 6) {
arg7 = NUM2INT(argv[6]);
}
if (argc > 7) {
arg8 = NUM2INT(argv[7]);
}
{
if (!arg1) {
SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
}
}
{
result = (FXDirSelector *)new_FXDirSelector(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
if(rb_block_given_p()){
rb_yield(self);
}
}
return self;
fail:
return Qnil;
}
Source
# File lib/fox16/kwargs.rb, line 713 def initialize(p, *args, &blk) argument_names = %w{target selector opts x y width height} default_params = { :target => nil, :selector => 0, :opts => 0, :x => 0, :y => 0, :width => 0, :height => 0 } params = {} params = args.pop if args.last.is_a? Hash args.each_with_index { |e, i| params[argument_names[i].intern] = e } params.keys.each { |key| raise ArgumentError, "Unrecognized parameter #{key}" unless default_params.keys.include?(key) } params = default_params.merge(params) old_initialize(p, params[:target], params[:selector], params[:opts], params[:x], params[:y], params[:width], params[:height], &blk) end
Also aliased as: old_initialize
Public Instance Methods
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_acceptButton(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXButton *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","acceptButton", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
result = (FXButton *)((FXDirSelector const *)arg1)->acceptButton();
{
swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXButton, (void **) &result);
vresult = FXRbGetRubyObj(result, ty);
}
return vresult;
fail:
return Qnil;
}
The “Accept” button {FXButton}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_canFocus(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","canFocus", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
result = (bool)FXDirSelector_canFocus((FXDirSelector const *)arg1);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_cancelButton(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXButton *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","cancelButton", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
result = (FXButton *)((FXDirSelector const *)arg1)->cancelButton();
{
swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXButton, (void **) &result);
vresult = FXRbGetRubyObj(result, ty);
}
return vresult;
fail:
return Qnil;
}
The “Cancel” button {FXButton}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_changeFocus(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","changeFocus", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(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);
FXDirSelector_changeFocus(arg1,arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_clearShape(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","clearShape", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_clearShape(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_contains(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","contains", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
result = (bool)FXDirSelector_contains((FXDirSelector const *)arg1,arg2,arg3);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_create(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","create", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_create(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_destroy(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","destroy", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_destroy(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_detach(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","detach", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_detach(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_disable(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","disable", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_disable(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","doesSaveUnder", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
result = (bool)FXDirSelector_doesSaveUnder((FXDirSelector const *)arg1);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_dropDisable(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","dropDisable", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_dropDisable(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_dropEnable(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","dropEnable", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_dropEnable(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_enable(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","enable", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_enable(arg1);
return Qnil;
fail:
return Qnil;
}
Source
# File rdoc-sources/FXDirSelector.rb, line 52 def filesShown=(state); end
If state is true, the directory selector will show files as well as directories; otherwise, it will only show directories.
Source
# File rdoc-sources/FXDirSelector.rb, line 46 def filesShown?; end
Return true if showing files as well as directories
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","getDefaultHeight", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
result = (FXint)FXDirSelector_getDefaultHeight(arg1);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","getDefaultWidth", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
result = (FXint)FXDirSelector_getDefaultWidth(arg1);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_getDirBoxStyle(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","getDirBoxStyle", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
result = (FXuint)((FXDirSelector const *)arg1)->getDirBoxStyle();
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_getDirectory(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","getDirectory", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
result = ((FXDirSelector const *)arg1)->getDirectory();
vresult = to_ruby((&result)->text());
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","getHeightForWidth", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
arg2 = NUM2INT(argv[0]);
result = (FXint)FXDirSelector_getHeightForWidth(arg1,arg2);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_getMatchMode(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","getMatchMode", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
result = (FXuint)((FXDirSelector const *)arg1)->getMatchMode();
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_getShowFiles(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","showFiles", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
result = (FXbool)((FXDirSelector const *)arg1)->showFiles();
vresult = result ? Qtrue : Qfalse;
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_getShowHiddenFiles(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","showHiddenFiles", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
result = (FXbool)((FXDirSelector const *)arg1)->showHiddenFiles();
vresult = result ? Qtrue : Qfalse;
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","getWidthForHeight", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
arg2 = NUM2INT(argv[0]);
result = (FXint)FXDirSelector_getWidthForHeight(arg1,arg2);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_hide(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","hide", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_hide(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_isComposite(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","isComposite", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
result = (bool)FXDirSelector_isComposite((FXDirSelector const *)arg1);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_killFocus(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","killFocus", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_killFocus(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_layout(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","layout", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_layout(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_load(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","load", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(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);
FXDirSelector_load(arg1,*arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_lower(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","lower", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_lower(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_move(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","move", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
FXDirSelector_move(arg1,arg2,arg3);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onCmdBookmark(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onCmdBookmark", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdBookmark", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = 0;
result = (long)(arg1)->onCmdBookmark(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onCmdCopy(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onCmdCopy", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCopy", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = 0;
result = (long)(arg1)->onCmdCopy(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onCmdDelete(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onCmdDelete", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdDelete", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = 0;
result = (long)(arg1)->onCmdDelete(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onCmdDirectoryUp(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onCmdDirectoryUp", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdDirectoryUp", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = 0;
result = (long)(arg1)->onCmdDirectoryUp(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onCmdHome(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onCmdHome", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdHome", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = 0;
result = (long)(arg1)->onCmdHome(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onCmdLink(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onCmdLink", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdLink", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = 0;
result = (long)(arg1)->onCmdLink(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onCmdMove(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onCmdMove", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdMove", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = 0;
result = (long)(arg1)->onCmdMove(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onCmdName(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onCmdName", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdName", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = 0;
result = (long)(arg1)->onCmdName(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onCmdNew(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onCmdNew", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdNew", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = 0;
result = (long)(arg1)->onCmdNew(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onCmdOpened(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onCmdOpened", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdOpened", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
SWIG_ConvertPtr(argv[2],&arg4,SWIGTYPE_p_FXTreeItem,1);
result = (long)(arg1)->onCmdOpened(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onCmdVisit(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int res4 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onCmdVisit", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdVisit", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdVisit", 4, argv[2] ));
}
result = (long)(arg1)->onCmdVisit(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onCmdWork(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onCmdWork", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdWork", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = 0;
result = (long)(arg1)->onCmdWork(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onPopupMenu(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onPopupMenu", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPopupMenu", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = to_FXEvent(argv[2]);
result = (long)(arg1)->onPopupMenu(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onUpdNew(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onUpdNew", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdNew", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = 0;
result = (long)(arg1)->onUpdNew(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_onUpdSelected(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 0 ;
FXObject *arg2 = (FXObject *) 0 ;
FXSelector arg3 ;
void *arg4 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
long result;
VALUE vresult = Qnil;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","onUpdSelected", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdSelected", 2, argv[0] ));
}
arg2 = reinterpret_cast< FXObject * >(argp2);
arg3 = NUM2UINT(argv[1]);
arg4 = 0;
result = (long)(arg1)->onUpdSelected(arg2,arg3,arg4);
vresult = SWIG_From_long(static_cast< long >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_position(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","position", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
arg4 = NUM2INT(argv[2]);
arg5 = NUM2INT(argv[3]);
FXDirSelector_position(arg1,arg2,arg3,arg4,arg5);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_raiseWindow(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","raise", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_raise(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_recalc(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","recalc", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_recalc(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_reparent(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","reparent", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(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);
FXDirSelector_reparent(arg1,arg2,arg3);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_resize(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","resize", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
FXDirSelector_resize(arg1,arg2,arg3);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_save(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","save", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(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);
FXDirSelector_save((FXDirSelector const *)arg1,*arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_setBackColor(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","setBackColor", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
arg2 = to_FXColor(argv[0]);
FXDirSelector_setBackColor(arg1,arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_setDefault(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","setDefault", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
if (argc > 0) {
arg2 = to_FXbool(argv[0]);
}
FXDirSelector_setDefault(arg1,arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_setDirBoxStyle(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","setDirBoxStyle", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
arg2 = NUM2UINT(argv[0]);
(arg1)->setDirBoxStyle(arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_setDirectory(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","setDirectory", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
p2 = to_FXString(argv[0]); arg2 = &p2;
(arg1)->setDirectory((FXString const &)*arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_setFocus(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","setFocus", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_setFocus(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_setMatchMode(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","setMatchMode", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
arg2 = NUM2UINT(argv[0]);
(arg1)->setMatchMode(arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE _wrap_FXDirSelector_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_FXDirSelector, 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_FXDirSelector_setShape__SWIG_0(nargs, args, self);
}
}
}
if (argc == 2) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirSelector, 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_FXDirSelector_setShape__SWIG_1(nargs, args, self);
}
}
}
if (argc == 2) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirSelector, 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_FXDirSelector_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_FXDirSelector_setShowFiles(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","showFiles", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
arg2 = to_FXbool(argv[0]);
(arg1)->showFiles(arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_setShowHiddenFiles(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","showHiddenFiles", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
arg2 = to_FXbool(argv[0]);
(arg1)->showHiddenFiles(arg2);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_show(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector *","show", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
FXDirSelector_show(arg1);
return Qnil;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXDirSelector_tr(int argc, VALUE *argv, VALUE self) {
FXDirSelector *arg1 = (FXDirSelector *) 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_FXDirSelector, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirSelector const *","tr", 1, self ));
}
arg1 = reinterpret_cast< FXDirSelector * >(argp1);
arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
if (argc > 1) {
arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
}
result = (FXchar *)FXDirSelector_tr((FXDirSelector const *)arg1,(char const *)arg2,(char const *)arg3);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
fail:
return Qnil;
}