class Fox::FXTablePos
Represents a cell position in an FXTable.
Public Class Methods
Source
SWIGINTERN VALUE
_wrap_new_FXTablePos(int argc, VALUE *argv, VALUE self) {
FXTablePos *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (FXTablePos *)new FXTablePos();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
Source
# File rdoc-sources/FXTable.rb, line 15 def initialize; end
Returns an initialized FXTablePos instance.
Public Instance Methods
Source
SWIGINTERN VALUE
_wrap_FXTablePos_col_get(int argc, VALUE *argv, VALUE self) {
FXTablePos *arg1 = (FXTablePos *) 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_FXTablePos, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTablePos *","col", 1, self ));
}
arg1 = reinterpret_cast< FXTablePos * >(argp1);
result = (FXint) ((arg1)->col);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
Cell column (zero-based) [Integer]
Source
SWIGINTERN VALUE
_wrap_FXTablePos_col_set(int argc, VALUE *argv, VALUE self) {
FXTablePos *arg1 = (FXTablePos *) 0 ;
FXint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTablePos, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTablePos *","col", 1, self ));
}
arg1 = reinterpret_cast< FXTablePos * >(argp1);
arg2 = NUM2INT(argv[0]);
if (arg1) (arg1)->col = arg2;
return Qnil;
fail:
return Qnil;
}
Cell column (zero-based) [Integer]
Source
SWIGINTERN VALUE
_wrap_FXTablePos_row_get(int argc, VALUE *argv, VALUE self) {
FXTablePos *arg1 = (FXTablePos *) 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_FXTablePos, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTablePos *","row", 1, self ));
}
arg1 = reinterpret_cast< FXTablePos * >(argp1);
result = (FXint) ((arg1)->row);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
Cell row (zero-based) [Integer]
Source
SWIGINTERN VALUE
_wrap_FXTablePos_row_set(int argc, VALUE *argv, VALUE self) {
FXTablePos *arg1 = (FXTablePos *) 0 ;
FXint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTablePos, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTablePos *","row", 1, self ));
}
arg1 = reinterpret_cast< FXTablePos * >(argp1);
arg2 = NUM2INT(argv[0]);
if (arg1) (arg1)->row = arg2;
return Qnil;
fail:
return Qnil;
}
Cell row (zero-based) [Integer]