class Fox::FXEvent
Public Class Methods
new(*args)
click to toggle source
SWIGINTERN VALUE _wrap_new_FXEvent(int argc, VALUE *argv, VALUE self) { FXEvent *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } result = (FXEvent *)new FXEvent(); DATA_PTR(self) = result; return self; fail: return Qnil; }
Public Instance Methods
click_count(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_click_count_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","click_count", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->click_count); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
click_count=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_click_count_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","click_count", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->click_count = arg2; return Qnil; fail: return Qnil; }
click_time(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_click_time_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","click_time", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXuint) ((arg1)->click_time); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
click_time=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_click_time_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","click_time", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2UINT(argv[0]); if (arg1) (arg1)->click_time = arg2; return Qnil; fail: return Qnil; }
click_x(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_click_x_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","click_x", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->click_x); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
click_x=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_click_x_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","click_x", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->click_x = arg2; return Qnil; fail: return Qnil; }
click_y(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_click_y_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","click_y", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->click_y); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
click_y=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_click_y_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","click_y", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->click_y = arg2; return Qnil; fail: return Qnil; }
code(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_code_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","code", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->code); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
code=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_code_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","code", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->code = arg2; return Qnil; fail: return Qnil; }
last_x(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_last_x_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","last_x", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->last_x); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
last_x=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_last_x_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","last_x", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->last_x = arg2; return Qnil; fail: return Qnil; }
last_y(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_last_y_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","last_y", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->last_y); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
last_y=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_last_y_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","last_y", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->last_y = arg2; return Qnil; fail: return Qnil; }
moved(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_moved_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","moved", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXbool) ((arg1)->moved); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
moved=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_moved_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","moved", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = to_FXbool(argv[0]); if (arg1) (arg1)->moved = arg2; return Qnil; fail: return Qnil; }
rect(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_rect_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXRectangle *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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","rect", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXRectangle *)& ((arg1)->rect); vresult = FXRbGetRubyObj(result, "FXRectangle *"); return vresult; fail: return Qnil; }
rect=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_rect_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 0 ; FXRectangle *arg2 = (FXRectangle *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","rect", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXRectangle, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRectangle *","rect", 2, argv[0] )); } arg2 = reinterpret_cast< FXRectangle * >(argp2); if (arg1) (arg1)->rect = *arg2; return Qnil; fail: return Qnil; }
root_x(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_root_x_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","root_x", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->root_x); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
root_x=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_root_x_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","root_x", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->root_x = arg2; return Qnil; fail: return Qnil; }
root_y(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_root_y_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","root_y", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->root_y); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
root_y=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_root_y_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","root_y", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->root_y = arg2; return Qnil; fail: return Qnil; }
rootclick_x(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_rootclick_x_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","rootclick_x", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->rootclick_x); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
rootclick_x=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_rootclick_x_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","rootclick_x", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->rootclick_x = arg2; return Qnil; fail: return Qnil; }
rootclick_y(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_rootclick_y_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","rootclick_y", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->rootclick_y); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
rootclick_y=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_rootclick_y_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","rootclick_y", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->rootclick_y = arg2; return Qnil; fail: return Qnil; }
state(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_state_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","state", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->state); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
state=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_state_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","state", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->state = arg2; return Qnil; fail: return Qnil; }
synthetic(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_synthetic_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","synthetic", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXbool) ((arg1)->synthetic); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; }
synthetic=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_synthetic_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","synthetic", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = to_FXbool(argv[0]); if (arg1) (arg1)->synthetic = arg2; return Qnil; fail: return Qnil; }
target(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_target_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXDragType 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","target", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXDragType) ((arg1)->target); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
target=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_target_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 0 ; FXDragType arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","target", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXDragType","target", 2, argv[0] )); } arg2 = static_cast< FXDragType >(val2); if (arg1) (arg1)->target = arg2; return Qnil; fail: return Qnil; }
text(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_text_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","text", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = ((arg1)->text); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; }
text=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_text_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 0 ; FXString 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","text", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = to_FXString(argv[0]); if (arg1) (arg1)->text = arg2; return Qnil; fail: return Qnil; }
time(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_time_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","time", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXuint) ((arg1)->time); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
time=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_time_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","time", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2UINT(argv[0]); if (arg1) (arg1)->time = arg2; return Qnil; fail: return Qnil; }
type(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_type_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","type", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXuint) ((arg1)->type); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; }
type=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_type_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","type", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2UINT(argv[0]); if (arg1) (arg1)->type = arg2; return Qnil; fail: return Qnil; }
win_x(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_win_x_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","win_x", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->win_x); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
win_x=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_win_x_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","win_x", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->win_x = arg2; return Qnil; fail: return Qnil; }
win_y(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_win_y_get(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","win_y", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); result = (FXint) ((arg1)->win_y); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; }
win_y=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_FXEvent_win_y_set(int argc, VALUE *argv, VALUE self) { FXEvent *arg1 = (FXEvent *) 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_FXEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXEvent *","win_y", 1, self )); } arg1 = reinterpret_cast< FXEvent * >(argp1); arg2 = NUM2INT(argv[0]); if (arg1) (arg1)->win_y = arg2; return Qnil; fail: return Qnil; }