/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.1 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make * changes to this file unless you know what you are doing--modify the SWIG * interface file instead. * ----------------------------------------------------------------------------- */ #ifndef SWIGRUBY #define SWIGRUBY #endif #ifdef __cplusplus /* SwigValueWrapper is described in swig.swg */ template class SwigValueWrapper { struct SwigMovePointer { T *ptr; SwigMovePointer(T *p) : ptr(p) { } ~SwigMovePointer() { delete ptr; } SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } } pointer; SwigValueWrapper& operator=(const SwigValueWrapper& rhs); SwigValueWrapper(const SwigValueWrapper& rhs); public: SwigValueWrapper() : pointer(0) { } SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; } operator T&() const { return *pointer.ptr; } T *operator&() { return pointer.ptr; } }; template T SwigValueInit() { return T(); } #endif /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable * declarations/attributes, and other compiler dependent labels. * ----------------------------------------------------------------------------- */ /* template workaround for compilers that cannot correctly implement the C++ standard */ #ifndef SWIGTEMPLATEDISAMBIGUATOR # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) # define SWIGTEMPLATEDISAMBIGUATOR template # elif defined(__HP_aCC) /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ # define SWIGTEMPLATEDISAMBIGUATOR template # else # define SWIGTEMPLATEDISAMBIGUATOR # endif #endif /* inline attribute */ #ifndef SWIGINLINE # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) # define SWIGINLINE inline # else # define SWIGINLINE # endif #endif /* attribute recognised by some compilers to avoid 'unused' warnings */ #ifndef SWIGUNUSED # if defined(__GNUC__) # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) # define SWIGUNUSED __attribute__ ((__unused__)) # else # define SWIGUNUSED # endif # elif defined(__ICC) # define SWIGUNUSED __attribute__ ((__unused__)) # else # define SWIGUNUSED # endif #endif #ifndef SWIG_MSC_UNSUPPRESS_4505 # if defined(_MSC_VER) # pragma warning(disable : 4505) /* unreferenced local function has been removed */ # endif #endif #ifndef SWIGUNUSEDPARM # ifdef __cplusplus # define SWIGUNUSEDPARM(p) # else # define SWIGUNUSEDPARM(p) p SWIGUNUSED # endif #endif /* internal SWIG method */ #ifndef SWIGINTERN # define SWIGINTERN static SWIGUNUSED #endif /* internal inline SWIG method */ #ifndef SWIGINTERNINLINE # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif /* exporting methods */ #if defined(__GNUC__) # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) # ifndef GCC_HASCLASSVISIBILITY # define GCC_HASCLASSVISIBILITY # endif # endif #endif #ifndef SWIGEXPORT # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) # if defined(STATIC_LINKED) # define SWIGEXPORT # else # define SWIGEXPORT __declspec(dllexport) # endif # else # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) # define SWIGEXPORT __attribute__ ((visibility("default"))) # else # define SWIGEXPORT # endif # endif #endif /* calling conventions for Windows */ #ifndef SWIGSTDCALL # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) # define SWIGSTDCALL __stdcall # else # define SWIGSTDCALL # endif #endif /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) # define _CRT_SECURE_NO_DEPRECATE #endif /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) # define _SCL_SECURE_NO_DEPRECATE #endif /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */ #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 #endif /* Intel's compiler complains if a variable which was never initialised is * cast to void, which is a common idiom which we use to indicate that we * are aware a variable isn't used. So we just silence that warning. * See: https://github.com/swig/swig/issues/192 for more discussion. */ #ifdef __INTEL_COMPILER # pragma warning disable 592 #endif /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable * declarations/attributes, and other compiler dependent labels. * ----------------------------------------------------------------------------- */ /* template workaround for compilers that cannot correctly implement the C++ standard */ #ifndef SWIGTEMPLATEDISAMBIGUATOR # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) # define SWIGTEMPLATEDISAMBIGUATOR template # elif defined(__HP_aCC) /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ # define SWIGTEMPLATEDISAMBIGUATOR template # else # define SWIGTEMPLATEDISAMBIGUATOR # endif #endif /* inline attribute */ #ifndef SWIGINLINE # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) # define SWIGINLINE inline # else # define SWIGINLINE # endif #endif /* attribute recognised by some compilers to avoid 'unused' warnings */ #ifndef SWIGUNUSED # if defined(__GNUC__) # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) # define SWIGUNUSED __attribute__ ((__unused__)) # else # define SWIGUNUSED # endif # elif defined(__ICC) # define SWIGUNUSED __attribute__ ((__unused__)) # else # define SWIGUNUSED # endif #endif #ifndef SWIG_MSC_UNSUPPRESS_4505 # if defined(_MSC_VER) # pragma warning(disable : 4505) /* unreferenced local function has been removed */ # endif #endif #ifndef SWIGUNUSEDPARM # ifdef __cplusplus # define SWIGUNUSEDPARM(p) # else # define SWIGUNUSEDPARM(p) p SWIGUNUSED # endif #endif /* internal SWIG method */ #ifndef SWIGINTERN # define SWIGINTERN static SWIGUNUSED #endif /* internal inline SWIG method */ #ifndef SWIGINTERNINLINE # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif /* exporting methods */ #if defined(__GNUC__) # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) # ifndef GCC_HASCLASSVISIBILITY # define GCC_HASCLASSVISIBILITY # endif # endif #endif #ifndef SWIGEXPORT # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) # if defined(STATIC_LINKED) # define SWIGEXPORT # else # define SWIGEXPORT __declspec(dllexport) # endif # else # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) # define SWIGEXPORT __attribute__ ((visibility("default"))) # else # define SWIGEXPORT # endif # endif #endif /* calling conventions for Windows */ #ifndef SWIGSTDCALL # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) # define SWIGSTDCALL __stdcall # else # define SWIGSTDCALL # endif #endif /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) # define _CRT_SECURE_NO_DEPRECATE #endif /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) # define _SCL_SECURE_NO_DEPRECATE #endif /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */ #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 #endif /* Intel's compiler complains if a variable which was never initialised is * cast to void, which is a common idiom which we use to indicate that we * are aware a variable isn't used. So we just silence that warning. * See: https://github.com/swig/swig/issues/192 for more discussion. */ #ifdef __INTEL_COMPILER # pragma warning disable 592 #endif /* ----------------------------------------------------------------------------- * swigrun.swg * * This file contains generic C API SWIG runtime support for pointer * type checking. * ----------------------------------------------------------------------------- */ /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ #define SWIG_RUNTIME_VERSION "4" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE # define SWIG_QUOTE_STRING(x) #x # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) #else # define SWIG_TYPE_TABLE_NAME #endif /* You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for creating a static or dynamic library from the SWIG runtime code. In 99.9% of the cases, SWIG just needs to declare them as 'static'. But only do this if strictly necessary, ie, if you have problems with your compiler or suchlike. */ #ifndef SWIGRUNTIME # define SWIGRUNTIME SWIGINTERN #endif #ifndef SWIGRUNTIMEINLINE # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif /* Generic buffer size */ #ifndef SWIG_BUFFER_SIZE # define SWIG_BUFFER_SIZE 1024 #endif /* Flags for pointer conversions */ #define SWIG_POINTER_DISOWN 0x1 #define SWIG_CAST_NEW_MEMORY 0x2 #define SWIG_POINTER_NO_NULL 0x4 /* Flags for new pointer objects */ #define SWIG_POINTER_OWN 0x1 /* Flags/methods for returning states. The SWIG conversion methods, as ConvertPtr, return an integer that tells if the conversion was successful or not. And if not, an error code can be returned (see swigerrors.swg for the codes). Use the following macros/flags to set or process the returning states. In old versions of SWIG, code such as the following was usually written: if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { // success code } else { //fail code } Now you can be more explicit: int res = SWIG_ConvertPtr(obj,vptr,ty.flags); if (SWIG_IsOK(res)) { // success code } else { // fail code } which is the same really, but now you can also do Type *ptr; int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); if (SWIG_IsOK(res)) { // success code if (SWIG_IsNewObj(res) { ... delete *ptr; } else { ... } } else { // fail code } I.e., now SWIG_ConvertPtr can return new objects and you can identify the case and take care of the deallocation. Of course that also requires SWIG_ConvertPtr to return new result values, such as int SWIG_ConvertPtr(obj, ptr,...) { if () { if () { *ptr = ; return SWIG_NEWOBJ; } else { *ptr = ; return SWIG_OLDOBJ; } } else { return SWIG_BADOBJ; } } Of course, returning the plain '0(success)/-1(fail)' still works, but you can be more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the SWIG errors code. Finally, if the SWIG_CASTRANK_MODE is enabled, the result code allows to return the 'cast rank', for example, if you have this int food(double) int fooi(int); and you call food(1) // cast rank '1' (1 -> 1.0) fooi(1) // cast rank '0' just use the SWIG_AddCast()/SWIG_CheckState() */ #define SWIG_OK (0) #define SWIG_ERROR (-1) #define SWIG_IsOK(r) (r >= 0) #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) /* The CastRankLimit says how many bits are used for the cast rank */ #define SWIG_CASTRANKLIMIT (1 << 8) /* The NewMask denotes the object was created (using new/malloc) */ #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) /* The TmpMask is for in/out typemaps that use temporal objects */ #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) /* Simple returning values */ #define SWIG_BADOBJ (SWIG_ERROR) #define SWIG_OLDOBJ (SWIG_OK) #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) /* Check, add and del mask methods */ #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) /* Cast-Rank Mode */ #if defined(SWIG_CASTRANK_MODE) # ifndef SWIG_TypeRank # define SWIG_TypeRank unsigned long # endif # ifndef SWIG_MAXCASTRANK /* Default cast allowed */ # define SWIG_MAXCASTRANK (2) # endif # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) SWIGINTERNINLINE int SWIG_AddCast(int r) { return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; } SWIGINTERNINLINE int SWIG_CheckState(int r) { return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; } #else /* no cast-rank mode */ # define SWIG_AddCast(r) (r) # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) #endif #include #ifdef __cplusplus extern "C" { #endif typedef void *(*swig_converter_func)(void *, int *); typedef struct swig_type_info *(*swig_dycast_func)(void **); /* Structure to store information on one type */ typedef struct swig_type_info { const char *name; /* mangled name of this type */ const char *str; /* human readable name of this type */ swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ struct swig_cast_info *cast; /* linked list of types that can cast into this type */ void *clientdata; /* language specific type data */ int owndata; /* flag if the structure owns the clientdata */ } swig_type_info; /* Structure to store a type and conversion function used for casting */ typedef struct swig_cast_info { swig_type_info *type; /* pointer to type that is equivalent to this type */ swig_converter_func converter; /* function to cast the void pointers */ struct swig_cast_info *next; /* pointer to next cast in linked list */ struct swig_cast_info *prev; /* pointer to the previous cast */ } swig_cast_info; /* Structure used to store module information * Each module generates one structure like this, and the runtime collects * all of these structures and stores them in a circularly linked list.*/ typedef struct swig_module_info { swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ size_t size; /* Number of types in this module */ struct swig_module_info *next; /* Pointer to next element in circularly linked list */ swig_type_info **type_initial; /* Array of initially generated type structures */ swig_cast_info **cast_initial; /* Array of initially generated casting structures */ void *clientdata; /* Language specific module data */ } swig_module_info; /* Compare two type names skipping the space characters, therefore "char*" == "char *" and "Class" == "Class", etc. Return 0 when the two name types are equivalent, as in strncmp, but skipping ' '. */ SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2) { for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { while ((*f1 == ' ') && (f1 != l1)) ++f1; while ((*f2 == ' ') && (f2 != l2)) ++f2; if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; } return (int)((l1 - f1) - (l2 - f2)); } /* Check type equivalence in a name list like ||... Return 0 if equal, -1 if nb < tb, 1 if nb > tb */ SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb) { int equiv = 1; const char* te = tb + strlen(tb); const char* ne = nb; while (equiv != 0 && *ne) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } equiv = SWIG_TypeNameComp(nb, ne, tb, te); if (*ne) ++ne; } return equiv; } /* Check type equivalence in a name list like ||... Return 0 if not equal, 1 if equal */ SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb) { return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0; } /* Check the typename */ SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty) { if (ty) { swig_cast_info *iter = ty->cast; while (iter) { if (strcmp(iter->type->name, c) == 0) { if (iter == ty->cast) return iter; /* Move iter to the top of the linked list */ iter->prev->next = iter->next; if (iter->next) iter->next->prev = iter->prev; iter->next = ty->cast; iter->prev = 0; if (ty->cast) ty->cast->prev = iter; ty->cast = iter; return iter; } iter = iter->next; } } return 0; } /* Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison */ SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) { if (ty) { swig_cast_info *iter = ty->cast; while (iter) { if (iter->type == from) { if (iter == ty->cast) return iter; /* Move iter to the top of the linked list */ iter->prev->next = iter->next; if (iter->next) iter->next->prev = iter->prev; iter->next = ty->cast; iter->prev = 0; if (ty->cast) ty->cast->prev = iter; ty->cast = iter; return iter; } iter = iter->next; } } return 0; } /* Cast a pointer up an inheritance hierarchy */ SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) { return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory); } /* Dynamic pointer casting. Down an inheritance hierarchy */ SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { swig_type_info *lastty = ty; if (!ty || !ty->dcast) return ty; while (ty && (ty->dcast)) { ty = (*ty->dcast)(ptr); if (ty) lastty = ty; } return lastty; } /* Return the name associated with this type */ SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty) { return ty->name; } /* Return the pretty name associated with this type, that is an unmangled type name in a form presentable to the user. */ SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type) { /* The "str" field contains the equivalent pretty names of the type, separated by vertical-bar characters. We choose to print the last name, as it is often (?) the most specific. */ if (!type) return NULL; if (type->str != NULL) { const char *last_name = type->str; const char *s; for (s = type->str; *s; s++) if (*s == '|') last_name = s+1; return last_name; } else return type->name; } /* Set the clientdata field for a type */ SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { swig_cast_info *cast = ti->cast; /* if (ti->clientdata == clientdata) return; */ ti->clientdata = clientdata; while (cast) { if (!cast->converter) { swig_type_info *tc = cast->type; if (!tc->clientdata) { SWIG_TypeClientData(tc, clientdata); } } cast = cast->next; } } SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { SWIG_TypeClientData(ti, clientdata); ti->owndata = 1; } /* Search for a swig_type_info structure only by mangled name Search is a O(log #types) We start searching at module start, and finish searching when start == end. Note: if start == end at the beginning of the function, we go all the way around the circular list. */ SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name) { swig_module_info *iter = start; do { if (iter->size) { size_t l = 0; size_t r = iter->size - 1; do { /* since l+r >= 0, we can (>> 1) instead (/ 2) */ size_t i = (l + r) >> 1; const char *iname = iter->types[i]->name; if (iname) { int compare = strcmp(name, iname); if (compare == 0) { return iter->types[i]; } else if (compare < 0) { if (i) { r = i - 1; } else { break; } } else if (compare > 0) { l = i + 1; } } else { break; /* should never happen */ } } while (l <= r); } iter = iter->next; } while (iter != end); return 0; } /* Search for a swig_type_info structure for either a mangled name or a human readable name. It first searches the mangled names of the types, which is a O(log #types) If a type is not found it then searches the human readable names, which is O(#types). We start searching at module start, and finish searching when start == end. Note: if start == end at the beginning of the function, we go all the way around the circular list. */ SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name) { /* STEP 1: Search the name field using binary search */ swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); if (ret) { return ret; } else { /* STEP 2: If the type hasn't been found, do a complete search of the str field (the human readable name) */ swig_module_info *iter = start; do { size_t i = 0; for (; i < iter->size; ++i) { if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) return iter->types[i]; } iter = iter->next; } while (iter != end); } /* neither found a match */ return 0; } /* Pack binary data into a string */ SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz) { static const char hex[17] = "0123456789abcdef"; const unsigned char *u = (unsigned char *) ptr; const unsigned char *eu = u + sz; for (; u != eu; ++u) { unsigned char uu = *u; *(c++) = hex[(uu & 0xf0) >> 4]; *(c++) = hex[uu & 0xf]; } return c; } /* Unpack binary data from a string */ SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) { unsigned char *u = (unsigned char *) ptr; const unsigned char *eu = u + sz; for (; u != eu; ++u) { char d = *(c++); unsigned char uu; if ((d >= '0') && (d <= '9')) uu = (unsigned char)((d - '0') << 4); else if ((d >= 'a') && (d <= 'f')) uu = (unsigned char)((d - ('a'-10)) << 4); else return (char *) 0; d = *(c++); if ((d >= '0') && (d <= '9')) uu |= (unsigned char)(d - '0'); else if ((d >= 'a') && (d <= 'f')) uu |= (unsigned char)(d - ('a'-10)); else return (char *) 0; *u = uu; } return c; } /* Pack 'void *' into a string buffer. */ SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { char *r = buff; if ((2*sizeof(void *) + 2) > bsz) return 0; *(r++) = '_'; r = SWIG_PackData(r,&ptr,sizeof(void *)); if (strlen(name) + 1 > (bsz - (r - buff))) return 0; strcpy(r,name); return buff; } SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { if (*c != '_') { if (strcmp(c,"NULL") == 0) { *ptr = (void *) 0; return name; } else { return 0; } } return SWIG_UnpackData(++c,ptr,sizeof(void *)); } SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { char *r = buff; size_t lname = (name ? strlen(name) : 0); if ((2*sz + 2 + lname) > bsz) return 0; *(r++) = '_'; r = SWIG_PackData(r,ptr,sz); if (lname) { strncpy(r,name,lname+1); } else { *r = 0; } return buff; } SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { if (*c != '_') { if (strcmp(c,"NULL") == 0) { memset(ptr,0,sz); return name; } else { return 0; } } return SWIG_UnpackData(++c,ptr,sz); } #ifdef __cplusplus } #endif /* Errors in SWIG */ #define SWIG_UnknownError -1 #define SWIG_IOError -2 #define SWIG_RuntimeError -3 #define SWIG_IndexError -4 #define SWIG_TypeError -5 #define SWIG_DivisionByZero -6 #define SWIG_OverflowError -7 #define SWIG_SyntaxError -8 #define SWIG_ValueError -9 #define SWIG_SystemError -10 #define SWIG_AttributeError -11 #define SWIG_MemoryError -12 #define SWIG_NullReferenceError -13 #include #if defined(RB_METHOD_DEFINITION_DECL) # define RUBY_VALUE_METHOD_FUNC(func) (func) # define RUBY_INT_METHOD_FUNC(func) (func) # define RUBY_VOID_METHOD_FUNC(func) (func) # define RUBY_VOIDP_METHOD_FUNC(func) (func) #else # define RUBY_VALUE_METHOD_FUNC(func) ((VALUE (*)(ANYARGS))(func)) # define RUBY_INT_METHOD_FUNC(func) ((int (*)(ANYARGS))(func)) # define RUBY_VOID_METHOD_FUNC(func) ((void (*)(ANYARGS))(func)) # define RUBY_VOIDP_METHOD_FUNC(func) ((void *(*)(ANYARGS))(func)) #endif /* Ruby 1.9.1 has a "memoisation optimisation" when compiling with GCC which * breaks using rb_intern as an lvalue, as SWIG does. We work around this * issue for now by disabling this. * https://sourceforge.net/tracker/?func=detail&aid=2859614&group_id=1645&atid=101645 */ #ifdef rb_intern # undef rb_intern #endif /* Remove global macros defined in Ruby's win32.h */ #ifdef write # undef write #endif #ifdef read # undef read #endif #ifdef bind # undef bind #endif #ifdef close # undef close #endif #ifdef connect # undef connect #endif /* Ruby 1.7 defines NUM2LL(), LL2NUM() and ULL2NUM() macros */ #ifndef NUM2LL #define NUM2LL(x) NUM2LONG((x)) #endif #ifndef LL2NUM #define LL2NUM(x) INT2NUM((long) (x)) #endif #ifndef ULL2NUM #define ULL2NUM(x) UINT2NUM((unsigned long) (x)) #endif /* Ruby 1.7 doesn't (yet) define NUM2ULL() */ #ifndef NUM2ULL #ifdef HAVE_LONG_LONG #define NUM2ULL(x) rb_num2ull((x)) #else #define NUM2ULL(x) NUM2ULONG(x) #endif #endif /* RSTRING_LEN, etc are new in Ruby 1.9, but ->ptr and ->len no longer work */ /* Define these for older versions so we can just write code the new way */ #ifndef RSTRING_LEN # define RSTRING_LEN(x) RSTRING(x)->len #endif #ifndef RSTRING_PTR # define RSTRING_PTR(x) RSTRING(x)->ptr #endif #ifndef RSTRING_END # define RSTRING_END(x) (RSTRING_PTR(x) + RSTRING_LEN(x)) #endif #ifndef RARRAY_LEN # define RARRAY_LEN(x) RARRAY(x)->len #endif #ifndef RARRAY_PTR # define RARRAY_PTR(x) RARRAY(x)->ptr #endif #ifndef RFLOAT_VALUE # define RFLOAT_VALUE(x) RFLOAT(x)->value #endif #ifndef DOUBLE2NUM # define DOUBLE2NUM(x) rb_float_new(x) #endif #ifndef RHASH_TBL # define RHASH_TBL(x) (RHASH(x)->tbl) #endif #ifndef RHASH_ITER_LEV # define RHASH_ITER_LEV(x) (RHASH(x)->iter_lev) #endif #ifndef RHASH_IFNONE # define RHASH_IFNONE(x) (RHASH(x)->ifnone) #endif #ifndef RHASH_SIZE # define RHASH_SIZE(x) (RHASH(x)->tbl->num_entries) #endif #ifndef RHASH_EMPTY_P # define RHASH_EMPTY_P(x) (RHASH_SIZE(x) == 0) #endif #ifndef RSTRUCT_LEN # define RSTRUCT_LEN(x) RSTRUCT(x)->len #endif #ifndef RSTRUCT_PTR # define RSTRUCT_PTR(x) RSTRUCT(x)->ptr #endif #ifndef RTYPEDDATA_P # define RTYPEDDATA_P(x) (TYPE(x) != T_DATA) #endif /* * The following macros are used for providing the correct type of a * function pointer to the Ruby C API. * Starting with Ruby 2.7 (corresponding to RB_METHOD_DEFINITION_DECL being * defined) these macros act transparently due to Ruby's moving away from * ANYARGS and instead employing strict function signatures. * * Note: In case of C (not C++) the macros are transparent even before * Ruby 2.7 due to the fact that the Ruby C API used function declarators * with empty parentheses, which allows for an unspecified number of * arguments. * * PROTECTFUNC(f) is used for the function pointer argument of the Ruby * C API function rb_protect(). * * VALUEFUNC(f) is used for the function pointer argument(s) of Ruby C API * functions like rb_define_method() and rb_define_singleton_method(). * * VOIDFUNC(f) is used to typecast a C function that implements either * the "mark" or "free" stuff for a Ruby Data object, so that it can be * passed as an argument to Ruby C API functions like Data_Wrap_Struct() * and Data_Make_Struct(). * * SWIG_RUBY_VOID_ANYARGS_FUNC(f) is used for the function pointer * argument(s) of Ruby C API functions like rb_define_virtual_variable(). * * SWIG_RUBY_INT_ANYARGS_FUNC(f) is used for the function pointer * argument(s) of Ruby C API functions like st_foreach(). */ #if defined(__cplusplus) && !defined(RB_METHOD_DEFINITION_DECL) # define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f) # define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f) # define VOIDFUNC(f) ((RUBY_DATA_FUNC) f) # define SWIG_RUBY_VOID_ANYARGS_FUNC(f) ((void (*)(ANYARGS))(f)) # define SWIG_RUBY_INT_ANYARGS_FUNC(f) ((int (*)(ANYARGS))(f)) #else # define PROTECTFUNC(f) (f) # define VALUEFUNC(f) (f) # define VOIDFUNC(f) (f) # define SWIG_RUBY_VOID_ANYARGS_FUNC(f) (f) # define SWIG_RUBY_INT_ANYARGS_FUNC(f) (f) #endif /* Don't use for expressions have side effect */ #ifndef RB_STRING_VALUE #define RB_STRING_VALUE(s) (TYPE(s) == T_STRING ? (s) : (*(volatile VALUE *)&(s) = rb_str_to_str(s))) #endif #ifndef StringValue #define StringValue(s) RB_STRING_VALUE(s) #endif #ifndef StringValuePtr #define StringValuePtr(s) RSTRING_PTR(RB_STRING_VALUE(s)) #endif #ifndef StringValueLen #define StringValueLen(s) RSTRING_LEN(RB_STRING_VALUE(s)) #endif #ifndef SafeStringValue #define SafeStringValue(v) do {\ StringValue(v);\ rb_check_safe_str(v);\ } while (0) #endif #ifndef HAVE_RB_DEFINE_ALLOC_FUNC #define rb_define_alloc_func(klass, func) rb_define_singleton_method((klass), "new", VALUEFUNC((func)), -1) #define rb_undef_alloc_func(klass) rb_undef_method(CLASS_OF((klass)), "new") #endif static VALUE _mSWIG = Qnil; /* ----------------------------------------------------------------------------- * error manipulation * ----------------------------------------------------------------------------- */ /* Define some additional error types */ #define SWIG_ObjectPreviouslyDeletedError -100 /* Define custom exceptions for errors that do not map to existing Ruby exceptions. Note this only works for C++ since a global cannot be initialized by a function in C. For C, fallback to rb_eRuntimeError.*/ SWIGINTERN VALUE getNullReferenceError(void) { static int init = 0; static VALUE rb_eNullReferenceError ; if (!init) { init = 1; rb_eNullReferenceError = rb_define_class("NullReferenceError", rb_eRuntimeError); } return rb_eNullReferenceError; } SWIGINTERN VALUE getObjectPreviouslyDeletedError(void) { static int init = 0; static VALUE rb_eObjectPreviouslyDeleted ; if (!init) { init = 1; rb_eObjectPreviouslyDeleted = rb_define_class("ObjectPreviouslyDeleted", rb_eRuntimeError); } return rb_eObjectPreviouslyDeleted; } SWIGINTERN VALUE SWIG_Ruby_ErrorType(int SWIG_code) { VALUE type; switch (SWIG_code) { case SWIG_MemoryError: type = rb_eNoMemError; break; case SWIG_IOError: type = rb_eIOError; break; case SWIG_RuntimeError: type = rb_eRuntimeError; break; case SWIG_IndexError: type = rb_eIndexError; break; case SWIG_TypeError: type = rb_eTypeError; break; case SWIG_DivisionByZero: type = rb_eZeroDivError; break; case SWIG_OverflowError: type = rb_eRangeError; break; case SWIG_SyntaxError: type = rb_eSyntaxError; break; case SWIG_ValueError: type = rb_eArgError; break; case SWIG_SystemError: type = rb_eFatal; break; case SWIG_AttributeError: type = rb_eRuntimeError; break; case SWIG_NullReferenceError: type = getNullReferenceError(); break; case SWIG_ObjectPreviouslyDeletedError: type = getObjectPreviouslyDeletedError(); break; case SWIG_UnknownError: type = rb_eRuntimeError; break; default: type = rb_eRuntimeError; } return type; } /* This function is called when a user inputs a wrong argument to a method. */ SWIGINTERN const char* Ruby_Format_TypeError( const char* msg, const char* type, const char* name, const int argn, VALUE input ) { char buf[128]; VALUE str; VALUE asStr; if ( msg && *msg ) { str = rb_str_new2(msg); } else { str = rb_str_new(NULL, 0); } str = rb_str_cat2( str, "Expected argument " ); sprintf( buf, "%d of type ", argn-1 ); str = rb_str_cat2( str, buf ); str = rb_str_cat2( str, type ); str = rb_str_cat2( str, ", but got " ); str = rb_str_cat2( str, rb_obj_classname(input) ); str = rb_str_cat2( str, " " ); asStr = rb_inspect(input); if ( RSTRING_LEN(asStr) > 30 ) { str = rb_str_cat( str, StringValuePtr(asStr), 30 ); str = rb_str_cat2( str, "..." ); } else { str = rb_str_append( str, asStr ); } if ( name ) { str = rb_str_cat2( str, "\n\tin SWIG method '" ); str = rb_str_cat2( str, name ); str = rb_str_cat2( str, "'" ); } return StringValuePtr( str ); } /* This function is called when an overloaded method fails */ SWIGINTERN void Ruby_Format_OverloadedError( const int argc, const int maxargs, const char* method, const char* prototypes ) { const char* msg = "Wrong # of arguments"; if ( argc <= maxargs ) msg = "Wrong arguments"; rb_raise(rb_eArgError,"%s for overloaded method '%s'.\n" "Possible C/C++ prototypes are:\n%s", msg, method, prototypes); } /* ----------------------------------------------------------------------------- * rubytracking.swg * * This file contains support for tracking mappings from * Ruby objects to C++ objects. This functionality is needed * to implement mark functions for Ruby's mark and sweep * garbage collector. * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { #endif #if !defined(ST_DATA_T_DEFINED) /* Needs to be explicitly included for Ruby 1.8 and earlier */ #include #endif /* Ruby 1.8 actually assumes the first case. */ #if SIZEOF_VOIDP == SIZEOF_LONG # define SWIG2NUM(v) LONG2NUM((unsigned long)v) # define NUM2SWIG(x) (unsigned long)NUM2LONG(x) #elif SIZEOF_VOIDP == SIZEOF_LONG_LONG # define SWIG2NUM(v) LL2NUM((unsigned long long)v) # define NUM2SWIG(x) (unsigned long long)NUM2LL(x) #else # error sizeof(void*) is not the same as long or long long #endif /* Global hash table to store Trackings from C/C++ structs to Ruby Objects. */ static st_table* swig_ruby_trackings = NULL; static VALUE swig_ruby_trackings_count(ID id, VALUE *var) { return SWIG2NUM(swig_ruby_trackings->num_entries); } /* Setup a hash table to store Trackings */ SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) { /* Create a hash table to store Trackings from C++ objects to Ruby objects. */ /* Try to see if some other .so has already created a tracking hash table, which we keep hidden in an instance var in the SWIG module. This is done to allow multiple DSOs to share the same tracking table. */ VALUE trackings_value = Qnil; /* change the variable name so that we can mix modules compiled with older SWIG's - this used to be called "@__trackings__" */ ID trackings_id = rb_intern( "@__safetrackings__" ); VALUE verbose = rb_gv_get("VERBOSE"); rb_gv_set("VERBOSE", Qfalse); trackings_value = rb_ivar_get( _mSWIG, trackings_id ); rb_gv_set("VERBOSE", verbose); /* The trick here is that we have to store the hash table pointer in a Ruby variable. We do not want Ruby's GC to treat this pointer as a Ruby object, so we convert it to a Ruby numeric value. */ if (trackings_value == Qnil) { /* No, it hasn't. Create one ourselves */ swig_ruby_trackings = st_init_numtable(); rb_ivar_set( _mSWIG, trackings_id, SWIG2NUM(swig_ruby_trackings) ); } else { swig_ruby_trackings = (st_table*)NUM2SWIG(trackings_value); } rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", VALUEFUNC(swig_ruby_trackings_count), SWIG_RUBY_VOID_ANYARGS_FUNC((rb_gvar_setter_t*)NULL)); } /* Add a Tracking from a C/C++ struct to a Ruby object */ SWIGRUNTIME void SWIG_RubyAddTracking(void* ptr, VALUE object) { /* Store the mapping to the global hash table. */ st_insert(swig_ruby_trackings, (st_data_t)ptr, object); } /* Get the Ruby object that owns the specified C/C++ struct */ SWIGRUNTIME VALUE SWIG_RubyInstanceFor(void* ptr) { /* Now lookup the value stored in the global hash table */ VALUE value; if (st_lookup(swig_ruby_trackings, (st_data_t)ptr, &value)) { return value; } else { return Qnil; } } /* Remove a Tracking from a C/C++ struct to a Ruby object. It is very important to remove objects once they are destroyed since the same memory address may be reused later to create a new object. */ SWIGRUNTIME void SWIG_RubyRemoveTracking(void* ptr) { /* Delete the object from the hash table */ st_delete(swig_ruby_trackings, (st_data_t *)&ptr, NULL); } /* This is a helper method that unlinks a Ruby object from its underlying C++ object. This is needed if the lifetime of the Ruby object is longer than the C++ object. */ SWIGRUNTIME void SWIG_RubyUnlinkObjects(void* ptr) { VALUE object = SWIG_RubyInstanceFor(ptr); if (object != Qnil) { // object might have the T_ZOMBIE type, but that's just // because the GC has flagged it as such for a deferred // destruction. Until then, it's still a T_DATA object. DATA_PTR(object) = 0; } } /* This is a helper method that iterates over all the trackings passing the C++ object pointer and its related Ruby object to the passed callback function. */ /* Proxy method to abstract the internal trackings datatype */ static int swig_ruby_internal_iterate_callback(st_data_t ptr, st_data_t obj, st_data_t meth) { ((void (*) (void *, VALUE))meth)((void *)ptr, (VALUE)obj); return ST_CONTINUE; } SWIGRUNTIME void SWIG_RubyIterateTrackings( void(*meth)(void* ptr, VALUE obj) ) { st_foreach(swig_ruby_trackings, SWIG_RUBY_INT_ANYARGS_FUNC(swig_ruby_internal_iterate_callback), (st_data_t)meth); } #ifdef __cplusplus } #endif /* ----------------------------------------------------------------------------- * Ruby API portion that goes into the runtime * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { #endif SWIGINTERN VALUE SWIG_Ruby_AppendOutput(VALUE target, VALUE o) { if (NIL_P(target)) { target = o; } else { if (TYPE(target) != T_ARRAY) { VALUE o2 = target; target = rb_ary_new(); rb_ary_push(target, o2); } rb_ary_push(target, o); } return target; } /* For ruby1.8.4 and earlier. */ #ifndef RUBY_INIT_STACK RUBY_EXTERN void Init_stack(VALUE* addr); # define RUBY_INIT_STACK \ VALUE variable_in_this_stack_frame; \ Init_stack(&variable_in_this_stack_frame); #endif #ifdef __cplusplus } #endif /* ----------------------------------------------------------------------------- * rubyrun.swg * * This file contains the runtime support for Ruby modules * and includes code for managing global variables and pointer * type checking. * ----------------------------------------------------------------------------- */ /* For backward compatibility only */ #define SWIG_POINTER_EXCEPTION 0 /* for raw pointers */ #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, 0) #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, own) #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Ruby_NewPointerObj(ptr, type, flags) #define SWIG_AcquirePtr(ptr, own) SWIG_Ruby_AcquirePtr(ptr, own) #define swig_owntype swig_ruby_owntype /* for raw packed data */ #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty, flags) #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Ruby_NewPackedObj(ptr, sz, type) /* for class or struct pointers */ #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) /* for C or C++ function pointers */ #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0) #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0) /* for C++ member pointers, ie, member methods */ #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty) #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Ruby_NewPackedObj(ptr, sz, type) /* Runtime API */ #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata) #define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer) /* Error manipulation */ #define SWIG_ErrorType(code) SWIG_Ruby_ErrorType(code) #define SWIG_Error(code, msg) rb_raise(SWIG_Ruby_ErrorType(code), "%s", msg) #define SWIG_fail goto fail /* Ruby-specific SWIG API */ #define SWIG_InitRuntime() SWIG_Ruby_InitRuntime() #define SWIG_define_class(ty) SWIG_Ruby_define_class(ty) #define SWIG_NewClassInstance(value, ty) SWIG_Ruby_NewClassInstance(value, ty) #define SWIG_MangleStr(value) SWIG_Ruby_MangleStr(value) #define SWIG_CheckConvert(value, ty) SWIG_Ruby_CheckConvert(value, ty) #include "assert.h" /* ----------------------------------------------------------------------------- * pointers/data manipulation * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { #endif typedef struct { VALUE klass; VALUE mImpl; void (*mark)(void *); void (*destroy)(void *); int trackObjects; } swig_class; /* Global pointer used to keep some internal SWIG stuff */ static VALUE _cSWIG_Pointer = Qnil; static VALUE swig_runtime_data_type_pointer = Qnil; /* Global IDs used to keep some internal SWIG stuff */ static ID swig_arity_id = 0; static ID swig_call_id = 0; /* If your swig extension is to be run within an embedded ruby and has director callbacks, you should set -DRUBY_EMBEDDED during compilation. This will reset ruby's stack frame on each entry point from the main program the first time a virtual director function is invoked (in a non-recursive way). If this is not done, you run the risk of Ruby trashing the stack. */ #ifdef RUBY_EMBEDDED # define SWIG_INIT_STACK \ if ( !swig_virtual_calls ) { RUBY_INIT_STACK } \ ++swig_virtual_calls; # define SWIG_RELEASE_STACK --swig_virtual_calls; # define Ruby_DirectorTypeMismatchException(x) \ rb_raise( rb_eTypeError, "%s", x ); return c_result; static unsigned int swig_virtual_calls = 0; #else /* normal non-embedded extension */ # define SWIG_INIT_STACK # define SWIG_RELEASE_STACK # define Ruby_DirectorTypeMismatchException(x) \ throw Swig::DirectorTypeMismatchException( x ); #endif /* RUBY_EMBEDDED */ SWIGRUNTIME VALUE getExceptionClass(void) { static int init = 0; static VALUE rubyExceptionClass ; if (!init) { init = 1; rubyExceptionClass = rb_const_get(_mSWIG, rb_intern("Exception")); } return rubyExceptionClass; } /* This code checks to see if the Ruby object being raised as part of an exception inherits from the Ruby class Exception. If so, the object is simply returned. If not, then a new Ruby exception object is created and that will be returned to Ruby.*/ SWIGRUNTIME VALUE SWIG_Ruby_ExceptionType(swig_type_info *desc, VALUE obj) { VALUE exceptionClass = getExceptionClass(); if (rb_obj_is_kind_of(obj, exceptionClass)) { return obj; } else { return rb_exc_new3(rb_eRuntimeError, rb_obj_as_string(obj)); } } /* Initialize Ruby runtime support */ SWIGRUNTIME void SWIG_Ruby_InitRuntime(void) { if (_mSWIG == Qnil) { _mSWIG = rb_define_module("SWIG"); swig_call_id = rb_intern("call"); swig_arity_id = rb_intern("arity"); } } /* Define Ruby class for C type */ SWIGRUNTIME void SWIG_Ruby_define_class(swig_type_info *type) { char *klass_name = (char *) malloc(4 + strlen(type->name) + 1); sprintf(klass_name, "TYPE%s", type->name); if (NIL_P(_cSWIG_Pointer)) { _cSWIG_Pointer = rb_define_class_under(_mSWIG, "Pointer", rb_cObject); rb_undef_method(CLASS_OF(_cSWIG_Pointer), "new"); } rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer); free((void *) klass_name); } /* Create a new pointer object */ SWIGRUNTIME VALUE SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags) { int own = flags & SWIG_POINTER_OWN; int track; char *klass_name; swig_class *sklass; VALUE klass; VALUE obj; if (!ptr) return Qnil; assert(type); if (type->clientdata) { sklass = (swig_class *) type->clientdata; /* Are we tracking this class and have we already returned this Ruby object? */ track = sklass->trackObjects; if (track) { obj = SWIG_RubyInstanceFor(ptr); /* Check the object's type and make sure it has the correct type. It might not in cases where methods do things like downcast methods. */ if (obj != Qnil) { VALUE value = rb_iv_get(obj, "@__swigtype__"); const char* type_name = RSTRING_PTR(value); if (strcmp(type->name, type_name) == 0) { return obj; } } } /* Create a new Ruby object */ obj = Data_Wrap_Struct(sklass->klass, VOIDFUNC(sklass->mark), ( own ? VOIDFUNC(sklass->destroy) : (track ? VOIDFUNC(SWIG_RubyRemoveTracking) : 0 ) ), ptr); /* If tracking is on for this class then track this object. */ if (track) { SWIG_RubyAddTracking(ptr, obj); } } else { klass_name = (char *) malloc(4 + strlen(type->name) + 1); sprintf(klass_name, "TYPE%s", type->name); klass = rb_const_get(_mSWIG, rb_intern(klass_name)); free((void *) klass_name); obj = Data_Wrap_Struct(klass, 0, 0, ptr); } rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name)); return obj; } /* Create a new class instance (always owned) */ SWIGRUNTIME VALUE SWIG_Ruby_NewClassInstance(VALUE klass, swig_type_info *type) { VALUE obj; swig_class *sklass = (swig_class *) type->clientdata; obj = Data_Wrap_Struct(klass, VOIDFUNC(sklass->mark), VOIDFUNC(sklass->destroy), 0); rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name)); return obj; } /* Get type mangle from class name */ SWIGRUNTIMEINLINE char * SWIG_Ruby_MangleStr(VALUE obj) { VALUE stype = rb_iv_get(obj, "@__swigtype__"); return StringValuePtr(stype); } /* Acquire a pointer value */ typedef struct { void (*datafree)(void *); int own; } swig_ruby_owntype; SWIGRUNTIME swig_ruby_owntype SWIG_Ruby_AcquirePtr(VALUE obj, swig_ruby_owntype own) { swig_ruby_owntype oldown = {0, 0}; if (TYPE(obj) == T_DATA && !RTYPEDDATA_P(obj)) { oldown.datafree = RDATA(obj)->dfree; RDATA(obj)->dfree = own.datafree; } return oldown; } /* Convert a pointer value */ SWIGRUNTIME int SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags, swig_ruby_owntype *own) { char *c; swig_cast_info *tc; void *vptr = 0; /* Grab the pointer */ if (NIL_P(obj)) { if (ptr) *ptr = 0; return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK; } else { if (TYPE(obj) != T_DATA || (TYPE(obj) == T_DATA && RTYPEDDATA_P(obj))) { return SWIG_ERROR; } Data_Get_Struct(obj, void, vptr); } if (own) { own->datafree = RDATA(obj)->dfree; own->own = 0; } /* Check to see if the input object is giving up ownership of the underlying C struct or C++ object. If so then we need to reset the destructor since the Ruby object no longer owns the underlying C++ object.*/ if (flags & SWIG_POINTER_DISOWN) { /* Is tracking on for this class? */ int track = 0; if (ty && ty->clientdata) { swig_class *sklass = (swig_class *) ty->clientdata; track = sklass->trackObjects; } if (track) { /* We are tracking objects for this class. Thus we change the destructor * to SWIG_RubyRemoveTracking. This allows us to * remove the mapping from the C++ to Ruby object * when the Ruby object is garbage collected. If we don't * do this, then it is possible we will return a reference * to a Ruby object that no longer exists thereby crashing Ruby. */ RDATA(obj)->dfree = SWIG_RubyRemoveTracking; } else { RDATA(obj)->dfree = 0; } } /* Do type-checking if type info was provided */ if (ty) { if (ty->clientdata) { if (rb_obj_is_kind_of(obj, ((swig_class *) (ty->clientdata))->klass)) { if (vptr == 0) { /* The object has already been deleted */ return SWIG_ObjectPreviouslyDeletedError; } } } if ((c = SWIG_MangleStr(obj)) == NULL) { return SWIG_ERROR; } tc = SWIG_TypeCheck(c, ty); if (!tc) { return SWIG_ERROR; } else { if (ptr) { if (tc->type == ty) { *ptr = vptr; } else { int newmemory = 0; *ptr = SWIG_TypeCast(tc, vptr, &newmemory); if (newmemory == SWIG_CAST_NEW_MEMORY) { assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */ if (own) own->own = own->own | SWIG_CAST_NEW_MEMORY; } } } } } else { if (ptr) *ptr = vptr; } return SWIG_OK; } /* Check convert */ SWIGRUNTIMEINLINE int SWIG_Ruby_CheckConvert(VALUE obj, swig_type_info *ty) { char *c = SWIG_MangleStr(obj); if (!c) return 0; return SWIG_TypeCheck(c,ty) != 0; } SWIGRUNTIME VALUE SWIG_Ruby_NewPackedObj(void *ptr, int sz, swig_type_info *type) { char result[1024]; char *r = result; if ((2*sz + 1 + strlen(type->name)) > 1000) return 0; *(r++) = '_'; r = SWIG_PackData(r, ptr, sz); strcpy(r, type->name); return rb_str_new2(result); } /* Convert a packed pointer value */ SWIGRUNTIME int SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) { swig_cast_info *tc; const char *c; if (TYPE(obj) != T_STRING) goto type_error; c = StringValuePtr(obj); /* Pointer values must start with leading underscore */ if (*c != '_') goto type_error; c++; c = SWIG_UnpackData(c, ptr, sz); if (ty) { tc = SWIG_TypeCheck(c, ty); if (!tc) goto type_error; } return SWIG_OK; type_error: return SWIG_ERROR; } SWIGRUNTIME swig_module_info * SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata)) { VALUE pointer; swig_module_info *ret = 0; VALUE verbose = rb_gv_get("VERBOSE"); /* temporarily disable warnings, since the pointer check causes warnings with 'ruby -w' */ rb_gv_set("VERBOSE", Qfalse); /* first check if pointer already created */ pointer = rb_gv_get("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME); if (pointer != Qnil) { Data_Get_Struct(pointer, swig_module_info, ret); } /* reinstate warnings */ rb_gv_set("VERBOSE", verbose); return ret; } SWIGRUNTIME void SWIG_Ruby_SetModule(swig_module_info *pointer) { /* register a new class */ VALUE cl = rb_define_class("swig_runtime_data", rb_cObject); /* create and store the structure pointer to a global variable */ swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer); rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer); } /* This function can be used to check whether a proc or method or similarly callable function has been passed. Usually used in a %typecheck, like: %typecheck(c_callback_t, precedence=SWIG_TYPECHECK_POINTER) { $result = SWIG_Ruby_isCallable( $input ); } */ SWIGINTERN int SWIG_Ruby_isCallable( VALUE proc ) { if ( rb_respond_to( proc, swig_call_id ) ) return 1; return 0; } /* This function can be used to check the arity (number of arguments) a proc or method can take. Usually used in a %typecheck. Valid arities will be that equal to minimal or those < 0 which indicate a variable number of parameters at the end. */ SWIGINTERN int SWIG_Ruby_arity( VALUE proc, int minimal ) { if ( rb_respond_to( proc, swig_arity_id ) ) { VALUE num = rb_funcall( proc, swig_arity_id, 0 ); int arity = NUM2INT(num); if ( arity < 0 && (arity+1) < -minimal ) return 1; if ( arity == minimal ) return 1; return 1; } return 0; } #ifdef __cplusplus } #endif #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else #define SWIG_exception(code, msg) do { SWIG_Error(code, msg);; } while(0) /* -------- TYPES TABLE (BEGIN) -------- */ #define SWIGTYPE_p_FX4Splitter swig_types[0] #define SWIGTYPE_p_FX7Segment swig_types[1] #define SWIGTYPE_p_FXAccelTable swig_types[2] #define SWIGTYPE_p_FXApp swig_types[3] #define SWIGTYPE_p_FXArrowButton swig_types[4] #define SWIGTYPE_p_FXBitmap swig_types[5] #define SWIGTYPE_p_FXBitmapFrame swig_types[6] #define SWIGTYPE_p_FXButton swig_types[7] #define SWIGTYPE_p_FXCURCursor swig_types[8] #define SWIGTYPE_p_FXCanvas swig_types[9] #define SWIGTYPE_p_FXColorBar swig_types[10] #define SWIGTYPE_p_FXColorRing swig_types[11] #define SWIGTYPE_p_FXColorSelector swig_types[12] #define SWIGTYPE_p_FXColorWell swig_types[13] #define SWIGTYPE_p_FXColorWheel swig_types[14] #define SWIGTYPE_p_FXComboBox swig_types[15] #define SWIGTYPE_p_FXComposite swig_types[16] #define SWIGTYPE_p_FXCursor swig_types[17] #define SWIGTYPE_p_FXDataTarget swig_types[18] #define SWIGTYPE_p_FXDebugTarget swig_types[19] #define SWIGTYPE_p_FXDelegator swig_types[20] #define SWIGTYPE_p_FXDial swig_types[21] #define SWIGTYPE_p_FXDict swig_types[22] #define SWIGTYPE_p_FXDirBox swig_types[23] #define SWIGTYPE_p_FXDirSelector swig_types[24] #define SWIGTYPE_p_FXDockBar swig_types[25] #define SWIGTYPE_p_FXDockHandler swig_types[26] #define SWIGTYPE_p_FXDockSite swig_types[27] #define SWIGTYPE_p_FXDockTitle swig_types[28] #define SWIGTYPE_p_FXDocument swig_types[29] #define SWIGTYPE_p_FXDragCorner swig_types[30] #define SWIGTYPE_p_FXDrawable swig_types[31] #define SWIGTYPE_p_FXDriveBox swig_types[32] #define SWIGTYPE_p_FXFileDict swig_types[33] #define SWIGTYPE_p_FXFileSelector swig_types[34] #define SWIGTYPE_p_FXFileStream swig_types[35] #define SWIGTYPE_p_FXFont swig_types[36] #define SWIGTYPE_p_FXFontDesc swig_types[37] #define SWIGTYPE_p_FXFontSelector swig_types[38] #define SWIGTYPE_p_FXFrame swig_types[39] #define SWIGTYPE_p_FXGIFCursor swig_types[40] #define SWIGTYPE_p_FXGradientBar swig_types[41] #define SWIGTYPE_p_FXGroupBox swig_types[42] #define SWIGTYPE_p_FXHeader swig_types[43] #define SWIGTYPE_p_FXHeaderItem swig_types[44] #define SWIGTYPE_p_FXHorizontalFrame swig_types[45] #define SWIGTYPE_p_FXHorizontalSeparator swig_types[46] #define SWIGTYPE_p_FXIcon swig_types[47] #define SWIGTYPE_p_FXIconDict swig_types[48] #define SWIGTYPE_p_FXId swig_types[49] #define SWIGTYPE_p_FXImage swig_types[50] #define SWIGTYPE_p_FXImageFrame swig_types[51] #define SWIGTYPE_p_FXImageView swig_types[52] #define SWIGTYPE_p_FXKnob swig_types[53] #define SWIGTYPE_p_FXListBox swig_types[54] #define SWIGTYPE_p_FXListItem swig_types[55] #define SWIGTYPE_p_FXMainWindow swig_types[56] #define SWIGTYPE_p_FXMatrix swig_types[57] #define SWIGTYPE_p_FXMemoryStream swig_types[58] #define SWIGTYPE_p_FXObject swig_types[59] #define SWIGTYPE_p_FXPacker swig_types[60] #define SWIGTYPE_p_FXPopup swig_types[61] #define SWIGTYPE_p_FXProgressBar swig_types[62] #define SWIGTYPE_p_FXRealSlider swig_types[63] #define SWIGTYPE_p_FXRealSpinner swig_types[64] #define SWIGTYPE_p_FXRecentFiles swig_types[65] #define SWIGTYPE_p_FXRegion swig_types[66] #define SWIGTYPE_p_FXRegistry swig_types[67] #define SWIGTYPE_p_FXRootWindow swig_types[68] #define SWIGTYPE_p_FXRuler swig_types[69] #define SWIGTYPE_p_FXRulerView swig_types[70] #define SWIGTYPE_p_FXScrollArea swig_types[71] #define SWIGTYPE_p_FXScrollBar swig_types[72] #define SWIGTYPE_p_FXScrollCorner swig_types[73] #define SWIGTYPE_p_FXScrollWindow swig_types[74] #define SWIGTYPE_p_FXSeparator swig_types[75] #define SWIGTYPE_p_FXSettings swig_types[76] #define SWIGTYPE_p_FXShell swig_types[77] #define SWIGTYPE_p_FXShutter swig_types[78] #define SWIGTYPE_p_FXShutterItem swig_types[79] #define SWIGTYPE_p_FXSlider swig_types[80] #define SWIGTYPE_p_FXSpinner swig_types[81] #define SWIGTYPE_p_FXSplashWindow swig_types[82] #define SWIGTYPE_p_FXSplitter swig_types[83] #define SWIGTYPE_p_FXSpring swig_types[84] #define SWIGTYPE_p_FXStatusBar swig_types[85] #define SWIGTYPE_p_FXStatusLine swig_types[86] #define SWIGTYPE_p_FXStream swig_types[87] #define SWIGTYPE_p_FXStringDict swig_types[88] #define SWIGTYPE_p_FXSwitcher swig_types[89] #define SWIGTYPE_p_FXTabBar swig_types[90] #define SWIGTYPE_p_FXTabBook swig_types[91] #define SWIGTYPE_p_FXTextField swig_types[92] #define SWIGTYPE_p_FXToolBar swig_types[93] #define SWIGTYPE_p_FXToolBarGrip swig_types[94] #define SWIGTYPE_p_FXToolBarShell swig_types[95] #define SWIGTYPE_p_FXToolBarTab swig_types[96] #define SWIGTYPE_p_FXToolTip swig_types[97] #define SWIGTYPE_p_FXTopWindow swig_types[98] #define SWIGTYPE_p_FXTranslator swig_types[99] #define SWIGTYPE_p_FXTreeItem swig_types[100] #define SWIGTYPE_p_FXTreeListBox swig_types[101] #define SWIGTYPE_p_FXVerticalFrame swig_types[102] #define SWIGTYPE_p_FXVerticalSeparator swig_types[103] #define SWIGTYPE_p_FXVisual swig_types[104] #define SWIGTYPE_p_FXWindow swig_types[105] #define SWIGTYPE_p_char swig_types[106] #define SWIGTYPE_p_double swig_types[107] #define SWIGTYPE_p_float swig_types[108] #define SWIGTYPE_p_int swig_types[109] #define SWIGTYPE_p_long swig_types[110] #define SWIGTYPE_p_short swig_types[111] #define SWIGTYPE_p_unsigned_char swig_types[112] #define SWIGTYPE_p_unsigned_int swig_types[113] #define SWIGTYPE_p_unsigned_long swig_types[114] #define SWIGTYPE_p_unsigned_short swig_types[115] static swig_type_info *swig_types[117]; static swig_module_info swig_module = {swig_types, 116, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) /* -------- TYPES TABLE (END) -------- */ #define SWIG_init Init_ui #define SWIG_name "Ui" #define SWIG_RUBY_THREAD_BEGIN_BLOCK #define SWIG_RUBY_THREAD_END_BLOCK #define SWIGVERSION 0x040001 #define SWIG_VERSION SWIGVERSION #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) #include #include "FXRbCommon.h" inline FXColor to_FXColor(VALUE obj){ if(TYPE(obj)==T_STRING){ return fxcolorfromname(StringValuePtr(obj)); } else if(TYPE(obj)==T_SYMBOL){ return fxcolorfromname(rb_id2name(SYM2ID(obj))); } else{ return NUM2ULONG(obj); } } inline FXString to_FXString(VALUE obj){ if(!NIL_P(obj)){ Check_Type(obj,T_STRING); return FXString(StringValuePtr(obj)); } else{ return FXString::null; } } inline FXbool to_FXbool(VALUE obj){ if (obj == Qtrue || obj == Qfalse){ return (obj == Qtrue) ? TRUE : FALSE; } else{ return static_cast(NUM2UINT(obj)); } } static swig_type_info* FXEventTypeInfo=0; inline void* to_FXEvent(VALUE obj){ void* ptr; if(!FXEventTypeInfo){ FXEventTypeInfo=SWIG_TypeQuery("FXEvent *"); FXASSERT(FXEventTypeInfo!=0); } SWIG_ConvertPtr(obj,&ptr,FXEventTypeInfo,1); return ptr; } #include #if !defined(SWIG_NO_LLONG_MAX) # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__) # define LLONG_MAX __LONG_LONG_MAX__ # define LLONG_MIN (-LLONG_MAX - 1LL) # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) # endif #endif #define SWIG_From_long LONG2NUM SWIGINTERNINLINE VALUE SWIG_From_int (int value) { return SWIG_From_long (value); } SWIGINTERN FX7Segment *new_FX7Segment(FXComposite *p,FXString const &text,FXuint opts=SEVENSEGMENT_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){ return new FXRb7Segment(p,text,opts,x,y,w,h,pl,pr,pt,pb); } SWIGINTERNINLINE VALUE SWIG_From_unsigned_SS_long (unsigned long value) { return ULONG2NUM(value); } SWIGINTERNINLINE VALUE SWIG_From_unsigned_SS_int (unsigned int value) { return SWIG_From_unsigned_SS_long (value); } SWIGINTERNINLINE VALUE SWIG_From_bool (bool value) { return value ? Qtrue : Qfalse; } SWIGINTERN swig_type_info* SWIG_pchar_descriptor(void) { static int init = 0; static swig_type_info* info = 0; if (!init) { info = SWIG_TypeQuery("_p_char"); init = 1; } return info; } SWIGINTERN int SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc) { if (TYPE(obj) == T_STRING) { char *cstr = StringValuePtr(obj); size_t size = RSTRING_LEN(obj) + 1; if (cptr) { if (alloc) { if (*alloc == SWIG_NEWOBJ) { *cptr = reinterpret_cast< char* >(memcpy(new char[size], cstr, sizeof(char)*(size))); } else { *cptr = cstr; *alloc = SWIG_OLDOBJ; } } } if (psize) *psize = size; return SWIG_OK; } else { swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); if (pchar_descriptor) { void* vptr = 0; if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) { if (cptr) *cptr = (char *)vptr; if (psize) *psize = vptr ? (strlen((char*)vptr) + 1) : 0; if (alloc) *alloc = SWIG_OLDOBJ; return SWIG_OK; } } } return SWIG_TypeError; } SWIGINTERNINLINE VALUE SWIG_FromCharPtrAndSize(const char* carray, size_t size) { if (carray) { if (size > LONG_MAX) { swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); return pchar_descriptor ? SWIG_NewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : Qnil; } else { return rb_str_new(carray, static_cast< long >(size)); } } else { return Qnil; } } SWIGINTERNINLINE VALUE SWIG_FromCharPtr(const char *cptr) { return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); } SWIGINTERN FXSpinner *new_FXSpinner(FXComposite *p,FXint cols,FXObject *tgt=0,FXSelector sel=0,FXuint opts=SPIN_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){ return new FXRbSpinner(p,cols,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb); } SWIGINTERN void FXSpinner_setRange(FXSpinner *self,VALUE range,FXbool notify=0){ FXint lo,hi; FXRbRange2LoHi(range,lo,hi); self->setRange(lo,hi); } SWIGINTERN VALUE FXSpinner_getRange(FXSpinner const *self){ FXint lo,hi; self->getRange(lo,hi); return rb_range_new(INT2NUM(lo),INT2NUM(hi),0); } SWIGINTERN FXRealSpinner *new_FXRealSpinner(FXComposite *p,FXint cols,FXObject *tgt=0,FXSelector sel=0,FXuint opts=REALSPIN_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){ return new FXRbRealSpinner(p,cols,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb); } SWIGINTERN VALUE SWIG_ruby_failed(VALUE SWIGUNUSEDPARM(arg1), VALUE SWIGUNUSEDPARM(arg2)) { return Qnil; } /*@SWIG:/usr/share/swig4.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE arg) { VALUE *args = (VALUE *)arg; VALUE obj = args[0]; VALUE type = TYPE(obj); double *res = (double *)(args[1]); *res = NUM2DBL(obj); (void)type; return obj; } /*@SWIG@*/ SWIGINTERN int SWIG_AsVal_double (VALUE obj, double *val) { VALUE type = TYPE(obj); if ((type == T_FLOAT) || (type == T_FIXNUM) || (type == T_BIGNUM)) { double v; VALUE a[2]; a[0] = obj; a[1] = (VALUE)(&v); if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2DBL), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) { if (val) *val = v; return SWIG_OK; } } return SWIG_TypeError; } #define SWIG_From_double rb_float_new SWIGINTERN void FXRealSpinner_setRange(FXRealSpinner *self,VALUE range,FXbool notify=0){ FXdouble lo,hi; FXRbRange2LoHi(range,lo,hi); self->setRange(lo,hi); } SWIGINTERN VALUE FXRealSpinner_getRange(FXRealSpinner const *self){ FXdouble lo,hi; self->getRange(lo,hi); return rb_range_new(rb_float_new(lo),rb_float_new(hi),0); } SWIGINTERN FXCanvas *new_FXCanvas(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=FRAME_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbCanvas(p,tgt,sel,opts,x,y,w,h); } static swig_type_info *FXCanvas_dynamic_cast(void **ptr) { FXCanvas **ppCanvas = reinterpret_cast(ptr); FXGLCanvas *pGLCanvas=dynamic_cast(*ppCanvas); if(pGLCanvas){ *ptr=reinterpret_cast(pGLCanvas); return SWIG_TypeQuery("FXGLCanvas *"); } return 0; } SWIGINTERN FXToolTip *new_FXToolTip(FXApp *a,FXuint opts=TOOLTIP_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbToolTip(a,opts,x,y,w,h); } SWIGINTERN FXDockBar *new_FXDockBar__SWIG_0(FXComposite *p,FXComposite *q,FXuint opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=3,FXint pr=3,FXint pt=2,FXint pb=2,FXint hs=DEFAULT_SPACING,FXint vs=DEFAULT_SPACING){ return new FXRbDockBar(p,q,opts,x,y,w,h,pl,pr,pt,pb,hs,vs); } SWIGINTERN FXDockBar *new_FXDockBar__SWIG_1(FXComposite *p,FXuint opts,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=2,FXint pr=3,FXint pt=3,FXint pb=2,FXint hs=DEFAULT_SPACING,FXint vs=DEFAULT_SPACING){ return new FXRbDockBar(p,opts,x,y,w,h,pl,pr,pt,pb,hs,vs); } SWIGINTERNINLINE VALUE SWIG_From_unsigned_SS_char (unsigned char value) { return SWIG_From_unsigned_SS_long (value); } static swig_type_info *FXDockBar_dynamic_cast(void **ptr) { FXDockBar **ppDockBar = reinterpret_cast(ptr); FXToolBar *pToolBar=dynamic_cast(*ppDockBar); if(pToolBar){ *ptr=reinterpret_cast(pToolBar); return SWIG_TypeQuery("FXToolBar *"); } return 0; } SWIGINTERN FXToolBar *new_FXToolBar__SWIG_0(FXComposite *p,FXComposite *q,FXuint opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=3,FXint pr=3,FXint pt=2,FXint pb=2,FXint hs=DEFAULT_SPACING,FXint vs=DEFAULT_SPACING){ return new FXRbToolBar(p,q,opts,x,y,w,h,pl,pr,pt,pb,hs,vs); } SWIGINTERN FXToolBar *new_FXToolBar__SWIG_1(FXComposite *p,FXuint opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=2,FXint pr=3,FXint pt=3,FXint pb=2,FXint hs=DEFAULT_SPACING,FXint vs=DEFAULT_SPACING){ return new FXRbToolBar(p,opts,x,y,w,h,pl,pr,pt,pb,hs,vs); } SWIGINTERN FXTabBar *new_FXTabBar(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=TABBOOK_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_SPACING,FXint pr=DEFAULT_SPACING,FXint pt=DEFAULT_SPACING,FXint pb=DEFAULT_SPACING){ return new FXRbTabBar(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb); } static swig_type_info *FXTabBar_dynamic_cast(void **ptr) { FXTabBar **ppTabBar = reinterpret_cast(ptr); FXTabBook *pTabBook=dynamic_cast(*ppTabBar); if(pTabBook){ *ptr=reinterpret_cast(pTabBook); return SWIG_TypeQuery("FXTabBook *"); } return 0; } SWIGINTERN FXTabBook *new_FXTabBook(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=TABBOOK_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_SPACING,FXint pr=DEFAULT_SPACING,FXint pt=DEFAULT_SPACING,FXint pb=DEFAULT_SPACING){ return new FXRbTabBook(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb); } SWIGINTERN FXScrollBar *new_FXScrollBar(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=SCROLLBAR_VERTICAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbScrollBar(p,tgt,sel,opts,x,y,w,h); } SWIGINTERN FXint FXScrollBar_position__SWIG_0(FXScrollBar const *self){ return self->getPosition(); } SWIGINTERN FXScrollCorner *new_FXScrollCorner(FXComposite *p){ return new FXRbScrollCorner(p); } SWIGINTERN FXComboBox *new_FXComboBox(FXComposite *p,FXint cols,FXObject *tgt=0,FXSelector sel=0,FXuint opts=COMBOBOX_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){ return new FXRbComboBox(p,cols,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb); } SWIGINTERN void FXComboBox_setItemData(FXComboBox *self,FXint index,VALUE ptr){ self->setItemData(index, (void*) ptr); } SWIGINTERN VALUE FXComboBox_getItemData(FXComboBox const *self,FXint index){ return self->getItemData(index) ? (VALUE) self->getItemData(index) : Qnil; } SWIGINTERN FXListBox *new_FXListBox(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){ return new FXRbListBox(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb); } SWIGINTERN void FXListBox_setItemData(FXListBox *self,FXint index,VALUE ptr){ self->setItemData(index, (void*) ptr); } SWIGINTERN VALUE FXListBox_getItemData(FXListBox const *self,FXint index){ return self->getItemData(index) ? (VALUE) self->getItemData(index) : Qnil; } static swig_type_info *FXListBox_dynamic_cast(void **ptr) { FXListBox **ppListBox = reinterpret_cast(ptr); FXDriveBox *pDriveBox=dynamic_cast(*ppListBox); if(pDriveBox){ *ptr=reinterpret_cast(pDriveBox); return SWIG_TypeQuery("FXDriveBox *"); } return 0; } SWIGINTERN FXTreeListBox *new_FXTreeListBox(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=FRAME_SUNKEN|FRAME_THICK|TREELISTBOX_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){ return new FXRbTreeListBox(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb); } SWIGINTERN FXTreeItem *FXTreeListBox_insertItem__SWIG_0(FXTreeListBox *self,FXTreeItem *other,FXTreeItem *father,FXTreeItem *item){ if(item->isMemberOf(FXMETACLASS(FXRbTreeItem))){ dynamic_cast(item)->owned=1; } return self->insertItem(other,father,item); } SWIGINTERN FXTreeItem *FXTreeListBox_appendItem__SWIG_0(FXTreeListBox *self,FXTreeItem *father,FXTreeItem *item){ if(item->isMemberOf(FXMETACLASS(FXRbTreeItem))){ dynamic_cast(item)->owned=1; } return self->appendItem(father,item); } SWIGINTERN FXTreeItem *FXTreeListBox_prependItem__SWIG_0(FXTreeListBox *self,FXTreeItem *father,FXTreeItem *item){ if(item->isMemberOf(FXMETACLASS(FXRbTreeItem))){ dynamic_cast(item)->owned=1; } return self->prependItem(father,item); } SWIGINTERN void FXTreeListBox_removeItem(FXTreeListBox *self,FXTreeItem *item){ // Save pointer(s) to the soon-to-be-destroyed items FXObjectListOf items; FXRbTreeList::enumerateItem(item,items); // Do the deed self->removeItem(item); // Now zero-out pointers held by still-alive Ruby objects for(FXint i=0;i items; FXRbTreeList::enumerateItems(fm,to,items); // Do the deed self->removeItems(fm,to); // Now zero-out pointers held by still-alive Ruby objects for(FXint i=0;i items; FXRbTreeList::enumerateItems(self->getFirstItem(),self->getLastItem(),items); // Do the deed self->clearItems(); // Now zero-out pointers held by still-alive Ruby objects for(FXint i=0;isetItemData(item,(void*) ptr); } SWIGINTERN VALUE FXTreeListBox_getItemData(FXTreeListBox const *self,FXTreeItem const *item){ return self->getItemData(item) ? (VALUE) self->getItemData(item) : Qnil; } static swig_type_info *FXTreeListBox_dynamic_cast(void **ptr) { FXTreeListBox **ppTreeListBox = reinterpret_cast(ptr); FXDirBox *pDirBox=dynamic_cast(*ppTreeListBox); if(pDirBox){ *ptr=reinterpret_cast(pDirBox); return SWIG_TypeQuery("FXDirBox *"); } return 0; } SWIGINTERN FXImageView *new_FXImageView(FXComposite *p,FXImage *img=0,FXObject *tgt=0,FXSelector sel=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbImageView(p,img,tgt,sel,opts,x,y,w,h); } SWIGINTERN VALUE FXImageView_position__SWIG_1(FXImageView const *self){ FXint x, y; self->getPosition(x, y); VALUE pos = rb_ary_new(); rb_ary_push(pos, INT2NUM(x)); rb_ary_push(pos, INT2NUM(y)); return pos; } SWIGINTERN FXDragCorner *new_FXDragCorner(FXComposite *p){ return new FXRbDragCorner(p); } SWIGINTERN FXDirBox *new_FXDirBox(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=FRAME_SUNKEN|FRAME_THICK|TREELISTBOX_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){ return new FXRbDirBox(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb); } SWIGINTERN FXDriveBox *new_FXDriveBox(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){ return new FXRbDriveBox(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb); } SWIGINTERN FXDirSelector *new_FXDirSelector(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbDirSelector(p,tgt,sel,opts,x,y,w,h); } SWIGINTERN FXFileSelector *new_FXFileSelector(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbFileSelector(p,tgt,sel,opts,x,y,w,h); } SWIGINTERN VALUE FXFileSelector_getFilenames(FXFileSelector const *self){ VALUE result = rb_ary_new(); FXString *filenames = self->getFilenames(); if (filenames) { register FXString *p = filenames; while ((*p) != FXString::null) { rb_ary_push(result, to_ruby(*p)); p++; } delete [] filenames; } return result; } SWIGINTERN void FXFileSelector_setPatternList(FXFileSelector *self,VALUE ary){ FXString patterns; if(TYPE(ary)==T_STRING){ patterns=FXString(StringValuePtr(ary)); } else if(TYPE(ary)==T_ARRAY){ for(long i=0; isetPatternList(patterns); } SWIGINTERN VALUE FXFileSelector_getPatternList(FXFileSelector const *self){ FXString pat; FXString patterns; VALUE ary; patterns=self->getPatternList(); ary=rb_ary_new(); for(FXint start=0;!(pat=patterns.section('\n',start)).empty();start++){ rb_ary_push(ary,to_ruby(pat.text())); } return ary; } SWIGINTERN FXColorSelector *new_FXColorSelector(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbColorSelector(p,tgt,sel,opts,x,y,w,h); } SWIGINTERN FXFontSelector *new_FXFontSelector(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbFontSelector(p,tgt,sel,opts,x,y,w,h); } SWIGINTERN FXFontDesc FXFontSelector_getFontSelection(FXFontSelector const *self){ FXFontDesc fontdesc; self->getFontSelection(fontdesc); return fontdesc; } static swig_type_info *FXDockHandler_dynamic_cast(void **ptr) { FXDockHandler **ppDockHandler = reinterpret_cast(ptr); FXDockTitle *pDockTitle=dynamic_cast(*ppDockHandler); if(pDockTitle){ *ptr=reinterpret_cast(pDockTitle); return SWIG_TypeQuery("FXDockTitle *"); } FXToolBarGrip *pToolBarGrip=dynamic_cast(*ppDockHandler); if(pToolBarGrip){ *ptr=reinterpret_cast(pToolBarGrip); return SWIG_TypeQuery("FXToolBarGrip *"); } return 0; } SWIGINTERN FXDockTitle *new_FXDockTitle(FXComposite *p,FXString const &text,FXObject *tgt=0,FXSelector sel=0,FXuint opts=FRAME_NORMAL|JUSTIFY_CENTER_X|JUSTIFY_CENTER_Y,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=0,FXint pr=0,FXint pt=0,FXint pb=0){ return new FXRbDockTitle(p,text,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb); } SWIGINTERN FXToolBarGrip *new_FXToolBarGrip(FXToolBar *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=TOOLBARGRIP_SINGLE,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbToolBarGrip(p,tgt,sel,opts,x,y,w,h); } SWIGINTERN FXToolBarShell *new_FXToolBarShell(FXWindow *owner,FXuint opts=FRAME_RAISED|FRAME_THICK,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint hs=4,FXint vs=4){ return new FXRbToolBarShell(owner,opts,x,y,w,h,hs,vs); } SWIGINTERN FXRulerView *new_FXRulerView(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbRulerView(p,tgt,sel,opts,x,y,w,h); } SWIGINTERN VALUE FXRulerView_position__SWIG_1(FXRulerView const *self){ FXint x, y; self->getPosition(x, y); VALUE pos = rb_ary_new(); rb_ary_push(pos, INT2NUM(x)); rb_ary_push(pos, INT2NUM(y)); return pos; } static swig_class SwigClassFX7Segment; SWIGINTERN VALUE _wrap_FX7Segment_onPaint(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onPaint", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onCmdSetValue", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onCmdSetValue", 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 *","onCmdSetValue", 4, argv[2] )); } result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onCmdSetIntValue", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onCmdSetIntValue", 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 *","onCmdSetIntValue", 4, argv[2] )); } result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onCmdSetRealValue(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onCmdSetRealValue", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onCmdSetRealValue", 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 *","onCmdSetRealValue", 4, argv[2] )); } result = (long)(arg1)->onCmdSetRealValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onCmdSetStringValue(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onCmdSetStringValue", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onCmdSetStringValue", 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 *","onCmdSetStringValue", 4, argv[2] )); } result = (long)(arg1)->onCmdSetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onCmdGetIntValue", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onCmdGetIntValue", 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 *","onCmdGetIntValue", 4, argv[2] )); } result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onCmdGetRealValue(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onCmdGetRealValue", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onCmdGetRealValue", 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 *","onCmdGetRealValue", 4, argv[2] )); } result = (long)(arg1)->onCmdGetRealValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onCmdGetStringValue(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onCmdGetStringValue", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onCmdGetStringValue", 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 *","onCmdGetStringValue", 4, argv[2] )); } result = (long)(arg1)->onCmdGetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onCmdSetHelp(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onCmdSetHelp", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onCmdSetHelp", 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 *","onCmdSetHelp", 4, argv[2] )); } result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onCmdGetHelp(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onCmdGetHelp", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onCmdGetHelp", 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 *","onCmdGetHelp", 4, argv[2] )); } result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onCmdSetTip(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onCmdSetTip", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onCmdSetTip", 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 *","onCmdSetTip", 4, argv[2] )); } result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onCmdGetTip(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onCmdGetTip", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onCmdGetTip", 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 *","onCmdGetTip", 4, argv[2] )); } result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onQueryHelp(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onQueryHelp", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onQueryHelp", 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 *","onQueryHelp", 4, argv[2] )); } result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_onQueryTip(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","onQueryTip", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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 *","onQueryTip", 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 *","onQueryTip", 4, argv[2] )); } result = (long)(arg1)->onQueryTip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FX7Segment_allocate(VALUE self) #else _wrap_FX7Segment_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FX7Segment); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FX7Segment(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXString *arg2 = 0 ; FXuint arg3 = (FXuint) SEVENSEGMENT_NORMAL ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) DEFAULT_PAD ; FXint arg9 = (FXint) DEFAULT_PAD ; FXint arg10 = (FXint) DEFAULT_PAD ; FXint arg11 = (FXint) DEFAULT_PAD ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FX7Segment *result = 0 ; if ((argc < 2) || (argc > 11)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FX7Segment", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(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 (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FX7Segment *)new_FX7Segment(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_texte___(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setText", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_text(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","getText", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = ((FX7Segment const *)arg1)->getText(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_textColore___(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setTextColor", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setTextColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_textColor(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","getTextColor", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (FXColor)((FX7Segment const *)arg1)->getTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_cellWidthe___(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setCellWidth", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setCellWidth(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_cellWidth(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","getCellWidth", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (FXint)((FX7Segment const *)arg1)->getCellWidth(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_cellHeighte___(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setCellHeight", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setCellHeight(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_cellHeight(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","getCellHeight", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (FXint)((FX7Segment const *)arg1)->getCellHeight(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_thicknesse___(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setThickness", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setThickness(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_thickness(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","getThickness", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (FXint)((FX7Segment const *)arg1)->getThickness(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_set7SegmentStyle(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","set7SegmentStyle", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->set7SegmentStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_get7SegmentStyle(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","get7SegmentStyle", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (FXuint)((FX7Segment const *)arg1)->get7SegmentStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_justifye___(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setJustify", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setJustify(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_justify(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","getJustify", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (FXuint)((FX7Segment const *)arg1)->getJustify(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_helpTexte___(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setHelpText", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setHelpText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_helpText(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","getHelpText", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (FXString *) &((FX7Segment const *)arg1)->getHelpText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_tipTexte___(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setTipText", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setTipText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_tipText(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","getTipText", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (FXString *) &((FX7Segment const *)arg1)->getTipText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_save(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","save", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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); FX7Segment_save((FX7Segment const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_load(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","load", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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); FX7Segment_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_create(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","create", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_detach(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","detach", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_destroy(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","destroy", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_resize(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","resize", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FX7Segment_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (FXint)FX7Segment_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (FXint)FX7Segment_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FX7Segment_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FX7Segment_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_canFocus(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (bool)FX7Segment_canFocus((FX7Segment const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_setFocus(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setFocus", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_killFocus(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","killFocus", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_changeFocus(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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); FX7Segment_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_setDefault(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setDefault", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FX7Segment_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_enable(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","enable", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_disable(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","disable", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_raiseWindow(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","raise", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_lower(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","lower", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_move(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","move", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FX7Segment_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_position(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","position", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FX7Segment_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_layout(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","layout", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_recalc(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","recalc", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_reparent(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","reparent", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(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); FX7Segment_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_show(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","show", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_hide(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","hide", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_isComposite(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (bool)FX7Segment_isComposite((FX7Segment const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_contains(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","contains", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FX7Segment_contains((FX7Segment const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); result = (bool)FX7Segment_doesSaveUnder((FX7Segment const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_setBackColor(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = to_FXColor(argv[0]); FX7Segment_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_tr(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment const *","tr", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FX7Segment_tr((FX7Segment const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_dropEnable(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_dropDisable(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setShape", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FX7Segment_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setShape", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FX7Segment_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","setShape", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FX7Segment_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FX7Segment_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FX7Segment, 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_FX7Segment_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FX7Segment, 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_FX7Segment_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FX7Segment, 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_FX7Segment_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; } SWIGINTERN VALUE _wrap_FX7Segment_clearShape(int argc, VALUE *argv, VALUE self) { FX7Segment *arg1 = (FX7Segment *) 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_FX7Segment, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FX7Segment *","clearShape", 1, self )); } arg1 = reinterpret_cast< FX7Segment * >(argp1); FX7Segment_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXSpinner; SWIGINTERN VALUE _wrap_FXSpinner_onUpdIncrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onUpdIncrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onUpdIncrement", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdIncrement(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onCmdIncrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdIncrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdIncrement", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onCmdIncrement(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onUpdDecrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onUpdDecrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onUpdDecrement", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdDecrement(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onCmdDecrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdDecrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdDecrement", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onCmdDecrement(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onCmdEntry(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdEntry", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdEntry", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdEntry(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onChgEntry(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onChgEntry", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onChgEntry", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onChgEntry(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onWheelEntry(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onWheelEntry", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onWheelEntry", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onWheelEntry(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onKeyPress(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onKeyPress", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onKeyPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onKeyPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onKeyRelease(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onKeyRelease", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onKeyRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdSetValue", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdSetValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXint value4 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdSetIntValue", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdSetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = (FXint) NUM2INT(argv[2]); arg4 = static_cast(&value4); } result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdGetIntValue", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdGetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onCmdSetIntRange(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXint values4[2] ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdSetIntRange", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdSetIntRange", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { Check_Type(argv[2], T_ARRAY); values4[0] = (FXint) NUM2INT(rb_ary_entry(argv[2], 0)); values4[1] = (FXint) NUM2INT(rb_ary_entry(argv[2], 1)); arg4 = static_cast(values4); } result = (long)(arg1)->onCmdSetIntRange(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onCmdGetIntRange(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onCmdGetIntRange", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onCmdGetIntRange", 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 *","onCmdGetIntRange", 4, argv[2] )); } result = (long)(arg1)->onCmdGetIntRange(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_onFocusSelf(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","onFocusSelf", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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 *","onFocusSelf", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusSelf(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXSpinner_allocate(VALUE self) #else _wrap_FXSpinner_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXSpinner); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXSpinner(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXint arg2 ; FXObject *arg3 = (FXObject *) 0 ; FXSelector arg4 = (FXSelector) 0 ; FXuint arg5 = (FXuint) SPIN_NORMAL ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 0 ; FXint arg10 = (FXint) DEFAULT_PAD ; FXint arg11 = (FXint) DEFAULT_PAD ; FXint arg12 = (FXint) DEFAULT_PAD ; FXint arg13 = (FXint) DEFAULT_PAD ; void *argp1 = 0 ; int res1 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXSpinner *result = 0 ; if ((argc < 2) || (argc > 13)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXSpinner", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); arg2 = NUM2INT(argv[1]); if (argc > 2) { res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXObject *","FXSpinner", 3, argv[2] )); } arg3 = reinterpret_cast< FXObject * >(argp3); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXSpinner *)new_FXSpinner(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_increment(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXbool arg2 = (FXbool) 0 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","increment", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->increment(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_incrementByAmount(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","incrementByAmount", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->incrementByAmount(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_decrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXbool arg2 = (FXbool) 0 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","decrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->decrement(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_decrementByAmount(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","decrementByAmount", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->decrementByAmount(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_isCyclic(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","isCyclic", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXbool)((FXSpinner const *)arg1)->isCyclic(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setCyclic(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setCyclic", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setCyclic(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_isTextVisible(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","isTextVisible", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXbool)((FXSpinner const *)arg1)->isTextVisible(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setTextVisible(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setTextVisible", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setTextVisible(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getValue(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getValue", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXint)((FXSpinner const *)arg1)->getValue(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setRange(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; VALUE arg2 = (VALUE) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setRange", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = argv[0]; if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXSpinner_setRange(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getRange(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getRange", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (VALUE)FXSpinner_getRange((FXSpinner const *)arg1); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setIncrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setIncrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setIncrement(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getIncrement(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getIncrement", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXint)((FXSpinner const *)arg1)->getIncrement(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setFont(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXFont *arg2 = (FXFont *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setFont", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); } arg2 = reinterpret_cast< FXFont * >(argp2); (arg1)->setFont(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getFont(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFont *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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getFont", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXFont *)((FXSpinner const *)arg1)->getFont(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setHelpText(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setHelpText", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setHelpText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getHelpText(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getHelpText", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXString *) &((FXSpinner const *)arg1)->getHelpText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setTipText(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setTipText", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setTipText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getTipText(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getTipText", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXString *) &((FXSpinner const *)arg1)->getTipText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setSpinnerStyle(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setSpinnerStyle", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setSpinnerStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getSpinnerStyle(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getSpinnerStyle", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXuint)((FXSpinner const *)arg1)->getSpinnerStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setEditable(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setEditable", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->setEditable(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_isEditable(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","isEditable", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXbool)((FXSpinner const *)arg1)->isEditable(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setUpArrowColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setUpArrowColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setUpArrowColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getUpArrowColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getUpArrowColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXColor)((FXSpinner const *)arg1)->getUpArrowColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setDownArrowColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setDownArrowColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setDownArrowColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getDownArrowColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getDownArrowColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXColor)((FXSpinner const *)arg1)->getDownArrowColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setTextColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setTextColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setTextColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getTextColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getTextColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXColor)((FXSpinner const *)arg1)->getTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setSelBackColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelBackColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getSelBackColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXColor)((FXSpinner const *)arg1)->getSelBackColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setSelTextColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelTextColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getSelTextColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXColor)((FXSpinner const *)arg1)->getSelTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setCursorColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setCursorColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setCursorColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getCursorColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getCursorColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXColor)((FXSpinner const *)arg1)->getCursorColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setNumColumns(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setNumColumns", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNumColumns(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getNumColumns(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","getNumColumns", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXint)((FXSpinner const *)arg1)->getNumColumns(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_save(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","save", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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); FXSpinner_save((FXSpinner const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_load(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","load", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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); FXSpinner_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_create(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","create", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_detach(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","detach", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_destroy(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","destroy", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_resize(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","resize", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXSpinner_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXint)FXSpinner_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (FXint)FXSpinner_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXSpinner_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXSpinner_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_canFocus(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (bool)FXSpinner_canFocus((FXSpinner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setFocus(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_killFocus(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_changeFocus(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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); FXSpinner_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setDefault(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXSpinner_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_enable(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","enable", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_disable(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","disable", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_raiseWindow(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","raise", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_lower(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","lower", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_move(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","move", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXSpinner_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_position(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","position", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXSpinner_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_layout(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","layout", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_recalc(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","recalc", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_reparent(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","reparent", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(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); FXSpinner_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_show(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","show", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_hide(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","hide", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_isComposite(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (bool)FXSpinner_isComposite((FXSpinner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_contains(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","contains", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXSpinner_contains((FXSpinner const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); result = (bool)FXSpinner_doesSaveUnder((FXSpinner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setBackColor(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = to_FXColor(argv[0]); FXSpinner_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_tr(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner const *","tr", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXSpinner_tr((FXSpinner const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_dropEnable(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_dropDisable(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setShape", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXSpinner_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setShape", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXSpinner_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setShape", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXSpinner_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSpinner, 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_FXSpinner_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSpinner, 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_FXSpinner_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSpinner, 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_FXSpinner_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; } SWIGINTERN VALUE _wrap_FXSpinner_clearShape(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); FXSpinner_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSpinner_setValue(int argc, VALUE *argv, VALUE self) { FXSpinner *arg1 = (FXSpinner *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSpinner *","setValue", 1, self )); } arg1 = reinterpret_cast< FXSpinner * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXSpinner_setValue(arg1,arg2,arg3); return Qnil; fail: return Qnil; } static swig_class SwigClassFXRealSpinner; SWIGINTERN VALUE _wrap_FXRealSpinner_onUpdIncrement(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onUpdIncrement", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onUpdIncrement", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdIncrement(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onCmdIncrement(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onCmdIncrement", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onCmdIncrement", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onCmdIncrement(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onUpdDecrement(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onUpdDecrement", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onUpdDecrement", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdDecrement(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onCmdDecrement(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onCmdDecrement", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onCmdDecrement", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onCmdDecrement(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onCmdEntry(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onCmdEntry", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onCmdEntry", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdEntry(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onChgEntry(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onChgEntry", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onChgEntry", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onChgEntry(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onWheelEntry(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onWheelEntry", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onWheelEntry", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onWheelEntry(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onKeyPress(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onKeyPress", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onKeyPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onKeyPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onKeyRelease(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onKeyRelease", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onKeyRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onCmdSetValue", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onCmdSetValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXint value4 ; 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onCmdSetIntValue", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onCmdSetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = (FXint) NUM2INT(argv[2]); arg4 = static_cast(&value4); } result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onCmdGetIntValue", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onCmdGetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onCmdSetIntRange(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXint values4[2] ; 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onCmdSetIntRange", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onCmdSetIntRange", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { Check_Type(argv[2], T_ARRAY); values4[0] = (FXint) NUM2INT(rb_ary_entry(argv[2], 0)); values4[1] = (FXint) NUM2INT(rb_ary_entry(argv[2], 1)); arg4 = static_cast(values4); } result = (long)(arg1)->onCmdSetIntRange(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onCmdGetIntRange(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onCmdGetIntRange", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onCmdGetIntRange", 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 *","onCmdGetIntRange", 4, argv[2] )); } result = (long)(arg1)->onCmdGetIntRange(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onCmdSetRealValue(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXdouble value4 ; 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onCmdSetRealValue", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onCmdSetRealValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = (FXdouble) NUM2DBL(argv[2]); arg4 = (void *) &value4; } result = (long)(arg1)->onCmdSetRealValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onCmdGetRealValue(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onCmdGetRealValue", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onCmdGetRealValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetRealValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onCmdSetRealRange(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXdouble values4[2] ; 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onCmdSetRealRange", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onCmdSetRealRange", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { Check_Type(argv[2], T_ARRAY); values4[0] = (FXdouble) NUM2DBL(rb_ary_entry(argv[2], 0)); values4[1] = (FXdouble) NUM2DBL(rb_ary_entry(argv[2], 1)); arg4 = (void *) values4; } result = (long)(arg1)->onCmdSetRealRange(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onCmdGetRealRange(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onCmdGetRealRange", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onCmdGetRealRange", 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 *","onCmdGetRealRange", 4, argv[2] )); } result = (long)(arg1)->onCmdGetRealRange(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_onFocusSelf(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","onFocusSelf", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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 *","onFocusSelf", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusSelf(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXRealSpinner_allocate(VALUE self) #else _wrap_FXRealSpinner_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXRealSpinner); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXRealSpinner(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXint arg2 ; FXObject *arg3 = (FXObject *) 0 ; FXSelector arg4 = (FXSelector) 0 ; FXuint arg5 = (FXuint) REALSPIN_NORMAL ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 0 ; FXint arg10 = (FXint) DEFAULT_PAD ; FXint arg11 = (FXint) DEFAULT_PAD ; FXint arg12 = (FXint) DEFAULT_PAD ; FXint arg13 = (FXint) DEFAULT_PAD ; void *argp1 = 0 ; int res1 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXRealSpinner *result = 0 ; if ((argc < 2) || (argc > 13)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXRealSpinner", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); arg2 = NUM2INT(argv[1]); if (argc > 2) { res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXObject *","FXRealSpinner", 3, argv[2] )); } arg3 = reinterpret_cast< FXObject * >(argp3); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXRealSpinner *)new_FXRealSpinner(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_increment(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXbool arg2 = (FXbool) 0 ; 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","increment", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->increment(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_incrementByAmount(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXdouble arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","incrementByAmount", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","incrementByAmount", 2, argv[0] )); } arg2 = static_cast< FXdouble >(val2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->incrementByAmount(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_decrement(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXbool arg2 = (FXbool) 0 ; 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","decrement", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->decrement(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_decrementByAmount(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXdouble arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","decrementByAmount", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","decrementByAmount", 2, argv[0] )); } arg2 = static_cast< FXdouble >(val2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->decrementByAmount(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_isCyclic(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","isCyclic", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXbool)((FXRealSpinner const *)arg1)->isCyclic(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setCyclic(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setCyclic", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setCyclic(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_isTextVisible(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","isTextVisible", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXbool)((FXRealSpinner const *)arg1)->isTextVisible(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setTextVisible(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setTextVisible", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setTextVisible(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getValue(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXdouble 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getValue", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXdouble)((FXRealSpinner const *)arg1)->getValue(); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setRange(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; VALUE arg2 = (VALUE) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setRange", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = argv[0]; if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXRealSpinner_setRange(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getRange(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getRange", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (VALUE)FXRealSpinner_getRange((FXRealSpinner const *)arg1); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setIncrement(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXdouble arg2 ; void *argp1 = 0 ; int res1 = 0 ; double 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setIncrement", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","setIncrement", 2, argv[0] )); } arg2 = static_cast< FXdouble >(val2); (arg1)->setIncrement(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getIncrement(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXdouble 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getIncrement", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXdouble)((FXRealSpinner const *)arg1)->getIncrement(); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_granularitye___(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXdouble arg2 ; void *argp1 = 0 ; int res1 = 0 ; double 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setGranularity", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","setGranularity", 2, argv[0] )); } arg2 = static_cast< FXdouble >(val2); (arg1)->setGranularity(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_granularity(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXdouble 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getGranularity", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXdouble)((FXRealSpinner const *)arg1)->getGranularity(); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setFont(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXFont *arg2 = (FXFont *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setFont", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); } arg2 = reinterpret_cast< FXFont * >(argp2); (arg1)->setFont(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getFont(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFont *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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getFont", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXFont *)((FXRealSpinner const *)arg1)->getFont(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setHelpText(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setHelpText", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setHelpText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getHelpText(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getHelpText", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXString *) &((FXRealSpinner const *)arg1)->getHelpText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setTipText(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setTipText", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setTipText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getTipText(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getTipText", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXString *) &((FXRealSpinner const *)arg1)->getTipText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setSpinnerStyle(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setSpinnerStyle", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setSpinnerStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getSpinnerStyle(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getSpinnerStyle", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXuint)((FXRealSpinner const *)arg1)->getSpinnerStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setEditable(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setEditable", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->setEditable(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_isEditable(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","isEditable", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXbool)((FXRealSpinner const *)arg1)->isEditable(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setUpArrowColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setUpArrowColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setUpArrowColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getUpArrowColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getUpArrowColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXColor)((FXRealSpinner const *)arg1)->getUpArrowColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setDownArrowColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setDownArrowColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setDownArrowColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getDownArrowColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getDownArrowColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXColor)((FXRealSpinner const *)arg1)->getDownArrowColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setTextColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setTextColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setTextColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getTextColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getTextColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXColor)((FXRealSpinner const *)arg1)->getTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setSelBackColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelBackColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getSelBackColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXColor)((FXRealSpinner const *)arg1)->getSelBackColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setSelTextColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelTextColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getSelTextColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXColor)((FXRealSpinner const *)arg1)->getSelTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setCursorColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setCursorColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setCursorColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getCursorColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getCursorColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXColor)((FXRealSpinner const *)arg1)->getCursorColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setNumColumns(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setNumColumns", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNumColumns(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getNumColumns(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","getNumColumns", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXint)((FXRealSpinner const *)arg1)->getNumColumns(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_save(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","save", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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); FXRealSpinner_save((FXRealSpinner const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_load(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","load", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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); FXRealSpinner_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_create(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","create", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_detach(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","detach", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_destroy(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","destroy", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_resize(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","resize", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXRealSpinner_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXint)FXRealSpinner_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (FXint)FXRealSpinner_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXRealSpinner_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXRealSpinner_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_canFocus(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (bool)FXRealSpinner_canFocus((FXRealSpinner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setFocus(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_killFocus(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_changeFocus(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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); FXRealSpinner_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setDefault(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXRealSpinner_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_enable(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","enable", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_disable(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","disable", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_raiseWindow(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","raise", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_lower(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","lower", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_move(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","move", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXRealSpinner_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_position(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","position", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXRealSpinner_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_layout(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","layout", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_recalc(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","recalc", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_reparent(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","reparent", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(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); FXRealSpinner_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_show(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","show", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_hide(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","hide", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_isComposite(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (bool)FXRealSpinner_isComposite((FXRealSpinner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_contains(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","contains", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXRealSpinner_contains((FXRealSpinner const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); result = (bool)FXRealSpinner_doesSaveUnder((FXRealSpinner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setBackColor(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = to_FXColor(argv[0]); FXRealSpinner_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_tr(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner const *","tr", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXRealSpinner_tr((FXRealSpinner const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_dropEnable(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_dropDisable(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setShape", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXRealSpinner_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setShape", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXRealSpinner_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setShape", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXRealSpinner_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRealSpinner, 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_FXRealSpinner_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRealSpinner, 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_FXRealSpinner_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRealSpinner, 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_FXRealSpinner_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; } SWIGINTERN VALUE _wrap_FXRealSpinner_clearShape(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); FXRealSpinner_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRealSpinner_setValue(int argc, VALUE *argv, VALUE self) { FXRealSpinner *arg1 = (FXRealSpinner *) 0 ; FXdouble arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; 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_FXRealSpinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSpinner *","setValue", 1, self )); } arg1 = reinterpret_cast< FXRealSpinner * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","setValue", 2, argv[0] )); } arg2 = static_cast< FXdouble >(val2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXRealSpinner_setValue(arg1,arg2,arg3); return Qnil; fail: return Qnil; } static swig_class SwigClassFXCanvas; SWIGINTERN VALUE _wrap_FXCanvas_onPaint(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXCanvas_allocate(VALUE self) #else _wrap_FXCanvas_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXCanvas); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXCanvas(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) FRAME_NORMAL ; 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 ; FXCanvas *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 *","FXCanvas", 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 *","FXCanvas", 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 = (FXCanvas *)new_FXCanvas(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; } SWIGINTERN VALUE _wrap_FXCanvas_save(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas const *","save", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(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); FXCanvas_save((FXCanvas const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_load(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","load", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(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); FXCanvas_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_create(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","create", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_detach(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","detach", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_destroy(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","destroy", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_resize(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","resize", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXCanvas_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); result = (FXint)FXCanvas_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); result = (FXint)FXCanvas_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXCanvas_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXCanvas_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_canFocus(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); result = (bool)FXCanvas_canFocus((FXCanvas const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_setFocus(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_killFocus(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_changeFocus(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(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); FXCanvas_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_setDefault(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXCanvas_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_enable(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","enable", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_disable(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","disable", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_raiseWindow(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","raise", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_lower(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","lower", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_move(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","move", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXCanvas_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_position(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","position", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXCanvas_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_layout(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","layout", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_recalc(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","recalc", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_reparent(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","reparent", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(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); FXCanvas_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_show(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","show", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_hide(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","hide", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_isComposite(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); result = (bool)FXCanvas_isComposite((FXCanvas const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_contains(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas const *","contains", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXCanvas_contains((FXCanvas const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); result = (bool)FXCanvas_doesSaveUnder((FXCanvas const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_setBackColor(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); arg2 = to_FXColor(argv[0]); FXCanvas_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_tr(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas const *","tr", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXCanvas_tr((FXCanvas const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_dropEnable(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_dropDisable(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","setShape", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXCanvas_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","setShape", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXCanvas_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","setShape", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXCanvas_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXCanvas_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXCanvas, 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_FXCanvas_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXCanvas, 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_FXCanvas_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXCanvas, 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_FXCanvas_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; } SWIGINTERN VALUE _wrap_FXCanvas_clearShape(int argc, VALUE *argv, VALUE self) { FXCanvas *arg1 = (FXCanvas *) 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_FXCanvas, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXCanvas *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXCanvas * >(argp1); FXCanvas_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXToolTip; SWIGINTERN VALUE _wrap_FXToolTip_onPaint(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_onUpdate(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","onUpdate", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(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 *","onUpdate", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdate(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_onTipShow(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","onTipShow", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(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 *","onTipShow", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onTipShow(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_onTipHide(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","onTipHide", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(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 *","onTipHide", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onTipHide(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_onCmdGetStringValue(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","onCmdGetStringValue", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(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 *","onCmdGetStringValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_onCmdSetStringValue(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXString value4 ; 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","onCmdSetStringValue", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(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 *","onCmdSetStringValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = FXString(StringValuePtr(argv[2])); arg4 = (void *) &value4; } result = (long)(arg1)->onCmdSetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXToolTip_allocate(VALUE self) #else _wrap_FXToolTip_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXToolTip); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXToolTip(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXuint arg2 = (FXuint) TOOLTIP_NORMAL ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXToolTip *result = 0 ; if ((argc < 1) || (argc > 6)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXToolTip", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); if (argc > 1) { arg2 = NUM2UINT(argv[1]); } if (argc > 2) { arg3 = NUM2INT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXToolTip *)new_FXToolTip(arg1,arg2,arg3,arg4,arg5,arg6); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_setText(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","setText", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_getText(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip const *","getText", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); result = ((FXToolTip const *)arg1)->getText(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_setFont(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 0 ; FXFont *arg2 = (FXFont *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","setFont", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); } arg2 = reinterpret_cast< FXFont * >(argp2); (arg1)->setFont(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_getFont(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFont *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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip const *","getFont", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); result = (FXFont *)((FXToolTip const *)arg1)->getFont(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_getTextColor(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip const *","getTextColor", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); result = (FXColor)((FXToolTip const *)arg1)->getTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_setTextColor(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","setTextColor", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setTextColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_save(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip const *","save", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(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); FXToolTip_save((FXToolTip const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_load(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","load", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(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); FXToolTip_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_create(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","create", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_detach(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","detach", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_destroy(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","destroy", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_resize(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","resize", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXToolTip_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); result = (FXint)FXToolTip_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); result = (FXint)FXToolTip_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXToolTip_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXToolTip_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_canFocus(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); result = (bool)FXToolTip_canFocus((FXToolTip const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_setFocus(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_killFocus(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_changeFocus(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(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); FXToolTip_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_setDefault(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXToolTip_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_enable(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","enable", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_disable(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","disable", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_raiseWindow(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","raise", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_lower(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","lower", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_move(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","move", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXToolTip_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_position(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","position", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXToolTip_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_layout(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","layout", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_recalc(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","recalc", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_reparent(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","reparent", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(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); FXToolTip_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_show(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","show", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_hide(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","hide", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_isComposite(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); result = (bool)FXToolTip_isComposite((FXToolTip const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_contains(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip const *","contains", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXToolTip_contains((FXToolTip const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); result = (bool)FXToolTip_doesSaveUnder((FXToolTip const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_setBackColor(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); arg2 = to_FXColor(argv[0]); FXToolTip_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_tr(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip const *","tr", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXToolTip_tr((FXToolTip const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_dropEnable(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_dropDisable(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","setShape", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXToolTip_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","setShape", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXToolTip_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","setShape", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXToolTip_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolTip_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolTip, 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_FXToolTip_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolTip, 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_FXToolTip_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolTip, 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_FXToolTip_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; } SWIGINTERN VALUE _wrap_FXToolTip_clearShape(int argc, VALUE *argv, VALUE self) { FXToolTip *arg1 = (FXToolTip *) 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_FXToolTip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolTip *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXToolTip * >(argp1); FXToolTip_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXDockBar; SWIGINTERN VALUE _wrap_FXDockBar_onCmdUndock(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onCmdUndock", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onCmdUndock", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdUndock(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onUpdUndock(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onUpdUndock", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onUpdUndock", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdUndock(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onCmdDockTop(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onCmdDockTop", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onCmdDockTop", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdDockTop(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onUpdDockTop(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onUpdDockTop", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onUpdDockTop", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdDockTop(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onCmdDockBottom(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onCmdDockBottom", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onCmdDockBottom", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdDockBottom(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onUpdDockBottom(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onUpdDockBottom", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onUpdDockBottom", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdDockBottom(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onCmdDockLeft(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onCmdDockLeft", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onCmdDockLeft", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdDockLeft(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onUpdDockLeft(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onUpdDockLeft", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onUpdDockLeft", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdDockLeft(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onCmdDockRight(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onCmdDockRight", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onCmdDockRight", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdDockRight(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onUpdDockRight(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onUpdDockRight", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onUpdDockRight", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdDockRight(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onUpdDockFlip(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onUpdDockFlip", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onUpdDockFlip", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdDockFlip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onBeginDragGrip(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onBeginDragGrip", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onBeginDragGrip", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onBeginDragGrip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onEndDragGrip(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onEndDragGrip", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onEndDragGrip", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onEndDragGrip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onDraggedGrip(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onDraggedGrip", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onDraggedGrip", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onDraggedGrip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_onPopupMenu(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onPopupMenu", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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; } SWIGINTERN VALUE _wrap_FXDockBar_onDockTimer(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","onDockTimer", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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 *","onDockTimer", 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 *","onDockTimer", 4, argv[2] )); } result = (long)(arg1)->onDockTimer(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXDockBar__SWIG_0(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXComposite *arg2 = (FXComposite *) 0 ; FXuint arg3 = (FXuint) LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 3 ; FXint arg9 = (FXint) 3 ; FXint arg10 = (FXint) 2 ; FXint arg11 = (FXint) 2 ; FXint arg12 = (FXint) DEFAULT_SPACING ; FXint arg13 = (FXint) DEFAULT_SPACING ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXDockBar *result = 0 ; if ((argc < 2) || (argc > 13)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXDockBar", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXComposite, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXComposite *","FXDockBar", 2, argv[1] )); } arg2 = reinterpret_cast< FXComposite * >(argp2); if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(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 (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXDockBar *)new_FXDockBar__SWIG_0(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXDockBar_allocate(VALUE self) #else _wrap_FXDockBar_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXDockBar); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXDockBar__SWIG_1(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXuint arg2 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 2 ; FXint arg8 = (FXint) 3 ; FXint arg9 = (FXint) 3 ; FXint arg10 = (FXint) 2 ; FXint arg11 = (FXint) DEFAULT_SPACING ; FXint arg12 = (FXint) DEFAULT_SPACING ; void *argp1 = 0 ; int res1 = 0 ; FXDockBar *result = 0 ; if ((argc < 2) || (argc > 12)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXDockBar", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); arg2 = NUM2UINT(argv[1]); if (argc > 2) { arg3 = NUM2INT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(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 (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXDockBar *)new_FXDockBar__SWIG_1(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXDockBar(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[13]; int ii; argc = nargs; if (argc > 13) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 2) && (argc <= 13)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXComposite, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXComposite, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 2) { return _wrap_new_FXDockBar__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_FXDockBar__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_FXDockBar__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_FXDockBar__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_FXDockBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 7) { return _wrap_new_FXDockBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 8) { return _wrap_new_FXDockBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 9) { return _wrap_new_FXDockBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[9]) == T_FIXNUM || TYPE(argv[9]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 10) { return _wrap_new_FXDockBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[10]) == T_FIXNUM || TYPE(argv[10]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 11) { return _wrap_new_FXDockBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[11]) == T_FIXNUM || TYPE(argv[11]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 12) { return _wrap_new_FXDockBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[12]) == T_FIXNUM || TYPE(argv[12]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXDockBar__SWIG_0(nargs, args, self); } } } } } } } } } } } } } } if ((argc >= 2) && (argc <= 12)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXComposite, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 2) { return _wrap_new_FXDockBar__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_FXDockBar__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_FXDockBar__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_FXDockBar__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_FXDockBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 7) { return _wrap_new_FXDockBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 8) { return _wrap_new_FXDockBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 9) { return _wrap_new_FXDockBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[9]) == T_FIXNUM || TYPE(argv[9]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 10) { return _wrap_new_FXDockBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[10]) == T_FIXNUM || TYPE(argv[10]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 11) { return _wrap_new_FXDockBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[11]) == T_FIXNUM || TYPE(argv[11]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXDockBar__SWIG_1(nargs, args, self); } } } } } } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 13, "FXDockBar.new", " FXDockBar.new(FXComposite *p, FXComposite *q, FXuint opts, FXint x, FXint y, FXint w, FXint h, FXint pl, FXint pr, FXint pt, FXint pb, FXint hs, FXint vs)\n" " FXDockBar.new(FXComposite *p, FXuint opts, FXint x, FXint y, FXint w, FXint h, FXint pl, FXint pr, FXint pt, FXint pb, FXint hs, FXint vs)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_dockedq___(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar const *","isDocked", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); result = (FXbool)((FXDockBar const *)arg1)->isDocked(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_insideDockq___(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; FXDockSite *arg2 = (FXDockSite *) 0 ; FXint arg3 ; FXint arg4 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXbool 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","insideDock", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXDockSite, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXDockSite *","insideDock", 2, argv[0] )); } arg2 = reinterpret_cast< FXDockSite * >(argp2); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); result = (FXbool)(arg1)->insideDock(arg2,arg3,arg4); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_dryDocke___(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; FXComposite *arg2 = (FXComposite *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","setDryDock", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXComposite, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXComposite *","setDryDock", 2, argv[0] )); } arg2 = reinterpret_cast< FXComposite * >(argp2); (arg1)->setDryDock(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_wetDocke___(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; FXComposite *arg2 = (FXComposite *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","setWetDock", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXComposite, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXComposite *","setWetDock", 2, argv[0] )); } arg2 = reinterpret_cast< FXComposite * >(argp2); (arg1)->setWetDock(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_dryDock(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXComposite *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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar const *","getDryDock", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); result = (FXComposite *)((FXDockBar const *)arg1)->getDryDock(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXComposite, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_wetDock(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXComposite *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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar const *","getWetDock", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); result = (FXComposite *)((FXDockBar const *)arg1)->getWetDock(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXComposite, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_findDockAtSide(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; FXuint arg2 = (FXuint) LAYOUT_SIDE_TOP ; void *argp1 = 0 ; int res1 = 0 ; FXDockSite *result = 0 ; 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","findDockAtSide", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXDockSite *)(arg1)->findDockAtSide(arg2); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXDockSite, 0 | 0 ); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_findDockNear(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; FXDockSite *result = 0 ; 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","findDockNear", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (FXDockSite *)(arg1)->findDockNear(arg2,arg3); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXDockSite, 0 | 0 ); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_allowedSidese___(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; FXuchar 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","allowedSides", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->allowedSides(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_allowedSides(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXuchar 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar const *","allowedSides", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); result = (FXuchar)((FXDockBar const *)arg1)->allowedSides(); vresult = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_save(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar const *","save", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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); FXDockBar_save((FXDockBar const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_load(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","load", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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); FXDockBar_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_create(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","create", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_detach(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","detach", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_destroy(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","destroy", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_resize(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","resize", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDockBar_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); result = (FXint)FXDockBar_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); result = (FXint)FXDockBar_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDockBar_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDockBar_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_canFocus(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); result = (bool)FXDockBar_canFocus((FXDockBar const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_setFocus(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_killFocus(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_changeFocus(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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); FXDockBar_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_setDefault(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXDockBar_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_enable(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","enable", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_disable(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","disable", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_raiseWindow(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","raise", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_lower(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","lower", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_move(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","move", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDockBar_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_position(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","position", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDockBar_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_layout(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","layout", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_recalc(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","recalc", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_reparent(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","reparent", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(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); FXDockBar_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_show(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","show", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_hide(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","hide", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_isComposite(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); result = (bool)FXDockBar_isComposite((FXDockBar const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_contains(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar const *","contains", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXDockBar_contains((FXDockBar const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); result = (bool)FXDockBar_doesSaveUnder((FXDockBar const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_setBackColor(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); arg2 = to_FXColor(argv[0]); FXDockBar_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_tr(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar const *","tr", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXDockBar_tr((FXDockBar const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_dropEnable(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_dropDisable(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXDockBar_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXDockBar_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXDockBar_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDockBar, 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_FXDockBar_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDockBar, 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_FXDockBar_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDockBar, 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_FXDockBar_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; } SWIGINTERN VALUE _wrap_FXDockBar_clearShape(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); FXDockBar_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_dock__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; FXDockSite *arg2 = (FXDockSite *) 0 ; FXWindow *arg3 = (FXWindow *) 0 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","dock", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXDockSite, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXDockSite *","dock", 2, argv[0] )); } arg2 = reinterpret_cast< FXDockSite * >(argp2); if (argc > 1) { 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 *","dock", 3, argv[1] )); } arg3 = reinterpret_cast< FXWindow * >(argp3); } if (argc > 2) { arg4 = to_FXbool(argv[2]); } FXDockBar_dock(arg1,arg2,arg3,arg4); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_dock__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; FXDockSite *arg2 = (FXDockSite *) 0 ; FXint arg3 ; FXint arg4 ; FXbool arg5 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 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_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","dock", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXDockSite, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXDockSite *","dock", 2, argv[0] )); } arg2 = reinterpret_cast< FXDockSite * >(argp2); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = to_FXbool(argv[3]); FXDockBar_dock(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_dock(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 6) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if ((argc >= 2) && (argc <= 4)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDockBar, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXDockSite, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 2) { return _wrap_FXDockBar_dock__SWIG_0(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 3) { return _wrap_FXDockBar_dock__SWIG_0(nargs, args, self); } { _v = (argv[3] == Qtrue || argv[3] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXDockBar_dock__SWIG_0(nargs, args, self); } } } } } if (argc == 5) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDockBar, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXDockSite, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (argv[4] == Qtrue || argv[4] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXDockBar_dock__SWIG_1(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 6, "dock", " void dock(FXDockSite *docksite, FXWindow *before, FXbool notify)\n" " void dock(FXDockSite *docksite, FXint localx, FXint localy, FXbool notify)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXDockBar_undock(int argc, VALUE *argv, VALUE self) { FXDockBar *arg1 = (FXDockBar *) 0 ; FXint arg2 ; FXint arg3 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDockBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockBar *","undock", 1, self )); } arg1 = reinterpret_cast< FXDockBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); if (argc > 2) { arg4 = to_FXbool(argv[2]); } FXDockBar_undock(arg1,arg2,arg3,arg4); return Qnil; fail: return Qnil; } static swig_class SwigClassFXToolBar; SWIGINTERN VALUE _wrap_FXToolBar_onCmdDockFlip(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","onCmdDockFlip", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(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 *","onCmdDockFlip", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onCmdDockFlip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_onUpdDockFlip(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","onUpdDockFlip", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(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 *","onUpdDockFlip", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onUpdDockFlip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXToolBar__SWIG_0(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXComposite *arg2 = (FXComposite *) 0 ; FXuint arg3 = (FXuint) LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 3 ; FXint arg9 = (FXint) 3 ; FXint arg10 = (FXint) 2 ; FXint arg11 = (FXint) 2 ; FXint arg12 = (FXint) DEFAULT_SPACING ; FXint arg13 = (FXint) DEFAULT_SPACING ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXToolBar *result = 0 ; if ((argc < 2) || (argc > 13)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXToolBar", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXComposite, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXComposite *","FXToolBar", 2, argv[1] )); } arg2 = reinterpret_cast< FXComposite * >(argp2); if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(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 (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXToolBar *)new_FXToolBar__SWIG_0(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXToolBar_allocate(VALUE self) #else _wrap_FXToolBar_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXToolBar); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXToolBar__SWIG_1(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXuint arg2 = (FXuint) LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 2 ; FXint arg8 = (FXint) 3 ; FXint arg9 = (FXint) 3 ; FXint arg10 = (FXint) 2 ; FXint arg11 = (FXint) DEFAULT_SPACING ; FXint arg12 = (FXint) DEFAULT_SPACING ; void *argp1 = 0 ; int res1 = 0 ; FXToolBar *result = 0 ; if ((argc < 1) || (argc > 12)) { 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 *","FXToolBar", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); if (argc > 1) { arg2 = NUM2UINT(argv[1]); } if (argc > 2) { arg3 = NUM2INT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(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 (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXToolBar *)new_FXToolBar__SWIG_1(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXToolBar(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[13]; int ii; argc = nargs; if (argc > 13) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 1) && (argc <= 12)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXComposite, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 1) { return _wrap_new_FXToolBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 2) { return _wrap_new_FXToolBar__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_FXToolBar__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_FXToolBar__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_FXToolBar__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_FXToolBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 7) { return _wrap_new_FXToolBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 8) { return _wrap_new_FXToolBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 9) { return _wrap_new_FXToolBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[9]) == T_FIXNUM || TYPE(argv[9]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 10) { return _wrap_new_FXToolBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[10]) == T_FIXNUM || TYPE(argv[10]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 11) { return _wrap_new_FXToolBar__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[11]) == T_FIXNUM || TYPE(argv[11]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXToolBar__SWIG_1(nargs, args, self); } } } } } } } } } } } } } if ((argc >= 2) && (argc <= 13)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXComposite, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXComposite, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 2) { return _wrap_new_FXToolBar__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_FXToolBar__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_FXToolBar__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_FXToolBar__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_FXToolBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 7) { return _wrap_new_FXToolBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 8) { return _wrap_new_FXToolBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 9) { return _wrap_new_FXToolBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[9]) == T_FIXNUM || TYPE(argv[9]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 10) { return _wrap_new_FXToolBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[10]) == T_FIXNUM || TYPE(argv[10]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 11) { return _wrap_new_FXToolBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[11]) == T_FIXNUM || TYPE(argv[11]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 12) { return _wrap_new_FXToolBar__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[12]) == T_FIXNUM || TYPE(argv[12]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXToolBar__SWIG_0(nargs, args, self); } } } } } } } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 13, "FXToolBar.new", " FXToolBar.new(FXComposite *p, FXComposite *q, FXuint opts, FXint x, FXint y, FXint w, FXint h, FXint pl, FXint pr, FXint pt, FXint pb, FXint hs, FXint vs)\n" " FXToolBar.new(FXComposite *p, FXuint opts, FXint x, FXint y, FXint w, FXint h, FXint pl, FXint pr, FXint pt, FXint pb, FXint hs, FXint vs)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_dockingSidee___(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 0 ; FXuint arg2 = (FXuint) LAYOUT_SIDE_TOP ; 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","setDockingSide", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } (arg1)->setDockingSide(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_dockingSide(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar const *","getDockingSide", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); result = (FXuint)((FXToolBar const *)arg1)->getDockingSide(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_save(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar const *","save", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(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); FXToolBar_save((FXToolBar const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_load(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","load", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(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); FXToolBar_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_create(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","create", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_detach(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","detach", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_destroy(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","destroy", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_resize(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","resize", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXToolBar_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); result = (FXint)FXToolBar_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); result = (FXint)FXToolBar_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXToolBar_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXToolBar_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_canFocus(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); result = (bool)FXToolBar_canFocus((FXToolBar const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_setFocus(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_killFocus(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_changeFocus(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(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); FXToolBar_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_setDefault(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXToolBar_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_enable(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","enable", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_disable(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","disable", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_raiseWindow(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","raise", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_lower(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","lower", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_move(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","move", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXToolBar_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_position(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","position", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXToolBar_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_layout(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","layout", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_recalc(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","recalc", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_reparent(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","reparent", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(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); FXToolBar_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_show(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","show", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_hide(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","hide", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_isComposite(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); result = (bool)FXToolBar_isComposite((FXToolBar const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_contains(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar const *","contains", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXToolBar_contains((FXToolBar const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); result = (bool)FXToolBar_doesSaveUnder((FXToolBar const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_setBackColor(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); arg2 = to_FXColor(argv[0]); FXToolBar_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_tr(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar const *","tr", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXToolBar_tr((FXToolBar const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_dropEnable(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_dropDisable(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","setShape", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXToolBar_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","setShape", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXToolBar_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","setShape", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXToolBar_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBar, 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_FXToolBar_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBar, 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_FXToolBar_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBar, 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_FXToolBar_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; } SWIGINTERN VALUE _wrap_FXToolBar_clearShape(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); FXToolBar_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_dock__SWIG_0(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 0 ; FXDockSite *arg2 = (FXDockSite *) 0 ; FXWindow *arg3 = (FXWindow *) 0 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","dock", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXDockSite, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXDockSite *","dock", 2, argv[0] )); } arg2 = reinterpret_cast< FXDockSite * >(argp2); if (argc > 1) { 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 *","dock", 3, argv[1] )); } arg3 = reinterpret_cast< FXWindow * >(argp3); } if (argc > 2) { arg4 = to_FXbool(argv[2]); } FXToolBar_dock(arg1,arg2,arg3,arg4); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_dock__SWIG_1(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 0 ; FXDockSite *arg2 = (FXDockSite *) 0 ; FXint arg3 ; FXint arg4 ; FXbool arg5 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","dock", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXDockSite, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXDockSite *","dock", 2, argv[0] )); } arg2 = reinterpret_cast< FXDockSite * >(argp2); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = to_FXbool(argv[3]); FXToolBar_dock(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_dock(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 6) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if ((argc >= 2) && (argc <= 4)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBar, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXDockSite, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 2) { return _wrap_FXToolBar_dock__SWIG_0(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 3) { return _wrap_FXToolBar_dock__SWIG_0(nargs, args, self); } { _v = (argv[3] == Qtrue || argv[3] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXToolBar_dock__SWIG_0(nargs, args, self); } } } } } if (argc == 5) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBar, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXDockSite, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (argv[4] == Qtrue || argv[4] == Qfalse) ? 1 : 0; } if (_v) { return _wrap_FXToolBar_dock__SWIG_1(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 6, "dock", " void dock(FXDockSite *docksite, FXWindow *before, FXbool notify)\n" " void dock(FXDockSite *docksite, FXint localx, FXint localy, FXbool notify)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXToolBar_undock(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 0 ; FXint arg2 ; FXint arg3 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","undock", 1, self )); } arg1 = reinterpret_cast< FXToolBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); if (argc > 2) { arg4 = to_FXbool(argv[2]); } FXToolBar_undock(arg1,arg2,arg3,arg4); return Qnil; fail: return Qnil; } static swig_class SwigClassFXTabBar; SWIGINTERN VALUE _wrap_FXTabBar_onPaint(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_onFocusNext(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onFocusNext", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onFocusNext", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusNext(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_onFocusPrev(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onFocusPrev", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onFocusPrev", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusPrev(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_onFocusUp(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onFocusUp", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onFocusUp", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusUp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_onFocusDown(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onFocusDown", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onFocusDown", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusDown(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_onFocusLeft(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onFocusLeft", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onFocusLeft", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusLeft(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_onFocusRight(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onFocusRight", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onFocusRight", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusRight(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_onCmdOpenItem(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onCmdOpenItem", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onCmdOpenItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdOpenItem(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onCmdSetValue", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onCmdSetValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXint value4 ; 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onCmdSetIntValue", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onCmdSetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = (FXint) NUM2INT(argv[2]); arg4 = static_cast(&value4); } result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onCmdGetIntValue", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onCmdGetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_onCmdOpen(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onCmdOpen", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onCmdOpen", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdOpen(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_onUpdOpen(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","onUpdOpen", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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 *","onUpdOpen", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdOpen(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXTabBar_allocate(VALUE self) #else _wrap_FXTabBar_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXTabBar); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXTabBar(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) TABBOOK_NORMAL ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) DEFAULT_SPACING ; FXint arg10 = (FXint) DEFAULT_SPACING ; FXint arg11 = (FXint) DEFAULT_SPACING ; FXint arg12 = (FXint) DEFAULT_SPACING ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXTabBar *result = 0 ; if ((argc < 1) || (argc > 12)) { 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 *","FXTabBar", 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 *","FXTabBar", 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 (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXTabBar *)new_FXTabBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_getCurrent(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar const *","getCurrent", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); result = (FXint)((FXTabBar const *)arg1)->getCurrent(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_getTabStyle(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar const *","getTabStyle", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); result = (FXuint)((FXTabBar const *)arg1)->getTabStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_setTabStyle(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","setTabStyle", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setTabStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_save(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar const *","save", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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); FXTabBar_save((FXTabBar const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_load(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","load", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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); FXTabBar_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_create(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","create", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_detach(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","detach", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_destroy(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","destroy", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_resize(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","resize", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXTabBar_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); result = (FXint)FXTabBar_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); result = (FXint)FXTabBar_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXTabBar_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXTabBar_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_canFocus(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); result = (bool)FXTabBar_canFocus((FXTabBar const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_setFocus(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_killFocus(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_changeFocus(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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); FXTabBar_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_setDefault(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXTabBar_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_enable(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","enable", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_disable(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","disable", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_raiseWindow(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","raise", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_lower(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","lower", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_move(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","move", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXTabBar_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_position(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","position", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXTabBar_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_layout(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","layout", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_recalc(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","recalc", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_reparent(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","reparent", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(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); FXTabBar_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_show(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","show", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_hide(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","hide", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_isComposite(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); result = (bool)FXTabBar_isComposite((FXTabBar const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_contains(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar const *","contains", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXTabBar_contains((FXTabBar const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); result = (bool)FXTabBar_doesSaveUnder((FXTabBar const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_setBackColor(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); arg2 = to_FXColor(argv[0]); FXTabBar_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_tr(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar const *","tr", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXTabBar_tr((FXTabBar const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_dropEnable(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_dropDisable(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","setShape", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXTabBar_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","setShape", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXTabBar_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","setShape", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXTabBar_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTabBar, 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_FXTabBar_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTabBar, 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_FXTabBar_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTabBar, 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_FXTabBar_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; } SWIGINTERN VALUE _wrap_FXTabBar_clearShape(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); FXTabBar_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBar_setCurrent(int argc, VALUE *argv, VALUE self) { FXTabBar *arg1 = (FXTabBar *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXTabBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBar *","setCurrent", 1, self )); } arg1 = reinterpret_cast< FXTabBar * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXTabBar_setCurrent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } static swig_class SwigClassFXTabBook; SWIGINTERN VALUE _wrap_FXTabBook_onPaint(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_onFocusNext(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","onFocusNext", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(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 *","onFocusNext", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusNext(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_onFocusPrev(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","onFocusPrev", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(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 *","onFocusPrev", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusPrev(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_onFocusUp(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","onFocusUp", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(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 *","onFocusUp", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusUp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_onFocusDown(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","onFocusDown", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(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 *","onFocusDown", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusDown(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_onFocusLeft(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","onFocusLeft", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(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 *","onFocusLeft", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusLeft(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_onFocusRight(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","onFocusRight", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(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 *","onFocusRight", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusRight(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_onCmdOpenItem(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","onCmdOpenItem", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(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 *","onCmdOpenItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdOpenItem(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXTabBook_allocate(VALUE self) #else _wrap_FXTabBook_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXTabBook); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXTabBook(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) TABBOOK_NORMAL ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) DEFAULT_SPACING ; FXint arg10 = (FXint) DEFAULT_SPACING ; FXint arg11 = (FXint) DEFAULT_SPACING ; FXint arg12 = (FXint) DEFAULT_SPACING ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXTabBook *result = 0 ; if ((argc < 1) || (argc > 12)) { 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 *","FXTabBook", 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 *","FXTabBook", 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 (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXTabBook *)new_FXTabBook(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_save(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook const *","save", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(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); FXTabBook_save((FXTabBook const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_load(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","load", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(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); FXTabBook_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_create(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","create", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_detach(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","detach", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_destroy(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","destroy", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_resize(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","resize", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXTabBook_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); result = (FXint)FXTabBook_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); result = (FXint)FXTabBook_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXTabBook_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXTabBook_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_canFocus(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); result = (bool)FXTabBook_canFocus((FXTabBook const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_setFocus(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_killFocus(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_changeFocus(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(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); FXTabBook_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_setDefault(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXTabBook_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_enable(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","enable", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_disable(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","disable", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_raiseWindow(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","raise", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_lower(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","lower", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_move(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","move", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXTabBook_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_position(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","position", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXTabBook_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_layout(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","layout", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_recalc(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","recalc", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_reparent(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","reparent", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(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); FXTabBook_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_show(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","show", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_hide(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","hide", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_isComposite(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); result = (bool)FXTabBook_isComposite((FXTabBook const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_contains(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook const *","contains", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXTabBook_contains((FXTabBook const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); result = (bool)FXTabBook_doesSaveUnder((FXTabBook const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_setBackColor(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); arg2 = to_FXColor(argv[0]); FXTabBook_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_tr(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook const *","tr", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXTabBook_tr((FXTabBook const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_dropEnable(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_dropDisable(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","setShape", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXTabBook_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","setShape", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXTabBook_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","setShape", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXTabBook_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTabBook, 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_FXTabBook_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTabBook, 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_FXTabBook_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTabBook, 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_FXTabBook_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; } SWIGINTERN VALUE _wrap_FXTabBook_clearShape(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); FXTabBook_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTabBook_setCurrent(int argc, VALUE *argv, VALUE self) { FXTabBook *arg1 = (FXTabBook *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXTabBook, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTabBook *","setCurrent", 1, self )); } arg1 = reinterpret_cast< FXTabBook * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXTabBook_setCurrent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } static swig_class SwigClassFXScrollBar; SWIGINTERN VALUE _wrap_FXScrollBar_onPaint(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onMotion(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onMotion", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onMotion", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMotion(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onMouseWheel(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onMouseWheel", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onMouseWheel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMouseWheel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onLeftBtnPress(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onLeftBtnPress", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onLeftBtnPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onLeftBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onLeftBtnRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onMiddleBtnPress(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onMiddleBtnPress", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onMiddleBtnPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMiddleBtnPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onMiddleBtnRelease(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onMiddleBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onMiddleBtnRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMiddleBtnRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onRightBtnPress(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onRightBtnPress", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onRightBtnPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onRightBtnPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onRightBtnRelease(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onRightBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onRightBtnRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onRightBtnRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onUngrabbed(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onUngrabbed", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onUngrabbed", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onUngrabbed(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onTimeWheel(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onTimeWheel", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onTimeWheel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onTimeWheel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onAutoScroll(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onAutoScroll", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onAutoScroll", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onAutoScroll(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onCmdSetValue", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onCmdSetValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXint value4 ; 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onCmdSetIntValue", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onCmdSetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = (FXint) NUM2INT(argv[2]); arg4 = static_cast(&value4); } result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onCmdGetIntValue", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onCmdGetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onCmdSetIntRange(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXint values4[2] ; 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onCmdSetIntRange", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onCmdSetIntRange", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { Check_Type(argv[2], T_ARRAY); values4[0] = (FXint) NUM2INT(rb_ary_entry(argv[2], 0)); values4[1] = (FXint) NUM2INT(rb_ary_entry(argv[2], 1)); arg4 = static_cast(values4); } result = (long)(arg1)->onCmdSetIntRange(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_onCmdGetIntRange(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","onCmdGetIntRange", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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 *","onCmdGetIntRange", 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 *","onCmdGetIntRange", 4, argv[2] )); } result = (long)(arg1)->onCmdGetIntRange(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXScrollBar_allocate(VALUE self) #else _wrap_FXScrollBar_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXScrollBar); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXScrollBar(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) SCROLLBAR_VERTICAL ; 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 ; FXScrollBar *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 *","FXScrollBar", 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 *","FXScrollBar", 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 = (FXScrollBar *)new_FXScrollBar(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; } SWIGINTERN VALUE _wrap_FXScrollBar_setRange(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setRange", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setRange(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_getRange(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","getRange", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (FXint)((FXScrollBar const *)arg1)->getRange(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setPage(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setPage", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setPage(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_getPage(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","getPage", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (FXint)((FXScrollBar const *)arg1)->getPage(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setLine(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setLine", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setLine(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_getLine(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","getLine", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (FXint)((FXScrollBar const *)arg1)->getLine(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setPosition(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setPosition", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setPosition(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_position__SWIG_0(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","position", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (FXint)FXScrollBar_position__SWIG_0((FXScrollBar const *)arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setHiliteColor(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setHiliteColor", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setHiliteColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_getHiliteColor(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","getHiliteColor", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (FXColor)((FXScrollBar const *)arg1)->getHiliteColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setShadowColor(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setShadowColor", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setShadowColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_getShadowColor(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","getShadowColor", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (FXColor)((FXScrollBar const *)arg1)->getShadowColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_getBorderColor(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","getBorderColor", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (FXColor)((FXScrollBar const *)arg1)->getBorderColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setBorderColor(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setBorderColor", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setBorderColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_getScrollBarStyle(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","getScrollBarStyle", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (FXuint)((FXScrollBar const *)arg1)->getScrollBarStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setScrollBarStyle(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setScrollBarStyle", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setScrollBarStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_barSizee___(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setBarSize", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setBarSize(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_barSize(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","getBarSize", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (FXint)((FXScrollBar const *)arg1)->getBarSize(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_save(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","save", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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); FXScrollBar_save((FXScrollBar const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_load(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","load", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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); FXScrollBar_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_create(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","create", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_detach(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","detach", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_destroy(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","destroy", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_resize(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","resize", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXScrollBar_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (FXint)FXScrollBar_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (FXint)FXScrollBar_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXScrollBar_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXScrollBar_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_canFocus(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (bool)FXScrollBar_canFocus((FXScrollBar const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setFocus(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_killFocus(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_changeFocus(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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); FXScrollBar_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setDefault(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXScrollBar_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_enable(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","enable", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_disable(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","disable", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_raiseWindow(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","raise", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_lower(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","lower", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_move(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","move", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXScrollBar_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_position__SWIG_1(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","position", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXScrollBar_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_position(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 6) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXScrollBar, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXScrollBar_position__SWIG_0(nargs, args, self); } } if (argc == 5) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXScrollBar, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXScrollBar_position__SWIG_1(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 6, "position", " FXint position()\n" " void position(FXint x, FXint y, FXint w, FXint h)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_layout(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","layout", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_recalc(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","recalc", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_reparent(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","reparent", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(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); FXScrollBar_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_show(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","show", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_hide(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","hide", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_isComposite(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (bool)FXScrollBar_isComposite((FXScrollBar const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_contains(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","contains", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXScrollBar_contains((FXScrollBar const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); result = (bool)FXScrollBar_doesSaveUnder((FXScrollBar const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setBackColor(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = to_FXColor(argv[0]); FXScrollBar_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_tr(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar const *","tr", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXScrollBar_tr((FXScrollBar const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_dropEnable(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_dropDisable(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setShape", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXScrollBar_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setShape", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXScrollBar_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","setShape", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXScrollBar_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollBar_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXScrollBar, 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_FXScrollBar_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXScrollBar, 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_FXScrollBar_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXScrollBar, 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_FXScrollBar_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; } SWIGINTERN VALUE _wrap_FXScrollBar_clearShape(int argc, VALUE *argv, VALUE self) { FXScrollBar *arg1 = (FXScrollBar *) 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_FXScrollBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollBar *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXScrollBar * >(argp1); FXScrollBar_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXScrollCorner; SWIGINTERN VALUE _wrap_FXScrollCorner_onPaint(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXScrollCorner_allocate(VALUE self) #else _wrap_FXScrollCorner_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXScrollCorner); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXScrollCorner(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXScrollCorner *result = 0 ; if ((argc < 1) || (argc > 1)) { 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 *","FXScrollCorner", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXScrollCorner *)new_FXScrollCorner(arg1); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_save(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner const *","save", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(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); FXScrollCorner_save((FXScrollCorner const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_load(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","load", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(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); FXScrollCorner_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_create(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","create", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_detach(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","detach", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_destroy(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","destroy", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_resize(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","resize", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXScrollCorner_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); result = (FXint)FXScrollCorner_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); result = (FXint)FXScrollCorner_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXScrollCorner_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXScrollCorner_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_canFocus(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); result = (bool)FXScrollCorner_canFocus((FXScrollCorner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_setFocus(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_killFocus(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_changeFocus(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(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); FXScrollCorner_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_setDefault(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXScrollCorner_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_enable(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","enable", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_disable(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","disable", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_raiseWindow(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","raise", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_lower(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","lower", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_move(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","move", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXScrollCorner_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_position(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","position", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXScrollCorner_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_layout(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","layout", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_recalc(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","recalc", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_reparent(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","reparent", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(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); FXScrollCorner_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_show(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","show", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_hide(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","hide", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_isComposite(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); result = (bool)FXScrollCorner_isComposite((FXScrollCorner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_contains(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner const *","contains", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXScrollCorner_contains((FXScrollCorner const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); result = (bool)FXScrollCorner_doesSaveUnder((FXScrollCorner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_setBackColor(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); arg2 = to_FXColor(argv[0]); FXScrollCorner_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_tr(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner const *","tr", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXScrollCorner_tr((FXScrollCorner const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_dropEnable(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_dropDisable(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","setShape", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXScrollCorner_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","setShape", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXScrollCorner_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","setShape", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXScrollCorner_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXScrollCorner_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXScrollCorner, 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_FXScrollCorner_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXScrollCorner, 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_FXScrollCorner_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXScrollCorner, 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_FXScrollCorner_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; } SWIGINTERN VALUE _wrap_FXScrollCorner_clearShape(int argc, VALUE *argv, VALUE self) { FXScrollCorner *arg1 = (FXScrollCorner *) 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_FXScrollCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXScrollCorner *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXScrollCorner * >(argp1); FXScrollCorner_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXComboBox; SWIGINTERN VALUE _wrap_FXComboBox_onFocusUp(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","onFocusUp", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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 *","onFocusUp", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusUp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_onFocusDown(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","onFocusDown", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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 *","onFocusDown", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusDown(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_onFocusSelf(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","onFocusSelf", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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 *","onFocusSelf", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusSelf(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_onMouseWheel(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","onMouseWheel", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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 *","onMouseWheel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMouseWheel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_onTextButton(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","onTextButton", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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 *","onTextButton", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onTextButton(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_onTextChanged(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","onTextChanged", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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 *","onTextChanged", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = static_cast(StringValuePtr(argv[2])); result = (long)(arg1)->onTextChanged(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_onTextCommand(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","onTextCommand", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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 *","onTextCommand", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = static_cast(StringValuePtr(argv[2])); result = (long)(arg1)->onTextCommand(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_onListClicked(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","onListClicked", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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 *","onListClicked", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onListClicked(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_onFwdToText(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","onFwdToText", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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 *","onFwdToText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onFwdToText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_onUpdFmText(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","onUpdFmText", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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 *","onUpdFmText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdFmText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXComboBox_allocate(VALUE self) #else _wrap_FXComboBox_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXComboBox); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXComboBox(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXint arg2 ; FXObject *arg3 = (FXObject *) 0 ; FXSelector arg4 = (FXSelector) 0 ; FXuint arg5 = (FXuint) COMBOBOX_NORMAL ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 0 ; FXint arg10 = (FXint) DEFAULT_PAD ; FXint arg11 = (FXint) DEFAULT_PAD ; FXint arg12 = (FXint) DEFAULT_PAD ; FXint arg13 = (FXint) DEFAULT_PAD ; void *argp1 = 0 ; int res1 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXComboBox *result = 0 ; if ((argc < 2) || (argc > 13)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXComboBox", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); arg2 = NUM2INT(argv[1]); if (argc > 2) { res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXObject *","FXComboBox", 3, argv[2] )); } arg3 = reinterpret_cast< FXObject * >(argp3); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXComboBox *)new_FXComboBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_isEditable(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","isEditable", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXbool)((FXComboBox const *)arg1)->isEditable(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setEditable(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setEditable", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->setEditable(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setText(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setText", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getText(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getText", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = ((FXComboBox const *)arg1)->getText(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setNumColumns(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setNumColumns", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNumColumns(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getNumColumns(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getNumColumns", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXint)((FXComboBox const *)arg1)->getNumColumns(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_justifye___(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setJustify", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setJustify(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_justify(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getJustify", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXuint)((FXComboBox const *)arg1)->getJustify(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getNumItems(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getNumItems", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXint)((FXComboBox const *)arg1)->getNumItems(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getNumVisible(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getNumVisible", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXint)((FXComboBox const *)arg1)->getNumVisible(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setNumVisible(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setNumVisible", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNumVisible(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_isItemCurrent(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; FXbool 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","isItemCurrent", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "combobox item index out of bounds"); } } result = (FXbool)((FXComboBox const *)arg1)->isItemCurrent(arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setCurrentItem(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setCurrentItem", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } { if (arg2 < -1 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "combobox item index out of bounds"); } } (arg1)->setCurrentItem(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getCurrentItem(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getCurrentItem", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXint)((FXComboBox const *)arg1)->getCurrentItem(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getItem(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; FXString result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getItem", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "combobox item index out of bounds"); } } result = ((FXComboBox const *)arg1)->getItem(arg2); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setItem(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXint arg2 ; FXString *arg3 = 0 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setItem", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; if (argc > 2) { arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "combobox item index out of bounds"); } } result = (FXint)(arg1)->setItem(arg2,(FXString const &)*arg3,arg4); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_fillItems(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXchar **arg2 = (FXchar **) 0 ; 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","fillItems", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); { arg2 = NULL; if(!NIL_P(argv[0])){ Check_Type(argv[0], T_ARRAY); if (FXMALLOC(&arg2, FXchar *, RARRAY_LEN(argv[0])+1)) { for (long i = 0; i < RARRAY_LEN(argv[0]); i++) { VALUE e = rb_ary_entry(argv[0], i); arg2[i] = (FXchar *) StringValuePtr(e); } arg2[RARRAY_LEN(argv[0])] = 0; } } } result = (FXint)(arg1)->fillItems((FXchar const **)arg2); vresult = SWIG_From_int(static_cast< int >(result)); FXFREE(&arg2); return vresult; fail: FXFREE(&arg2); return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_insertItem(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXint arg2 ; FXString *arg3 = 0 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","insertItem", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; if (argc > 2) { arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "combobox item index out of bounds"); } } result = (FXint)(arg1)->insertItem(arg2,(FXString const &)*arg3,arg4); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_appendItem(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXString *arg2 = 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXint result; 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","appendItem", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { arg3 = (argv[1] == Qnil) ? NULL : (void *) argv[1]; } result = (FXint)(arg1)->appendItem((FXString const &)*arg2,arg3); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_prependItem(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXString *arg2 = 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXint result; 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","prependItem", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { arg3 = (argv[1] == Qnil) ? NULL : (void *) argv[1]; } result = (FXint)(arg1)->prependItem((FXString const &)*arg2,arg3); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_moveItem(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; FXint 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","moveItem", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "combobox item index out of bounds"); } } { if (arg3 < 0 || arg3 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "combobox item index out of bounds"); } } result = (FXint)(arg1)->moveItem(arg2,arg3); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_removeItem(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","removeItem", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "combobox item index out of bounds"); } } (arg1)->removeItem(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_clearItems(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","clearItems", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); (arg1)->clearItems(); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_findItem(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXString *arg2 = 0 ; FXint arg3 = (FXint) -1 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","findItem", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { arg3 = NUM2INT(argv[1]); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); } result = (FXint)((FXComboBox const *)arg1)->findItem((FXString const &)*arg2,arg3,arg4); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_findItemByData(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; void *arg2 = (void *) 0 ; FXint arg3 = (FXint) -1 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ; void *argp1 = 0 ; int res1 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","findItemByData", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = (argv[0] == Qnil) ? NULL : (void *) argv[0]; if (argc > 1) { arg3 = NUM2INT(argv[1]); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); } result = (FXint)((FXComboBox const *)arg1)->findItemByData((void const *)arg2,arg3,arg4); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setItemText(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXint arg2 ; FXString *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setItemText", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "combobox item index out of bounds"); } } (arg1)->setItemText(arg2,(FXString const &)*arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getItemText(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; FXString result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getItemText", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "combobox item index out of bounds"); } } result = ((FXComboBox const *)arg1)->getItemText(arg2); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setItemData(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXint arg2 ; VALUE arg3 = (VALUE) 0 ; 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setItemData", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = argv[1]; { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "combobox item index out of bounds"); } } FXComboBox_setItemData(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getItemData(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; VALUE 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getItemData", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "combobox item index out of bounds"); } } result = (VALUE)FXComboBox_getItemData((FXComboBox const *)arg1,arg2); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_isPaneShown(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","isPaneShown", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXbool)((FXComboBox const *)arg1)->isPaneShown(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_sortItems(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","sortItems", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); (arg1)->sortItems(); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setFont(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXFont *arg2 = (FXFont *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setFont", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); } arg2 = reinterpret_cast< FXFont * >(argp2); (arg1)->setFont(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getFont(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFont *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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getFont", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXFont *)((FXComboBox const *)arg1)->getFont(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setComboStyle(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setComboStyle", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setComboStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getComboStyle(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getComboStyle", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXuint)((FXComboBox const *)arg1)->getComboStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getBackColor(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getBackColor", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXColor)((FXComboBox const *)arg1)->getBackColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setTextColor(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setTextColor", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setTextColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getTextColor(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getTextColor", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXColor)((FXComboBox const *)arg1)->getTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setSelBackColor(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelBackColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getSelBackColor(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXColor)((FXComboBox const *)arg1)->getSelBackColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setSelTextColor(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelTextColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getSelTextColor(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXColor)((FXComboBox const *)arg1)->getSelTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setHelpText(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setHelpText", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setHelpText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getHelpText(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getHelpText", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXString *) &((FXComboBox const *)arg1)->getHelpText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setTipText(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setTipText", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setTipText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getTipText(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","getTipText", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXString *) &((FXComboBox const *)arg1)->getTipText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_save(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","save", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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); FXComboBox_save((FXComboBox const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_load(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","load", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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); FXComboBox_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_create(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","create", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_detach(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","detach", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_destroy(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","destroy", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_resize(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","resize", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXComboBox_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXint)FXComboBox_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (FXint)FXComboBox_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXComboBox_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXComboBox_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_canFocus(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (bool)FXComboBox_canFocus((FXComboBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setFocus(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_killFocus(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_changeFocus(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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); FXComboBox_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setDefault(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXComboBox_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_enable(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","enable", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_disable(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","disable", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_raiseWindow(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","raise", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_lower(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","lower", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_move(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","move", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXComboBox_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_position(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","position", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXComboBox_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_layout(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","layout", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_recalc(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","recalc", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_reparent(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","reparent", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(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); FXComboBox_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_show(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","show", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_hide(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","hide", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_isComposite(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (bool)FXComboBox_isComposite((FXComboBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_contains(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","contains", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXComboBox_contains((FXComboBox const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); result = (bool)FXComboBox_doesSaveUnder((FXComboBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setBackColor(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = to_FXColor(argv[0]); FXComboBox_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_tr(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox const *","tr", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXComboBox_tr((FXComboBox const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_dropEnable(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_dropDisable(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXComboBox_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXComboBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXComboBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXComboBox_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXComboBox, 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_FXComboBox_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXComboBox, 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_FXComboBox_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXComboBox, 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_FXComboBox_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; } SWIGINTERN VALUE _wrap_FXComboBox_clearShape(int argc, VALUE *argv, VALUE self) { FXComboBox *arg1 = (FXComboBox *) 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_FXComboBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComboBox *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXComboBox * >(argp1); FXComboBox_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXListBox; SWIGINTERN VALUE _wrap_FXListBox_onFocusUp(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","onFocusUp", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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 *","onFocusUp", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusUp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_onFocusDown(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","onFocusDown", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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 *","onFocusDown", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusDown(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_onFocusSelf(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","onFocusSelf", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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 *","onFocusSelf", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusSelf(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_onMouseWheel(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","onMouseWheel", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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 *","onMouseWheel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMouseWheel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_onFieldButton(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","onFieldButton", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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 *","onFieldButton", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onFieldButton(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_onListUpdate(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","onListUpdate", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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 *","onListUpdate", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onListUpdate(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_onListClicked(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","onListClicked", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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 *","onListClicked", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onListClicked(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_onListChanged(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","onListChanged", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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 *","onListChanged", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onListChanged(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","onCmdSetValue", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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 *","onCmdSetValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","onCmdGetIntValue", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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 *","onCmdGetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXint value4 ; 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","onCmdSetIntValue", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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 *","onCmdSetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = (FXint) NUM2INT(argv[2]); arg4 = static_cast(&value4); } result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXListBox_allocate(VALUE self) #else _wrap_FXListBox_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXListBox); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXListBox(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) DEFAULT_PAD ; FXint arg10 = (FXint) DEFAULT_PAD ; FXint arg11 = (FXint) DEFAULT_PAD ; FXint arg12 = (FXint) DEFAULT_PAD ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXListBox *result = 0 ; if ((argc < 1) || (argc > 12)) { 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 *","FXListBox", 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 *","FXListBox", 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 (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXListBox *)new_FXListBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getNumItems(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getNumItems", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXint)((FXListBox const *)arg1)->getNumItems(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getNumVisible(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getNumVisible", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXint)((FXListBox const *)arg1)->getNumVisible(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setNumVisible(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setNumVisible", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNumVisible(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_isItemCurrent(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; FXbool 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","isItemCurrent", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } result = (FXbool)((FXListBox const *)arg1)->isItemCurrent(arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getCurrentItem(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getCurrentItem", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXint)((FXListBox const *)arg1)->getCurrentItem(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getItem(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; FXString result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getItem", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } result = ((FXListBox const *)arg1)->getItem(arg2); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setItem(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; FXString *arg3 = 0 ; FXIcon *arg4 = (FXIcon *) 0 ; void *arg5 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; void *argp4 = 0 ; int res4 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 4)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setItem", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; if (argc > 2) { res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","setItem", 4, argv[2] )); } arg4 = reinterpret_cast< FXIcon * >(argp4); } if (argc > 3) { arg5 = (argv[3] == Qnil) ? NULL : (void *) argv[3]; } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } result = (FXint)(arg1)->setItem(arg2,(FXString const &)*arg3,arg4,arg5); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_fillItems(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXchar **arg2 = (FXchar **) 0 ; FXIcon *arg3 = (FXIcon *) 0 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","fillItems", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); { arg2 = NULL; if(!NIL_P(argv[0])){ Check_Type(argv[0], T_ARRAY); if (FXMALLOC(&arg2, FXchar *, RARRAY_LEN(argv[0])+1)) { for (long i = 0; i < RARRAY_LEN(argv[0]); i++) { VALUE e = rb_ary_entry(argv[0], i); arg2[i] = (FXchar *) StringValuePtr(e); } arg2[RARRAY_LEN(argv[0])] = 0; } } } if (argc > 1) { res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","fillItems", 3, argv[1] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); } if (argc > 2) { arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } result = (FXint)(arg1)->fillItems((FXchar const **)arg2,arg3,arg4); vresult = SWIG_From_int(static_cast< int >(result)); FXFREE(&arg2); return vresult; fail: FXFREE(&arg2); return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_insertItem(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; FXString *arg3 = 0 ; FXIcon *arg4 = (FXIcon *) 0 ; void *arg5 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; void *argp4 = 0 ; int res4 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 4)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","insertItem", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; if (argc > 2) { res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","insertItem", 4, argv[2] )); } arg4 = reinterpret_cast< FXIcon * >(argp4); } if (argc > 3) { arg5 = (argv[3] == Qnil) ? NULL : (void *) argv[3]; } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } result = (FXint)(arg1)->insertItem(arg2,(FXString const &)*arg3,arg4,arg5); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_appendItem(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXString *arg2 = 0 ; FXIcon *arg3 = (FXIcon *) 0 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; void *argp3 = 0 ; int res3 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","appendItem", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","appendItem", 3, argv[1] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); } if (argc > 2) { arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } result = (FXint)(arg1)->appendItem((FXString const &)*arg2,arg3,arg4); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_prependItem(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXString *arg2 = 0 ; FXIcon *arg3 = (FXIcon *) 0 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; void *argp3 = 0 ; int res3 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","prependItem", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","prependItem", 3, argv[1] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); } if (argc > 2) { arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } result = (FXint)(arg1)->prependItem((FXString const &)*arg2,arg3,arg4); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_moveItem(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; FXint arg3 ; void *argp1 = 0 ; int res1 = 0 ; FXint 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","moveItem", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } { if (arg3 < 0 || arg3 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } result = (FXint)(arg1)->moveItem(arg2,arg3); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_extractItem(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; FXListItem *result = 0 ; 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","extractItem", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } result = (FXListItem *)(arg1)->extractItem(arg2); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXListItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_removeItem(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","removeItem", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } (arg1)->removeItem(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_clearItems(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","clearItems", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); (arg1)->clearItems(); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_findItem(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXString *arg2 = 0 ; FXint arg3 = (FXint) -1 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","findItem", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { arg3 = NUM2INT(argv[1]); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); } result = (FXint)((FXListBox const *)arg1)->findItem((FXString const &)*arg2,arg3,arg4); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_findItemByData(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; void *arg2 = (void *) 0 ; FXint arg3 = (FXint) -1 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ; void *argp1 = 0 ; int res1 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","findItemByData", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = (argv[0] == Qnil) ? NULL : (void *) argv[0]; if (argc > 1) { arg3 = NUM2INT(argv[1]); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); } result = (FXint)((FXListBox const *)arg1)->findItemByData((void const *)arg2,arg3,arg4); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setItemText(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; FXString *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setItemText", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } (arg1)->setItemText(arg2,(FXString const &)*arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getItemText(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; FXString result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getItemText", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } result = ((FXListBox const *)arg1)->getItemText(arg2); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setItemIcon(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; FXIcon *arg3 = (FXIcon *) 0 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp3 = 0 ; int res3 = 0 ; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setItemIcon", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","setItemIcon", 3, argv[1] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); if (argc > 2) { arg4 = to_FXbool(argv[2]); } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } (arg1)->setItemIcon(arg2,arg3,arg4); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getItemIcon(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; FXIcon *result = 0 ; 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getItemIcon", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } result = (FXIcon *)((FXListBox const *)arg1)->getItemIcon(arg2); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setItemData(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; VALUE arg3 = (VALUE) 0 ; 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setItemData", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = argv[1]; { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } FXListBox_setItemData(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getItemData(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; VALUE 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getItemData", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } result = (VALUE)FXListBox_getItemData((FXListBox const *)arg1,arg2); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_isPaneShown(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","isPaneShown", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXbool)((FXListBox const *)arg1)->isPaneShown(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_sortItems(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","sortItems", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); (arg1)->sortItems(); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setFont(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXFont *arg2 = (FXFont *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setFont", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); } arg2 = reinterpret_cast< FXFont * >(argp2); (arg1)->setFont(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getFont(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFont *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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getFont", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXFont *)((FXListBox const *)arg1)->getFont(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getBackColor(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getBackColor", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXColor)((FXListBox const *)arg1)->getBackColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setTextColor(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setTextColor", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setTextColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getTextColor(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getTextColor", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXColor)((FXListBox const *)arg1)->getTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setSelBackColor(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelBackColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getSelBackColor(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getSelBackColor", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXColor)((FXListBox const *)arg1)->getSelBackColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setSelTextColor(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setSelTextColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getSelTextColor(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getSelTextColor", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXColor)((FXListBox const *)arg1)->getSelTextColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setHelpText(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setHelpText", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setHelpText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getHelpText(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getHelpText", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXString *) &((FXListBox const *)arg1)->getHelpText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setTipText(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setTipText", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setTipText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getTipText(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","getTipText", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXString *) &((FXListBox const *)arg1)->getTipText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_save(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","save", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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); FXListBox_save((FXListBox const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_load(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","load", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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); FXListBox_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_create(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","create", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_detach(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","detach", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_destroy(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","destroy", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_resize(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","resize", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXListBox_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXint)FXListBox_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (FXint)FXListBox_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXListBox_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXListBox_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_canFocus(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (bool)FXListBox_canFocus((FXListBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setFocus(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_killFocus(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_changeFocus(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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); FXListBox_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setDefault(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXListBox_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_enable(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","enable", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_disable(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","disable", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_raiseWindow(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","raise", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_lower(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","lower", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_move(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","move", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXListBox_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_position(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","position", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXListBox_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_layout(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","layout", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_recalc(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","recalc", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_reparent(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","reparent", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(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); FXListBox_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_show(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","show", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_hide(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","hide", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_isComposite(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (bool)FXListBox_isComposite((FXListBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_contains(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","contains", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXListBox_contains((FXListBox const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); result = (bool)FXListBox_doesSaveUnder((FXListBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setBackColor(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = to_FXColor(argv[0]); FXListBox_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_tr(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox const *","tr", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXListBox_tr((FXListBox const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_dropEnable(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_dropDisable(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXListBox_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXListBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXListBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXListBox, 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_FXListBox_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXListBox, 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_FXListBox_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXListBox, 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_FXListBox_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; } SWIGINTERN VALUE _wrap_FXListBox_clearShape(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); FXListBox_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXListBox_setCurrentItem(int argc, VALUE *argv, VALUE self) { FXListBox *arg1 = (FXListBox *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXListBox *","setCurrentItem", 1, self )); } arg1 = reinterpret_cast< FXListBox * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list box item index out of bounds"); } } FXListBox_setCurrentItem(arg1,arg2,arg3); return Qnil; fail: return Qnil; } static swig_class SwigClassFXTreeListBox; SWIGINTERN VALUE _wrap_FXTreeListBox_onFocusUp(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","onFocusUp", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(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 *","onFocusUp", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusUp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_onFocusDown(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","onFocusDown", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(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 *","onFocusDown", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusDown(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_onFocusSelf(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","onFocusSelf", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(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 *","onFocusSelf", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onFocusSelf(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_onMouseWheel(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","onMouseWheel", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(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 *","onMouseWheel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMouseWheel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_onFieldButton(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","onFieldButton", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(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 *","onFieldButton", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onFieldButton(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_onTreeUpdate(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","onTreeUpdate", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(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 *","onTreeUpdate", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onTreeUpdate(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_onTreeChanged(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","onTreeChanged", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(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 *","onTreeChanged", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); SWIG_ConvertPtr(argv[2],&arg4,SWIGTYPE_p_FXTreeItem,1); result = (long)(arg1)->onTreeChanged(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_onTreeClicked(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","onTreeClicked", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(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 *","onTreeClicked", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); SWIG_ConvertPtr(argv[2],&arg4,SWIGTYPE_p_FXTreeItem,1); result = (long)(arg1)->onTreeClicked(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXTreeListBox_allocate(VALUE self) #else _wrap_FXTreeListBox_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXTreeListBox); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXTreeListBox(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) FRAME_SUNKEN|FRAME_THICK|TREELISTBOX_NORMAL ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) DEFAULT_PAD ; FXint arg10 = (FXint) DEFAULT_PAD ; FXint arg11 = (FXint) DEFAULT_PAD ; FXint arg12 = (FXint) DEFAULT_PAD ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXTreeListBox *result = 0 ; if ((argc < 1) || (argc > 12)) { 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 *","FXTreeListBox", 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 *","FXTreeListBox", 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 (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXTreeListBox *)new_FXTreeListBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getNumItems(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getNumItems", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (FXint)((FXTreeListBox const *)arg1)->getNumItems(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getNumVisible(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getNumVisible", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (FXint)((FXTreeListBox const *)arg1)->getNumVisible(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setNumVisible(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setNumVisible", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNumVisible(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getFirstItem(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXTreeItem *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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getFirstItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (FXTreeItem *)((FXTreeListBox const *)arg1)->getFirstItem(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getLastItem(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXTreeItem *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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getLastItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (FXTreeItem *)((FXTreeListBox const *)arg1)->getLastItem(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_fillItems(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXchar **arg3 = (FXchar **) 0 ; FXIcon *arg4 = (FXIcon *) 0 ; FXIcon *arg5 = (FXIcon *) 0 ; void *arg6 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","fillItems", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","fillItems", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); { arg3 = NULL; if(!NIL_P(argv[1])){ Check_Type(argv[1], T_ARRAY); if (FXMALLOC(&arg3, FXchar *, RARRAY_LEN(argv[1])+1)) { for (long i = 0; i < RARRAY_LEN(argv[1]); i++) { VALUE e = rb_ary_entry(argv[1], i); arg3[i] = (FXchar *) StringValuePtr(e); } arg3[RARRAY_LEN(argv[1])] = 0; } } } if (argc > 2) { res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","fillItems", 4, argv[2] )); } arg4 = reinterpret_cast< FXIcon * >(argp4); } if (argc > 3) { res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","fillItems", 5, argv[3] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); } if (argc > 4) { arg6 = (argv[4] == Qnil) ? NULL : (void *) argv[4]; } result = (FXint)(arg1)->fillItems(arg2,(FXchar const **)arg3,arg4,arg5,arg6); vresult = SWIG_From_int(static_cast< int >(result)); FXFREE(&arg3); return vresult; fail: FXFREE(&arg3); return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_insertItem__SWIG_0(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXTreeItem *arg3 = (FXTreeItem *) 0 ; FXTreeItem *arg4 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; FXTreeItem *result = 0 ; 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","insertItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","insertItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXTreeItem *","insertItem", 3, argv[1] )); } arg3 = reinterpret_cast< FXTreeItem * >(argp3); res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXTreeItem *","insertItem", 4, argv[2] )); } arg4 = reinterpret_cast< FXTreeItem * >(argp4); result = (FXTreeItem *)FXTreeListBox_insertItem__SWIG_0(arg1,arg2,arg3,arg4); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_insertItem__SWIG_1(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXTreeItem *arg3 = (FXTreeItem *) 0 ; FXString *arg4 = 0 ; FXIcon *arg5 = (FXIcon *) 0 ; FXIcon *arg6 = (FXIcon *) 0 ; void *arg7 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; SwigValueWrapper< FXString > p4 ; void *argp5 = 0 ; int res5 = 0 ; void *argp6 = 0 ; int res6 = 0 ; FXTreeItem *result = 0 ; VALUE vresult = Qnil; if ((argc < 3) || (argc > 6)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","insertItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","insertItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXTreeItem *","insertItem", 3, argv[1] )); } arg3 = reinterpret_cast< FXTreeItem * >(argp3); p4 = to_FXString(argv[2]); arg4 = &p4; if (argc > 3) { res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","insertItem", 5, argv[3] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); } if (argc > 4) { res6 = SWIG_ConvertPtr(argv[4], &argp6,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "FXIcon *","insertItem", 6, argv[4] )); } arg6 = reinterpret_cast< FXIcon * >(argp6); } if (argc > 5) { arg7 = (argv[5] == Qnil) ? NULL : (void *) argv[5]; } result = (FXTreeItem *)(arg1)->insertItem(arg2,arg3,(FXString const &)*arg4,arg5,arg6,arg7); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_insertItem(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[8]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 8) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 4) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeListBox, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXTreeListBox_insertItem__SWIG_0(nargs, args, self); } } } } } if ((argc >= 4) && (argc <= 7)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeListBox, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[3]) || TYPE(argv[3]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_FXTreeListBox_insertItem__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 5) { return _wrap_FXTreeListBox_insertItem__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 6) { return _wrap_FXTreeListBox_insertItem__SWIG_1(nargs, args, self); } { _v = 1; } if (_v) { return _wrap_FXTreeListBox_insertItem__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 8, "insertItem", " FXTreeItem insertItem(FXTreeItem *other, FXTreeItem *father, FXTreeItem *item)\n" " FXTreeItem * insertItem(FXTreeItem *other, FXTreeItem *father, FXString const &text, FXIcon *oi, FXIcon *ci, void *ITEMDATA)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_appendItem__SWIG_0(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXTreeItem *arg3 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXTreeItem *result = 0 ; 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","appendItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","appendItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXTreeItem *","appendItem", 3, argv[1] )); } arg3 = reinterpret_cast< FXTreeItem * >(argp3); result = (FXTreeItem *)FXTreeListBox_appendItem__SWIG_0(arg1,arg2,arg3); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_appendItem__SWIG_1(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXString *arg3 = 0 ; FXIcon *arg4 = (FXIcon *) 0 ; FXIcon *arg5 = (FXIcon *) 0 ; void *arg6 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; SwigValueWrapper< FXString > p3 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; FXTreeItem *result = 0 ; VALUE vresult = Qnil; if ((argc < 2) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","appendItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","appendItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); p3 = to_FXString(argv[1]); arg3 = &p3; if (argc > 2) { res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","appendItem", 4, argv[2] )); } arg4 = reinterpret_cast< FXIcon * >(argp4); } if (argc > 3) { res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","appendItem", 5, argv[3] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); } if (argc > 4) { arg6 = (argv[4] == Qnil) ? NULL : (void *) argv[4]; } result = (FXTreeItem *)(arg1)->appendItem(arg2,(FXString const &)*arg3,arg4,arg5,arg6); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_appendItem(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[7]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 7) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 3) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeListBox, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXTreeListBox_appendItem__SWIG_0(nargs, args, self); } } } } if ((argc >= 3) && (argc <= 6)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeListBox, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_FXTreeListBox_appendItem__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXTreeListBox_appendItem__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 5) { return _wrap_FXTreeListBox_appendItem__SWIG_1(nargs, args, self); } { _v = 1; } if (_v) { return _wrap_FXTreeListBox_appendItem__SWIG_1(nargs, args, self); } } } } } } } fail: Ruby_Format_OverloadedError( argc, 7, "appendItem", " FXTreeItem appendItem(FXTreeItem *father, FXTreeItem *item)\n" " FXTreeItem * appendItem(FXTreeItem *father, FXString const &text, FXIcon *oi, FXIcon *ci, void *ITEMDATA)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_prependItem__SWIG_0(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXTreeItem *arg3 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXTreeItem *result = 0 ; 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","prependItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","prependItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXTreeItem *","prependItem", 3, argv[1] )); } arg3 = reinterpret_cast< FXTreeItem * >(argp3); result = (FXTreeItem *)FXTreeListBox_prependItem__SWIG_0(arg1,arg2,arg3); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_prependItem__SWIG_1(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXString *arg3 = 0 ; FXIcon *arg4 = (FXIcon *) 0 ; FXIcon *arg5 = (FXIcon *) 0 ; void *arg6 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; SwigValueWrapper< FXString > p3 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; FXTreeItem *result = 0 ; VALUE vresult = Qnil; if ((argc < 2) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","prependItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","prependItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); p3 = to_FXString(argv[1]); arg3 = &p3; if (argc > 2) { res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","prependItem", 4, argv[2] )); } arg4 = reinterpret_cast< FXIcon * >(argp4); } if (argc > 3) { res5 = SWIG_ConvertPtr(argv[3], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","prependItem", 5, argv[3] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); } if (argc > 4) { arg6 = (argv[4] == Qnil) ? NULL : (void *) argv[4]; } result = (FXTreeItem *)(arg1)->prependItem(arg2,(FXString const &)*arg3,arg4,arg5,arg6); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_prependItem(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[7]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 7) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 3) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeListBox, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXTreeListBox_prependItem__SWIG_0(nargs, args, self); } } } } if ((argc >= 3) && (argc <= 6)) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeListBox, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXTreeItem, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_FXTreeListBox_prependItem__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXTreeListBox_prependItem__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 5) { return _wrap_FXTreeListBox_prependItem__SWIG_1(nargs, args, self); } { _v = 1; } if (_v) { return _wrap_FXTreeListBox_prependItem__SWIG_1(nargs, args, self); } } } } } } } fail: Ruby_Format_OverloadedError( argc, 7, "prependItem", " FXTreeItem prependItem(FXTreeItem *father, FXTreeItem *item)\n" " FXTreeItem * prependItem(FXTreeItem *father, FXString const &text, FXIcon *oi, FXIcon *ci, void *ITEMDATA)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_removeItem(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","removeItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","removeItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); FXTreeListBox_removeItem(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_removeItems(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXTreeItem *arg3 = (FXTreeItem *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","removeItems", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","removeItems", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXTreeItem *","removeItems", 3, argv[1] )); } arg3 = reinterpret_cast< FXTreeItem * >(argp3); FXTreeListBox_removeItems(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_clearItems(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","clearItems", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_clearItems(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_moveItem(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXTreeItem *arg3 = (FXTreeItem *) 0 ; FXTreeItem *arg4 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; FXTreeItem *result = 0 ; 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","moveItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","moveItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXTreeItem *","moveItem", 3, argv[1] )); } arg3 = reinterpret_cast< FXTreeItem * >(argp3); res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXTreeItem *","moveItem", 4, argv[2] )); } arg4 = reinterpret_cast< FXTreeItem * >(argp4); result = (FXTreeItem *)(arg1)->moveItem(arg2,arg3,arg4); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_extractItem(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXTreeItem *result = 0 ; 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","extractItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","extractItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXTreeItem *)(arg1)->extractItem(arg2); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_findItem(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXString *arg2 = 0 ; FXTreeItem *arg3 = (FXTreeItem *) 0 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; void *argp3 = 0 ; int res3 = 0 ; FXTreeItem *result = 0 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","findItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXTreeItem *","findItem", 3, argv[1] )); } arg3 = reinterpret_cast< FXTreeItem * >(argp3); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); } result = (FXTreeItem *)((FXTreeListBox const *)arg1)->findItem((FXString const &)*arg2,arg3,arg4); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_findItemByData(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; void *arg2 = (void *) 0 ; FXTreeItem *arg3 = (FXTreeItem *) 0 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ; void *argp1 = 0 ; int res1 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXTreeItem *result = 0 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","findItemByData", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); arg2 = (argv[0] == Qnil) ? NULL : (void *) argv[0]; if (argc > 1) { res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXTreeItem *","findItemByData", 3, argv[1] )); } arg3 = reinterpret_cast< FXTreeItem * >(argp3); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); } result = (FXTreeItem *)((FXTreeListBox const *)arg1)->findItemByData((void const *)arg2,arg3,arg4); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_isItemCurrent(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXbool 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","isItemCurrent", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem const *","isItemCurrent", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXbool)((FXTreeListBox const *)arg1)->isItemCurrent((FXTreeItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_isItemLeaf(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXbool 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","isItemLeaf", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem const *","isItemLeaf", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXbool)((FXTreeListBox const *)arg1)->isItemLeaf((FXTreeItem const *)arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_sortRootItems(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","sortRootItems", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); (arg1)->sortRootItems(); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_sortItems(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","sortItems", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); (arg1)->sortItems(); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_sortChildItems(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","sortChildItems", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","sortChildItems", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); (arg1)->sortChildItems(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getCurrentItem(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXTreeItem *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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getCurrentItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (FXTreeItem *)((FXTreeListBox const *)arg1)->getCurrentItem(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXTreeItem, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setItemText(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXString *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; SwigValueWrapper< FXString > p3 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setItemText", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","setItemText", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); p3 = to_FXString(argv[1]); arg3 = &p3; (arg1)->setItemText(arg2,(FXString const &)*arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getItemText(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXString result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getItemText", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem const *","getItemText", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = ((FXTreeListBox const *)arg1)->getItemText((FXTreeItem const *)arg2); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setItemOpenIcon(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXIcon *arg3 = (FXIcon *) 0 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setItemOpenIcon", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","setItemOpenIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","setItemOpenIcon", 3, argv[1] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); if (argc > 2) { arg4 = to_FXbool(argv[2]); } (arg1)->setItemOpenIcon(arg2,arg3,arg4); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getItemOpenIcon(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXIcon *result = 0 ; 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getItemOpenIcon", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem const *","getItemOpenIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXIcon *)((FXTreeListBox const *)arg1)->getItemOpenIcon((FXTreeItem const *)arg2); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setItemClosedIcon(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXIcon *arg3 = (FXIcon *) 0 ; FXbool arg4 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; if ((argc < 2) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setItemClosedIcon", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","setItemClosedIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","setItemClosedIcon", 3, argv[1] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); if (argc > 2) { arg4 = to_FXbool(argv[2]); } (arg1)->setItemClosedIcon(arg2,arg3,arg4); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getItemClosedIcon(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXIcon *result = 0 ; 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getItemClosedIcon", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem const *","getItemClosedIcon", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (FXIcon *)((FXTreeListBox const *)arg1)->getItemClosedIcon((FXTreeItem const *)arg2); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setItemData(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; VALUE arg3 = (VALUE) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setItemData", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","setItemData", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); arg3 = argv[1]; FXTreeListBox_setItemData(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getItemData(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; VALUE 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getItemData", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem const *","getItemData", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); result = (VALUE)FXTreeListBox_getItemData((FXTreeListBox const *)arg1,(FXTreeItem const *)arg2); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_isPaneShown(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","isPaneShown", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (FXbool)((FXTreeListBox const *)arg1)->isPaneShown(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setFont(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXFont *arg2 = (FXFont *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setFont", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); } arg2 = reinterpret_cast< FXFont * >(argp2); (arg1)->setFont(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getFont(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFont *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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getFont", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (FXFont *)((FXTreeListBox const *)arg1)->getFont(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getListStyle(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getListStyle", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (FXuint)((FXTreeListBox const *)arg1)->getListStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setListStyle(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setListStyle", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setListStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setHelpText(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setHelpText", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setHelpText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getHelpText(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getHelpText", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (FXString *) &((FXTreeListBox const *)arg1)->getHelpText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setTipText(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setTipText", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setTipText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getTipText(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","getTipText", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (FXString *) &((FXTreeListBox const *)arg1)->getTipText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_save(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","save", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(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); FXTreeListBox_save((FXTreeListBox const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_load(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","load", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(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); FXTreeListBox_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_create(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","create", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_detach(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","detach", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_destroy(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","destroy", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_resize(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","resize", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXTreeListBox_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (FXint)FXTreeListBox_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (FXint)FXTreeListBox_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXTreeListBox_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXTreeListBox_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_canFocus(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (bool)FXTreeListBox_canFocus((FXTreeListBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setFocus(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_killFocus(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_changeFocus(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(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); FXTreeListBox_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setDefault(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXTreeListBox_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_enable(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","enable", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_disable(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","disable", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_raiseWindow(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","raise", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_lower(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","lower", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_move(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","move", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXTreeListBox_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_position(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","position", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXTreeListBox_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_layout(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","layout", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_recalc(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","recalc", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_reparent(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","reparent", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(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); FXTreeListBox_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_show(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","show", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_hide(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","hide", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_isComposite(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (bool)FXTreeListBox_isComposite((FXTreeListBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_contains(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","contains", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXTreeListBox_contains((FXTreeListBox const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); result = (bool)FXTreeListBox_doesSaveUnder((FXTreeListBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setBackColor(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); arg2 = to_FXColor(argv[0]); FXTreeListBox_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_tr(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox const *","tr", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXTreeListBox_tr((FXTreeListBox const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_dropEnable(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_dropDisable(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXTreeListBox_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXTreeListBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXTreeListBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeListBox, 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_FXTreeListBox_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeListBox, 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_FXTreeListBox_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTreeListBox, 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_FXTreeListBox_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; } SWIGINTERN VALUE _wrap_FXTreeListBox_clearShape(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); FXTreeListBox_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXTreeListBox_setCurrentItem(int argc, VALUE *argv, VALUE self) { FXTreeListBox *arg1 = (FXTreeListBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; 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_FXTreeListBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTreeListBox *","setCurrentItem", 1, self )); } arg1 = reinterpret_cast< FXTreeListBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","setCurrentItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXTreeListBox_setCurrentItem(arg1,arg2,arg3); return Qnil; fail: return Qnil; } static swig_class SwigClassFXImageView; SWIGINTERN VALUE _wrap_FXImageView_onPaint(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_onMotion(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","onMotion", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(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 *","onMotion", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMotion(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_onRightBtnPress(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","onRightBtnPress", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(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 *","onRightBtnPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onRightBtnPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_onRightBtnRelease(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","onRightBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(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 *","onRightBtnRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onRightBtnRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXImageView_allocate(VALUE self) #else _wrap_FXImageView_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXImageView); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXImageView(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXImage *arg2 = (FXImage *) 0 ; FXObject *arg3 = (FXObject *) 0 ; FXSelector arg4 = (FXSelector) 0 ; FXuint arg5 = (FXuint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXImageView *result = 0 ; if ((argc < 1) || (argc > 9)) { 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 *","FXImageView", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); if (argc > 1) { res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXImage, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXImage *","FXImageView", 2, argv[1] )); } arg2 = reinterpret_cast< FXImage * >(argp2); } if (argc > 2) { res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXObject *","FXImageView", 3, argv[2] )); } arg3 = reinterpret_cast< FXObject * >(argp3); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXImageView *)new_FXImageView(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_setImage(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 0 ; FXImage *arg2 = (FXImage *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","setImage", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXImage, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXImage *","setImage", 2, argv[0] )); } arg2 = reinterpret_cast< FXImage * >(argp2); (arg1)->setImage(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_getImage(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXImage *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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView const *","getImage", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); result = (FXImage *)((FXImageView const *)arg1)->getImage(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXImage, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_setAlignment(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","setAlignment", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setAlignment(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_getAlignment(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView const *","getAlignment", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); result = (FXuint)((FXImageView const *)arg1)->getAlignment(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_save(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView const *","save", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(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); FXImageView_save((FXImageView const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_load(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","load", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(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); FXImageView_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_create(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","create", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_detach(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","detach", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_destroy(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","destroy", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_resize(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","resize", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXImageView_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); result = (FXint)FXImageView_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); result = (FXint)FXImageView_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXImageView_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXImageView_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_canFocus(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); result = (bool)FXImageView_canFocus((FXImageView const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_setFocus(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_killFocus(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_changeFocus(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(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); FXImageView_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_setDefault(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXImageView_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_enable(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","enable", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_disable(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","disable", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_raiseWindow(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","raise", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_lower(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","lower", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_move(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","move", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXImageView_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_position__SWIG_0(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","position", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXImageView_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_layout(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","layout", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_recalc(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","recalc", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_reparent(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","reparent", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(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); FXImageView_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_show(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","show", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_hide(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","hide", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_isComposite(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); result = (bool)FXImageView_isComposite((FXImageView const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_contains(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView const *","contains", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXImageView_contains((FXImageView const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); result = (bool)FXImageView_doesSaveUnder((FXImageView const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_setBackColor(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); arg2 = to_FXColor(argv[0]); FXImageView_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_tr(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView const *","tr", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXImageView_tr((FXImageView const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_dropEnable(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_dropDisable(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","setShape", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXImageView_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","setShape", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXImageView_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","setShape", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXImageView_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXImageView, 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_FXImageView_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXImageView, 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_FXImageView_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXImageView, 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_FXImageView_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; } SWIGINTERN VALUE _wrap_FXImageView_clearShape(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); FXImageView_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_getViewportHeight(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","getViewportHeight", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); result = (FXint)FXImageView_getViewportHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_getViewportWidth(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","getViewportWidth", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); result = (FXint)FXImageView_getViewportWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_getContentHeight(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","getContentHeight", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); result = (FXint)FXImageView_getContentHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_getContentWidth(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 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_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView *","getContentWidth", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); result = (FXint)FXImageView_getContentWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_position__SWIG_1(int argc, VALUE *argv, VALUE self) { FXImageView *arg1 = (FXImageView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageView const *","position", 1, self )); } arg1 = reinterpret_cast< FXImageView * >(argp1); result = (VALUE)FXImageView_position__SWIG_1((FXImageView const *)arg1); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXImageView_position(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 6) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXImageView, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXImageView_position__SWIG_1(nargs, args, self); } } if (argc == 5) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXImageView, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXImageView_position__SWIG_0(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 6, "position", " void position(FXint x, FXint y, FXint w, FXint h)\n" " VALUE position()\n"); return Qnil; } static swig_class SwigClassFXDragCorner; SWIGINTERN VALUE _wrap_FXDragCorner_onPaint(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_onLeftBtnPress(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","onLeftBtnPress", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(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 *","onLeftBtnPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","onLeftBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(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 *","onLeftBtnRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_onMotion(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","onMotion", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(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 *","onMotion", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMotion(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXDragCorner_allocate(VALUE self) #else _wrap_FXDragCorner_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXDragCorner); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXDragCorner(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXDragCorner *result = 0 ; if ((argc < 1) || (argc > 1)) { 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 *","FXDragCorner", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXDragCorner *)new_FXDragCorner(arg1); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_setHiliteColor(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","setHiliteColor", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setHiliteColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_getHiliteColor(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner const *","getHiliteColor", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); result = (FXColor)((FXDragCorner const *)arg1)->getHiliteColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_setShadowColor(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","setShadowColor", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setShadowColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_getShadowColor(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner const *","getShadowColor", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); result = (FXColor)((FXDragCorner const *)arg1)->getShadowColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_save(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner const *","save", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(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); FXDragCorner_save((FXDragCorner const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_load(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","load", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(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); FXDragCorner_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_create(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","create", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_detach(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","detach", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_destroy(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","destroy", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_resize(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","resize", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDragCorner_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); result = (FXint)FXDragCorner_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); result = (FXint)FXDragCorner_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDragCorner_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDragCorner_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_canFocus(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); result = (bool)FXDragCorner_canFocus((FXDragCorner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_setFocus(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_killFocus(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_changeFocus(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(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); FXDragCorner_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_setDefault(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXDragCorner_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_enable(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","enable", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_disable(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","disable", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_raiseWindow(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","raise", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_lower(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","lower", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_move(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","move", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDragCorner_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_position(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","position", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDragCorner_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_layout(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","layout", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_recalc(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","recalc", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_reparent(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","reparent", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(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); FXDragCorner_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_show(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","show", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_hide(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","hide", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_isComposite(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); result = (bool)FXDragCorner_isComposite((FXDragCorner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_contains(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner const *","contains", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXDragCorner_contains((FXDragCorner const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); result = (bool)FXDragCorner_doesSaveUnder((FXDragCorner const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_setBackColor(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); arg2 = to_FXColor(argv[0]); FXDragCorner_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_tr(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner const *","tr", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXDragCorner_tr((FXDragCorner const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_dropEnable(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_dropDisable(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXDragCorner_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXDragCorner_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXDragCorner_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDragCorner_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDragCorner, 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_FXDragCorner_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDragCorner, 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_FXDragCorner_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDragCorner, 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_FXDragCorner_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; } SWIGINTERN VALUE _wrap_FXDragCorner_clearShape(int argc, VALUE *argv, VALUE self) { FXDragCorner *arg1 = (FXDragCorner *) 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_FXDragCorner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDragCorner *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXDragCorner * >(argp1); FXDragCorner_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXDirBox; SWIGINTERN VALUE _wrap_FXDirBox_onTreeChanged(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","onTreeChanged", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(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 *","onTreeChanged", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onTreeChanged(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_onTreeClicked(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","onTreeClicked", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(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 *","onTreeClicked", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onTreeClicked(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","onCmdSetValue", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(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 *","onCmdSetValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = static_cast(StringValuePtr(argv[2])); result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_onCmdSetStringValue(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXString value4 ; 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","onCmdSetStringValue", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(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 *","onCmdSetStringValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = FXString(StringValuePtr(argv[2])); arg4 = (void *) &value4; } result = (long)(arg1)->onCmdSetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_onCmdGetStringValue(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","onCmdGetStringValue", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(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 *","onCmdGetStringValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXDirBox_allocate(VALUE self) #else _wrap_FXDirBox_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXDirBox); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXDirBox(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) FRAME_SUNKEN|FRAME_THICK|TREELISTBOX_NORMAL ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) DEFAULT_PAD ; FXint arg10 = (FXint) DEFAULT_PAD ; FXint arg11 = (FXint) DEFAULT_PAD ; FXint arg12 = (FXint) DEFAULT_PAD ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXDirBox *result = 0 ; if ((argc < 1) || (argc > 12)) { 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 *","FXDirBox", 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 *","FXDirBox", 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 (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXDirBox *)new_FXDirBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_setDirectory(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","setDirectory", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setDirectory((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_getDirectory(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox const *","getDirectory", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); result = ((FXDirBox const *)arg1)->getDirectory(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_setAssociations(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 0 ; FXFileDict *arg2 = (FXFileDict *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","setAssociations", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFileDict, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFileDict *","setAssociations", 2, argv[0] )); } arg2 = reinterpret_cast< FXFileDict * >(argp2); (arg1)->setAssociations(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_getAssociations(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFileDict *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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox const *","getAssociations", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); result = (FXFileDict *)((FXDirBox const *)arg1)->getAssociations(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFileDict, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_save(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox const *","save", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(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); FXDirBox_save((FXDirBox const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_load(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","load", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(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); FXDirBox_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_create(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","create", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_detach(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","detach", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_destroy(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","destroy", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_resize(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","resize", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDirBox_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); result = (FXint)FXDirBox_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); result = (FXint)FXDirBox_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDirBox_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDirBox_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_canFocus(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); result = (bool)FXDirBox_canFocus((FXDirBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_setFocus(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_killFocus(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_changeFocus(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(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); FXDirBox_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_setDefault(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXDirBox_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_enable(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","enable", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_disable(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","disable", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_raiseWindow(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","raise", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_lower(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","lower", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_move(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","move", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDirBox_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_position(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","position", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDirBox_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_layout(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","layout", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_recalc(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","recalc", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_reparent(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","reparent", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(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); FXDirBox_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_show(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","show", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_hide(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","hide", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_isComposite(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); result = (bool)FXDirBox_isComposite((FXDirBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_contains(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox const *","contains", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXDirBox_contains((FXDirBox const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); result = (bool)FXDirBox_doesSaveUnder((FXDirBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_setBackColor(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); arg2 = to_FXColor(argv[0]); FXDirBox_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_tr(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox const *","tr", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXDirBox_tr((FXDirBox const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_dropEnable(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_dropDisable(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXDirBox_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXDirBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXDirBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirBox, 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_FXDirBox_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirBox, 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_FXDirBox_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirBox, 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_FXDirBox_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; } SWIGINTERN VALUE _wrap_FXDirBox_clearShape(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); FXDirBox_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirBox_setCurrentItem(int argc, VALUE *argv, VALUE self) { FXDirBox *arg1 = (FXDirBox *) 0 ; FXTreeItem *arg2 = (FXTreeItem *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; 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_FXDirBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirBox *","setCurrentItem", 1, self )); } arg1 = reinterpret_cast< FXDirBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTreeItem, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTreeItem *","setCurrentItem", 2, argv[0] )); } arg2 = reinterpret_cast< FXTreeItem * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXDirBox_setCurrentItem(arg1,arg2,arg3); return Qnil; fail: return Qnil; } static swig_class SwigClassFXDriveBox; SWIGINTERN VALUE _wrap_FXDriveBox_onListChanged(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","onListChanged", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(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 *","onListChanged", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onListChanged(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_onListClicked(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","onListClicked", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(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 *","onListClicked", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onListClicked(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","onCmdSetValue", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(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 *","onCmdSetValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = static_cast(StringValuePtr(argv[2])); result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_onCmdSetStringValue(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXString value4 ; 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","onCmdSetStringValue", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(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 *","onCmdSetStringValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = FXString(StringValuePtr(argv[2])); arg4 = (void *) &value4; } result = (long)(arg1)->onCmdSetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_onCmdGetStringValue(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","onCmdGetStringValue", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(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 *","onCmdGetStringValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXDriveBox_allocate(VALUE self) #else _wrap_FXDriveBox_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXDriveBox); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXDriveBox(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) DEFAULT_PAD ; FXint arg10 = (FXint) DEFAULT_PAD ; FXint arg11 = (FXint) DEFAULT_PAD ; FXint arg12 = (FXint) DEFAULT_PAD ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXDriveBox *result = 0 ; if ((argc < 1) || (argc > 12)) { 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 *","FXDriveBox", 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 *","FXDriveBox", 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 (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXDriveBox *)new_FXDriveBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_setDrive(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 0 ; FXString *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXbool 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","setDrive", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; result = (FXbool)(arg1)->setDrive((FXString const &)*arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_getDrive(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox const *","getDrive", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); result = ((FXDriveBox const *)arg1)->getDrive(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_setAssociations(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 0 ; FXFileDict *arg2 = (FXFileDict *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","setAssociations", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFileDict, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFileDict *","setAssociations", 2, argv[0] )); } arg2 = reinterpret_cast< FXFileDict * >(argp2); (arg1)->setAssociations(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_getAssociations(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFileDict *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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox const *","getAssociations", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); result = (FXFileDict *)((FXDriveBox const *)arg1)->getAssociations(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFileDict, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_save(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox const *","save", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(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); FXDriveBox_save((FXDriveBox const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_load(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","load", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(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); FXDriveBox_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_create(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","create", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_detach(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","detach", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_destroy(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","destroy", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_resize(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","resize", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDriveBox_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); result = (FXint)FXDriveBox_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); result = (FXint)FXDriveBox_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDriveBox_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDriveBox_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_canFocus(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); result = (bool)FXDriveBox_canFocus((FXDriveBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_setFocus(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_killFocus(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_changeFocus(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(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); FXDriveBox_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_setDefault(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXDriveBox_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_enable(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","enable", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_disable(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","disable", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_raiseWindow(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","raise", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_lower(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","lower", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_move(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","move", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDriveBox_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_position(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","position", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDriveBox_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_layout(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","layout", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_recalc(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","recalc", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_reparent(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","reparent", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(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); FXDriveBox_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_show(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","show", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_hide(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","hide", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_isComposite(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); result = (bool)FXDriveBox_isComposite((FXDriveBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_contains(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox const *","contains", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXDriveBox_contains((FXDriveBox const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); result = (bool)FXDriveBox_doesSaveUnder((FXDriveBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_setBackColor(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); arg2 = to_FXColor(argv[0]); FXDriveBox_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_tr(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox const *","tr", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXDriveBox_tr((FXDriveBox const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_dropEnable(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_dropDisable(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXDriveBox_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXDriveBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXDriveBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDriveBox, 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_FXDriveBox_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDriveBox, 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_FXDriveBox_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDriveBox, 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_FXDriveBox_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; } SWIGINTERN VALUE _wrap_FXDriveBox_clearShape(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); FXDriveBox_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDriveBox_setCurrentItem(int argc, VALUE *argv, VALUE self) { FXDriveBox *arg1 = (FXDriveBox *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXDriveBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDriveBox *","setCurrentItem", 1, self )); } arg1 = reinterpret_cast< FXDriveBox * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } FXDriveBox_setCurrentItem(arg1,arg2,arg3); return Qnil; fail: return Qnil; } static swig_class SwigClassFXDirSelector; 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXDirSelector_allocate(VALUE self) #else _wrap_FXDirSelector_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXDirSelector); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } 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; } SWIGINTERN VALUE _wrap_FXDirSelector_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDirSelector *arg1 = (FXDirSelector *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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 *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDirSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXDirSelector_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirSelector_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDirSelector *arg1 = (FXDirSelector *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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 *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDirSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXDirSelector_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirSelector_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXDirSelector *arg1 = (FXDirSelector *) 0 ; FXIcon *arg2 = (FXIcon *) 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 *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDirSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXDirSelector_setShape(arg1,arg2); return Qnil; fail: return Qnil; } 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; 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; 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; 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; } 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; } static swig_class SwigClassFXFileSelector; SWIGINTERN VALUE _wrap_FXFileSelector_onCmdAccept(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdAccept", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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 *","onCmdAccept", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdAccept(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdFilter(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdFilter", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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 *","onCmdFilter", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = static_cast(StringValuePtr(argv[2])); result = (long)(arg1)->onCmdFilter(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdItemDblClicked(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdItemDblClicked", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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 *","onCmdItemDblClicked", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdItemDblClicked(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdItemSelected(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdItemSelected", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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 *","onCmdItemSelected", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdItemSelected(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdItemDeselected(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdItemDeselected", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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 *","onCmdItemDeselected", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdItemDeselected(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdDirectoryUp(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdDirectoryUp", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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; } SWIGINTERN VALUE _wrap_FXFileSelector_onUpdDirectoryUp(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onUpdDirectoryUp", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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 *","onUpdDirectoryUp", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdDirectoryUp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdDirTree(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdDirTree", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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 *","onCmdDirTree", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = static_cast(StringValuePtr(argv[2])); result = (long)(arg1)->onCmdDirTree(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdHome(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdHome", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdWork(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdWork", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdBookmark(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdBookmark", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdVisit(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdVisit", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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]); arg4 = static_cast(StringValuePtr(argv[2])); result = (long)(arg1)->onCmdVisit(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdNew(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdNew", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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; } SWIGINTERN VALUE _wrap_FXFileSelector_onUpdNew(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onUpdNew", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdMove(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdMove", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdCopy(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdCopy", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdLink(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdLink", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdDelete(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdDelete", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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; } SWIGINTERN VALUE _wrap_FXFileSelector_onUpdSelected(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onUpdSelected", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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; } SWIGINTERN VALUE _wrap_FXFileSelector_onPopupMenu(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onPopupMenu", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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; } SWIGINTERN VALUE _wrap_FXFileSelector_onCmdImageSize(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onCmdImageSize", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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 *","onCmdImageSize", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdImageSize(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_onUpdImageSize(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onUpdImageSize", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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 *","onUpdImageSize", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdImageSize(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_onUpdNavigable(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","onUpdNavigable", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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 *","onUpdNavigable", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdNavigable(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXFileSelector_allocate(VALUE self) #else _wrap_FXFileSelector_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXFileSelector); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXFileSelector(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 ; FXFileSelector *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 *","FXFileSelector", 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 *","FXFileSelector", 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 = (FXFileSelector *)new_FXFileSelector(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; } SWIGINTERN VALUE _wrap_FXFileSelector_acceptButton(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","acceptButton", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXButton *)((FXFileSelector const *)arg1)->acceptButton(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXButton, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_cancelButton(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","cancelButton", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXButton *)((FXFileSelector const *)arg1)->cancelButton(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXButton, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setFilename(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setFilename", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setFilename((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getFilename(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getFilename", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = ((FXFileSelector const *)arg1)->getFilename(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getFilenames(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getFilenames", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (VALUE)FXFileSelector_getFilenames((FXFileSelector const *)arg1); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setPattern(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setPattern", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setPattern((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getPattern(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getPattern", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = ((FXFileSelector const *)arg1)->getPattern(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setPatternList(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 0 ; VALUE arg2 = (VALUE) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setPatternList", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = argv[0]; FXFileSelector_setPatternList(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getPatternList(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getPatternList", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (VALUE)FXFileSelector_getPatternList((FXFileSelector const *)arg1); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setCurrentPattern(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setCurrentPattern", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setCurrentPattern(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getCurrentPattern(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getCurrentPattern", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXint)((FXFileSelector const *)arg1)->getCurrentPattern(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getPatternText(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; FXString result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getPatternText", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2INT(argv[0]); result = ((FXFileSelector const *)arg1)->getPatternText(arg2); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setPatternText(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 0 ; FXint arg2 ; FXString *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setPatternText", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; (arg1)->setPatternText(arg2,(FXString const &)*arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_numPatterns(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getNumPatterns", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXint)((FXFileSelector const *)arg1)->getNumPatterns(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setAllowPatternEntry(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","allowPatternEntry", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->allowPatternEntry(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getAllowPatternEntry(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","allowPatternEntry", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXbool)((FXFileSelector const *)arg1)->allowPatternEntry(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setDirectory(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setDirectory", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setDirectory((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getDirectory(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getDirectory", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = ((FXFileSelector const *)arg1)->getDirectory(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_patternFromText(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; SwigValueWrapper< FXString > p1 ; FXString result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } p1 = to_FXString(argv[0]); arg1 = &p1; result = FXFileSelector::patternFromText((FXString const &)*arg1); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_extensionFromPattern(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; SwigValueWrapper< FXString > p1 ; FXString result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } p1 = to_FXString(argv[0]); arg1 = &p1; result = FXFileSelector::extensionFromPattern((FXString const &)*arg1); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setItemSpace(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setItemSpace", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setItemSpace(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getItemSpace(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getItemSpace", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXint)((FXFileSelector const *)arg1)->getItemSpace(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setFileBoxStyle(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setFileBoxStyle", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setFileBoxStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getFileBoxStyle(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getFileBoxStyle", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXuint)((FXFileSelector const *)arg1)->getFileBoxStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setSelectMode(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setSelectMode", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setSelectMode(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getSelectMode(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getSelectMode", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXuint)((FXFileSelector const *)arg1)->getSelectMode(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setMatchMode(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setMatchMode", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setMatchMode(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getMatchMode(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getMatchMode", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXuint)((FXFileSelector const *)arg1)->getMatchMode(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getShowHiddenFiles(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","showHiddenFiles", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXbool)((FXFileSelector const *)arg1)->showHiddenFiles(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setShowHiddenFiles(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","showHiddenFiles", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->showHiddenFiles(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getShowImages(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","showImages", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXbool)((FXFileSelector const *)arg1)->showImages(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setShowImages(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","showImages", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->showImages(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getImageSize(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getImageSize", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXint)((FXFileSelector const *)arg1)->getImageSize(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setImageSize(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setImageSize", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setImageSize(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setReadOnlyShown(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","showReadOnly", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->showReadOnly(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getReadOnlyShown(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","shownReadOnly", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXbool)((FXFileSelector const *)arg1)->shownReadOnly(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setReadOnly(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setReadOnly", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setReadOnly(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getReadOnly(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","getReadOnly", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXbool)((FXFileSelector const *)arg1)->getReadOnly(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_navigationAllowede___(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","allowNavigation", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->allowNavigation(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_navigationAllowedq___(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","allowNavigation", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXbool)((FXFileSelector const *)arg1)->allowNavigation(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_save(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","save", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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); FXFileSelector_save((FXFileSelector const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_load(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","load", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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); FXFileSelector_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_create(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","create", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_detach(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","detach", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_destroy(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","destroy", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_resize(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","resize", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXFileSelector_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXint)FXFileSelector_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (FXint)FXFileSelector_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXFileSelector_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXFileSelector_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_canFocus(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (bool)FXFileSelector_canFocus((FXFileSelector const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setFocus(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_killFocus(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_changeFocus(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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); FXFileSelector_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setDefault(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXFileSelector_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_enable(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","enable", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_disable(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","disable", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_raiseWindow(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","raise", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_lower(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","lower", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_move(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","move", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXFileSelector_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_position(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","position", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXFileSelector_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_layout(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","layout", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_recalc(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","recalc", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_reparent(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","reparent", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(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); FXFileSelector_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_show(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","show", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_hide(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","hide", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_isComposite(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (bool)FXFileSelector_isComposite((FXFileSelector const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_contains(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","contains", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXFileSelector_contains((FXFileSelector const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); result = (bool)FXFileSelector_doesSaveUnder((FXFileSelector const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setBackColor(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = to_FXColor(argv[0]); FXFileSelector_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_tr(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector const *","tr", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXFileSelector_tr((FXFileSelector const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_dropEnable(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_dropDisable(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setShape", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXFileSelector_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setShape", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXFileSelector_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","setShape", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXFileSelector_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileSelector_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFileSelector, 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_FXFileSelector_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFileSelector, 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_FXFileSelector_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFileSelector, 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_FXFileSelector_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; } SWIGINTERN VALUE _wrap_FXFileSelector_clearShape(int argc, VALUE *argv, VALUE self) { FXFileSelector *arg1 = (FXFileSelector *) 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_FXFileSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileSelector *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXFileSelector * >(argp1); FXFileSelector_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXColorSelector; SWIGINTERN VALUE _wrap_FXColorSelector_onCmdWell(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdWell", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdWell", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdWell(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onChgWell(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onChgWell", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onChgWell", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2UINT(argv[2])); result = (long)(arg1)->onChgWell(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdRGBSlider(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdRGBSlider", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdRGBSlider", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdRGBSlider(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onUpdRGBSlider(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onUpdRGBSlider", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onUpdRGBSlider", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdRGBSlider(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdRGBText(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdRGBText", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdRGBText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdRGBText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onUpdRGBText(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onUpdRGBText", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onUpdRGBText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdRGBText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdHSVSlider(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdHSVSlider", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdHSVSlider", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdHSVSlider(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onUpdHSVSlider(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onUpdHSVSlider", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onUpdHSVSlider", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdHSVSlider(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdHSVText(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdHSVText", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdHSVText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdHSVText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onUpdHSVText(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onUpdHSVText", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onUpdHSVText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdHSVText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdCMYSlider(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdCMYSlider", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdCMYSlider", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCMYSlider(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onUpdCMYSlider(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onUpdCMYSlider", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onUpdCMYSlider", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdCMYSlider(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdCMYText(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdCMYText", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdCMYText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCMYText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onUpdCMYText(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onUpdCMYText", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onUpdCMYText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdCMYText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdList(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdList", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdList", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdList(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdCustomWell(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdCustomWell", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdCustomWell", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2UINT(argv[2])); result = (long)(arg1)->onCmdCustomWell(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onChgCustomWell(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onChgCustomWell", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onChgCustomWell", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2UINT(argv[2])); result = (long)(arg1)->onChgCustomWell(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdSetValue", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdSetValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2UINT(argv[2])); result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdActivePane(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdActivePane", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdActivePane", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdActivePane(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdAlphaSlider(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdAlphaSlider", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdAlphaSlider", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdAlphaSlider(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onUpdAlphaSlider(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onUpdAlphaSlider", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onUpdAlphaSlider", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdAlphaSlider(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdAlphaText(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdAlphaText", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdAlphaText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdAlphaText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onUpdAlphaText(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onUpdAlphaText", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onUpdAlphaText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdAlphaText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onUpdAlphaLabel(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onUpdAlphaLabel", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onUpdAlphaLabel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdAlphaLabel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdWheel(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXfloat values4[3] ; 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdWheel", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdWheel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { Check_Type(argv[2], T_ARRAY); values4[0] = (FXfloat) NUM2DBL(rb_ary_entry(argv[2], 0)); values4[1] = (FXfloat) NUM2DBL(rb_ary_entry(argv[2], 1)); values4[2] = (FXfloat) NUM2DBL(rb_ary_entry(argv[2], 2)); arg4 = (void *) values4; } result = (long)(arg1)->onCmdWheel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onUpdWheel(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onUpdWheel", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onUpdWheel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdWheel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_onCmdColorPick(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","onCmdColorPick", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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 *","onCmdColorPick", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = FXRbConvertPtr(argv[2], FXRbTypeQuery("FXPoint *")); result = (long)(arg1)->onCmdColorPick(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXColorSelector_allocate(VALUE self) #else _wrap_FXColorSelector_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXColorSelector); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXColorSelector(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 ; FXColorSelector *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 *","FXColorSelector", 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 *","FXColorSelector", 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 = (FXColorSelector *)new_FXColorSelector(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; } SWIGINTERN VALUE _wrap_FXColorSelector_acceptButton(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector const *","acceptButton", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); result = (FXButton *)((FXColorSelector const *)arg1)->acceptButton(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXButton, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_cancelButton(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector const *","cancelButton", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); result = (FXButton *)((FXColorSelector const *)arg1)->cancelButton(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXButton, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_setRGBA(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","setRGBA", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setRGBA(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_getRGBA(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector const *","getRGBA", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); result = (FXColor)((FXColorSelector const *)arg1)->getRGBA(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_isOpaqueOnly(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector const *","isOpaqueOnly", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); result = (FXbool)((FXColorSelector const *)arg1)->isOpaqueOnly(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_setOpaqueOnly(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","setOpaqueOnly", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setOpaqueOnly(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_save(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector const *","save", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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); FXColorSelector_save((FXColorSelector const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_load(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","load", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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); FXColorSelector_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_create(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","create", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_detach(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","detach", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_destroy(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","destroy", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_resize(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","resize", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXColorSelector_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); result = (FXint)FXColorSelector_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); result = (FXint)FXColorSelector_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXColorSelector_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXColorSelector_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_canFocus(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); result = (bool)FXColorSelector_canFocus((FXColorSelector const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_setFocus(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_killFocus(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_changeFocus(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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); FXColorSelector_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_setDefault(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXColorSelector_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_enable(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","enable", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_disable(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","disable", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_raiseWindow(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","raise", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_lower(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","lower", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_move(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","move", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXColorSelector_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_position(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","position", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXColorSelector_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_layout(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","layout", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_recalc(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","recalc", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_reparent(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","reparent", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(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); FXColorSelector_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_show(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","show", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_hide(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","hide", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_isComposite(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); result = (bool)FXColorSelector_isComposite((FXColorSelector const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_contains(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector const *","contains", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXColorSelector_contains((FXColorSelector const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); result = (bool)FXColorSelector_doesSaveUnder((FXColorSelector const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_setBackColor(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); arg2 = to_FXColor(argv[0]); FXColorSelector_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_tr(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector const *","tr", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXColorSelector_tr((FXColorSelector const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_dropEnable(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_dropDisable(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","setShape", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXColorSelector_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","setShape", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXColorSelector_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","setShape", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXColorSelector_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorSelector_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorSelector, 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_FXColorSelector_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorSelector, 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_FXColorSelector_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorSelector, 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_FXColorSelector_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; } SWIGINTERN VALUE _wrap_FXColorSelector_clearShape(int argc, VALUE *argv, VALUE self) { FXColorSelector *arg1 = (FXColorSelector *) 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_FXColorSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorSelector *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXColorSelector * >(argp1); FXColorSelector_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXFontSelector; SWIGINTERN VALUE _wrap_FXFontSelector_onCmdFamily(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onCmdFamily", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onCmdFamily", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdFamily(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onCmdWeight(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onCmdWeight", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onCmdWeight", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdWeight(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onCmdStyle(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onCmdStyle", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onCmdStyle", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdStyle(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onCmdStyleText(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onCmdStyleText", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onCmdStyleText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdStyleText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onCmdSize(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onCmdSize", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onCmdSize", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdSize(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onCmdSizeText(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onCmdSizeText", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onCmdSizeText", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdSizeText(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onCmdCharset(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onCmdCharset", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onCmdCharset", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCharset(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onUpdCharset(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onUpdCharset", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onUpdCharset", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdCharset(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onCmdSetWidth(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onCmdSetWidth", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onCmdSetWidth", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdSetWidth(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onUpdSetWidth(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onUpdSetWidth", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onUpdSetWidth", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdSetWidth(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onCmdPitch(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onCmdPitch", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onCmdPitch", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdPitch(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onUpdPitch(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onUpdPitch", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onUpdPitch", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdPitch(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onCmdScalable(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onCmdScalable", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onCmdScalable", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdScalable(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onUpdScalable(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onUpdScalable", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onUpdScalable", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdScalable(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onCmdAllFonts(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onCmdAllFonts", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onCmdAllFonts", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdAllFonts(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_onUpdAllFonts(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","onUpdAllFonts", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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 *","onUpdAllFonts", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdAllFonts(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXFontSelector_allocate(VALUE self) #else _wrap_FXFontSelector_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXFontSelector); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXFontSelector(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 ; FXFontSelector *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 *","FXFontSelector", 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 *","FXFontSelector", 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 = (FXFontSelector *)new_FXFontSelector(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; } SWIGINTERN VALUE _wrap_FXFontSelector_acceptButton(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector const *","acceptButton", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); result = (FXButton *)((FXFontSelector const *)arg1)->acceptButton(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXButton, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_cancelButton(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector const *","cancelButton", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); result = (FXButton *)((FXFontSelector const *)arg1)->cancelButton(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXButton, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_setFontSelection(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 0 ; FXFontDesc *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","setFontSelection", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXFontDesc, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFontDesc const &","setFontSelection", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXFontDesc const &","setFontSelection", 2, argv[0])); } arg2 = reinterpret_cast< FXFontDesc * >(argp2); (arg1)->setFontSelection((FXFontDesc const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_getFontSelection(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFontDesc 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector const *","getFontSelection", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); result = FXFontSelector_getFontSelection((FXFontSelector const *)arg1); { FXFontDesc* resultptr = new FXFontDesc(result); vresult = FXRbGetRubyObj(resultptr, "FXFontDesc *"); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_save(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector const *","save", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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); FXFontSelector_save((FXFontSelector const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_load(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","load", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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); FXFontSelector_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_create(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","create", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_detach(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","detach", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_destroy(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","destroy", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_resize(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","resize", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXFontSelector_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); result = (FXint)FXFontSelector_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); result = (FXint)FXFontSelector_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXFontSelector_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXFontSelector_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_canFocus(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); result = (bool)FXFontSelector_canFocus((FXFontSelector const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_setFocus(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_killFocus(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_changeFocus(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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); FXFontSelector_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_setDefault(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXFontSelector_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_enable(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","enable", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_disable(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","disable", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_raiseWindow(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","raise", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_lower(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","lower", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_move(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","move", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXFontSelector_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_position(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","position", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXFontSelector_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_layout(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","layout", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_recalc(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","recalc", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_reparent(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","reparent", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(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); FXFontSelector_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_show(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","show", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_hide(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","hide", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_isComposite(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); result = (bool)FXFontSelector_isComposite((FXFontSelector const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_contains(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector const *","contains", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXFontSelector_contains((FXFontSelector const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); result = (bool)FXFontSelector_doesSaveUnder((FXFontSelector const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_setBackColor(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); arg2 = to_FXColor(argv[0]); FXFontSelector_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_tr(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector const *","tr", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXFontSelector_tr((FXFontSelector const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_dropEnable(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_dropDisable(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","setShape", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXFontSelector_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","setShape", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXFontSelector_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","setShape", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXFontSelector_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontSelector_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFontSelector, 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_FXFontSelector_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFontSelector, 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_FXFontSelector_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFontSelector, 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_FXFontSelector_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; } SWIGINTERN VALUE _wrap_FXFontSelector_clearShape(int argc, VALUE *argv, VALUE self) { FXFontSelector *arg1 = (FXFontSelector *) 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_FXFontSelector, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontSelector *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXFontSelector * >(argp1); FXFontSelector_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXDockHandler; SWIGINTERN VALUE _wrap_FXDockHandler_onLeftBtnPress(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","onLeftBtnPress", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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 *","onLeftBtnPress", 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 *","onLeftBtnPress", 4, argv[2] )); } result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","onLeftBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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 *","onLeftBtnRelease", 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 *","onLeftBtnRelease", 4, argv[2] )); } result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_onMotion(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","onMotion", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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 *","onMotion", 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 *","onMotion", 4, argv[2] )); } result = (long)(arg1)->onMotion(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_onKeyPress(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","onKeyPress", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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 *","onKeyPress", 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 *","onKeyPress", 4, argv[2] )); } result = (long)(arg1)->onKeyPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_onKeyRelease(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","onKeyRelease", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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 *","onKeyRelease", 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 *","onKeyRelease", 4, argv[2] )); } result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_onQueryTip(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","onQueryTip", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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 *","onQueryTip", 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 *","onQueryTip", 4, argv[2] )); } result = (long)(arg1)->onQueryTip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_onQueryHelp(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","onQueryHelp", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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 *","onQueryHelp", 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 *","onQueryHelp", 4, argv[2] )); } result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_onCmdSetTip(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","onCmdSetTip", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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 *","onCmdSetTip", 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 *","onCmdSetTip", 4, argv[2] )); } result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_onCmdGetTip(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","onCmdGetTip", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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 *","onCmdGetTip", 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 *","onCmdGetTip", 4, argv[2] )); } result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_onCmdSetHelp(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","onCmdSetHelp", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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 *","onCmdSetHelp", 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 *","onCmdSetHelp", 4, argv[2] )); } result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_onCmdGetHelp(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","onCmdGetHelp", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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 *","onCmdGetHelp", 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 *","onCmdGetHelp", 4, argv[2] )); } result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_helpTexte___(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","setHelpText", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setHelpText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_helpText(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler const *","getHelpText", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); result = (FXString *) &((FXDockHandler const *)arg1)->getHelpText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_tipTexte___(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","setTipText", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setTipText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_tipText(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler const *","getTipText", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); result = (FXString *) &((FXDockHandler const *)arg1)->getTipText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_save(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler const *","save", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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); FXDockHandler_save((FXDockHandler const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_load(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","load", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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); FXDockHandler_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_create(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","create", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_detach(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","detach", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_destroy(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","destroy", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_resize(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","resize", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDockHandler_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); result = (FXint)FXDockHandler_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); result = (FXint)FXDockHandler_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDockHandler_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDockHandler_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_canFocus(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); result = (bool)FXDockHandler_canFocus((FXDockHandler const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_setFocus(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_killFocus(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_changeFocus(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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); FXDockHandler_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_setDefault(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXDockHandler_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_enable(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","enable", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_disable(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","disable", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_raiseWindow(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","raise", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_lower(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","lower", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_move(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","move", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDockHandler_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_position(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","position", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDockHandler_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_layout(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","layout", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_recalc(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","recalc", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_reparent(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","reparent", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(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); FXDockHandler_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_show(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","show", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_hide(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","hide", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_isComposite(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); result = (bool)FXDockHandler_isComposite((FXDockHandler const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_contains(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler const *","contains", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXDockHandler_contains((FXDockHandler const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); result = (bool)FXDockHandler_doesSaveUnder((FXDockHandler const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_setBackColor(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); arg2 = to_FXColor(argv[0]); FXDockHandler_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_tr(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler const *","tr", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXDockHandler_tr((FXDockHandler const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_dropEnable(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_dropDisable(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXDockHandler_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXDockHandler_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXDockHandler_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockHandler_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDockHandler, 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_FXDockHandler_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDockHandler, 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_FXDockHandler_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDockHandler, 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_FXDockHandler_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; } SWIGINTERN VALUE _wrap_FXDockHandler_clearShape(int argc, VALUE *argv, VALUE self) { FXDockHandler *arg1 = (FXDockHandler *) 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_FXDockHandler, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockHandler *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXDockHandler * >(argp1); FXDockHandler_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXDockTitle; SWIGINTERN VALUE _wrap_FXDockTitle_onPaint(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","onCmdSetValue", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(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 *","onCmdSetValue", 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 *","onCmdSetValue", 4, argv[2] )); } result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_onCmdSetStringValue(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","onCmdSetStringValue", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(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 *","onCmdSetStringValue", 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 *","onCmdSetStringValue", 4, argv[2] )); } result = (long)(arg1)->onCmdSetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_onCmdGetStringValue(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","onCmdGetStringValue", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(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 *","onCmdGetStringValue", 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 *","onCmdGetStringValue", 4, argv[2] )); } result = (long)(arg1)->onCmdGetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXDockTitle_allocate(VALUE self) #else _wrap_FXDockTitle_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXDockTitle); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXDockTitle(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXString *arg2 = 0 ; FXObject *arg3 = (FXObject *) 0 ; FXSelector arg4 = (FXSelector) 0 ; FXuint arg5 = (FXuint) FRAME_NORMAL|JUSTIFY_CENTER_X|JUSTIFY_CENTER_Y ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 0 ; FXint arg10 = (FXint) 0 ; FXint arg11 = (FXint) 0 ; FXint arg12 = (FXint) 0 ; FXint arg13 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; void *argp3 = 0 ; int res3 = 0 ; FXDockTitle *result = 0 ; if ((argc < 2) || (argc > 13)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXDockTitle", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) { res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXObject *","FXDockTitle", 3, argv[2] )); } arg3 = reinterpret_cast< FXObject * >(argp3); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXDockTitle *)new_FXDockTitle(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_captione___(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","setCaption", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setCaption((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_caption(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle const *","getCaption", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); result = ((FXDockTitle const *)arg1)->getCaption(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_fonte___(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 0 ; FXFont *arg2 = (FXFont *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","setFont", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); } arg2 = reinterpret_cast< FXFont * >(argp2); (arg1)->setFont(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_font(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFont *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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle const *","getFont", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); result = (FXFont *)((FXDockTitle const *)arg1)->getFont(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_captionColor(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle const *","getCaptionColor", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); result = (FXColor)((FXDockTitle const *)arg1)->getCaptionColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_captionColore___(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","setCaptionColor", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setCaptionColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_justifye___(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","setJustify", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setJustify(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_justify(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle const *","getJustify", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); result = (FXuint)((FXDockTitle const *)arg1)->getJustify(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_save(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle const *","save", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(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); FXDockTitle_save((FXDockTitle const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_load(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","load", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(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); FXDockTitle_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_create(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","create", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_detach(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","detach", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_destroy(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","destroy", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_resize(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","resize", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDockTitle_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); result = (FXint)FXDockTitle_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); result = (FXint)FXDockTitle_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDockTitle_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDockTitle_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_canFocus(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); result = (bool)FXDockTitle_canFocus((FXDockTitle const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_setFocus(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_killFocus(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_changeFocus(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(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); FXDockTitle_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_setDefault(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXDockTitle_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_enable(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","enable", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_disable(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","disable", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_raiseWindow(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","raise", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_lower(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","lower", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_move(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","move", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDockTitle_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_position(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","position", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDockTitle_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_layout(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","layout", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_recalc(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","recalc", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_reparent(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","reparent", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(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); FXDockTitle_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_show(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","show", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_hide(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","hide", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_isComposite(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); result = (bool)FXDockTitle_isComposite((FXDockTitle const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_contains(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle const *","contains", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXDockTitle_contains((FXDockTitle const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); result = (bool)FXDockTitle_doesSaveUnder((FXDockTitle const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_setBackColor(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); arg2 = to_FXColor(argv[0]); FXDockTitle_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_tr(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle const *","tr", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXDockTitle_tr((FXDockTitle const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_dropEnable(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_dropDisable(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXDockTitle_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXDockTitle_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXDockTitle_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDockTitle_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDockTitle, 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_FXDockTitle_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDockTitle, 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_FXDockTitle_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDockTitle, 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_FXDockTitle_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; } SWIGINTERN VALUE _wrap_FXDockTitle_clearShape(int argc, VALUE *argv, VALUE self) { FXDockTitle *arg1 = (FXDockTitle *) 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_FXDockTitle, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDockTitle *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXDockTitle * >(argp1); FXDockTitle_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXToolBarGrip; SWIGINTERN VALUE _wrap_FXToolBarGrip_onPaint(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_onEnter(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","onEnter", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(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 *","onEnter", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onEnter(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_onLeave(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","onLeave", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(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 *","onLeave", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onLeave(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXToolBarGrip_allocate(VALUE self) #else _wrap_FXToolBarGrip_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXToolBarGrip); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXToolBarGrip(int argc, VALUE *argv, VALUE self) { FXToolBar *arg1 = (FXToolBar *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) TOOLBARGRIP_SINGLE ; 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 ; FXToolBarGrip *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_FXToolBar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBar *","FXToolBarGrip", 1, argv[0] )); } arg1 = reinterpret_cast< FXToolBar * >(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 *","FXToolBarGrip", 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]); } { result = (FXToolBarGrip *)new_FXToolBarGrip(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; } SWIGINTERN VALUE _wrap_FXToolBarGrip_setDoubleBar(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","setDoubleBar", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->setDoubleBar(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_isDoubleBar(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip const *","isDoubleBar", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); result = (FXbool)((FXToolBarGrip const *)arg1)->isDoubleBar(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_setActiveColor(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","setActiveColor", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setActiveColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_getActiveColor(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip const *","getActiveColor", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); result = (FXColor)((FXToolBarGrip const *)arg1)->getActiveColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_save(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip const *","save", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(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); FXToolBarGrip_save((FXToolBarGrip const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_load(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","load", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(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); FXToolBarGrip_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_create(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","create", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_detach(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","detach", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_destroy(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","destroy", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_resize(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","resize", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXToolBarGrip_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); result = (FXint)FXToolBarGrip_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); result = (FXint)FXToolBarGrip_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXToolBarGrip_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXToolBarGrip_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_canFocus(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); result = (bool)FXToolBarGrip_canFocus((FXToolBarGrip const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_setFocus(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_killFocus(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_changeFocus(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(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); FXToolBarGrip_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_setDefault(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXToolBarGrip_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_enable(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","enable", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_disable(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","disable", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_raiseWindow(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","raise", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_lower(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","lower", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_move(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","move", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXToolBarGrip_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_position(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","position", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXToolBarGrip_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_layout(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","layout", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_recalc(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","recalc", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_reparent(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","reparent", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(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); FXToolBarGrip_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_show(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","show", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_hide(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","hide", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_isComposite(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); result = (bool)FXToolBarGrip_isComposite((FXToolBarGrip const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_contains(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip const *","contains", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXToolBarGrip_contains((FXToolBarGrip const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); result = (bool)FXToolBarGrip_doesSaveUnder((FXToolBarGrip const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_setBackColor(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); arg2 = to_FXColor(argv[0]); FXToolBarGrip_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_tr(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip const *","tr", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXToolBarGrip_tr((FXToolBarGrip const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_dropEnable(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_dropDisable(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","setShape", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXToolBarGrip_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","setShape", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXToolBarGrip_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","setShape", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXToolBarGrip_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarGrip_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBarGrip, 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_FXToolBarGrip_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBarGrip, 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_FXToolBarGrip_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBarGrip, 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_FXToolBarGrip_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; } SWIGINTERN VALUE _wrap_FXToolBarGrip_clearShape(int argc, VALUE *argv, VALUE self) { FXToolBarGrip *arg1 = (FXToolBarGrip *) 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_FXToolBarGrip, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarGrip *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXToolBarGrip * >(argp1); FXToolBarGrip_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXToolBarShell; SWIGINTERN VALUE _wrap_FXToolBarShell_onPaint(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXToolBarShell_allocate(VALUE self) #else _wrap_FXToolBarShell_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXToolBarShell); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXToolBarShell(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXuint arg2 = (FXuint) FRAME_RAISED|FRAME_THICK ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 4 ; FXint arg8 = (FXint) 4 ; void *argp1 = 0 ; int res1 = 0 ; FXToolBarShell *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_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWindow *","FXToolBarShell", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); if (argc > 1) { arg2 = NUM2UINT(argv[1]); } if (argc > 2) { arg3 = NUM2INT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(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 = (FXToolBarShell *)new_FXToolBarShell(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; } SWIGINTERN VALUE _wrap_FXToolBarShell_setFrameStyle(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","setFrameStyle", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setFrameStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_getFrameStyle(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell const *","getFrameStyle", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); result = (FXuint)((FXToolBarShell const *)arg1)->getFrameStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_getBorderWidth(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell const *","getBorderWidth", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); result = (FXint)((FXToolBarShell const *)arg1)->getBorderWidth(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_setHiliteColor(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","setHiliteColor", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setHiliteColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_getHiliteColor(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell const *","getHiliteColor", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); result = (FXColor)((FXToolBarShell const *)arg1)->getHiliteColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_setShadowColor(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","setShadowColor", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setShadowColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_getShadowColor(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell const *","getShadowColor", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); result = (FXColor)((FXToolBarShell const *)arg1)->getShadowColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_setBorderColor(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","setBorderColor", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setBorderColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_getBorderColor(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell const *","getBorderColor", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); result = (FXColor)((FXToolBarShell const *)arg1)->getBorderColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_setBaseColor(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","setBaseColor", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setBaseColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_getBaseColor(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell const *","getBaseColor", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); result = (FXColor)((FXToolBarShell const *)arg1)->getBaseColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_save(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell const *","save", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(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); FXToolBarShell_save((FXToolBarShell const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_load(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","load", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(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); FXToolBarShell_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_create(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","create", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_detach(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","detach", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_destroy(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","destroy", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_resize(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","resize", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXToolBarShell_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); result = (FXint)FXToolBarShell_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); result = (FXint)FXToolBarShell_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXToolBarShell_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXToolBarShell_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_canFocus(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); result = (bool)FXToolBarShell_canFocus((FXToolBarShell const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_setFocus(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_killFocus(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_changeFocus(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(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); FXToolBarShell_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_setDefault(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXToolBarShell_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_enable(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","enable", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_disable(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","disable", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_raiseWindow(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","raise", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_lower(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","lower", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_move(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","move", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXToolBarShell_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_position(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","position", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXToolBarShell_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_layout(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","layout", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_recalc(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","recalc", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_reparent(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","reparent", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(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); FXToolBarShell_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","show", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_hide(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","hide", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_isComposite(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); result = (bool)FXToolBarShell_isComposite((FXToolBarShell const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_contains(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell const *","contains", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXToolBarShell_contains((FXToolBarShell const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); result = (bool)FXToolBarShell_doesSaveUnder((FXToolBarShell const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_setBackColor(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = to_FXColor(argv[0]); FXToolBarShell_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_tr(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell const *","tr", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXToolBarShell_tr((FXToolBarShell const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_dropEnable(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_dropDisable(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","setShape", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXToolBarShell_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","setShape", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXToolBarShell_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","setShape", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXToolBarShell_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBarShell, 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_FXToolBarShell_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBarShell, 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_FXToolBarShell_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBarShell, 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_FXToolBarShell_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; } SWIGINTERN VALUE _wrap_FXToolBarShell_clearShape(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); FXToolBarShell_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","show", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); arg2 = NUM2UINT(argv[0]); FXToolBarShell_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_show(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBarShell, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXToolBarShell_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBarShell, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXToolBarShell_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_maximize(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","maximize", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXToolBarShell_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_minimize(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","minimize", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXToolBarShell_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_restore(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","restore", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXToolBarShell_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXToolBarShell_close(int argc, VALUE *argv, VALUE self) { FXToolBarShell *arg1 = (FXToolBarShell *) 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_FXToolBarShell, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarShell *","close", 1, self )); } arg1 = reinterpret_cast< FXToolBarShell * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXToolBarShell_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } static swig_class SwigClassFXRulerView; SWIGINTERN VALUE _wrap_FXRulerView_onPaint(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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 *","onPaint", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_onMotion(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","onMotion", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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 *","onMotion", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onMotion(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_onCmdSetHelp(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","onCmdSetHelp", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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 *","onCmdSetHelp", 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 *","onCmdSetHelp", 4, argv[2] )); } result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_onCmdGetHelp(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","onCmdGetHelp", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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 *","onCmdGetHelp", 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 *","onCmdGetHelp", 4, argv[2] )); } result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_onCmdSetTip(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","onCmdSetTip", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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 *","onCmdSetTip", 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 *","onCmdSetTip", 4, argv[2] )); } result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_onCmdGetTip(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","onCmdGetTip", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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 *","onCmdGetTip", 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 *","onCmdGetTip", 4, argv[2] )); } result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_onQueryHelp(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","onQueryHelp", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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 *","onQueryHelp", 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 *","onQueryHelp", 4, argv[2] )); } result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_onQueryTip(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","onQueryTip", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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 *","onQueryTip", 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 *","onQueryTip", 4, argv[2] )); } result = (long)(arg1)->onQueryTip(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_onDocChanged(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","onDocChanged", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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 *","onDocChanged", 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 *","onDocChanged", 4, argv[2] )); } result = (long)(arg1)->onDocChanged(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXRulerView_allocate(VALUE self) #else _wrap_FXRulerView_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXRulerView); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXRulerView(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 ; FXRulerView *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 *","FXRulerView", 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 *","FXRulerView", 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 = (FXRulerView *)new_FXRulerView(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; } SWIGINTERN VALUE _wrap_FXRulerView_horizontalRuler(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXRuler *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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","horizontalRuler", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXRuler *)((FXRulerView const *)arg1)->horizontalRuler(); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXRuler, 0 | 0 ); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_verticalRuler(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXRuler *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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","verticalRuler", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXRuler *)((FXRulerView const *)arg1)->verticalRuler(); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXRuler, 0 | 0 ); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getDocumentX(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getDocumentX", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getDocumentX(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getDocumentY(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getDocumentY", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getDocumentY(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setDocumentWidth(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setDocumentWidth", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setDocumentWidth(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getDocumentWidth(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getDocumentWidth", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getDocumentWidth(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setDocumentHeight(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setDocumentHeight", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setDocumentHeight(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getDocumentHeight(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getDocumentHeight", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getDocumentHeight(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setDocumentColor(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setDocumentColor", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setDocumentColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getDocumentColor(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXColor 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getDocumentColor", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXColor)((FXRulerView const *)arg1)->getDocumentColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setHEdgeSpacing(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setHEdgeSpacing", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setHEdgeSpacing(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setVEdgeSpacing(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setVEdgeSpacing", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setVEdgeSpacing(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHEdgeSpacing(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getHEdgeSpacing", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getHEdgeSpacing(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getVEdgeSpacing(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getVEdgeSpacing", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getVEdgeSpacing(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setHMarginLower(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setHMarginLower", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setHMarginLower(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setHMarginUpper(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setHMarginUpper", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setHMarginUpper(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHMarginLower(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getHMarginLower", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getHMarginLower(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHMarginUpper(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getHMarginUpper", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getHMarginUpper(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setVMarginLower(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setVMarginLower", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setVMarginLower(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setVMarginUpper(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setVMarginUpper", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setVMarginUpper(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getVMarginLower(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getVMarginLower", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getVMarginLower(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getVMarginUpper(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getVMarginUpper", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getVMarginUpper(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setHAlignment(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXuint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setHAlignment", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2UINT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setHAlignment(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHAlignment(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getHAlignment", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXuint)((FXRulerView const *)arg1)->getHAlignment(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setVAlignment(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXuint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setVAlignment", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2UINT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setVAlignment(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getVAlignment(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getVAlignment", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXuint)((FXRulerView const *)arg1)->getVAlignment(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setArrowPosX(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setArrowPosX", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setArrowPosX(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setArrowPosY(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setArrowPosY", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setArrowPosY(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getArrowPosX(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getArrowPosX", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getArrowPosX(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getArrowPosY(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getArrowPosY", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getArrowPosY(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setHRulerFont(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXFont *arg2 = (FXFont *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setHRulerFont", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setHRulerFont", 2, argv[0] )); } arg2 = reinterpret_cast< FXFont * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setHRulerFont(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHRulerFont(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFont *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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getHRulerFont", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXFont *)((FXRulerView const *)arg1)->getHRulerFont(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setVRulerFont(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXFont *arg2 = (FXFont *) 0 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setVRulerFont", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setVRulerFont", 2, argv[0] )); } arg2 = reinterpret_cast< FXFont * >(argp2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setVRulerFont(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getVRulerFont(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFont *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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getVRulerFont", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXFont *)((FXRulerView const *)arg1)->getVRulerFont(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setHNumberTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setHNumberTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setHNumberTicks(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setVNumberTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setVNumberTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setVNumberTicks(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHNumberTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getHNumberTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getHNumberTicks(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getVNumberTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getVNumberTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getVNumberTicks(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setHMajorTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setHMajorTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setHMajorTicks(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setVMajorTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setVMajorTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setVMajorTicks(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHMajorTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getHMajorTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getHMajorTicks(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getVMajorTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getVMajorTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getVMajorTicks(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setHMediumTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setHMediumTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setHMediumTicks(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setVMediumTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setVMediumTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setVMediumTicks(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHMediumTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getHMediumTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getHMediumTicks(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getVMediumTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getVMediumTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getVMediumTicks(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setHTinyTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setHTinyTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setHTinyTicks(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setVTinyTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXint arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setVTinyTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setVTinyTicks(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHTinyTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getHTinyTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getHTinyTicks(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getVTinyTicks(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getVTinyTicks", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)((FXRulerView const *)arg1)->getVTinyTicks(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setHPixelsPerTick(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXdouble arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setHPixelPerTick", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","setHPixelPerTick", 2, argv[0] )); } arg2 = static_cast< FXdouble >(val2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setHPixelPerTick(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setVPixelsPerTick(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXdouble arg2 ; FXbool arg3 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setVPixelPerTick", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","setVPixelPerTick", 2, argv[0] )); } arg2 = static_cast< FXdouble >(val2); if (argc > 1) { arg3 = to_FXbool(argv[1]); } (arg1)->setVPixelPerTick(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHPixelsPerTick(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXdouble 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getHPixelPerTick", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXdouble)((FXRulerView const *)arg1)->getHPixelPerTick(); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getVPixelsPerTick(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXdouble 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getVPixelPerTick", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXdouble)((FXRulerView const *)arg1)->getVPixelPerTick(); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setHRulerStyle(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setHRulerStyle", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setHRulerStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setVRulerStyle(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setVRulerStyle", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setVRulerStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHRulerStyle(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getHRulerStyle", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXuint)((FXRulerView const *)arg1)->getHRulerStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getVRulerStyle(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getVRulerStyle", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXuint)((FXRulerView const *)arg1)->getVRulerStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setHelpText(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setHelpText", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setHelpText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHelpText(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getHelpText", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXString *) &((FXRulerView const *)arg1)->getHelpText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setTipText(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setTipText", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setTipText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getTipText(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXString *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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","getTipText", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXString *) &((FXRulerView const *)arg1)->getTipText(); vresult = to_ruby(result->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_save(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","save", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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); FXRulerView_save((FXRulerView const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_load(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","load", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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); FXRulerView_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_create(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","create", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_detach(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","detach", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_destroy(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","destroy", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_resize(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","resize", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXRulerView_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)FXRulerView_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)FXRulerView_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXRulerView_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXRulerView_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_canFocus(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (bool)FXRulerView_canFocus((FXRulerView const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setFocus(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_killFocus(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_changeFocus(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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); FXRulerView_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setDefault(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXRulerView_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_enable(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","enable", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_disable(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","disable", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_raiseWindow(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","raise", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_lower(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","lower", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_move(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","move", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXRulerView_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_position__SWIG_0(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","position", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXRulerView_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_layout(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","layout", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_recalc(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","recalc", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_reparent(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","reparent", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(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); FXRulerView_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_show(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","show", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_hide(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","hide", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_isComposite(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (bool)FXRulerView_isComposite((FXRulerView const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_contains(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","contains", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXRulerView_contains((FXRulerView const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (bool)FXRulerView_doesSaveUnder((FXRulerView const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setBackColor(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = to_FXColor(argv[0]); FXRulerView_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_tr(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","tr", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXRulerView_tr((FXRulerView const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_dropEnable(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_dropDisable(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXRegion *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setShape", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); } arg2 = reinterpret_cast< FXRegion * >(argp2); FXRulerView_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXBitmap *arg2 = (FXBitmap *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setShape", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXBitmap * >(argp2); FXRulerView_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; FXIcon *arg2 = (FXIcon *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","setShape", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); } arg2 = reinterpret_cast< FXIcon * >(argp2); FXRulerView_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 3) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRulerView, 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_FXRulerView_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRulerView, 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_FXRulerView_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRulerView, 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_FXRulerView_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; } SWIGINTERN VALUE _wrap_FXRulerView_clearShape(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); FXRulerView_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getViewportHeight(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","getViewportHeight", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)FXRulerView_getViewportHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getViewportWidth(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","getViewportWidth", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)FXRulerView_getViewportWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getContentHeight(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","getContentHeight", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)FXRulerView_getContentHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_getContentWidth(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 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_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView *","getContentWidth", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (FXint)FXRulerView_getContentWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_position__SWIG_1(int argc, VALUE *argv, VALUE self) { FXRulerView *arg1 = (FXRulerView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRulerView, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRulerView const *","position", 1, self )); } arg1 = reinterpret_cast< FXRulerView * >(argp1); result = (VALUE)FXRulerView_position__SWIG_1((FXRulerView const *)arg1); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXRulerView_position(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 6) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRulerView, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXRulerView_position__SWIG_1(nargs, args, self); } } if (argc == 5) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRulerView, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXRulerView_position__SWIG_0(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 6, "position", " void position(FXint x, FXint y, FXint w, FXint h)\n" " VALUE position()\n"); return Qnil; } /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ static void *_p_FXDriveBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXToolBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXToolTipTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *) ((FXToolTip *) x)); } static void *_p_FXTabBookTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXGroupBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXShellTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXShell *) x)); } static void *_p_FXStatusBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXScrollAreaTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXPopupTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *) ((FXPopup *) x)); } static void *_p_FXScrollWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXRootWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXRootWindow *) x)); } static void *_p_FXTopWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *) ((FXTopWindow *) x)); } static void *_p_FXMainWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXSplashWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXComboBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXComboBox *) x)); } static void *_p_FXHorizontalFrameTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXVerticalFrameTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FX4SplitterTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FX4Splitter *) x)); } static void *_p_FXSplitterTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXSplitter *) x)); } static void *_p_FXRealSpinnerTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXSpinnerTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXSpinner *) x)); } static void *_p_FXPackerTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXPacker *) x)); } static void *_p_FXDirBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXSwitcherTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXDirSelectorTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXFileSelectorTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXColorSelectorTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXFontSelectorTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXShutterTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXDockSiteTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXDockSite *) x)); } static void *_p_FXRulerViewTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXTreeListBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXListBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXListBox *) x)); } static void *_p_FXMatrixTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXMatrix *) x)); } static void *_p_FXShutterItemTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXDockBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXDockBar *) x)); } static void *_p_FXTabBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXTabBar *) x)); } static void *_p_FXImageViewTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXSpringTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXSpring *) x)); } static void *_p_FXToolBarShellTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXPopupTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) ((FXPopup *) x)); } static void *_p_FXTopWindowTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) ((FXTopWindow *) x)); } static void *_p_FXMainWindowTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXSplashWindowTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXToolTipTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) ((FXToolTip *) x)); } static void *_p_FXToolBarShellTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXScrollWindowTo_p_FXScrollArea(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXImageViewTo_p_FXScrollArea(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXRulerViewTo_p_FXScrollArea(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXMainWindowTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXSplashWindowTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXToolBarShellTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXDriveBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXToolBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXCompositeTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXComposite *) x)); } static void *_p_FXToolTipTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *) ((FXToolTip *) x)); } static void *_p_FXTextFieldTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXTextField *) x)); } static void *_p_FXTabBookTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXArrowButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXGroupBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXShellTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXShell *) x)); } static void *_p_FXStatusBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXScrollAreaTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXPopupTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *) ((FXPopup *) x)); } static void *_p_FXScrollWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXRootWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXRootWindow *) x)); } static void *_p_FXTopWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *) ((FXTopWindow *) x)); } static void *_p_FXMainWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXSplashWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXRulerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXRuler *) x)); } static void *_p_FXCanvasTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXCanvas *) x)); } static void *_p_FXScrollCornerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXScrollCorner *) x)); } static void *_p_FXSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXSeparator *) x)); } static void *_p_FXHorizontalSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXVerticalSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x)); } static void *_p_FXStatusLineTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXStatusLine *) x)); } static void *_p_FXComboBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXComboBox *) x)); } static void *_p_FXKnobTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXKnob *) x)); } static void *_p_FXHorizontalFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXVerticalFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FX4SplitterTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FX4Splitter *) x)); } static void *_p_FXSplitterTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXSplitter *) x)); } static void *_p_FXPackerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXPacker *) x)); } static void *_p_FXSpinnerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXSpinner *) x)); } static void *_p_FXRealSpinnerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXScrollBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXScrollBar *) x)); } static void *_p_FXColorWheelTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXBitmapFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXGradientBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXDirBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXDockHandlerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXToolBarGripTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FXImageFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXImageFrame *) x)); } static void *_p_FXDragCornerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXDragCorner *) x)); } static void *_p_FXSwitcherTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXDirSelectorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXFileSelectorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXColorSelectorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXFontSelectorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXShutterTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXProgressBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXDockSiteTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXDockSite *) x)); } static void *_p_FXDockTitleTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXRulerViewTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXListBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXListBox *) x)); } static void *_p_FXTreeListBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXHeaderTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXHeader *) x)); } static void *_p_FXMatrixTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXMatrix *) x)); } static void *_p_FXColorWellTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXColorWell *) x)); } static void *_p_FXShutterItemTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXDialTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXDial *) x)); } static void *_p_FXToolBarTabTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FXDockBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXDockBar *) x)); } static void *_p_FXFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXFrame *) x)); } static void *_p_FXTabBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXTabBar *) x)); } static void *_p_FX7SegmentTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FX7Segment *) x)); } static void *_p_FXImageViewTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXSliderTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXSlider *) x)); } static void *_p_FXRealSliderTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXRealSlider *) x)); } static void *_p_FXSpringTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXSpring *) x)); } static void *_p_FXColorRingTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXColorRing *) x)); } static void *_p_FXColorBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXColorBar *) x)); } static void *_p_FXToolBarShellTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXDocumentTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDocument *) x)); } static void *_p_FXGradientBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXRegistryTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *)(FXSettings *) ((FXRegistry *) x)); } static void *_p_FXHeaderItemTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXHeaderItem *) x)); } static void *_p_FXShutterItemTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXColorBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorBar *) x)); } static void *_p_FXTabBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTabBar *) x)); } static void *_p_FXSwitcherTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXTextFieldTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXTextField *) x)); } static void *_p_FXToolBarTabTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FXDriveBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXIconDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *) ((FXIconDict *) x)); } static void *_p_FXMatrixTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x)); } static void *_p_FXFileDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *) ((FXFileDict *) x)); } static void *_p_FXRecentFilesTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXRecentFiles *) x)); } static void *_p_FXScrollCornerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXScrollCorner *) x)); } static void *_p_FXArrowButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXPopupTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x)); } static void *_p_FXDrawableTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *) ((FXDrawable *) x)); } static void *_p_FXAppTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXApp *) x)); } static void *_p_FXHeaderTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXHeader *) x)); } static void *_p_FXTranslatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXTranslator *) x)); } static void *_p_FX4SplitterTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FX4Splitter *) x)); } static void *_p_FXSplitterTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXSplitter *) x)); } static void *_p_FXSpringTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x)); } static void *_p_FXPackerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXPacker *) x)); } static void *_p_FXTabBookTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXImageFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXImageFrame *) x)); } static void *_p_FXVerticalSeparatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x)); } static void *_p_FXHorizontalSeparatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXSeparatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXSeparator *) x)); } static void *_p_FXIdTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXId *) x)); } static void *_p_FXProgressBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXShutterTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXToolTipTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXToolTip *) x)); } static void *_p_FXCompositeTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXComposite *) x)); } static void *_p_FXBitmapFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXRealSliderTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXRealSlider *) x)); } static void *_p_FXSliderTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXSlider *) x)); } static void *_p_FXSettingsTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *) ((FXSettings *) x)); } static void *_p_FXDockSiteTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x)); } static void *_p_FXGroupBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXColorRingTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorRing *) x)); } static void *_p_FXDebugTargetTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDebugTarget *) x)); } static void *_p_FXDataTargetTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDataTarget *) x)); } static void *_p_FXDockHandlerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXCanvasTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXCanvas *) x)); } static void *_p_FXListBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXListBox *) x)); } static void *_p_FXTreeListBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXColorWheelTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXVisualTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *) ((FXVisual *) x)); } static void *_p_FXScrollBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXScrollBar *) x)); } static void *_p_FXToolBarGripTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FXFontTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *) ((FXFont *) x)); } static void *_p_FXComboBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXComboBox *) x)); } static void *_p_FXFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXFrame *) x)); } static void *_p_FX7SegmentTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FX7Segment *) x)); } static void *_p_FXDockTitleTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXStringDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *) ((FXStringDict *) x)); } static void *_p_FXStatusBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXDelegatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDelegator *) x)); } static void *_p_FXAccelTableTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXAccelTable *) x)); } static void *_p_FXCursorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *) ((FXCursor *) x)); } static void *_p_FXCURCursorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXCursor *) ((FXCURCursor *) x)); } static void *_p_FXGIFCursorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXCursor *) ((FXGIFCursor *) x)); } static void *_p_FXKnobTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXKnob *) x)); } static void *_p_FXRealSpinnerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXSpinnerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpinner *) x)); } static void *_p_FXRulerViewTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXStatusLineTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXStatusLine *) x)); } static void *_p_FXScrollWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *) ((FXWindow *) x)); } static void *_p_FXRootWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXRootWindow *) x)); } static void *_p_FXTopWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x)); } static void *_p_FXMainWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXSplashWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXDockBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockBar *) x)); } static void *_p_FXDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDict *) x)); } static void *_p_FXShellTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXShell *) x)); } static void *_p_FXScrollAreaTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXColorWellTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWell *) x)); } static void *_p_FXDragCornerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXDragCorner *) x)); } static void *_p_FXRulerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXRuler *) x)); } static void *_p_FXDialTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXDial *) x)); } static void *_p_FXVerticalFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FXHorizontalFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXImageViewTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXDirSelectorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXFileSelectorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXColorSelectorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXFontSelectorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXToolBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXToolBarShellTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXDirBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXToolBarTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) (FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXDockSiteTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXDockSite *) x)); } static void *_p_FXListBoxTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXListBox *) x)); } static void *_p_FXTreeListBoxTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXComboBoxTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXComboBox *) x)); } static void *_p_FXShutterItemTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) (FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXDockBarTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXDockBar *) x)); } static void *_p_FXStatusBarTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) (FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXDirBoxTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) (FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXTabBarTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXTabBar *) x)); } static void *_p_FXTabBookTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) (FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXGroupBoxTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXShutterTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) (FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXVerticalFrameTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FXHorizontalFrameTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXRealSpinnerTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXSpinnerTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXSpinner *) x)); } static void *_p_FXMatrixTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXMatrix *) x)); } static void *_p_FXSpringTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXSpring *) x)); } static void *_p_FXDirSelectorTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXFileSelectorTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXColorSelectorTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXFontSelectorTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXDriveBoxTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) (FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXSwitcherTo_p_FXPacker(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXToolBarGripTo_p_FXDockHandler(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FXDockTitleTo_p_FXDockHandler(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXDriveBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXToolBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXCompositeTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXComposite *) x)); } static void *_p_FXToolTipTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXToolTip *) x)); } static void *_p_FXTextFieldTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXTextField *) x)); } static void *_p_FXTabBookTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXArrowButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXGroupBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXShellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXShell *) x)); } static void *_p_FXStatusBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXScrollAreaTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXPopupTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x)); } static void *_p_FXScrollWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) ((FXWindow *) x)); } static void *_p_FXRootWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXRootWindow *) x)); } static void *_p_FXTopWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x)); } static void *_p_FXMainWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXSplashWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXRulerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXRuler *) x)); } static void *_p_FXCanvasTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXCanvas *) x)); } static void *_p_FXScrollCornerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXScrollCorner *) x)); } static void *_p_FXSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXSeparator *) x)); } static void *_p_FXHorizontalSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXVerticalSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x)); } static void *_p_FXStatusLineTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXStatusLine *) x)); } static void *_p_FXComboBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXComboBox *) x)); } static void *_p_FXKnobTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXKnob *) x)); } static void *_p_FXHorizontalFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXVerticalFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FX4SplitterTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FX4Splitter *) x)); } static void *_p_FXSplitterTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXSplitter *) x)); } static void *_p_FXPackerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXPacker *) x)); } static void *_p_FXSpinnerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSpinner *) x)); } static void *_p_FXRealSpinnerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXScrollBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXScrollBar *) x)); } static void *_p_FXColorWheelTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXBitmapFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXGradientBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXDirBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXDockHandlerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXToolBarGripTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FXImageFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXImageFrame *) x)); } static void *_p_FXDragCornerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXDragCorner *) x)); } static void *_p_FXSwitcherTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXDirSelectorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXFileSelectorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXColorSelectorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXFontSelectorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXShutterTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXProgressBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXDockSiteTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x)); } static void *_p_FXDockTitleTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXRulerViewTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXListBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXListBox *) x)); } static void *_p_FXTreeListBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXHeaderTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXHeader *) x)); } static void *_p_FXMatrixTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x)); } static void *_p_FXColorWellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorWell *) x)); } static void *_p_FXShutterItemTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXDialTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXDial *) x)); } static void *_p_FXToolBarTabTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FXDockBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDockBar *) x)); } static void *_p_FXFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXFrame *) x)); } static void *_p_FXTabBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXTabBar *) x)); } static void *_p_FX7SegmentTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FX7Segment *) x)); } static void *_p_FXImageViewTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXSliderTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXSlider *) x)); } static void *_p_FXRealSliderTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXRealSlider *) x)); } static void *_p_FXSpringTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x)); } static void *_p_FXColorRingTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorRing *) x)); } static void *_p_FXColorBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorBar *) x)); } static void *_p_FXToolBarShellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXFileStreamTo_p_FXStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXStream *) ((FXFileStream *) x)); } static void *_p_FXMemoryStreamTo_p_FXStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXStream *) ((FXMemoryStream *) x)); } static void *_p_FXDirBoxTo_p_FXTreeListBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXDriveBoxTo_p_FXListBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXToolBarTo_p_FXDockBar(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXGradientBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXShutterItemTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXColorBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorBar *) x)); } static void *_p_FXTabBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTabBar *) x)); } static void *_p_FXSwitcherTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXTextFieldTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXTextField *) x)); } static void *_p_FXToolBarTabTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FXDriveBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXMatrixTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x)); } static void *_p_FXScrollCornerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXScrollCorner *) x)); } static void *_p_FXArrowButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXPopupTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x)); } static void *_p_FXDrawableTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) ((FXDrawable *) x)); } static void *_p_FXHeaderTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXHeader *) x)); } static void *_p_FXSplitterTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXSplitter *) x)); } static void *_p_FX4SplitterTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FX4Splitter *) x)); } static void *_p_FXSpringTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x)); } static void *_p_FXPackerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXPacker *) x)); } static void *_p_FXTabBookTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXImageFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXImageFrame *) x)); } static void *_p_FXVerticalSeparatorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x)); } static void *_p_FXHorizontalSeparatorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXSeparatorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXSeparator *) x)); } static void *_p_FXProgressBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXShutterTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXToolTipTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXToolTip *) x)); } static void *_p_FXCompositeTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXComposite *) x)); } static void *_p_FXBitmapFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXRealSliderTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXRealSlider *) x)); } static void *_p_FXSliderTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXSlider *) x)); } static void *_p_FXDockSiteTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x)); } static void *_p_FXGroupBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXColorRingTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorRing *) x)); } static void *_p_FXDockHandlerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXTreeListBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXListBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXListBox *) x)); } static void *_p_FXCanvasTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXCanvas *) x)); } static void *_p_FXColorWheelTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXVisualTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) ((FXVisual *) x)); } static void *_p_FXScrollBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXScrollBar *) x)); } static void *_p_FXToolBarGripTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FXFontTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) ((FXFont *) x)); } static void *_p_FXComboBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXComboBox *) x)); } static void *_p_FXFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXFrame *) x)); } static void *_p_FX7SegmentTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FX7Segment *) x)); } static void *_p_FXDockTitleTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXStatusBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXGIFCursorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXCursor *) ((FXGIFCursor *) x)); } static void *_p_FXCURCursorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXCursor *) ((FXCURCursor *) x)); } static void *_p_FXCursorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) ((FXCursor *) x)); } static void *_p_FXKnobTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXKnob *) x)); } static void *_p_FXRealSpinnerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXSpinnerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpinner *) x)); } static void *_p_FXRulerViewTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXStatusLineTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXStatusLine *) x)); } static void *_p_FXMainWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXTopWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x)); } static void *_p_FXRootWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXRootWindow *) x)); } static void *_p_FXWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *) ((FXWindow *) x)); } static void *_p_FXSplashWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXScrollWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXDockBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockBar *) x)); } static void *_p_FXShellTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXShell *) x)); } static void *_p_FXScrollAreaTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXColorWellTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWell *) x)); } static void *_p_FXDragCornerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXDragCorner *) x)); } static void *_p_FXRulerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXRuler *) x)); } static void *_p_FXDialTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXDial *) x)); } static void *_p_FXHorizontalFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXVerticalFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FXImageViewTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXFontSelectorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXColorSelectorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXFileSelectorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXDirSelectorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXToolBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXToolBarShellTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXDirBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXTabBookTo_p_FXTabBar(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXToolBarTabTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FXColorRingTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXColorRing *) x)); } static void *_p_FXColorBarTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXColorBar *) x)); } static void *_p_FXBitmapFrameTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXDialTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXDial *) x)); } static void *_p_FXRulerTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXRuler *) x)); } static void *_p_FXArrowButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXColorWheelTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXProgressBarTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXColorWellTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXColorWell *) x)); } static void *_p_FXGradientBarTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXStatusLineTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXStatusLine *) x)); } static void *_p_FXHorizontalSeparatorTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXSeparatorTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXSeparator *) x)); } static void *_p_FXVerticalSeparatorTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXSeparator *) ((FXVerticalSeparator *) x)); } static void *_p_FXDockTitleTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXTextFieldTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXTextField *) x)); } static void *_p_FXDockHandlerTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXHeaderTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXHeader *) x)); } static void *_p_FXImageFrameTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXImageFrame *) x)); } static void *_p_FXKnobTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXKnob *) x)); } static void *_p_FXSliderTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXSlider *) x)); } static void *_p_FXRealSliderTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXRealSlider *) x)); } static void *_p_FXToolBarGripTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FX7SegmentTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FX7Segment *) x)); } static swig_type_info _swigt__p_FX7Segment = {"_p_FX7Segment", "FX7Segment *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXApp = {"_p_FXApp", "FXApp *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXBitmap = {"_p_FXBitmap", "FXBitmap *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXButton = {"_p_FXButton", "FXButton *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXCanvas = {"_p_FXCanvas", "FXCanvas *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXColorSelector = {"_p_FXColorSelector", "FXColorSelector *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXComboBox = {"_p_FXComboBox", "FXComboBox *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXComposite = {"_p_FXComposite", "FXComposite *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXGroupBox = {"_p_FXGroupBox", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXStatusBar = {"_p_FXStatusBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXPopup = {"_p_FXPopup", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXRootWindow = {"_p_FXRootWindow", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXScrollWindow = {"_p_FXScrollWindow", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXMainWindow = {"_p_FXMainWindow", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSplashWindow = {"_p_FXSplashWindow", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXHorizontalFrame = {"_p_FXHorizontalFrame", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXVerticalFrame = {"_p_FXVerticalFrame", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FX4Splitter = {"_p_FX4Splitter", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSplitter = {"_p_FXSplitter", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSwitcher = {"_p_FXSwitcher", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXShutter = {"_p_FXShutter", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXShutterItem = {"_p_FXShutterItem", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXMatrix = {"_p_FXMatrix", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSpring = {"_p_FXSpring", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDirBox = {"_p_FXDirBox", "FXDirBox *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXDirSelector = {"_p_FXDirSelector", "FXDirSelector *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXDockBar = {"_p_FXDockBar", "FXDockBar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXDockHandler = {"_p_FXDockHandler", "FXDockHandler *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXDockSite = {"_p_FXDockSite", "FXDockSite *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXDockTitle = {"_p_FXDockTitle", "FXDockTitle *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXDragCorner = {"_p_FXDragCorner", "FXDragCorner *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXDrawable = {"_p_FXDrawable", "FXDrawable *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXDial = {"_p_FXDial", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXTextField = {"_p_FXTextField", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXArrowButton = {"_p_FXArrowButton", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXVerticalSeparator = {"_p_FXVerticalSeparator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXHorizontalSeparator = {"_p_FXHorizontalSeparator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSeparator = {"_p_FXSeparator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXStatusLine = {"_p_FXStatusLine", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXColorWheel = {"_p_FXColorWheel", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXBitmapFrame = {"_p_FXBitmapFrame", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXGradientBar = {"_p_FXGradientBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXImageFrame = {"_p_FXImageFrame", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXKnob = {"_p_FXKnob", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXProgressBar = {"_p_FXProgressBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXHeader = {"_p_FXHeader", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXColorWell = {"_p_FXColorWell", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXToolBarTab = {"_p_FXToolBarTab", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSlider = {"_p_FXSlider", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXRealSlider = {"_p_FXRealSlider", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXColorRing = {"_p_FXColorRing", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXColorBar = {"_p_FXColorBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDriveBox = {"_p_FXDriveBox", "FXDriveBox *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXFileDict = {"_p_FXFileDict", "FXFileDict *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXFileSelector = {"_p_FXFileSelector", "FXFileSelector *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXFont = {"_p_FXFont", "FXFont *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXFontDesc = {"_p_FXFontDesc", "FXFontDesc *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXFontSelector = {"_p_FXFontSelector", "FXFontSelector *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXFrame = {"_p_FXFrame", "FXFrame *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXIcon = {"_p_FXIcon", "FXIcon *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXId = {"_p_FXId", "FXId *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXVisual = {"_p_FXVisual", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXCursor = {"_p_FXCursor", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXCURCursor = {"_p_FXCURCursor", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXGIFCursor = {"_p_FXGIFCursor", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXImage = {"_p_FXImage", "FXImage *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXImageView = {"_p_FXImageView", "FXImageView *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXListBox = {"_p_FXListBox", "FXListBox *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXListItem = {"_p_FXListItem", "FXListItem *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXObject = {"_p_FXObject", "FXObject *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXDocument = {"_p_FXDocument", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXRegistry = {"_p_FXRegistry", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXHeaderItem = {"_p_FXHeaderItem", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXIconDict = {"_p_FXIconDict", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXRecentFiles = {"_p_FXRecentFiles", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXTranslator = {"_p_FXTranslator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDict = {"_p_FXDict", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSettings = {"_p_FXSettings", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDataTarget = {"_p_FXDataTarget", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDebugTarget = {"_p_FXDebugTarget", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXStringDict = {"_p_FXStringDict", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDelegator = {"_p_FXDelegator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXAccelTable = {"_p_FXAccelTable", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXPacker = {"_p_FXPacker", "FXPacker *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXRealSpinner = {"_p_FXRealSpinner", "FXRealSpinner *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXRegion = {"_p_FXRegion", "FXRegion *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXRuler = {"_p_FXRuler", "FXRuler *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXRulerView = {"_p_FXRulerView", "FXRulerView *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXScrollArea = {"_p_FXScrollArea", "FXScrollArea *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXScrollBar = {"_p_FXScrollBar", "FXScrollBar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXScrollCorner = {"_p_FXScrollCorner", "FXScrollCorner *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXShell = {"_p_FXShell", "FXShell *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXSpinner = {"_p_FXSpinner", "FXSpinner *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXStream = {"_p_FXStream", "FXStream *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXFileStream = {"_p_FXFileStream", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXMemoryStream = {"_p_FXMemoryStream", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXTabBar = {"_p_FXTabBar", "FXTabBar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXTabBook = {"_p_FXTabBook", "FXTabBook *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXToolBar = {"_p_FXToolBar", "FXToolBar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXToolBarGrip = {"_p_FXToolBarGrip", "FXToolBarGrip *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXToolBarShell = {"_p_FXToolBarShell", "FXToolBarShell *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXToolTip = {"_p_FXToolTip", "FXToolTip *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXTopWindow = {"_p_FXTopWindow", "FXTopWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXTreeItem = {"_p_FXTreeItem", "FXTreeItem *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXTreeListBox = {"_p_FXTreeListBox", "FXTreeListBox *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXWindow = {"_p_FXWindow", "FXWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_char = {"_p_char", "char *|FXchar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_double = {"_p_double", "double *|FXdouble *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_float = {"_p_float", "float *|FXfloat *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_int = {"_p_int", "FXint *|int *|FXInputHandle *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long = {"_p_long", "long *|FXTime *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_short = {"_p_short", "short *|FXshort *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "FXuchar *|unsigned char *|FXbool *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "FXwchar *|FXDragType *|unsigned int *|FXuint *|FXColor *|FXSelector *|FXHotKey *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|FXuval *|FXPixel *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *|FXushort *", 0, 0, (void*)0, 0}; static swig_type_info *swig_type_initial[] = { &_swigt__p_FX4Splitter, &_swigt__p_FX7Segment, &_swigt__p_FXAccelTable, &_swigt__p_FXApp, &_swigt__p_FXArrowButton, &_swigt__p_FXBitmap, &_swigt__p_FXBitmapFrame, &_swigt__p_FXButton, &_swigt__p_FXCURCursor, &_swigt__p_FXCanvas, &_swigt__p_FXColorBar, &_swigt__p_FXColorRing, &_swigt__p_FXColorSelector, &_swigt__p_FXColorWell, &_swigt__p_FXColorWheel, &_swigt__p_FXComboBox, &_swigt__p_FXComposite, &_swigt__p_FXCursor, &_swigt__p_FXDataTarget, &_swigt__p_FXDebugTarget, &_swigt__p_FXDelegator, &_swigt__p_FXDial, &_swigt__p_FXDict, &_swigt__p_FXDirBox, &_swigt__p_FXDirSelector, &_swigt__p_FXDockBar, &_swigt__p_FXDockHandler, &_swigt__p_FXDockSite, &_swigt__p_FXDockTitle, &_swigt__p_FXDocument, &_swigt__p_FXDragCorner, &_swigt__p_FXDrawable, &_swigt__p_FXDriveBox, &_swigt__p_FXFileDict, &_swigt__p_FXFileSelector, &_swigt__p_FXFileStream, &_swigt__p_FXFont, &_swigt__p_FXFontDesc, &_swigt__p_FXFontSelector, &_swigt__p_FXFrame, &_swigt__p_FXGIFCursor, &_swigt__p_FXGradientBar, &_swigt__p_FXGroupBox, &_swigt__p_FXHeader, &_swigt__p_FXHeaderItem, &_swigt__p_FXHorizontalFrame, &_swigt__p_FXHorizontalSeparator, &_swigt__p_FXIcon, &_swigt__p_FXIconDict, &_swigt__p_FXId, &_swigt__p_FXImage, &_swigt__p_FXImageFrame, &_swigt__p_FXImageView, &_swigt__p_FXKnob, &_swigt__p_FXListBox, &_swigt__p_FXListItem, &_swigt__p_FXMainWindow, &_swigt__p_FXMatrix, &_swigt__p_FXMemoryStream, &_swigt__p_FXObject, &_swigt__p_FXPacker, &_swigt__p_FXPopup, &_swigt__p_FXProgressBar, &_swigt__p_FXRealSlider, &_swigt__p_FXRealSpinner, &_swigt__p_FXRecentFiles, &_swigt__p_FXRegion, &_swigt__p_FXRegistry, &_swigt__p_FXRootWindow, &_swigt__p_FXRuler, &_swigt__p_FXRulerView, &_swigt__p_FXScrollArea, &_swigt__p_FXScrollBar, &_swigt__p_FXScrollCorner, &_swigt__p_FXScrollWindow, &_swigt__p_FXSeparator, &_swigt__p_FXSettings, &_swigt__p_FXShell, &_swigt__p_FXShutter, &_swigt__p_FXShutterItem, &_swigt__p_FXSlider, &_swigt__p_FXSpinner, &_swigt__p_FXSplashWindow, &_swigt__p_FXSplitter, &_swigt__p_FXSpring, &_swigt__p_FXStatusBar, &_swigt__p_FXStatusLine, &_swigt__p_FXStream, &_swigt__p_FXStringDict, &_swigt__p_FXSwitcher, &_swigt__p_FXTabBar, &_swigt__p_FXTabBook, &_swigt__p_FXTextField, &_swigt__p_FXToolBar, &_swigt__p_FXToolBarGrip, &_swigt__p_FXToolBarShell, &_swigt__p_FXToolBarTab, &_swigt__p_FXToolTip, &_swigt__p_FXTopWindow, &_swigt__p_FXTranslator, &_swigt__p_FXTreeItem, &_swigt__p_FXTreeListBox, &_swigt__p_FXVerticalFrame, &_swigt__p_FXVerticalSeparator, &_swigt__p_FXVisual, &_swigt__p_FXWindow, &_swigt__p_char, &_swigt__p_double, &_swigt__p_float, &_swigt__p_int, &_swigt__p_long, &_swigt__p_short, &_swigt__p_unsigned_char, &_swigt__p_unsigned_int, &_swigt__p_unsigned_long, &_swigt__p_unsigned_short, }; static swig_cast_info _swigc__p_FX7Segment[] = { {&_swigt__p_FX7Segment, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXApp[] = { {&_swigt__p_FXApp, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXBitmap[] = { {&_swigt__p_FXBitmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXButton[] = { {&_swigt__p_FXButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXCanvas[] = { {&_swigt__p_FXCanvas, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXColorSelector[] = { {&_swigt__p_FXColorSelector, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXComboBox[] = { {&_swigt__p_FXComboBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXGroupBox[] = {{&_swigt__p_FXGroupBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXStatusBar[] = {{&_swigt__p_FXStatusBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXPopup[] = {{&_swigt__p_FXPopup, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRootWindow[] = {{&_swigt__p_FXRootWindow, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXScrollWindow[] = {{&_swigt__p_FXScrollWindow, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMainWindow[] = {{&_swigt__p_FXMainWindow, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSplashWindow[] = {{&_swigt__p_FXSplashWindow, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXHorizontalFrame[] = {{&_swigt__p_FXHorizontalFrame, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXVerticalFrame[] = {{&_swigt__p_FXVerticalFrame, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FX4Splitter[] = {{&_swigt__p_FX4Splitter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSplitter[] = {{&_swigt__p_FXSplitter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSwitcher[] = {{&_swigt__p_FXSwitcher, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXShutter[] = {{&_swigt__p_FXShutter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXShutterItem[] = {{&_swigt__p_FXShutterItem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMatrix[] = {{&_swigt__p_FXMatrix, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSpring[] = {{&_swigt__p_FXSpring, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXComposite[] = { {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXComposite, 0, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXComposite, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXComposite, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXComposite, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXComposite, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXComposite, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXComposite, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXComposite, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXComposite, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXComposite, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXComposite, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXComposite, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXComposite, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXComposite, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXComposite, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXComposite, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXComposite, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXComposite, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXComposite, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDirBox[] = { {&_swigt__p_FXDirBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDirSelector[] = { {&_swigt__p_FXDirSelector, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDockBar[] = { {&_swigt__p_FXDockBar, 0, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXDockBar, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDockHandler[] = { {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXDockHandler, 0, 0}, {&_swigt__p_FXDockHandler, 0, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXDockHandler, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDockSite[] = { {&_swigt__p_FXDockSite, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDockTitle[] = { {&_swigt__p_FXDockTitle, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDragCorner[] = { {&_swigt__p_FXDragCorner, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDial[] = {{&_swigt__p_FXDial, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTextField[] = {{&_swigt__p_FXTextField, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXArrowButton[] = {{&_swigt__p_FXArrowButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXVerticalSeparator[] = {{&_swigt__p_FXVerticalSeparator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXHorizontalSeparator[] = {{&_swigt__p_FXHorizontalSeparator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSeparator[] = {{&_swigt__p_FXSeparator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXStatusLine[] = {{&_swigt__p_FXStatusLine, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXColorWheel[] = {{&_swigt__p_FXColorWheel, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXBitmapFrame[] = {{&_swigt__p_FXBitmapFrame, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXGradientBar[] = {{&_swigt__p_FXGradientBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXImageFrame[] = {{&_swigt__p_FXImageFrame, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXKnob[] = {{&_swigt__p_FXKnob, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXProgressBar[] = {{&_swigt__p_FXProgressBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXHeader[] = {{&_swigt__p_FXHeader, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXColorWell[] = {{&_swigt__p_FXColorWell, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXToolBarTab[] = {{&_swigt__p_FXToolBarTab, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSlider[] = {{&_swigt__p_FXSlider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRealSlider[] = {{&_swigt__p_FXRealSlider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXColorRing[] = {{&_swigt__p_FXColorRing, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXColorBar[] = {{&_swigt__p_FXColorBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDrawable[] = { {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollCorner, _p_FXScrollCornerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXCanvas, _p_FXCanvasTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollBar, _p_FXScrollBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDragCorner, _p_FXDragCornerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDrawable, 0, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXDrawable, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXDrawable, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDriveBox[] = { {&_swigt__p_FXDriveBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXFileDict[] = { {&_swigt__p_FXFileDict, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXFileSelector[] = { {&_swigt__p_FXFileSelector, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXFont[] = { {&_swigt__p_FXFont, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXFontDesc[] = { {&_swigt__p_FXFontDesc, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXFontSelector[] = { {&_swigt__p_FXFontSelector, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXFrame[] = { {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXFrame, 0, 0}, {&_swigt__p_FXFrame, 0, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXFrame, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXFrame, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXFrame, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXFrame, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXFrame, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXFrame, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXFrame, 0, 0}, {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXFrame, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXFrame, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXFrame, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXFrame, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXFrame, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXFrame, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXFrame, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXFrame, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXFrame, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXFrame, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXFrame, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXFrame, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXFrame, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXFrame, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXFrame, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXFrame, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXIcon[] = { {&_swigt__p_FXIcon, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXVisual[] = {{&_swigt__p_FXVisual, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXCursor[] = {{&_swigt__p_FXCursor, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXCURCursor[] = {{&_swigt__p_FXCURCursor, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXGIFCursor[] = {{&_swigt__p_FXGIFCursor, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXId[] = { {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXId, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXId, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXId, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXId, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXId, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXId, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXId, 0, 0}, {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollCorner, _p_FXScrollCornerTo_p_FXId, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXId, 0, 0}, {&_swigt__p_FXDrawable, _p_FXDrawableTo_p_FXId, 0, 0}, {&_swigt__p_FXFont, _p_FXFontTo_p_FXId, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXId, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXId, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXId, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXId, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXId, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXId, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXId, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXId, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXId, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXId, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXId, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXId, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXId, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXId, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXId, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXId, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXId, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXId, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXId, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXCanvas, _p_FXCanvasTo_p_FXId, 0, 0}, {&_swigt__p_FXId, 0, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXId, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXId, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollBar, _p_FXScrollBarTo_p_FXId, 0, 0}, {&_swigt__p_FXVisual, _p_FXVisualTo_p_FXId, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXId, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXId, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXId, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXId, 0, 0}, {&_swigt__p_FXCursor, _p_FXCursorTo_p_FXId, 0, 0}, {&_swigt__p_FXCURCursor, _p_FXCURCursorTo_p_FXId, 0, 0}, {&_swigt__p_FXGIFCursor, _p_FXGIFCursorTo_p_FXId, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXId, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXId, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXId, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXId, 0, 0}, {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXId, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXId, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXId, 0, 0}, {&_swigt__p_FXDragCorner, _p_FXDragCornerTo_p_FXId, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXId, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXId, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXId, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXId, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXId, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXId, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXId, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXId, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXId, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXImage[] = { {&_swigt__p_FXImage, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXImageView[] = { {&_swigt__p_FXImageView, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXListBox[] = { {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXListBox, 0, 0}, {&_swigt__p_FXListBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXListItem[] = { {&_swigt__p_FXListItem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDocument[] = {{&_swigt__p_FXDocument, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRegistry[] = {{&_swigt__p_FXRegistry, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXHeaderItem[] = {{&_swigt__p_FXHeaderItem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXIconDict[] = {{&_swigt__p_FXIconDict, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRecentFiles[] = {{&_swigt__p_FXRecentFiles, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTranslator[] = {{&_swigt__p_FXTranslator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDict[] = {{&_swigt__p_FXDict, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSettings[] = {{&_swigt__p_FXSettings, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDataTarget[] = {{&_swigt__p_FXDataTarget, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDebugTarget[] = {{&_swigt__p_FXDebugTarget, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXStringDict[] = {{&_swigt__p_FXStringDict, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDelegator[] = {{&_swigt__p_FXDelegator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXAccelTable[] = {{&_swigt__p_FXAccelTable, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXObject[] = { {&_swigt__p_FXDocument, _p_FXDocumentTo_p_FXObject, 0, 0}, {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXRegistry, _p_FXRegistryTo_p_FXObject, 0, 0}, {&_swigt__p_FXHeaderItem, _p_FXHeaderItemTo_p_FXObject, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXObject, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXObject, 0, 0}, {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXIconDict, _p_FXIconDictTo_p_FXObject, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXObject, 0, 0}, {&_swigt__p_FXFileDict, _p_FXFileDictTo_p_FXObject, 0, 0}, {&_swigt__p_FXRecentFiles, _p_FXRecentFilesTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollCorner, _p_FXScrollCornerTo_p_FXObject, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXObject, 0, 0}, {&_swigt__p_FXDrawable, _p_FXDrawableTo_p_FXObject, 0, 0}, {&_swigt__p_FXFont, _p_FXFontTo_p_FXObject, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXObject, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXObject, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXObject, 0, 0}, {&_swigt__p_FXTranslator, _p_FXTranslatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXObject, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXObject, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXObject, 0, 0}, {&_swigt__p_FXApp, _p_FXAppTo_p_FXObject, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXObject, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXObject, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXObject, 0, 0}, {&_swigt__p_FXDict, _p_FXDictTo_p_FXObject, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXObject, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXObject, 0, 0}, {&_swigt__p_FXSettings, _p_FXSettingsTo_p_FXObject, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXObject, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXObject, 0, 0}, {&_swigt__p_FXDataTarget, _p_FXDataTargetTo_p_FXObject, 0, 0}, {&_swigt__p_FXDebugTarget, _p_FXDebugTargetTo_p_FXObject, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXObject, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXCanvas, _p_FXCanvasTo_p_FXObject, 0, 0}, {&_swigt__p_FXId, _p_FXIdTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXObject, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollBar, _p_FXScrollBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXVisual, _p_FXVisualTo_p_FXObject, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXObject, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXObject, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXStringDict, _p_FXStringDictTo_p_FXObject, 0, 0}, {&_swigt__p_FXDelegator, _p_FXDelegatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXAccelTable, _p_FXAccelTableTo_p_FXObject, 0, 0}, {&_swigt__p_FXObject, 0, 0, 0}, {&_swigt__p_FXCursor, _p_FXCursorTo_p_FXObject, 0, 0}, {&_swigt__p_FXCURCursor, _p_FXCURCursorTo_p_FXObject, 0, 0}, {&_swigt__p_FXGIFCursor, _p_FXGIFCursorTo_p_FXObject, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXObject, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXObject, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXObject, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXObject, 0, 0}, {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXObject, 0, 0}, {&_swigt__p_FXDragCorner, _p_FXDragCornerTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXObject, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXObject, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXObject, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXObject, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXObject, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXObject, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXPacker[] = { {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXPacker, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXPacker, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXPacker, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXPacker, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXPacker, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXPacker, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXPacker, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXPacker, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXPacker, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXPacker, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXPacker, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXPacker, 0, 0}, {&_swigt__p_FXPacker, 0, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXPacker, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXPacker, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXPacker, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXPacker, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXPacker, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXPacker, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXPacker, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXPacker, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXPacker, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXPacker, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXPacker, 0, 0}, {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXPacker, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXPacker, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRealSpinner[] = { {&_swigt__p_FXRealSpinner, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRegion[] = { {&_swigt__p_FXRegion, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRuler[] = { {&_swigt__p_FXRuler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRulerView[] = { {&_swigt__p_FXRulerView, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXScrollArea[] = { {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXScrollArea, 0, 0}, {&_swigt__p_FXScrollArea, 0, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXScrollArea, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXScrollArea, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXScrollBar[] = { {&_swigt__p_FXScrollBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXScrollCorner[] = { {&_swigt__p_FXScrollCorner, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXShell[] = { {&_swigt__p_FXShell, 0, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXShell, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXShell, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXShell, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXShell, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXShell, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXShell, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSpinner[] = { {&_swigt__p_FXSpinner, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXFileStream[] = {{&_swigt__p_FXFileStream, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMemoryStream[] = {{&_swigt__p_FXMemoryStream, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXStream[] = { {&_swigt__p_FXFileStream, _p_FXFileStreamTo_p_FXStream, 0, 0}, {&_swigt__p_FXMemoryStream, _p_FXMemoryStreamTo_p_FXStream, 0, 0}, {&_swigt__p_FXStream, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTabBar[] = { {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXTabBar, 0, 0}, {&_swigt__p_FXTabBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTabBook[] = { {&_swigt__p_FXTabBook, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXToolBar[] = { {&_swigt__p_FXToolBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXToolBarGrip[] = { {&_swigt__p_FXToolBarGrip, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXToolBarShell[] = { {&_swigt__p_FXToolBarShell, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXToolTip[] = { {&_swigt__p_FXToolTip, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTopWindow[] = { {&_swigt__p_FXTopWindow, 0, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXTopWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTreeItem[] = { {&_swigt__p_FXTreeItem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTreeListBox[] = { {&_swigt__p_FXTreeListBox, 0, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXTreeListBox, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXWindow[] = { {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXWindow, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXWindow, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXWindow, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXWindow, 0, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollCorner, _p_FXScrollCornerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXCanvas, _p_FXCanvasTo_p_FXWindow, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXWindow, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollBar, _p_FXScrollBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXWindow, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXWindow, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDragCorner, _p_FXDragCornerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXWindow, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXWindow, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXWindow, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXWindow, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXWindow, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXWindow, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info *swig_cast_initial[] = { _swigc__p_FX4Splitter, _swigc__p_FX7Segment, _swigc__p_FXAccelTable, _swigc__p_FXApp, _swigc__p_FXArrowButton, _swigc__p_FXBitmap, _swigc__p_FXBitmapFrame, _swigc__p_FXButton, _swigc__p_FXCURCursor, _swigc__p_FXCanvas, _swigc__p_FXColorBar, _swigc__p_FXColorRing, _swigc__p_FXColorSelector, _swigc__p_FXColorWell, _swigc__p_FXColorWheel, _swigc__p_FXComboBox, _swigc__p_FXComposite, _swigc__p_FXCursor, _swigc__p_FXDataTarget, _swigc__p_FXDebugTarget, _swigc__p_FXDelegator, _swigc__p_FXDial, _swigc__p_FXDict, _swigc__p_FXDirBox, _swigc__p_FXDirSelector, _swigc__p_FXDockBar, _swigc__p_FXDockHandler, _swigc__p_FXDockSite, _swigc__p_FXDockTitle, _swigc__p_FXDocument, _swigc__p_FXDragCorner, _swigc__p_FXDrawable, _swigc__p_FXDriveBox, _swigc__p_FXFileDict, _swigc__p_FXFileSelector, _swigc__p_FXFileStream, _swigc__p_FXFont, _swigc__p_FXFontDesc, _swigc__p_FXFontSelector, _swigc__p_FXFrame, _swigc__p_FXGIFCursor, _swigc__p_FXGradientBar, _swigc__p_FXGroupBox, _swigc__p_FXHeader, _swigc__p_FXHeaderItem, _swigc__p_FXHorizontalFrame, _swigc__p_FXHorizontalSeparator, _swigc__p_FXIcon, _swigc__p_FXIconDict, _swigc__p_FXId, _swigc__p_FXImage, _swigc__p_FXImageFrame, _swigc__p_FXImageView, _swigc__p_FXKnob, _swigc__p_FXListBox, _swigc__p_FXListItem, _swigc__p_FXMainWindow, _swigc__p_FXMatrix, _swigc__p_FXMemoryStream, _swigc__p_FXObject, _swigc__p_FXPacker, _swigc__p_FXPopup, _swigc__p_FXProgressBar, _swigc__p_FXRealSlider, _swigc__p_FXRealSpinner, _swigc__p_FXRecentFiles, _swigc__p_FXRegion, _swigc__p_FXRegistry, _swigc__p_FXRootWindow, _swigc__p_FXRuler, _swigc__p_FXRulerView, _swigc__p_FXScrollArea, _swigc__p_FXScrollBar, _swigc__p_FXScrollCorner, _swigc__p_FXScrollWindow, _swigc__p_FXSeparator, _swigc__p_FXSettings, _swigc__p_FXShell, _swigc__p_FXShutter, _swigc__p_FXShutterItem, _swigc__p_FXSlider, _swigc__p_FXSpinner, _swigc__p_FXSplashWindow, _swigc__p_FXSplitter, _swigc__p_FXSpring, _swigc__p_FXStatusBar, _swigc__p_FXStatusLine, _swigc__p_FXStream, _swigc__p_FXStringDict, _swigc__p_FXSwitcher, _swigc__p_FXTabBar, _swigc__p_FXTabBook, _swigc__p_FXTextField, _swigc__p_FXToolBar, _swigc__p_FXToolBarGrip, _swigc__p_FXToolBarShell, _swigc__p_FXToolBarTab, _swigc__p_FXToolTip, _swigc__p_FXTopWindow, _swigc__p_FXTranslator, _swigc__p_FXTreeItem, _swigc__p_FXTreeListBox, _swigc__p_FXVerticalFrame, _swigc__p_FXVerticalSeparator, _swigc__p_FXVisual, _swigc__p_FXWindow, _swigc__p_char, _swigc__p_double, _swigc__p_float, _swigc__p_int, _swigc__p_long, _swigc__p_short, _swigc__p_unsigned_char, _swigc__p_unsigned_int, _swigc__p_unsigned_long, _swigc__p_unsigned_short, }; /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ /* ----------------------------------------------------------------------------- * Type initialization: * This problem is tough by the requirement that no dynamic * memory is used. Also, since swig_type_info structures store pointers to * swig_cast_info structures and swig_cast_info structures store pointers back * to swig_type_info structures, we need some lookup code at initialization. * The idea is that swig generates all the structures that are needed. * The runtime then collects these partially filled structures. * The SWIG_InitializeModule function takes these initial arrays out of * swig_module, and does all the lookup, filling in the swig_module.types * array with the correct data and linking the correct swig_cast_info * structures together. * * The generated swig_type_info structures are assigned statically to an initial * array. We just loop through that array, and handle each type individually. * First we lookup if this type has been already loaded, and if so, use the * loaded structure instead of the generated one. Then we have to fill in the * cast linked list. The cast data is initially stored in something like a * two-dimensional array. Each row corresponds to a type (there are the same * number of rows as there are in the swig_type_initial array). Each entry in * a column is one of the swig_cast_info structures for that type. * The cast_initial array is actually an array of arrays, because each row has * a variable number of columns. So to actually build the cast linked list, * we find the array of casts associated with the type, and loop through it * adding the casts to the list. The one last trick we need to do is making * sure the type pointer in the swig_cast_info struct is correct. * * First off, we lookup the cast->type name to see if it is already loaded. * There are three cases to handle: * 1) If the cast->type has already been loaded AND the type we are adding * casting info to has not been loaded (it is in this module), THEN we * replace the cast->type pointer with the type pointer that has already * been loaded. * 2) If BOTH types (the one we are adding casting info to, and the * cast->type) are loaded, THEN the cast info has already been loaded by * the previous module so we just ignore it. * 3) Finally, if cast->type has not already been loaded, then we add that * swig_cast_info to the linked list (because the cast->type) pointer will * be correct. * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { #if 0 } /* c-mode */ #endif #endif #if 0 #define SWIGRUNTIME_DEBUG #endif SWIGRUNTIME void SWIG_InitializeModule(void *clientdata) { size_t i; swig_module_info *module_head, *iter; int init; /* check to see if the circular list has been setup, if not, set it up */ if (swig_module.next==0) { /* Initialize the swig_module */ swig_module.type_initial = swig_type_initial; swig_module.cast_initial = swig_cast_initial; swig_module.next = &swig_module; init = 1; } else { init = 0; } /* Try and load any already created modules */ module_head = SWIG_GetModule(clientdata); if (!module_head) { /* This is the first module loaded for this interpreter */ /* so set the swig module into the interpreter */ SWIG_SetModule(clientdata, &swig_module); } else { /* the interpreter has loaded a SWIG module, but has it loaded this one? */ iter=module_head; do { if (iter==&swig_module) { /* Our module is already in the list, so there's nothing more to do. */ return; } iter=iter->next; } while (iter!= module_head); /* otherwise we must add our module into the list */ swig_module.next = module_head->next; module_head->next = &swig_module; } /* When multiple interpreters are used, a module could have already been initialized in a different interpreter, but not yet have a pointer in this interpreter. In this case, we do not want to continue adding types... everything should be set up already */ if (init == 0) return; /* Now work on filling in swig_module.types */ #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size); #endif for (i = 0; i < swig_module.size; ++i) { swig_type_info *type = 0; swig_type_info *ret; swig_cast_info *cast; #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name); #endif /* if there is another module already loaded */ if (swig_module.next != &swig_module) { type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); } if (type) { /* Overwrite clientdata field */ #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: found type %s\n", type->name); #endif if (swig_module.type_initial[i]->clientdata) { type->clientdata = swig_module.type_initial[i]->clientdata; #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); #endif } } else { type = swig_module.type_initial[i]; } /* Insert casting types */ cast = swig_module.cast_initial[i]; while (cast->type) { /* Don't need to add information already in the list */ ret = 0; #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); #endif if (swig_module.next != &swig_module) { ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); #ifdef SWIGRUNTIME_DEBUG if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); #endif } if (ret) { if (type == swig_module.type_initial[i]) { #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: skip old type %s\n", ret->name); #endif cast->type = ret; ret = 0; } else { /* Check for casting already in the list */ swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); #ifdef SWIGRUNTIME_DEBUG if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); #endif if (!ocast) ret = 0; } } if (!ret) { #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); #endif if (type->cast) { type->cast->prev = cast; cast->next = type->cast; } type->cast = cast; } cast++; } /* Set entry in modules->types array equal to the type */ swig_module.types[i] = type; } swig_module.types[i] = 0; #ifdef SWIGRUNTIME_DEBUG printf("**** SWIG_InitializeModule: Cast List ******\n"); for (i = 0; i < swig_module.size; ++i) { int j = 0; swig_cast_info *cast = swig_module.cast_initial[i]; printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name); while (cast->type) { printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); cast++; ++j; } printf("---- Total casts: %d\n",j); } printf("**** SWIG_InitializeModule: Cast List ******\n"); #endif } /* This function will propagate the clientdata field of type to * any new swig_type_info structures that have been added into the list * of equivalent types. It is like calling * SWIG_TypeClientData(type, clientdata) a second time. */ SWIGRUNTIME void SWIG_PropagateClientData(void) { size_t i; swig_cast_info *equiv; static int init_run = 0; if (init_run) return; init_run = 1; for (i = 0; i < swig_module.size; i++) { if (swig_module.types[i]->clientdata) { equiv = swig_module.types[i]->cast; while (equiv) { if (!equiv->converter) { if (equiv->type && !equiv->type->clientdata) SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); } equiv = equiv->next; } } } } #ifdef __cplusplus #if 0 { /* c-mode */ #endif } #endif /* */ #ifdef __cplusplus extern "C" #endif SWIGEXPORT void Init_ui(void) { size_t i; SWIG_InitRuntime(); SWIG_InitializeModule(0); for (i = 0; i < swig_module.size; i++) { SWIG_define_class(swig_module.types[i]); } SWIG_RubyInitializeTrackings(); rb_define_const(mFox, "SEVENSEGMENT_NORMAL", SWIG_From_int(static_cast< int >(SEVENSEGMENT_NORMAL))); rb_define_const(mFox, "SEVENSEGMENT_SHADOW", SWIG_From_int(static_cast< int >(SEVENSEGMENT_SHADOW))); SwigClassFX7Segment.klass = rb_define_class_under(mFox, "FX7Segment", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FX7Segment, (void *) &SwigClassFX7Segment); rb_define_alloc_func(SwigClassFX7Segment.klass, _wrap_FX7Segment_allocate); rb_define_method(SwigClassFX7Segment.klass, "initialize", VALUEFUNC(_wrap_new_FX7Segment), -1); rb_define_method(SwigClassFX7Segment.klass, "onPaint", VALUEFUNC(_wrap_FX7Segment_onPaint), -1); rb_define_method(SwigClassFX7Segment.klass, "onCmdSetValue", VALUEFUNC(_wrap_FX7Segment_onCmdSetValue), -1); rb_define_method(SwigClassFX7Segment.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FX7Segment_onCmdSetIntValue), -1); rb_define_method(SwigClassFX7Segment.klass, "onCmdSetRealValue", VALUEFUNC(_wrap_FX7Segment_onCmdSetRealValue), -1); rb_define_method(SwigClassFX7Segment.klass, "onCmdSetStringValue", VALUEFUNC(_wrap_FX7Segment_onCmdSetStringValue), -1); rb_define_method(SwigClassFX7Segment.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FX7Segment_onCmdGetIntValue), -1); rb_define_method(SwigClassFX7Segment.klass, "onCmdGetRealValue", VALUEFUNC(_wrap_FX7Segment_onCmdGetRealValue), -1); rb_define_method(SwigClassFX7Segment.klass, "onCmdGetStringValue", VALUEFUNC(_wrap_FX7Segment_onCmdGetStringValue), -1); rb_define_method(SwigClassFX7Segment.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FX7Segment_onCmdSetHelp), -1); rb_define_method(SwigClassFX7Segment.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FX7Segment_onCmdGetHelp), -1); rb_define_method(SwigClassFX7Segment.klass, "onCmdSetTip", VALUEFUNC(_wrap_FX7Segment_onCmdSetTip), -1); rb_define_method(SwigClassFX7Segment.klass, "onCmdGetTip", VALUEFUNC(_wrap_FX7Segment_onCmdGetTip), -1); rb_define_method(SwigClassFX7Segment.klass, "onQueryHelp", VALUEFUNC(_wrap_FX7Segment_onQueryHelp), -1); rb_define_method(SwigClassFX7Segment.klass, "onQueryTip", VALUEFUNC(_wrap_FX7Segment_onQueryTip), -1); rb_define_method(SwigClassFX7Segment.klass, "text=", VALUEFUNC(_wrap_FX7Segment_texte___), -1); rb_define_method(SwigClassFX7Segment.klass, "text", VALUEFUNC(_wrap_FX7Segment_text), -1); rb_define_method(SwigClassFX7Segment.klass, "textColor=", VALUEFUNC(_wrap_FX7Segment_textColore___), -1); rb_define_method(SwigClassFX7Segment.klass, "textColor", VALUEFUNC(_wrap_FX7Segment_textColor), -1); rb_define_method(SwigClassFX7Segment.klass, "cellWidth=", VALUEFUNC(_wrap_FX7Segment_cellWidthe___), -1); rb_define_method(SwigClassFX7Segment.klass, "cellWidth", VALUEFUNC(_wrap_FX7Segment_cellWidth), -1); rb_define_method(SwigClassFX7Segment.klass, "cellHeight=", VALUEFUNC(_wrap_FX7Segment_cellHeighte___), -1); rb_define_method(SwigClassFX7Segment.klass, "cellHeight", VALUEFUNC(_wrap_FX7Segment_cellHeight), -1); rb_define_method(SwigClassFX7Segment.klass, "thickness=", VALUEFUNC(_wrap_FX7Segment_thicknesse___), -1); rb_define_method(SwigClassFX7Segment.klass, "thickness", VALUEFUNC(_wrap_FX7Segment_thickness), -1); rb_define_method(SwigClassFX7Segment.klass, "set7SegmentStyle", VALUEFUNC(_wrap_FX7Segment_set7SegmentStyle), -1); rb_define_method(SwigClassFX7Segment.klass, "get7SegmentStyle", VALUEFUNC(_wrap_FX7Segment_get7SegmentStyle), -1); rb_define_method(SwigClassFX7Segment.klass, "justify=", VALUEFUNC(_wrap_FX7Segment_justifye___), -1); rb_define_method(SwigClassFX7Segment.klass, "justify", VALUEFUNC(_wrap_FX7Segment_justify), -1); rb_define_method(SwigClassFX7Segment.klass, "helpText=", VALUEFUNC(_wrap_FX7Segment_helpTexte___), -1); rb_define_method(SwigClassFX7Segment.klass, "helpText", VALUEFUNC(_wrap_FX7Segment_helpText), -1); rb_define_method(SwigClassFX7Segment.klass, "tipText=", VALUEFUNC(_wrap_FX7Segment_tipTexte___), -1); rb_define_method(SwigClassFX7Segment.klass, "tipText", VALUEFUNC(_wrap_FX7Segment_tipText), -1); rb_define_method(SwigClassFX7Segment.klass, "save", VALUEFUNC(_wrap_FX7Segment_save), -1); rb_define_method(SwigClassFX7Segment.klass, "load", VALUEFUNC(_wrap_FX7Segment_load), -1); rb_define_method(SwigClassFX7Segment.klass, "create", VALUEFUNC(_wrap_FX7Segment_create), -1); rb_define_method(SwigClassFX7Segment.klass, "detach", VALUEFUNC(_wrap_FX7Segment_detach), -1); rb_define_method(SwigClassFX7Segment.klass, "destroy", VALUEFUNC(_wrap_FX7Segment_destroy), -1); rb_define_method(SwigClassFX7Segment.klass, "resize", VALUEFUNC(_wrap_FX7Segment_resize), -1); rb_define_method(SwigClassFX7Segment.klass, "getDefaultWidth", VALUEFUNC(_wrap_FX7Segment_getDefaultWidth), -1); rb_define_method(SwigClassFX7Segment.klass, "getDefaultHeight", VALUEFUNC(_wrap_FX7Segment_getDefaultHeight), -1); rb_define_method(SwigClassFX7Segment.klass, "getWidthForHeight", VALUEFUNC(_wrap_FX7Segment_getWidthForHeight), -1); rb_define_method(SwigClassFX7Segment.klass, "getHeightForWidth", VALUEFUNC(_wrap_FX7Segment_getHeightForWidth), -1); rb_define_method(SwigClassFX7Segment.klass, "canFocus", VALUEFUNC(_wrap_FX7Segment_canFocus), -1); rb_define_method(SwigClassFX7Segment.klass, "setFocus", VALUEFUNC(_wrap_FX7Segment_setFocus), -1); rb_define_method(SwigClassFX7Segment.klass, "killFocus", VALUEFUNC(_wrap_FX7Segment_killFocus), -1); rb_define_method(SwigClassFX7Segment.klass, "changeFocus", VALUEFUNC(_wrap_FX7Segment_changeFocus), -1); rb_define_method(SwigClassFX7Segment.klass, "setDefault", VALUEFUNC(_wrap_FX7Segment_setDefault), -1); rb_define_method(SwigClassFX7Segment.klass, "enable", VALUEFUNC(_wrap_FX7Segment_enable), -1); rb_define_method(SwigClassFX7Segment.klass, "disable", VALUEFUNC(_wrap_FX7Segment_disable), -1); rb_define_method(SwigClassFX7Segment.klass, "raiseWindow", VALUEFUNC(_wrap_FX7Segment_raiseWindow), -1); rb_define_method(SwigClassFX7Segment.klass, "lower", VALUEFUNC(_wrap_FX7Segment_lower), -1); rb_define_method(SwigClassFX7Segment.klass, "move", VALUEFUNC(_wrap_FX7Segment_move), -1); rb_define_method(SwigClassFX7Segment.klass, "position", VALUEFUNC(_wrap_FX7Segment_position), -1); rb_define_method(SwigClassFX7Segment.klass, "layout", VALUEFUNC(_wrap_FX7Segment_layout), -1); rb_define_method(SwigClassFX7Segment.klass, "recalc", VALUEFUNC(_wrap_FX7Segment_recalc), -1); rb_define_method(SwigClassFX7Segment.klass, "reparent", VALUEFUNC(_wrap_FX7Segment_reparent), -1); rb_define_method(SwigClassFX7Segment.klass, "show", VALUEFUNC(_wrap_FX7Segment_show), -1); rb_define_method(SwigClassFX7Segment.klass, "hide", VALUEFUNC(_wrap_FX7Segment_hide), -1); rb_define_method(SwigClassFX7Segment.klass, "isComposite", VALUEFUNC(_wrap_FX7Segment_isComposite), -1); rb_define_method(SwigClassFX7Segment.klass, "contains", VALUEFUNC(_wrap_FX7Segment_contains), -1); rb_define_method(SwigClassFX7Segment.klass, "doesSaveUnder", VALUEFUNC(_wrap_FX7Segment_doesSaveUnder), -1); rb_define_method(SwigClassFX7Segment.klass, "setBackColor", VALUEFUNC(_wrap_FX7Segment_setBackColor), -1); rb_define_method(SwigClassFX7Segment.klass, "tr", VALUEFUNC(_wrap_FX7Segment_tr), -1); rb_define_method(SwigClassFX7Segment.klass, "dropEnable", VALUEFUNC(_wrap_FX7Segment_dropEnable), -1); rb_define_method(SwigClassFX7Segment.klass, "dropDisable", VALUEFUNC(_wrap_FX7Segment_dropDisable), -1); rb_define_method(SwigClassFX7Segment.klass, "setShape", VALUEFUNC(_wrap_FX7Segment_setShape), -1); rb_define_method(SwigClassFX7Segment.klass, "clearShape", VALUEFUNC(_wrap_FX7Segment_clearShape), -1); SwigClassFX7Segment.mark = (void (*)(void *)) FXRb7Segment::markfunc; SwigClassFX7Segment.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFX7Segment.trackObjects = 0; rb_define_const(mFox, "SPIN_NORMAL", SWIG_From_int(static_cast< int >(SPIN_NORMAL))); rb_define_const(mFox, "SPIN_CYCLIC", SWIG_From_int(static_cast< int >(SPIN_CYCLIC))); rb_define_const(mFox, "SPIN_NOTEXT", SWIG_From_int(static_cast< int >(SPIN_NOTEXT))); rb_define_const(mFox, "SPIN_NOMAX", SWIG_From_int(static_cast< int >(SPIN_NOMAX))); rb_define_const(mFox, "SPIN_NOMIN", SWIG_From_int(static_cast< int >(SPIN_NOMIN))); SwigClassFXSpinner.klass = rb_define_class_under(mFox, "FXSpinner", ((swig_class *) SWIGTYPE_p_FXPacker->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXSpinner, (void *) &SwigClassFXSpinner); rb_define_alloc_func(SwigClassFXSpinner.klass, _wrap_FXSpinner_allocate); rb_define_method(SwigClassFXSpinner.klass, "initialize", VALUEFUNC(_wrap_new_FXSpinner), -1); rb_define_method(SwigClassFXSpinner.klass, "onUpdIncrement", VALUEFUNC(_wrap_FXSpinner_onUpdIncrement), -1); rb_define_method(SwigClassFXSpinner.klass, "onCmdIncrement", VALUEFUNC(_wrap_FXSpinner_onCmdIncrement), -1); rb_define_method(SwigClassFXSpinner.klass, "onUpdDecrement", VALUEFUNC(_wrap_FXSpinner_onUpdDecrement), -1); rb_define_method(SwigClassFXSpinner.klass, "onCmdDecrement", VALUEFUNC(_wrap_FXSpinner_onCmdDecrement), -1); rb_define_method(SwigClassFXSpinner.klass, "onCmdEntry", VALUEFUNC(_wrap_FXSpinner_onCmdEntry), -1); rb_define_method(SwigClassFXSpinner.klass, "onChgEntry", VALUEFUNC(_wrap_FXSpinner_onChgEntry), -1); rb_define_method(SwigClassFXSpinner.klass, "onWheelEntry", VALUEFUNC(_wrap_FXSpinner_onWheelEntry), -1); rb_define_method(SwigClassFXSpinner.klass, "onKeyPress", VALUEFUNC(_wrap_FXSpinner_onKeyPress), -1); rb_define_method(SwigClassFXSpinner.klass, "onKeyRelease", VALUEFUNC(_wrap_FXSpinner_onKeyRelease), -1); rb_define_method(SwigClassFXSpinner.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXSpinner_onCmdSetValue), -1); rb_define_method(SwigClassFXSpinner.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXSpinner_onCmdSetIntValue), -1); rb_define_method(SwigClassFXSpinner.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXSpinner_onCmdGetIntValue), -1); rb_define_method(SwigClassFXSpinner.klass, "onCmdSetIntRange", VALUEFUNC(_wrap_FXSpinner_onCmdSetIntRange), -1); rb_define_method(SwigClassFXSpinner.klass, "onCmdGetIntRange", VALUEFUNC(_wrap_FXSpinner_onCmdGetIntRange), -1); rb_define_method(SwigClassFXSpinner.klass, "onFocusSelf", VALUEFUNC(_wrap_FXSpinner_onFocusSelf), -1); rb_define_const(SwigClassFXSpinner.klass, "ID_INCREMENT", SWIG_From_int(static_cast< int >(FXSpinner::ID_INCREMENT))); rb_define_const(SwigClassFXSpinner.klass, "ID_DECREMENT", SWIG_From_int(static_cast< int >(FXSpinner::ID_DECREMENT))); rb_define_const(SwigClassFXSpinner.klass, "ID_ENTRY", SWIG_From_int(static_cast< int >(FXSpinner::ID_ENTRY))); rb_define_const(SwigClassFXSpinner.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXSpinner::ID_LAST))); rb_define_method(SwigClassFXSpinner.klass, "increment", VALUEFUNC(_wrap_FXSpinner_increment), -1); rb_define_method(SwigClassFXSpinner.klass, "incrementByAmount", VALUEFUNC(_wrap_FXSpinner_incrementByAmount), -1); rb_define_method(SwigClassFXSpinner.klass, "decrement", VALUEFUNC(_wrap_FXSpinner_decrement), -1); rb_define_method(SwigClassFXSpinner.klass, "decrementByAmount", VALUEFUNC(_wrap_FXSpinner_decrementByAmount), -1); rb_define_method(SwigClassFXSpinner.klass, "isCyclic", VALUEFUNC(_wrap_FXSpinner_isCyclic), -1); rb_define_method(SwigClassFXSpinner.klass, "setCyclic", VALUEFUNC(_wrap_FXSpinner_setCyclic), -1); rb_define_method(SwigClassFXSpinner.klass, "isTextVisible", VALUEFUNC(_wrap_FXSpinner_isTextVisible), -1); rb_define_method(SwigClassFXSpinner.klass, "setTextVisible", VALUEFUNC(_wrap_FXSpinner_setTextVisible), -1); rb_define_method(SwigClassFXSpinner.klass, "getValue", VALUEFUNC(_wrap_FXSpinner_getValue), -1); rb_define_method(SwigClassFXSpinner.klass, "setRange", VALUEFUNC(_wrap_FXSpinner_setRange), -1); rb_define_method(SwigClassFXSpinner.klass, "getRange", VALUEFUNC(_wrap_FXSpinner_getRange), -1); rb_define_method(SwigClassFXSpinner.klass, "setIncrement", VALUEFUNC(_wrap_FXSpinner_setIncrement), -1); rb_define_method(SwigClassFXSpinner.klass, "getIncrement", VALUEFUNC(_wrap_FXSpinner_getIncrement), -1); rb_define_method(SwigClassFXSpinner.klass, "setFont", VALUEFUNC(_wrap_FXSpinner_setFont), -1); rb_define_method(SwigClassFXSpinner.klass, "getFont", VALUEFUNC(_wrap_FXSpinner_getFont), -1); rb_define_method(SwigClassFXSpinner.klass, "setHelpText", VALUEFUNC(_wrap_FXSpinner_setHelpText), -1); rb_define_method(SwigClassFXSpinner.klass, "getHelpText", VALUEFUNC(_wrap_FXSpinner_getHelpText), -1); rb_define_method(SwigClassFXSpinner.klass, "setTipText", VALUEFUNC(_wrap_FXSpinner_setTipText), -1); rb_define_method(SwigClassFXSpinner.klass, "getTipText", VALUEFUNC(_wrap_FXSpinner_getTipText), -1); rb_define_method(SwigClassFXSpinner.klass, "setSpinnerStyle", VALUEFUNC(_wrap_FXSpinner_setSpinnerStyle), -1); rb_define_method(SwigClassFXSpinner.klass, "getSpinnerStyle", VALUEFUNC(_wrap_FXSpinner_getSpinnerStyle), -1); rb_define_method(SwigClassFXSpinner.klass, "setEditable", VALUEFUNC(_wrap_FXSpinner_setEditable), -1); rb_define_method(SwigClassFXSpinner.klass, "isEditable", VALUEFUNC(_wrap_FXSpinner_isEditable), -1); rb_define_method(SwigClassFXSpinner.klass, "setUpArrowColor", VALUEFUNC(_wrap_FXSpinner_setUpArrowColor), -1); rb_define_method(SwigClassFXSpinner.klass, "getUpArrowColor", VALUEFUNC(_wrap_FXSpinner_getUpArrowColor), -1); rb_define_method(SwigClassFXSpinner.klass, "setDownArrowColor", VALUEFUNC(_wrap_FXSpinner_setDownArrowColor), -1); rb_define_method(SwigClassFXSpinner.klass, "getDownArrowColor", VALUEFUNC(_wrap_FXSpinner_getDownArrowColor), -1); rb_define_method(SwigClassFXSpinner.klass, "setTextColor", VALUEFUNC(_wrap_FXSpinner_setTextColor), -1); rb_define_method(SwigClassFXSpinner.klass, "getTextColor", VALUEFUNC(_wrap_FXSpinner_getTextColor), -1); rb_define_method(SwigClassFXSpinner.klass, "setSelBackColor", VALUEFUNC(_wrap_FXSpinner_setSelBackColor), -1); rb_define_method(SwigClassFXSpinner.klass, "getSelBackColor", VALUEFUNC(_wrap_FXSpinner_getSelBackColor), -1); rb_define_method(SwigClassFXSpinner.klass, "setSelTextColor", VALUEFUNC(_wrap_FXSpinner_setSelTextColor), -1); rb_define_method(SwigClassFXSpinner.klass, "getSelTextColor", VALUEFUNC(_wrap_FXSpinner_getSelTextColor), -1); rb_define_method(SwigClassFXSpinner.klass, "setCursorColor", VALUEFUNC(_wrap_FXSpinner_setCursorColor), -1); rb_define_method(SwigClassFXSpinner.klass, "getCursorColor", VALUEFUNC(_wrap_FXSpinner_getCursorColor), -1); rb_define_method(SwigClassFXSpinner.klass, "setNumColumns", VALUEFUNC(_wrap_FXSpinner_setNumColumns), -1); rb_define_method(SwigClassFXSpinner.klass, "getNumColumns", VALUEFUNC(_wrap_FXSpinner_getNumColumns), -1); rb_define_method(SwigClassFXSpinner.klass, "save", VALUEFUNC(_wrap_FXSpinner_save), -1); rb_define_method(SwigClassFXSpinner.klass, "load", VALUEFUNC(_wrap_FXSpinner_load), -1); rb_define_method(SwigClassFXSpinner.klass, "create", VALUEFUNC(_wrap_FXSpinner_create), -1); rb_define_method(SwigClassFXSpinner.klass, "detach", VALUEFUNC(_wrap_FXSpinner_detach), -1); rb_define_method(SwigClassFXSpinner.klass, "destroy", VALUEFUNC(_wrap_FXSpinner_destroy), -1); rb_define_method(SwigClassFXSpinner.klass, "resize", VALUEFUNC(_wrap_FXSpinner_resize), -1); rb_define_method(SwigClassFXSpinner.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXSpinner_getDefaultWidth), -1); rb_define_method(SwigClassFXSpinner.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXSpinner_getDefaultHeight), -1); rb_define_method(SwigClassFXSpinner.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXSpinner_getWidthForHeight), -1); rb_define_method(SwigClassFXSpinner.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXSpinner_getHeightForWidth), -1); rb_define_method(SwigClassFXSpinner.klass, "canFocus", VALUEFUNC(_wrap_FXSpinner_canFocus), -1); rb_define_method(SwigClassFXSpinner.klass, "setFocus", VALUEFUNC(_wrap_FXSpinner_setFocus), -1); rb_define_method(SwigClassFXSpinner.klass, "killFocus", VALUEFUNC(_wrap_FXSpinner_killFocus), -1); rb_define_method(SwigClassFXSpinner.klass, "changeFocus", VALUEFUNC(_wrap_FXSpinner_changeFocus), -1); rb_define_method(SwigClassFXSpinner.klass, "setDefault", VALUEFUNC(_wrap_FXSpinner_setDefault), -1); rb_define_method(SwigClassFXSpinner.klass, "enable", VALUEFUNC(_wrap_FXSpinner_enable), -1); rb_define_method(SwigClassFXSpinner.klass, "disable", VALUEFUNC(_wrap_FXSpinner_disable), -1); rb_define_method(SwigClassFXSpinner.klass, "raiseWindow", VALUEFUNC(_wrap_FXSpinner_raiseWindow), -1); rb_define_method(SwigClassFXSpinner.klass, "lower", VALUEFUNC(_wrap_FXSpinner_lower), -1); rb_define_method(SwigClassFXSpinner.klass, "move", VALUEFUNC(_wrap_FXSpinner_move), -1); rb_define_method(SwigClassFXSpinner.klass, "position", VALUEFUNC(_wrap_FXSpinner_position), -1); rb_define_method(SwigClassFXSpinner.klass, "layout", VALUEFUNC(_wrap_FXSpinner_layout), -1); rb_define_method(SwigClassFXSpinner.klass, "recalc", VALUEFUNC(_wrap_FXSpinner_recalc), -1); rb_define_method(SwigClassFXSpinner.klass, "reparent", VALUEFUNC(_wrap_FXSpinner_reparent), -1); rb_define_method(SwigClassFXSpinner.klass, "show", VALUEFUNC(_wrap_FXSpinner_show), -1); rb_define_method(SwigClassFXSpinner.klass, "hide", VALUEFUNC(_wrap_FXSpinner_hide), -1); rb_define_method(SwigClassFXSpinner.klass, "isComposite", VALUEFUNC(_wrap_FXSpinner_isComposite), -1); rb_define_method(SwigClassFXSpinner.klass, "contains", VALUEFUNC(_wrap_FXSpinner_contains), -1); rb_define_method(SwigClassFXSpinner.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXSpinner_doesSaveUnder), -1); rb_define_method(SwigClassFXSpinner.klass, "setBackColor", VALUEFUNC(_wrap_FXSpinner_setBackColor), -1); rb_define_method(SwigClassFXSpinner.klass, "tr", VALUEFUNC(_wrap_FXSpinner_tr), -1); rb_define_method(SwigClassFXSpinner.klass, "dropEnable", VALUEFUNC(_wrap_FXSpinner_dropEnable), -1); rb_define_method(SwigClassFXSpinner.klass, "dropDisable", VALUEFUNC(_wrap_FXSpinner_dropDisable), -1); rb_define_method(SwigClassFXSpinner.klass, "setShape", VALUEFUNC(_wrap_FXSpinner_setShape), -1); rb_define_method(SwigClassFXSpinner.klass, "clearShape", VALUEFUNC(_wrap_FXSpinner_clearShape), -1); rb_define_method(SwigClassFXSpinner.klass, "setValue", VALUEFUNC(_wrap_FXSpinner_setValue), -1); SwigClassFXSpinner.mark = (void (*)(void *)) FXRbSpinner::markfunc; SwigClassFXSpinner.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXSpinner.trackObjects = 0; rb_define_const(mFox, "REALSPIN_NORMAL", SWIG_From_int(static_cast< int >(REALSPIN_NORMAL))); rb_define_const(mFox, "REALSPIN_CYCLIC", SWIG_From_int(static_cast< int >(REALSPIN_CYCLIC))); rb_define_const(mFox, "REALSPIN_NOTEXT", SWIG_From_int(static_cast< int >(REALSPIN_NOTEXT))); rb_define_const(mFox, "REALSPIN_NOMAX", SWIG_From_int(static_cast< int >(REALSPIN_NOMAX))); rb_define_const(mFox, "REALSPIN_NOMIN", SWIG_From_int(static_cast< int >(REALSPIN_NOMIN))); rb_define_const(mFox, "REALSPIN_LOG", SWIG_From_int(static_cast< int >(REALSPIN_LOG))); SwigClassFXRealSpinner.klass = rb_define_class_under(mFox, "FXRealSpinner", ((swig_class *) SWIGTYPE_p_FXPacker->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRealSpinner, (void *) &SwigClassFXRealSpinner); rb_define_alloc_func(SwigClassFXRealSpinner.klass, _wrap_FXRealSpinner_allocate); rb_define_method(SwigClassFXRealSpinner.klass, "initialize", VALUEFUNC(_wrap_new_FXRealSpinner), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onUpdIncrement", VALUEFUNC(_wrap_FXRealSpinner_onUpdIncrement), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onCmdIncrement", VALUEFUNC(_wrap_FXRealSpinner_onCmdIncrement), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onUpdDecrement", VALUEFUNC(_wrap_FXRealSpinner_onUpdDecrement), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onCmdDecrement", VALUEFUNC(_wrap_FXRealSpinner_onCmdDecrement), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onCmdEntry", VALUEFUNC(_wrap_FXRealSpinner_onCmdEntry), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onChgEntry", VALUEFUNC(_wrap_FXRealSpinner_onChgEntry), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onWheelEntry", VALUEFUNC(_wrap_FXRealSpinner_onWheelEntry), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onKeyPress", VALUEFUNC(_wrap_FXRealSpinner_onKeyPress), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onKeyRelease", VALUEFUNC(_wrap_FXRealSpinner_onKeyRelease), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXRealSpinner_onCmdSetValue), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXRealSpinner_onCmdSetIntValue), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXRealSpinner_onCmdGetIntValue), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onCmdSetIntRange", VALUEFUNC(_wrap_FXRealSpinner_onCmdSetIntRange), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onCmdGetIntRange", VALUEFUNC(_wrap_FXRealSpinner_onCmdGetIntRange), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onCmdSetRealValue", VALUEFUNC(_wrap_FXRealSpinner_onCmdSetRealValue), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onCmdGetRealValue", VALUEFUNC(_wrap_FXRealSpinner_onCmdGetRealValue), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onCmdSetRealRange", VALUEFUNC(_wrap_FXRealSpinner_onCmdSetRealRange), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onCmdGetRealRange", VALUEFUNC(_wrap_FXRealSpinner_onCmdGetRealRange), -1); rb_define_method(SwigClassFXRealSpinner.klass, "onFocusSelf", VALUEFUNC(_wrap_FXRealSpinner_onFocusSelf), -1); rb_define_const(SwigClassFXRealSpinner.klass, "ID_INCREMENT", SWIG_From_int(static_cast< int >(FXRealSpinner::ID_INCREMENT))); rb_define_const(SwigClassFXRealSpinner.klass, "ID_DECREMENT", SWIG_From_int(static_cast< int >(FXRealSpinner::ID_DECREMENT))); rb_define_const(SwigClassFXRealSpinner.klass, "ID_ENTRY", SWIG_From_int(static_cast< int >(FXRealSpinner::ID_ENTRY))); rb_define_const(SwigClassFXRealSpinner.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXRealSpinner::ID_LAST))); rb_define_method(SwigClassFXRealSpinner.klass, "increment", VALUEFUNC(_wrap_FXRealSpinner_increment), -1); rb_define_method(SwigClassFXRealSpinner.klass, "incrementByAmount", VALUEFUNC(_wrap_FXRealSpinner_incrementByAmount), -1); rb_define_method(SwigClassFXRealSpinner.klass, "decrement", VALUEFUNC(_wrap_FXRealSpinner_decrement), -1); rb_define_method(SwigClassFXRealSpinner.klass, "decrementByAmount", VALUEFUNC(_wrap_FXRealSpinner_decrementByAmount), -1); rb_define_method(SwigClassFXRealSpinner.klass, "isCyclic", VALUEFUNC(_wrap_FXRealSpinner_isCyclic), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setCyclic", VALUEFUNC(_wrap_FXRealSpinner_setCyclic), -1); rb_define_method(SwigClassFXRealSpinner.klass, "isTextVisible", VALUEFUNC(_wrap_FXRealSpinner_isTextVisible), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setTextVisible", VALUEFUNC(_wrap_FXRealSpinner_setTextVisible), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getValue", VALUEFUNC(_wrap_FXRealSpinner_getValue), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setRange", VALUEFUNC(_wrap_FXRealSpinner_setRange), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getRange", VALUEFUNC(_wrap_FXRealSpinner_getRange), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setIncrement", VALUEFUNC(_wrap_FXRealSpinner_setIncrement), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getIncrement", VALUEFUNC(_wrap_FXRealSpinner_getIncrement), -1); rb_define_method(SwigClassFXRealSpinner.klass, "granularity=", VALUEFUNC(_wrap_FXRealSpinner_granularitye___), -1); rb_define_method(SwigClassFXRealSpinner.klass, "granularity", VALUEFUNC(_wrap_FXRealSpinner_granularity), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setFont", VALUEFUNC(_wrap_FXRealSpinner_setFont), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getFont", VALUEFUNC(_wrap_FXRealSpinner_getFont), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setHelpText", VALUEFUNC(_wrap_FXRealSpinner_setHelpText), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getHelpText", VALUEFUNC(_wrap_FXRealSpinner_getHelpText), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setTipText", VALUEFUNC(_wrap_FXRealSpinner_setTipText), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getTipText", VALUEFUNC(_wrap_FXRealSpinner_getTipText), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setSpinnerStyle", VALUEFUNC(_wrap_FXRealSpinner_setSpinnerStyle), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getSpinnerStyle", VALUEFUNC(_wrap_FXRealSpinner_getSpinnerStyle), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setEditable", VALUEFUNC(_wrap_FXRealSpinner_setEditable), -1); rb_define_method(SwigClassFXRealSpinner.klass, "isEditable", VALUEFUNC(_wrap_FXRealSpinner_isEditable), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setUpArrowColor", VALUEFUNC(_wrap_FXRealSpinner_setUpArrowColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getUpArrowColor", VALUEFUNC(_wrap_FXRealSpinner_getUpArrowColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setDownArrowColor", VALUEFUNC(_wrap_FXRealSpinner_setDownArrowColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getDownArrowColor", VALUEFUNC(_wrap_FXRealSpinner_getDownArrowColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setTextColor", VALUEFUNC(_wrap_FXRealSpinner_setTextColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getTextColor", VALUEFUNC(_wrap_FXRealSpinner_getTextColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setSelBackColor", VALUEFUNC(_wrap_FXRealSpinner_setSelBackColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getSelBackColor", VALUEFUNC(_wrap_FXRealSpinner_getSelBackColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setSelTextColor", VALUEFUNC(_wrap_FXRealSpinner_setSelTextColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getSelTextColor", VALUEFUNC(_wrap_FXRealSpinner_getSelTextColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setCursorColor", VALUEFUNC(_wrap_FXRealSpinner_setCursorColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getCursorColor", VALUEFUNC(_wrap_FXRealSpinner_getCursorColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setNumColumns", VALUEFUNC(_wrap_FXRealSpinner_setNumColumns), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getNumColumns", VALUEFUNC(_wrap_FXRealSpinner_getNumColumns), -1); rb_define_method(SwigClassFXRealSpinner.klass, "save", VALUEFUNC(_wrap_FXRealSpinner_save), -1); rb_define_method(SwigClassFXRealSpinner.klass, "load", VALUEFUNC(_wrap_FXRealSpinner_load), -1); rb_define_method(SwigClassFXRealSpinner.klass, "create", VALUEFUNC(_wrap_FXRealSpinner_create), -1); rb_define_method(SwigClassFXRealSpinner.klass, "detach", VALUEFUNC(_wrap_FXRealSpinner_detach), -1); rb_define_method(SwigClassFXRealSpinner.klass, "destroy", VALUEFUNC(_wrap_FXRealSpinner_destroy), -1); rb_define_method(SwigClassFXRealSpinner.klass, "resize", VALUEFUNC(_wrap_FXRealSpinner_resize), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXRealSpinner_getDefaultWidth), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXRealSpinner_getDefaultHeight), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXRealSpinner_getWidthForHeight), -1); rb_define_method(SwigClassFXRealSpinner.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXRealSpinner_getHeightForWidth), -1); rb_define_method(SwigClassFXRealSpinner.klass, "canFocus", VALUEFUNC(_wrap_FXRealSpinner_canFocus), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setFocus", VALUEFUNC(_wrap_FXRealSpinner_setFocus), -1); rb_define_method(SwigClassFXRealSpinner.klass, "killFocus", VALUEFUNC(_wrap_FXRealSpinner_killFocus), -1); rb_define_method(SwigClassFXRealSpinner.klass, "changeFocus", VALUEFUNC(_wrap_FXRealSpinner_changeFocus), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setDefault", VALUEFUNC(_wrap_FXRealSpinner_setDefault), -1); rb_define_method(SwigClassFXRealSpinner.klass, "enable", VALUEFUNC(_wrap_FXRealSpinner_enable), -1); rb_define_method(SwigClassFXRealSpinner.klass, "disable", VALUEFUNC(_wrap_FXRealSpinner_disable), -1); rb_define_method(SwigClassFXRealSpinner.klass, "raiseWindow", VALUEFUNC(_wrap_FXRealSpinner_raiseWindow), -1); rb_define_method(SwigClassFXRealSpinner.klass, "lower", VALUEFUNC(_wrap_FXRealSpinner_lower), -1); rb_define_method(SwigClassFXRealSpinner.klass, "move", VALUEFUNC(_wrap_FXRealSpinner_move), -1); rb_define_method(SwigClassFXRealSpinner.klass, "position", VALUEFUNC(_wrap_FXRealSpinner_position), -1); rb_define_method(SwigClassFXRealSpinner.klass, "layout", VALUEFUNC(_wrap_FXRealSpinner_layout), -1); rb_define_method(SwigClassFXRealSpinner.klass, "recalc", VALUEFUNC(_wrap_FXRealSpinner_recalc), -1); rb_define_method(SwigClassFXRealSpinner.klass, "reparent", VALUEFUNC(_wrap_FXRealSpinner_reparent), -1); rb_define_method(SwigClassFXRealSpinner.klass, "show", VALUEFUNC(_wrap_FXRealSpinner_show), -1); rb_define_method(SwigClassFXRealSpinner.klass, "hide", VALUEFUNC(_wrap_FXRealSpinner_hide), -1); rb_define_method(SwigClassFXRealSpinner.klass, "isComposite", VALUEFUNC(_wrap_FXRealSpinner_isComposite), -1); rb_define_method(SwigClassFXRealSpinner.klass, "contains", VALUEFUNC(_wrap_FXRealSpinner_contains), -1); rb_define_method(SwigClassFXRealSpinner.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXRealSpinner_doesSaveUnder), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setBackColor", VALUEFUNC(_wrap_FXRealSpinner_setBackColor), -1); rb_define_method(SwigClassFXRealSpinner.klass, "tr", VALUEFUNC(_wrap_FXRealSpinner_tr), -1); rb_define_method(SwigClassFXRealSpinner.klass, "dropEnable", VALUEFUNC(_wrap_FXRealSpinner_dropEnable), -1); rb_define_method(SwigClassFXRealSpinner.klass, "dropDisable", VALUEFUNC(_wrap_FXRealSpinner_dropDisable), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setShape", VALUEFUNC(_wrap_FXRealSpinner_setShape), -1); rb_define_method(SwigClassFXRealSpinner.klass, "clearShape", VALUEFUNC(_wrap_FXRealSpinner_clearShape), -1); rb_define_method(SwigClassFXRealSpinner.klass, "setValue", VALUEFUNC(_wrap_FXRealSpinner_setValue), -1); SwigClassFXRealSpinner.mark = 0; SwigClassFXRealSpinner.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXRealSpinner.trackObjects = 0; SwigClassFXCanvas.klass = rb_define_class_under(mFox, "FXCanvas", ((swig_class *) SWIGTYPE_p_FXWindow->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXCanvas, (void *) &SwigClassFXCanvas); rb_define_alloc_func(SwigClassFXCanvas.klass, _wrap_FXCanvas_allocate); rb_define_method(SwigClassFXCanvas.klass, "initialize", VALUEFUNC(_wrap_new_FXCanvas), -1); rb_define_method(SwigClassFXCanvas.klass, "onPaint", VALUEFUNC(_wrap_FXCanvas_onPaint), -1); rb_define_method(SwigClassFXCanvas.klass, "save", VALUEFUNC(_wrap_FXCanvas_save), -1); rb_define_method(SwigClassFXCanvas.klass, "load", VALUEFUNC(_wrap_FXCanvas_load), -1); rb_define_method(SwigClassFXCanvas.klass, "create", VALUEFUNC(_wrap_FXCanvas_create), -1); rb_define_method(SwigClassFXCanvas.klass, "detach", VALUEFUNC(_wrap_FXCanvas_detach), -1); rb_define_method(SwigClassFXCanvas.klass, "destroy", VALUEFUNC(_wrap_FXCanvas_destroy), -1); rb_define_method(SwigClassFXCanvas.klass, "resize", VALUEFUNC(_wrap_FXCanvas_resize), -1); rb_define_method(SwigClassFXCanvas.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXCanvas_getDefaultWidth), -1); rb_define_method(SwigClassFXCanvas.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXCanvas_getDefaultHeight), -1); rb_define_method(SwigClassFXCanvas.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXCanvas_getWidthForHeight), -1); rb_define_method(SwigClassFXCanvas.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXCanvas_getHeightForWidth), -1); rb_define_method(SwigClassFXCanvas.klass, "canFocus", VALUEFUNC(_wrap_FXCanvas_canFocus), -1); rb_define_method(SwigClassFXCanvas.klass, "setFocus", VALUEFUNC(_wrap_FXCanvas_setFocus), -1); rb_define_method(SwigClassFXCanvas.klass, "killFocus", VALUEFUNC(_wrap_FXCanvas_killFocus), -1); rb_define_method(SwigClassFXCanvas.klass, "changeFocus", VALUEFUNC(_wrap_FXCanvas_changeFocus), -1); rb_define_method(SwigClassFXCanvas.klass, "setDefault", VALUEFUNC(_wrap_FXCanvas_setDefault), -1); rb_define_method(SwigClassFXCanvas.klass, "enable", VALUEFUNC(_wrap_FXCanvas_enable), -1); rb_define_method(SwigClassFXCanvas.klass, "disable", VALUEFUNC(_wrap_FXCanvas_disable), -1); rb_define_method(SwigClassFXCanvas.klass, "raiseWindow", VALUEFUNC(_wrap_FXCanvas_raiseWindow), -1); rb_define_method(SwigClassFXCanvas.klass, "lower", VALUEFUNC(_wrap_FXCanvas_lower), -1); rb_define_method(SwigClassFXCanvas.klass, "move", VALUEFUNC(_wrap_FXCanvas_move), -1); rb_define_method(SwigClassFXCanvas.klass, "position", VALUEFUNC(_wrap_FXCanvas_position), -1); rb_define_method(SwigClassFXCanvas.klass, "layout", VALUEFUNC(_wrap_FXCanvas_layout), -1); rb_define_method(SwigClassFXCanvas.klass, "recalc", VALUEFUNC(_wrap_FXCanvas_recalc), -1); rb_define_method(SwigClassFXCanvas.klass, "reparent", VALUEFUNC(_wrap_FXCanvas_reparent), -1); rb_define_method(SwigClassFXCanvas.klass, "show", VALUEFUNC(_wrap_FXCanvas_show), -1); rb_define_method(SwigClassFXCanvas.klass, "hide", VALUEFUNC(_wrap_FXCanvas_hide), -1); rb_define_method(SwigClassFXCanvas.klass, "isComposite", VALUEFUNC(_wrap_FXCanvas_isComposite), -1); rb_define_method(SwigClassFXCanvas.klass, "contains", VALUEFUNC(_wrap_FXCanvas_contains), -1); rb_define_method(SwigClassFXCanvas.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXCanvas_doesSaveUnder), -1); rb_define_method(SwigClassFXCanvas.klass, "setBackColor", VALUEFUNC(_wrap_FXCanvas_setBackColor), -1); rb_define_method(SwigClassFXCanvas.klass, "tr", VALUEFUNC(_wrap_FXCanvas_tr), -1); rb_define_method(SwigClassFXCanvas.klass, "dropEnable", VALUEFUNC(_wrap_FXCanvas_dropEnable), -1); rb_define_method(SwigClassFXCanvas.klass, "dropDisable", VALUEFUNC(_wrap_FXCanvas_dropDisable), -1); rb_define_method(SwigClassFXCanvas.klass, "setShape", VALUEFUNC(_wrap_FXCanvas_setShape), -1); rb_define_method(SwigClassFXCanvas.klass, "clearShape", VALUEFUNC(_wrap_FXCanvas_clearShape), -1); SwigClassFXCanvas.mark = (void (*)(void *)) FXRbCanvas::markfunc; SwigClassFXCanvas.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXCanvas.trackObjects = 0; SWIGTYPE_p_FXCanvas->dcast = (swig_dycast_func) FXCanvas_dynamic_cast; rb_define_const(mFox, "TOOLTIP_PERMANENT", SWIG_From_int(static_cast< int >(TOOLTIP_PERMANENT))); rb_define_const(mFox, "TOOLTIP_VARIABLE", SWIG_From_int(static_cast< int >(TOOLTIP_VARIABLE))); rb_define_const(mFox, "TOOLTIP_NORMAL", SWIG_From_int(static_cast< int >(TOOLTIP_NORMAL))); SwigClassFXToolTip.klass = rb_define_class_under(mFox, "FXToolTip", ((swig_class *) SWIGTYPE_p_FXShell->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXToolTip, (void *) &SwigClassFXToolTip); rb_define_alloc_func(SwigClassFXToolTip.klass, _wrap_FXToolTip_allocate); rb_define_method(SwigClassFXToolTip.klass, "initialize", VALUEFUNC(_wrap_new_FXToolTip), -1); rb_define_method(SwigClassFXToolTip.klass, "onPaint", VALUEFUNC(_wrap_FXToolTip_onPaint), -1); rb_define_method(SwigClassFXToolTip.klass, "onUpdate", VALUEFUNC(_wrap_FXToolTip_onUpdate), -1); rb_define_method(SwigClassFXToolTip.klass, "onTipShow", VALUEFUNC(_wrap_FXToolTip_onTipShow), -1); rb_define_method(SwigClassFXToolTip.klass, "onTipHide", VALUEFUNC(_wrap_FXToolTip_onTipHide), -1); rb_define_method(SwigClassFXToolTip.klass, "onCmdGetStringValue", VALUEFUNC(_wrap_FXToolTip_onCmdGetStringValue), -1); rb_define_method(SwigClassFXToolTip.klass, "onCmdSetStringValue", VALUEFUNC(_wrap_FXToolTip_onCmdSetStringValue), -1); rb_define_const(SwigClassFXToolTip.klass, "ID_TIP_SHOW", SWIG_From_int(static_cast< int >(FXToolTip::ID_TIP_SHOW))); rb_define_const(SwigClassFXToolTip.klass, "ID_TIP_HIDE", SWIG_From_int(static_cast< int >(FXToolTip::ID_TIP_HIDE))); rb_define_const(SwigClassFXToolTip.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXToolTip::ID_LAST))); rb_define_method(SwigClassFXToolTip.klass, "setText", VALUEFUNC(_wrap_FXToolTip_setText), -1); rb_define_method(SwigClassFXToolTip.klass, "getText", VALUEFUNC(_wrap_FXToolTip_getText), -1); rb_define_method(SwigClassFXToolTip.klass, "setFont", VALUEFUNC(_wrap_FXToolTip_setFont), -1); rb_define_method(SwigClassFXToolTip.klass, "getFont", VALUEFUNC(_wrap_FXToolTip_getFont), -1); rb_define_method(SwigClassFXToolTip.klass, "getTextColor", VALUEFUNC(_wrap_FXToolTip_getTextColor), -1); rb_define_method(SwigClassFXToolTip.klass, "setTextColor", VALUEFUNC(_wrap_FXToolTip_setTextColor), -1); rb_define_method(SwigClassFXToolTip.klass, "save", VALUEFUNC(_wrap_FXToolTip_save), -1); rb_define_method(SwigClassFXToolTip.klass, "load", VALUEFUNC(_wrap_FXToolTip_load), -1); rb_define_method(SwigClassFXToolTip.klass, "create", VALUEFUNC(_wrap_FXToolTip_create), -1); rb_define_method(SwigClassFXToolTip.klass, "detach", VALUEFUNC(_wrap_FXToolTip_detach), -1); rb_define_method(SwigClassFXToolTip.klass, "destroy", VALUEFUNC(_wrap_FXToolTip_destroy), -1); rb_define_method(SwigClassFXToolTip.klass, "resize", VALUEFUNC(_wrap_FXToolTip_resize), -1); rb_define_method(SwigClassFXToolTip.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXToolTip_getDefaultWidth), -1); rb_define_method(SwigClassFXToolTip.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXToolTip_getDefaultHeight), -1); rb_define_method(SwigClassFXToolTip.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXToolTip_getWidthForHeight), -1); rb_define_method(SwigClassFXToolTip.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXToolTip_getHeightForWidth), -1); rb_define_method(SwigClassFXToolTip.klass, "canFocus", VALUEFUNC(_wrap_FXToolTip_canFocus), -1); rb_define_method(SwigClassFXToolTip.klass, "setFocus", VALUEFUNC(_wrap_FXToolTip_setFocus), -1); rb_define_method(SwigClassFXToolTip.klass, "killFocus", VALUEFUNC(_wrap_FXToolTip_killFocus), -1); rb_define_method(SwigClassFXToolTip.klass, "changeFocus", VALUEFUNC(_wrap_FXToolTip_changeFocus), -1); rb_define_method(SwigClassFXToolTip.klass, "setDefault", VALUEFUNC(_wrap_FXToolTip_setDefault), -1); rb_define_method(SwigClassFXToolTip.klass, "enable", VALUEFUNC(_wrap_FXToolTip_enable), -1); rb_define_method(SwigClassFXToolTip.klass, "disable", VALUEFUNC(_wrap_FXToolTip_disable), -1); rb_define_method(SwigClassFXToolTip.klass, "raiseWindow", VALUEFUNC(_wrap_FXToolTip_raiseWindow), -1); rb_define_method(SwigClassFXToolTip.klass, "lower", VALUEFUNC(_wrap_FXToolTip_lower), -1); rb_define_method(SwigClassFXToolTip.klass, "move", VALUEFUNC(_wrap_FXToolTip_move), -1); rb_define_method(SwigClassFXToolTip.klass, "position", VALUEFUNC(_wrap_FXToolTip_position), -1); rb_define_method(SwigClassFXToolTip.klass, "layout", VALUEFUNC(_wrap_FXToolTip_layout), -1); rb_define_method(SwigClassFXToolTip.klass, "recalc", VALUEFUNC(_wrap_FXToolTip_recalc), -1); rb_define_method(SwigClassFXToolTip.klass, "reparent", VALUEFUNC(_wrap_FXToolTip_reparent), -1); rb_define_method(SwigClassFXToolTip.klass, "show", VALUEFUNC(_wrap_FXToolTip_show), -1); rb_define_method(SwigClassFXToolTip.klass, "hide", VALUEFUNC(_wrap_FXToolTip_hide), -1); rb_define_method(SwigClassFXToolTip.klass, "isComposite", VALUEFUNC(_wrap_FXToolTip_isComposite), -1); rb_define_method(SwigClassFXToolTip.klass, "contains", VALUEFUNC(_wrap_FXToolTip_contains), -1); rb_define_method(SwigClassFXToolTip.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXToolTip_doesSaveUnder), -1); rb_define_method(SwigClassFXToolTip.klass, "setBackColor", VALUEFUNC(_wrap_FXToolTip_setBackColor), -1); rb_define_method(SwigClassFXToolTip.klass, "tr", VALUEFUNC(_wrap_FXToolTip_tr), -1); rb_define_method(SwigClassFXToolTip.klass, "dropEnable", VALUEFUNC(_wrap_FXToolTip_dropEnable), -1); rb_define_method(SwigClassFXToolTip.klass, "dropDisable", VALUEFUNC(_wrap_FXToolTip_dropDisable), -1); rb_define_method(SwigClassFXToolTip.klass, "setShape", VALUEFUNC(_wrap_FXToolTip_setShape), -1); rb_define_method(SwigClassFXToolTip.klass, "clearShape", VALUEFUNC(_wrap_FXToolTip_clearShape), -1); SwigClassFXToolTip.mark = (void (*)(void *)) FXRbToolTip::markfunc; SwigClassFXToolTip.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXToolTip.trackObjects = 0; SwigClassFXDockBar.klass = rb_define_class_under(mFox, "FXDockBar", ((swig_class *) SWIGTYPE_p_FXPacker->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXDockBar, (void *) &SwigClassFXDockBar); rb_define_alloc_func(SwigClassFXDockBar.klass, _wrap_FXDockBar_allocate); rb_define_method(SwigClassFXDockBar.klass, "initialize", VALUEFUNC(_wrap_new_FXDockBar), -1); rb_define_method(SwigClassFXDockBar.klass, "onCmdUndock", VALUEFUNC(_wrap_FXDockBar_onCmdUndock), -1); rb_define_method(SwigClassFXDockBar.klass, "onUpdUndock", VALUEFUNC(_wrap_FXDockBar_onUpdUndock), -1); rb_define_method(SwigClassFXDockBar.klass, "onCmdDockTop", VALUEFUNC(_wrap_FXDockBar_onCmdDockTop), -1); rb_define_method(SwigClassFXDockBar.klass, "onUpdDockTop", VALUEFUNC(_wrap_FXDockBar_onUpdDockTop), -1); rb_define_method(SwigClassFXDockBar.klass, "onCmdDockBottom", VALUEFUNC(_wrap_FXDockBar_onCmdDockBottom), -1); rb_define_method(SwigClassFXDockBar.klass, "onUpdDockBottom", VALUEFUNC(_wrap_FXDockBar_onUpdDockBottom), -1); rb_define_method(SwigClassFXDockBar.klass, "onCmdDockLeft", VALUEFUNC(_wrap_FXDockBar_onCmdDockLeft), -1); rb_define_method(SwigClassFXDockBar.klass, "onUpdDockLeft", VALUEFUNC(_wrap_FXDockBar_onUpdDockLeft), -1); rb_define_method(SwigClassFXDockBar.klass, "onCmdDockRight", VALUEFUNC(_wrap_FXDockBar_onCmdDockRight), -1); rb_define_method(SwigClassFXDockBar.klass, "onUpdDockRight", VALUEFUNC(_wrap_FXDockBar_onUpdDockRight), -1); rb_define_method(SwigClassFXDockBar.klass, "onUpdDockFlip", VALUEFUNC(_wrap_FXDockBar_onUpdDockFlip), -1); rb_define_method(SwigClassFXDockBar.klass, "onBeginDragGrip", VALUEFUNC(_wrap_FXDockBar_onBeginDragGrip), -1); rb_define_method(SwigClassFXDockBar.klass, "onEndDragGrip", VALUEFUNC(_wrap_FXDockBar_onEndDragGrip), -1); rb_define_method(SwigClassFXDockBar.klass, "onDraggedGrip", VALUEFUNC(_wrap_FXDockBar_onDraggedGrip), -1); rb_define_method(SwigClassFXDockBar.klass, "onPopupMenu", VALUEFUNC(_wrap_FXDockBar_onPopupMenu), -1); rb_define_method(SwigClassFXDockBar.klass, "onDockTimer", VALUEFUNC(_wrap_FXDockBar_onDockTimer), -1); rb_define_const(SwigClassFXDockBar.klass, "ID_DOCK_FLOAT", SWIG_From_int(static_cast< int >(FXDockBar::ID_DOCK_FLOAT))); rb_define_const(SwigClassFXDockBar.klass, "ID_DOCK_TOP", SWIG_From_int(static_cast< int >(FXDockBar::ID_DOCK_TOP))); rb_define_const(SwigClassFXDockBar.klass, "ID_DOCK_BOTTOM", SWIG_From_int(static_cast< int >(FXDockBar::ID_DOCK_BOTTOM))); rb_define_const(SwigClassFXDockBar.klass, "ID_DOCK_LEFT", SWIG_From_int(static_cast< int >(FXDockBar::ID_DOCK_LEFT))); rb_define_const(SwigClassFXDockBar.klass, "ID_DOCK_RIGHT", SWIG_From_int(static_cast< int >(FXDockBar::ID_DOCK_RIGHT))); rb_define_const(SwigClassFXDockBar.klass, "ID_DOCK_FLIP", SWIG_From_int(static_cast< int >(FXDockBar::ID_DOCK_FLIP))); rb_define_const(SwigClassFXDockBar.klass, "ID_TOOLBARGRIP", SWIG_From_int(static_cast< int >(FXDockBar::ID_TOOLBARGRIP))); rb_define_const(SwigClassFXDockBar.klass, "ID_TIMER", SWIG_From_int(static_cast< int >(FXDockBar::ID_TIMER))); rb_define_const(SwigClassFXDockBar.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXDockBar::ID_LAST))); rb_define_const(SwigClassFXDockBar.klass, "ALLOW_NOWHERE", SWIG_From_int(static_cast< int >(FXDockBar::ALLOW_NOWHERE))); rb_define_const(SwigClassFXDockBar.klass, "ALLOW_TOP", SWIG_From_int(static_cast< int >(FXDockBar::ALLOW_TOP))); rb_define_const(SwigClassFXDockBar.klass, "ALLOW_BOTTOM", SWIG_From_int(static_cast< int >(FXDockBar::ALLOW_BOTTOM))); rb_define_const(SwigClassFXDockBar.klass, "ALLOW_LEFT", SWIG_From_int(static_cast< int >(FXDockBar::ALLOW_LEFT))); rb_define_const(SwigClassFXDockBar.klass, "ALLOW_RIGHT", SWIG_From_int(static_cast< int >(FXDockBar::ALLOW_RIGHT))); rb_define_const(SwigClassFXDockBar.klass, "ALLOW_HORIZONTAL", SWIG_From_int(static_cast< int >(FXDockBar::ALLOW_HORIZONTAL))); rb_define_const(SwigClassFXDockBar.klass, "ALLOW_VERTICAL", SWIG_From_int(static_cast< int >(FXDockBar::ALLOW_VERTICAL))); rb_define_const(SwigClassFXDockBar.klass, "ALLOW_EVERYWHERE", SWIG_From_int(static_cast< int >(FXDockBar::ALLOW_EVERYWHERE))); rb_define_method(SwigClassFXDockBar.klass, "docked?", VALUEFUNC(_wrap_FXDockBar_dockedq___), -1); rb_define_method(SwigClassFXDockBar.klass, "insideDock?", VALUEFUNC(_wrap_FXDockBar_insideDockq___), -1); rb_define_method(SwigClassFXDockBar.klass, "dryDock=", VALUEFUNC(_wrap_FXDockBar_dryDocke___), -1); rb_define_method(SwigClassFXDockBar.klass, "wetDock=", VALUEFUNC(_wrap_FXDockBar_wetDocke___), -1); rb_define_method(SwigClassFXDockBar.klass, "dryDock", VALUEFUNC(_wrap_FXDockBar_dryDock), -1); rb_define_method(SwigClassFXDockBar.klass, "wetDock", VALUEFUNC(_wrap_FXDockBar_wetDock), -1); rb_define_method(SwigClassFXDockBar.klass, "findDockAtSide", VALUEFUNC(_wrap_FXDockBar_findDockAtSide), -1); rb_define_method(SwigClassFXDockBar.klass, "findDockNear", VALUEFUNC(_wrap_FXDockBar_findDockNear), -1); rb_define_method(SwigClassFXDockBar.klass, "allowedSides=", VALUEFUNC(_wrap_FXDockBar_allowedSidese___), -1); rb_define_method(SwigClassFXDockBar.klass, "allowedSides", VALUEFUNC(_wrap_FXDockBar_allowedSides), -1); rb_define_method(SwigClassFXDockBar.klass, "save", VALUEFUNC(_wrap_FXDockBar_save), -1); rb_define_method(SwigClassFXDockBar.klass, "load", VALUEFUNC(_wrap_FXDockBar_load), -1); rb_define_method(SwigClassFXDockBar.klass, "create", VALUEFUNC(_wrap_FXDockBar_create), -1); rb_define_method(SwigClassFXDockBar.klass, "detach", VALUEFUNC(_wrap_FXDockBar_detach), -1); rb_define_method(SwigClassFXDockBar.klass, "destroy", VALUEFUNC(_wrap_FXDockBar_destroy), -1); rb_define_method(SwigClassFXDockBar.klass, "resize", VALUEFUNC(_wrap_FXDockBar_resize), -1); rb_define_method(SwigClassFXDockBar.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXDockBar_getDefaultWidth), -1); rb_define_method(SwigClassFXDockBar.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXDockBar_getDefaultHeight), -1); rb_define_method(SwigClassFXDockBar.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXDockBar_getWidthForHeight), -1); rb_define_method(SwigClassFXDockBar.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXDockBar_getHeightForWidth), -1); rb_define_method(SwigClassFXDockBar.klass, "canFocus", VALUEFUNC(_wrap_FXDockBar_canFocus), -1); rb_define_method(SwigClassFXDockBar.klass, "setFocus", VALUEFUNC(_wrap_FXDockBar_setFocus), -1); rb_define_method(SwigClassFXDockBar.klass, "killFocus", VALUEFUNC(_wrap_FXDockBar_killFocus), -1); rb_define_method(SwigClassFXDockBar.klass, "changeFocus", VALUEFUNC(_wrap_FXDockBar_changeFocus), -1); rb_define_method(SwigClassFXDockBar.klass, "setDefault", VALUEFUNC(_wrap_FXDockBar_setDefault), -1); rb_define_method(SwigClassFXDockBar.klass, "enable", VALUEFUNC(_wrap_FXDockBar_enable), -1); rb_define_method(SwigClassFXDockBar.klass, "disable", VALUEFUNC(_wrap_FXDockBar_disable), -1); rb_define_method(SwigClassFXDockBar.klass, "raiseWindow", VALUEFUNC(_wrap_FXDockBar_raiseWindow), -1); rb_define_method(SwigClassFXDockBar.klass, "lower", VALUEFUNC(_wrap_FXDockBar_lower), -1); rb_define_method(SwigClassFXDockBar.klass, "move", VALUEFUNC(_wrap_FXDockBar_move), -1); rb_define_method(SwigClassFXDockBar.klass, "position", VALUEFUNC(_wrap_FXDockBar_position), -1); rb_define_method(SwigClassFXDockBar.klass, "layout", VALUEFUNC(_wrap_FXDockBar_layout), -1); rb_define_method(SwigClassFXDockBar.klass, "recalc", VALUEFUNC(_wrap_FXDockBar_recalc), -1); rb_define_method(SwigClassFXDockBar.klass, "reparent", VALUEFUNC(_wrap_FXDockBar_reparent), -1); rb_define_method(SwigClassFXDockBar.klass, "show", VALUEFUNC(_wrap_FXDockBar_show), -1); rb_define_method(SwigClassFXDockBar.klass, "hide", VALUEFUNC(_wrap_FXDockBar_hide), -1); rb_define_method(SwigClassFXDockBar.klass, "isComposite", VALUEFUNC(_wrap_FXDockBar_isComposite), -1); rb_define_method(SwigClassFXDockBar.klass, "contains", VALUEFUNC(_wrap_FXDockBar_contains), -1); rb_define_method(SwigClassFXDockBar.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXDockBar_doesSaveUnder), -1); rb_define_method(SwigClassFXDockBar.klass, "setBackColor", VALUEFUNC(_wrap_FXDockBar_setBackColor), -1); rb_define_method(SwigClassFXDockBar.klass, "tr", VALUEFUNC(_wrap_FXDockBar_tr), -1); rb_define_method(SwigClassFXDockBar.klass, "dropEnable", VALUEFUNC(_wrap_FXDockBar_dropEnable), -1); rb_define_method(SwigClassFXDockBar.klass, "dropDisable", VALUEFUNC(_wrap_FXDockBar_dropDisable), -1); rb_define_method(SwigClassFXDockBar.klass, "setShape", VALUEFUNC(_wrap_FXDockBar_setShape), -1); rb_define_method(SwigClassFXDockBar.klass, "clearShape", VALUEFUNC(_wrap_FXDockBar_clearShape), -1); rb_define_method(SwigClassFXDockBar.klass, "dock", VALUEFUNC(_wrap_FXDockBar_dock), -1); rb_define_method(SwigClassFXDockBar.klass, "undock", VALUEFUNC(_wrap_FXDockBar_undock), -1); SwigClassFXDockBar.mark = (void (*)(void *)) FXRbDockBar::markfunc; SwigClassFXDockBar.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXDockBar.trackObjects = 0; SWIGTYPE_p_FXDockBar->dcast = (swig_dycast_func) FXDockBar_dynamic_cast; SwigClassFXToolBar.klass = rb_define_class_under(mFox, "FXToolBar", ((swig_class *) SWIGTYPE_p_FXDockBar->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXToolBar, (void *) &SwigClassFXToolBar); rb_define_alloc_func(SwigClassFXToolBar.klass, _wrap_FXToolBar_allocate); rb_define_method(SwigClassFXToolBar.klass, "initialize", VALUEFUNC(_wrap_new_FXToolBar), -1); rb_define_method(SwigClassFXToolBar.klass, "onCmdDockFlip", VALUEFUNC(_wrap_FXToolBar_onCmdDockFlip), -1); rb_define_method(SwigClassFXToolBar.klass, "onUpdDockFlip", VALUEFUNC(_wrap_FXToolBar_onUpdDockFlip), -1); rb_define_method(SwigClassFXToolBar.klass, "dockingSide=", VALUEFUNC(_wrap_FXToolBar_dockingSidee___), -1); rb_define_method(SwigClassFXToolBar.klass, "dockingSide", VALUEFUNC(_wrap_FXToolBar_dockingSide), -1); rb_define_method(SwigClassFXToolBar.klass, "save", VALUEFUNC(_wrap_FXToolBar_save), -1); rb_define_method(SwigClassFXToolBar.klass, "load", VALUEFUNC(_wrap_FXToolBar_load), -1); rb_define_method(SwigClassFXToolBar.klass, "create", VALUEFUNC(_wrap_FXToolBar_create), -1); rb_define_method(SwigClassFXToolBar.klass, "detach", VALUEFUNC(_wrap_FXToolBar_detach), -1); rb_define_method(SwigClassFXToolBar.klass, "destroy", VALUEFUNC(_wrap_FXToolBar_destroy), -1); rb_define_method(SwigClassFXToolBar.klass, "resize", VALUEFUNC(_wrap_FXToolBar_resize), -1); rb_define_method(SwigClassFXToolBar.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXToolBar_getDefaultWidth), -1); rb_define_method(SwigClassFXToolBar.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXToolBar_getDefaultHeight), -1); rb_define_method(SwigClassFXToolBar.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXToolBar_getWidthForHeight), -1); rb_define_method(SwigClassFXToolBar.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXToolBar_getHeightForWidth), -1); rb_define_method(SwigClassFXToolBar.klass, "canFocus", VALUEFUNC(_wrap_FXToolBar_canFocus), -1); rb_define_method(SwigClassFXToolBar.klass, "setFocus", VALUEFUNC(_wrap_FXToolBar_setFocus), -1); rb_define_method(SwigClassFXToolBar.klass, "killFocus", VALUEFUNC(_wrap_FXToolBar_killFocus), -1); rb_define_method(SwigClassFXToolBar.klass, "changeFocus", VALUEFUNC(_wrap_FXToolBar_changeFocus), -1); rb_define_method(SwigClassFXToolBar.klass, "setDefault", VALUEFUNC(_wrap_FXToolBar_setDefault), -1); rb_define_method(SwigClassFXToolBar.klass, "enable", VALUEFUNC(_wrap_FXToolBar_enable), -1); rb_define_method(SwigClassFXToolBar.klass, "disable", VALUEFUNC(_wrap_FXToolBar_disable), -1); rb_define_method(SwigClassFXToolBar.klass, "raiseWindow", VALUEFUNC(_wrap_FXToolBar_raiseWindow), -1); rb_define_method(SwigClassFXToolBar.klass, "lower", VALUEFUNC(_wrap_FXToolBar_lower), -1); rb_define_method(SwigClassFXToolBar.klass, "move", VALUEFUNC(_wrap_FXToolBar_move), -1); rb_define_method(SwigClassFXToolBar.klass, "position", VALUEFUNC(_wrap_FXToolBar_position), -1); rb_define_method(SwigClassFXToolBar.klass, "layout", VALUEFUNC(_wrap_FXToolBar_layout), -1); rb_define_method(SwigClassFXToolBar.klass, "recalc", VALUEFUNC(_wrap_FXToolBar_recalc), -1); rb_define_method(SwigClassFXToolBar.klass, "reparent", VALUEFUNC(_wrap_FXToolBar_reparent), -1); rb_define_method(SwigClassFXToolBar.klass, "show", VALUEFUNC(_wrap_FXToolBar_show), -1); rb_define_method(SwigClassFXToolBar.klass, "hide", VALUEFUNC(_wrap_FXToolBar_hide), -1); rb_define_method(SwigClassFXToolBar.klass, "isComposite", VALUEFUNC(_wrap_FXToolBar_isComposite), -1); rb_define_method(SwigClassFXToolBar.klass, "contains", VALUEFUNC(_wrap_FXToolBar_contains), -1); rb_define_method(SwigClassFXToolBar.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXToolBar_doesSaveUnder), -1); rb_define_method(SwigClassFXToolBar.klass, "setBackColor", VALUEFUNC(_wrap_FXToolBar_setBackColor), -1); rb_define_method(SwigClassFXToolBar.klass, "tr", VALUEFUNC(_wrap_FXToolBar_tr), -1); rb_define_method(SwigClassFXToolBar.klass, "dropEnable", VALUEFUNC(_wrap_FXToolBar_dropEnable), -1); rb_define_method(SwigClassFXToolBar.klass, "dropDisable", VALUEFUNC(_wrap_FXToolBar_dropDisable), -1); rb_define_method(SwigClassFXToolBar.klass, "setShape", VALUEFUNC(_wrap_FXToolBar_setShape), -1); rb_define_method(SwigClassFXToolBar.klass, "clearShape", VALUEFUNC(_wrap_FXToolBar_clearShape), -1); rb_define_method(SwigClassFXToolBar.klass, "dock", VALUEFUNC(_wrap_FXToolBar_dock), -1); rb_define_method(SwigClassFXToolBar.klass, "undock", VALUEFUNC(_wrap_FXToolBar_undock), -1); SwigClassFXToolBar.mark = (void (*)(void *)) FXRbToolBar::markfunc; SwigClassFXToolBar.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXToolBar.trackObjects = 0; rb_define_const(mFox, "TABBOOK_TOPTABS", SWIG_From_int(static_cast< int >(TABBOOK_TOPTABS))); rb_define_const(mFox, "TABBOOK_BOTTOMTABS", SWIG_From_int(static_cast< int >(TABBOOK_BOTTOMTABS))); rb_define_const(mFox, "TABBOOK_SIDEWAYS", SWIG_From_int(static_cast< int >(TABBOOK_SIDEWAYS))); rb_define_const(mFox, "TABBOOK_LEFTTABS", SWIG_From_int(static_cast< int >(TABBOOK_LEFTTABS))); rb_define_const(mFox, "TABBOOK_RIGHTTABS", SWIG_From_int(static_cast< int >(TABBOOK_RIGHTTABS))); rb_define_const(mFox, "TABBOOK_NORMAL", SWIG_From_int(static_cast< int >(TABBOOK_NORMAL))); SwigClassFXTabBar.klass = rb_define_class_under(mFox, "FXTabBar", ((swig_class *) SWIGTYPE_p_FXPacker->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXTabBar, (void *) &SwigClassFXTabBar); rb_define_alloc_func(SwigClassFXTabBar.klass, _wrap_FXTabBar_allocate); rb_define_method(SwigClassFXTabBar.klass, "initialize", VALUEFUNC(_wrap_new_FXTabBar), -1); rb_define_method(SwigClassFXTabBar.klass, "onPaint", VALUEFUNC(_wrap_FXTabBar_onPaint), -1); rb_define_method(SwigClassFXTabBar.klass, "onFocusNext", VALUEFUNC(_wrap_FXTabBar_onFocusNext), -1); rb_define_method(SwigClassFXTabBar.klass, "onFocusPrev", VALUEFUNC(_wrap_FXTabBar_onFocusPrev), -1); rb_define_method(SwigClassFXTabBar.klass, "onFocusUp", VALUEFUNC(_wrap_FXTabBar_onFocusUp), -1); rb_define_method(SwigClassFXTabBar.klass, "onFocusDown", VALUEFUNC(_wrap_FXTabBar_onFocusDown), -1); rb_define_method(SwigClassFXTabBar.klass, "onFocusLeft", VALUEFUNC(_wrap_FXTabBar_onFocusLeft), -1); rb_define_method(SwigClassFXTabBar.klass, "onFocusRight", VALUEFUNC(_wrap_FXTabBar_onFocusRight), -1); rb_define_method(SwigClassFXTabBar.klass, "onCmdOpenItem", VALUEFUNC(_wrap_FXTabBar_onCmdOpenItem), -1); rb_define_method(SwigClassFXTabBar.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXTabBar_onCmdSetValue), -1); rb_define_method(SwigClassFXTabBar.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXTabBar_onCmdSetIntValue), -1); rb_define_method(SwigClassFXTabBar.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXTabBar_onCmdGetIntValue), -1); rb_define_method(SwigClassFXTabBar.klass, "onCmdOpen", VALUEFUNC(_wrap_FXTabBar_onCmdOpen), -1); rb_define_method(SwigClassFXTabBar.klass, "onUpdOpen", VALUEFUNC(_wrap_FXTabBar_onUpdOpen), -1); rb_define_const(SwigClassFXTabBar.klass, "ID_OPEN_ITEM", SWIG_From_int(static_cast< int >(FXTabBar::ID_OPEN_ITEM))); rb_define_const(SwigClassFXTabBar.klass, "ID_OPEN_FIRST", SWIG_From_int(static_cast< int >(FXTabBar::ID_OPEN_FIRST))); rb_define_const(SwigClassFXTabBar.klass, "ID_OPEN_SECOND", SWIG_From_int(static_cast< int >(FXTabBar::ID_OPEN_SECOND))); rb_define_const(SwigClassFXTabBar.klass, "ID_OPEN_THIRD", SWIG_From_int(static_cast< int >(FXTabBar::ID_OPEN_THIRD))); rb_define_const(SwigClassFXTabBar.klass, "ID_OPEN_FOURTH", SWIG_From_int(static_cast< int >(FXTabBar::ID_OPEN_FOURTH))); rb_define_const(SwigClassFXTabBar.klass, "ID_OPEN_FIFTH", SWIG_From_int(static_cast< int >(FXTabBar::ID_OPEN_FIFTH))); rb_define_const(SwigClassFXTabBar.klass, "ID_OPEN_SIXTH", SWIG_From_int(static_cast< int >(FXTabBar::ID_OPEN_SIXTH))); rb_define_const(SwigClassFXTabBar.klass, "ID_OPEN_SEVENTH", SWIG_From_int(static_cast< int >(FXTabBar::ID_OPEN_SEVENTH))); rb_define_const(SwigClassFXTabBar.klass, "ID_OPEN_EIGHTH", SWIG_From_int(static_cast< int >(FXTabBar::ID_OPEN_EIGHTH))); rb_define_const(SwigClassFXTabBar.klass, "ID_OPEN_NINETH", SWIG_From_int(static_cast< int >(FXTabBar::ID_OPEN_NINETH))); rb_define_const(SwigClassFXTabBar.klass, "ID_OPEN_TENTH", SWIG_From_int(static_cast< int >(FXTabBar::ID_OPEN_TENTH))); rb_define_const(SwigClassFXTabBar.klass, "ID_OPEN_LAST", SWIG_From_int(static_cast< int >(FXTabBar::ID_OPEN_LAST))); rb_define_const(SwigClassFXTabBar.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXTabBar::ID_LAST))); rb_define_method(SwigClassFXTabBar.klass, "getCurrent", VALUEFUNC(_wrap_FXTabBar_getCurrent), -1); rb_define_method(SwigClassFXTabBar.klass, "getTabStyle", VALUEFUNC(_wrap_FXTabBar_getTabStyle), -1); rb_define_method(SwigClassFXTabBar.klass, "setTabStyle", VALUEFUNC(_wrap_FXTabBar_setTabStyle), -1); rb_define_method(SwigClassFXTabBar.klass, "save", VALUEFUNC(_wrap_FXTabBar_save), -1); rb_define_method(SwigClassFXTabBar.klass, "load", VALUEFUNC(_wrap_FXTabBar_load), -1); rb_define_method(SwigClassFXTabBar.klass, "create", VALUEFUNC(_wrap_FXTabBar_create), -1); rb_define_method(SwigClassFXTabBar.klass, "detach", VALUEFUNC(_wrap_FXTabBar_detach), -1); rb_define_method(SwigClassFXTabBar.klass, "destroy", VALUEFUNC(_wrap_FXTabBar_destroy), -1); rb_define_method(SwigClassFXTabBar.klass, "resize", VALUEFUNC(_wrap_FXTabBar_resize), -1); rb_define_method(SwigClassFXTabBar.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXTabBar_getDefaultWidth), -1); rb_define_method(SwigClassFXTabBar.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXTabBar_getDefaultHeight), -1); rb_define_method(SwigClassFXTabBar.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXTabBar_getWidthForHeight), -1); rb_define_method(SwigClassFXTabBar.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXTabBar_getHeightForWidth), -1); rb_define_method(SwigClassFXTabBar.klass, "canFocus", VALUEFUNC(_wrap_FXTabBar_canFocus), -1); rb_define_method(SwigClassFXTabBar.klass, "setFocus", VALUEFUNC(_wrap_FXTabBar_setFocus), -1); rb_define_method(SwigClassFXTabBar.klass, "killFocus", VALUEFUNC(_wrap_FXTabBar_killFocus), -1); rb_define_method(SwigClassFXTabBar.klass, "changeFocus", VALUEFUNC(_wrap_FXTabBar_changeFocus), -1); rb_define_method(SwigClassFXTabBar.klass, "setDefault", VALUEFUNC(_wrap_FXTabBar_setDefault), -1); rb_define_method(SwigClassFXTabBar.klass, "enable", VALUEFUNC(_wrap_FXTabBar_enable), -1); rb_define_method(SwigClassFXTabBar.klass, "disable", VALUEFUNC(_wrap_FXTabBar_disable), -1); rb_define_method(SwigClassFXTabBar.klass, "raiseWindow", VALUEFUNC(_wrap_FXTabBar_raiseWindow), -1); rb_define_method(SwigClassFXTabBar.klass, "lower", VALUEFUNC(_wrap_FXTabBar_lower), -1); rb_define_method(SwigClassFXTabBar.klass, "move", VALUEFUNC(_wrap_FXTabBar_move), -1); rb_define_method(SwigClassFXTabBar.klass, "position", VALUEFUNC(_wrap_FXTabBar_position), -1); rb_define_method(SwigClassFXTabBar.klass, "layout", VALUEFUNC(_wrap_FXTabBar_layout), -1); rb_define_method(SwigClassFXTabBar.klass, "recalc", VALUEFUNC(_wrap_FXTabBar_recalc), -1); rb_define_method(SwigClassFXTabBar.klass, "reparent", VALUEFUNC(_wrap_FXTabBar_reparent), -1); rb_define_method(SwigClassFXTabBar.klass, "show", VALUEFUNC(_wrap_FXTabBar_show), -1); rb_define_method(SwigClassFXTabBar.klass, "hide", VALUEFUNC(_wrap_FXTabBar_hide), -1); rb_define_method(SwigClassFXTabBar.klass, "isComposite", VALUEFUNC(_wrap_FXTabBar_isComposite), -1); rb_define_method(SwigClassFXTabBar.klass, "contains", VALUEFUNC(_wrap_FXTabBar_contains), -1); rb_define_method(SwigClassFXTabBar.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXTabBar_doesSaveUnder), -1); rb_define_method(SwigClassFXTabBar.klass, "setBackColor", VALUEFUNC(_wrap_FXTabBar_setBackColor), -1); rb_define_method(SwigClassFXTabBar.klass, "tr", VALUEFUNC(_wrap_FXTabBar_tr), -1); rb_define_method(SwigClassFXTabBar.klass, "dropEnable", VALUEFUNC(_wrap_FXTabBar_dropEnable), -1); rb_define_method(SwigClassFXTabBar.klass, "dropDisable", VALUEFUNC(_wrap_FXTabBar_dropDisable), -1); rb_define_method(SwigClassFXTabBar.klass, "setShape", VALUEFUNC(_wrap_FXTabBar_setShape), -1); rb_define_method(SwigClassFXTabBar.klass, "clearShape", VALUEFUNC(_wrap_FXTabBar_clearShape), -1); rb_define_method(SwigClassFXTabBar.klass, "setCurrent", VALUEFUNC(_wrap_FXTabBar_setCurrent), -1); SwigClassFXTabBar.mark = (void (*)(void *)) FXRbTabBar::markfunc; SwigClassFXTabBar.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXTabBar.trackObjects = 0; SWIGTYPE_p_FXTabBar->dcast = (swig_dycast_func) FXTabBar_dynamic_cast; SwigClassFXTabBook.klass = rb_define_class_under(mFox, "FXTabBook", ((swig_class *) SWIGTYPE_p_FXTabBar->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXTabBook, (void *) &SwigClassFXTabBook); rb_define_alloc_func(SwigClassFXTabBook.klass, _wrap_FXTabBook_allocate); rb_define_method(SwigClassFXTabBook.klass, "initialize", VALUEFUNC(_wrap_new_FXTabBook), -1); rb_define_method(SwigClassFXTabBook.klass, "onPaint", VALUEFUNC(_wrap_FXTabBook_onPaint), -1); rb_define_method(SwigClassFXTabBook.klass, "onFocusNext", VALUEFUNC(_wrap_FXTabBook_onFocusNext), -1); rb_define_method(SwigClassFXTabBook.klass, "onFocusPrev", VALUEFUNC(_wrap_FXTabBook_onFocusPrev), -1); rb_define_method(SwigClassFXTabBook.klass, "onFocusUp", VALUEFUNC(_wrap_FXTabBook_onFocusUp), -1); rb_define_method(SwigClassFXTabBook.klass, "onFocusDown", VALUEFUNC(_wrap_FXTabBook_onFocusDown), -1); rb_define_method(SwigClassFXTabBook.klass, "onFocusLeft", VALUEFUNC(_wrap_FXTabBook_onFocusLeft), -1); rb_define_method(SwigClassFXTabBook.klass, "onFocusRight", VALUEFUNC(_wrap_FXTabBook_onFocusRight), -1); rb_define_method(SwigClassFXTabBook.klass, "onCmdOpenItem", VALUEFUNC(_wrap_FXTabBook_onCmdOpenItem), -1); rb_define_method(SwigClassFXTabBook.klass, "save", VALUEFUNC(_wrap_FXTabBook_save), -1); rb_define_method(SwigClassFXTabBook.klass, "load", VALUEFUNC(_wrap_FXTabBook_load), -1); rb_define_method(SwigClassFXTabBook.klass, "create", VALUEFUNC(_wrap_FXTabBook_create), -1); rb_define_method(SwigClassFXTabBook.klass, "detach", VALUEFUNC(_wrap_FXTabBook_detach), -1); rb_define_method(SwigClassFXTabBook.klass, "destroy", VALUEFUNC(_wrap_FXTabBook_destroy), -1); rb_define_method(SwigClassFXTabBook.klass, "resize", VALUEFUNC(_wrap_FXTabBook_resize), -1); rb_define_method(SwigClassFXTabBook.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXTabBook_getDefaultWidth), -1); rb_define_method(SwigClassFXTabBook.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXTabBook_getDefaultHeight), -1); rb_define_method(SwigClassFXTabBook.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXTabBook_getWidthForHeight), -1); rb_define_method(SwigClassFXTabBook.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXTabBook_getHeightForWidth), -1); rb_define_method(SwigClassFXTabBook.klass, "canFocus", VALUEFUNC(_wrap_FXTabBook_canFocus), -1); rb_define_method(SwigClassFXTabBook.klass, "setFocus", VALUEFUNC(_wrap_FXTabBook_setFocus), -1); rb_define_method(SwigClassFXTabBook.klass, "killFocus", VALUEFUNC(_wrap_FXTabBook_killFocus), -1); rb_define_method(SwigClassFXTabBook.klass, "changeFocus", VALUEFUNC(_wrap_FXTabBook_changeFocus), -1); rb_define_method(SwigClassFXTabBook.klass, "setDefault", VALUEFUNC(_wrap_FXTabBook_setDefault), -1); rb_define_method(SwigClassFXTabBook.klass, "enable", VALUEFUNC(_wrap_FXTabBook_enable), -1); rb_define_method(SwigClassFXTabBook.klass, "disable", VALUEFUNC(_wrap_FXTabBook_disable), -1); rb_define_method(SwigClassFXTabBook.klass, "raiseWindow", VALUEFUNC(_wrap_FXTabBook_raiseWindow), -1); rb_define_method(SwigClassFXTabBook.klass, "lower", VALUEFUNC(_wrap_FXTabBook_lower), -1); rb_define_method(SwigClassFXTabBook.klass, "move", VALUEFUNC(_wrap_FXTabBook_move), -1); rb_define_method(SwigClassFXTabBook.klass, "position", VALUEFUNC(_wrap_FXTabBook_position), -1); rb_define_method(SwigClassFXTabBook.klass, "layout", VALUEFUNC(_wrap_FXTabBook_layout), -1); rb_define_method(SwigClassFXTabBook.klass, "recalc", VALUEFUNC(_wrap_FXTabBook_recalc), -1); rb_define_method(SwigClassFXTabBook.klass, "reparent", VALUEFUNC(_wrap_FXTabBook_reparent), -1); rb_define_method(SwigClassFXTabBook.klass, "show", VALUEFUNC(_wrap_FXTabBook_show), -1); rb_define_method(SwigClassFXTabBook.klass, "hide", VALUEFUNC(_wrap_FXTabBook_hide), -1); rb_define_method(SwigClassFXTabBook.klass, "isComposite", VALUEFUNC(_wrap_FXTabBook_isComposite), -1); rb_define_method(SwigClassFXTabBook.klass, "contains", VALUEFUNC(_wrap_FXTabBook_contains), -1); rb_define_method(SwigClassFXTabBook.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXTabBook_doesSaveUnder), -1); rb_define_method(SwigClassFXTabBook.klass, "setBackColor", VALUEFUNC(_wrap_FXTabBook_setBackColor), -1); rb_define_method(SwigClassFXTabBook.klass, "tr", VALUEFUNC(_wrap_FXTabBook_tr), -1); rb_define_method(SwigClassFXTabBook.klass, "dropEnable", VALUEFUNC(_wrap_FXTabBook_dropEnable), -1); rb_define_method(SwigClassFXTabBook.klass, "dropDisable", VALUEFUNC(_wrap_FXTabBook_dropDisable), -1); rb_define_method(SwigClassFXTabBook.klass, "setShape", VALUEFUNC(_wrap_FXTabBook_setShape), -1); rb_define_method(SwigClassFXTabBook.klass, "clearShape", VALUEFUNC(_wrap_FXTabBook_clearShape), -1); rb_define_method(SwigClassFXTabBook.klass, "setCurrent", VALUEFUNC(_wrap_FXTabBook_setCurrent), -1); SwigClassFXTabBook.mark = (void (*)(void *)) FXRbTabBook::markfunc; SwigClassFXTabBook.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXTabBook.trackObjects = 0; rb_define_const(mFox, "SCROLLBAR_VERTICAL", SWIG_From_int(static_cast< int >(SCROLLBAR_VERTICAL))); rb_define_const(mFox, "SCROLLBAR_HORIZONTAL", SWIG_From_int(static_cast< int >(SCROLLBAR_HORIZONTAL))); rb_define_const(mFox, "SCROLLBAR_WHEELJUMP", SWIG_From_int(static_cast< int >(SCROLLBAR_WHEELJUMP))); SwigClassFXScrollBar.klass = rb_define_class_under(mFox, "FXScrollBar", ((swig_class *) SWIGTYPE_p_FXWindow->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXScrollBar, (void *) &SwigClassFXScrollBar); rb_define_alloc_func(SwigClassFXScrollBar.klass, _wrap_FXScrollBar_allocate); rb_define_method(SwigClassFXScrollBar.klass, "initialize", VALUEFUNC(_wrap_new_FXScrollBar), -1); rb_define_method(SwigClassFXScrollBar.klass, "onPaint", VALUEFUNC(_wrap_FXScrollBar_onPaint), -1); rb_define_method(SwigClassFXScrollBar.klass, "onMotion", VALUEFUNC(_wrap_FXScrollBar_onMotion), -1); rb_define_method(SwigClassFXScrollBar.klass, "onMouseWheel", VALUEFUNC(_wrap_FXScrollBar_onMouseWheel), -1); rb_define_method(SwigClassFXScrollBar.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXScrollBar_onLeftBtnPress), -1); rb_define_method(SwigClassFXScrollBar.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXScrollBar_onLeftBtnRelease), -1); rb_define_method(SwigClassFXScrollBar.klass, "onMiddleBtnPress", VALUEFUNC(_wrap_FXScrollBar_onMiddleBtnPress), -1); rb_define_method(SwigClassFXScrollBar.klass, "onMiddleBtnRelease", VALUEFUNC(_wrap_FXScrollBar_onMiddleBtnRelease), -1); rb_define_method(SwigClassFXScrollBar.klass, "onRightBtnPress", VALUEFUNC(_wrap_FXScrollBar_onRightBtnPress), -1); rb_define_method(SwigClassFXScrollBar.klass, "onRightBtnRelease", VALUEFUNC(_wrap_FXScrollBar_onRightBtnRelease), -1); rb_define_method(SwigClassFXScrollBar.klass, "onUngrabbed", VALUEFUNC(_wrap_FXScrollBar_onUngrabbed), -1); rb_define_method(SwigClassFXScrollBar.klass, "onTimeWheel", VALUEFUNC(_wrap_FXScrollBar_onTimeWheel), -1); rb_define_method(SwigClassFXScrollBar.klass, "onAutoScroll", VALUEFUNC(_wrap_FXScrollBar_onAutoScroll), -1); rb_define_method(SwigClassFXScrollBar.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXScrollBar_onCmdSetValue), -1); rb_define_method(SwigClassFXScrollBar.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXScrollBar_onCmdSetIntValue), -1); rb_define_method(SwigClassFXScrollBar.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXScrollBar_onCmdGetIntValue), -1); rb_define_method(SwigClassFXScrollBar.klass, "onCmdSetIntRange", VALUEFUNC(_wrap_FXScrollBar_onCmdSetIntRange), -1); rb_define_method(SwigClassFXScrollBar.klass, "onCmdGetIntRange", VALUEFUNC(_wrap_FXScrollBar_onCmdGetIntRange), -1); rb_define_const(SwigClassFXScrollBar.klass, "ID_TIMEWHEEL", SWIG_From_int(static_cast< int >(FXScrollBar::ID_TIMEWHEEL))); rb_define_const(SwigClassFXScrollBar.klass, "ID_AUTOSCROLL", SWIG_From_int(static_cast< int >(FXScrollBar::ID_AUTOSCROLL))); rb_define_const(SwigClassFXScrollBar.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXScrollBar::ID_LAST))); rb_define_method(SwigClassFXScrollBar.klass, "setRange", VALUEFUNC(_wrap_FXScrollBar_setRange), -1); rb_define_method(SwigClassFXScrollBar.klass, "getRange", VALUEFUNC(_wrap_FXScrollBar_getRange), -1); rb_define_method(SwigClassFXScrollBar.klass, "setPage", VALUEFUNC(_wrap_FXScrollBar_setPage), -1); rb_define_method(SwigClassFXScrollBar.klass, "getPage", VALUEFUNC(_wrap_FXScrollBar_getPage), -1); rb_define_method(SwigClassFXScrollBar.klass, "setLine", VALUEFUNC(_wrap_FXScrollBar_setLine), -1); rb_define_method(SwigClassFXScrollBar.klass, "getLine", VALUEFUNC(_wrap_FXScrollBar_getLine), -1); rb_define_method(SwigClassFXScrollBar.klass, "setPosition", VALUEFUNC(_wrap_FXScrollBar_setPosition), -1); rb_define_method(SwigClassFXScrollBar.klass, "setHiliteColor", VALUEFUNC(_wrap_FXScrollBar_setHiliteColor), -1); rb_define_method(SwigClassFXScrollBar.klass, "getHiliteColor", VALUEFUNC(_wrap_FXScrollBar_getHiliteColor), -1); rb_define_method(SwigClassFXScrollBar.klass, "setShadowColor", VALUEFUNC(_wrap_FXScrollBar_setShadowColor), -1); rb_define_method(SwigClassFXScrollBar.klass, "getShadowColor", VALUEFUNC(_wrap_FXScrollBar_getShadowColor), -1); rb_define_method(SwigClassFXScrollBar.klass, "getBorderColor", VALUEFUNC(_wrap_FXScrollBar_getBorderColor), -1); rb_define_method(SwigClassFXScrollBar.klass, "setBorderColor", VALUEFUNC(_wrap_FXScrollBar_setBorderColor), -1); rb_define_method(SwigClassFXScrollBar.klass, "getScrollBarStyle", VALUEFUNC(_wrap_FXScrollBar_getScrollBarStyle), -1); rb_define_method(SwigClassFXScrollBar.klass, "setScrollBarStyle", VALUEFUNC(_wrap_FXScrollBar_setScrollBarStyle), -1); rb_define_method(SwigClassFXScrollBar.klass, "barSize=", VALUEFUNC(_wrap_FXScrollBar_barSizee___), -1); rb_define_method(SwigClassFXScrollBar.klass, "barSize", VALUEFUNC(_wrap_FXScrollBar_barSize), -1); rb_define_method(SwigClassFXScrollBar.klass, "save", VALUEFUNC(_wrap_FXScrollBar_save), -1); rb_define_method(SwigClassFXScrollBar.klass, "load", VALUEFUNC(_wrap_FXScrollBar_load), -1); rb_define_method(SwigClassFXScrollBar.klass, "create", VALUEFUNC(_wrap_FXScrollBar_create), -1); rb_define_method(SwigClassFXScrollBar.klass, "detach", VALUEFUNC(_wrap_FXScrollBar_detach), -1); rb_define_method(SwigClassFXScrollBar.klass, "destroy", VALUEFUNC(_wrap_FXScrollBar_destroy), -1); rb_define_method(SwigClassFXScrollBar.klass, "resize", VALUEFUNC(_wrap_FXScrollBar_resize), -1); rb_define_method(SwigClassFXScrollBar.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXScrollBar_getDefaultWidth), -1); rb_define_method(SwigClassFXScrollBar.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXScrollBar_getDefaultHeight), -1); rb_define_method(SwigClassFXScrollBar.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXScrollBar_getWidthForHeight), -1); rb_define_method(SwigClassFXScrollBar.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXScrollBar_getHeightForWidth), -1); rb_define_method(SwigClassFXScrollBar.klass, "canFocus", VALUEFUNC(_wrap_FXScrollBar_canFocus), -1); rb_define_method(SwigClassFXScrollBar.klass, "setFocus", VALUEFUNC(_wrap_FXScrollBar_setFocus), -1); rb_define_method(SwigClassFXScrollBar.klass, "killFocus", VALUEFUNC(_wrap_FXScrollBar_killFocus), -1); rb_define_method(SwigClassFXScrollBar.klass, "changeFocus", VALUEFUNC(_wrap_FXScrollBar_changeFocus), -1); rb_define_method(SwigClassFXScrollBar.klass, "setDefault", VALUEFUNC(_wrap_FXScrollBar_setDefault), -1); rb_define_method(SwigClassFXScrollBar.klass, "enable", VALUEFUNC(_wrap_FXScrollBar_enable), -1); rb_define_method(SwigClassFXScrollBar.klass, "disable", VALUEFUNC(_wrap_FXScrollBar_disable), -1); rb_define_method(SwigClassFXScrollBar.klass, "raiseWindow", VALUEFUNC(_wrap_FXScrollBar_raiseWindow), -1); rb_define_method(SwigClassFXScrollBar.klass, "lower", VALUEFUNC(_wrap_FXScrollBar_lower), -1); rb_define_method(SwigClassFXScrollBar.klass, "move", VALUEFUNC(_wrap_FXScrollBar_move), -1); rb_define_method(SwigClassFXScrollBar.klass, "position", VALUEFUNC(_wrap_FXScrollBar_position), -1); rb_define_method(SwigClassFXScrollBar.klass, "layout", VALUEFUNC(_wrap_FXScrollBar_layout), -1); rb_define_method(SwigClassFXScrollBar.klass, "recalc", VALUEFUNC(_wrap_FXScrollBar_recalc), -1); rb_define_method(SwigClassFXScrollBar.klass, "reparent", VALUEFUNC(_wrap_FXScrollBar_reparent), -1); rb_define_method(SwigClassFXScrollBar.klass, "show", VALUEFUNC(_wrap_FXScrollBar_show), -1); rb_define_method(SwigClassFXScrollBar.klass, "hide", VALUEFUNC(_wrap_FXScrollBar_hide), -1); rb_define_method(SwigClassFXScrollBar.klass, "isComposite", VALUEFUNC(_wrap_FXScrollBar_isComposite), -1); rb_define_method(SwigClassFXScrollBar.klass, "contains", VALUEFUNC(_wrap_FXScrollBar_contains), -1); rb_define_method(SwigClassFXScrollBar.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXScrollBar_doesSaveUnder), -1); rb_define_method(SwigClassFXScrollBar.klass, "setBackColor", VALUEFUNC(_wrap_FXScrollBar_setBackColor), -1); rb_define_method(SwigClassFXScrollBar.klass, "tr", VALUEFUNC(_wrap_FXScrollBar_tr), -1); rb_define_method(SwigClassFXScrollBar.klass, "dropEnable", VALUEFUNC(_wrap_FXScrollBar_dropEnable), -1); rb_define_method(SwigClassFXScrollBar.klass, "dropDisable", VALUEFUNC(_wrap_FXScrollBar_dropDisable), -1); rb_define_method(SwigClassFXScrollBar.klass, "setShape", VALUEFUNC(_wrap_FXScrollBar_setShape), -1); rb_define_method(SwigClassFXScrollBar.klass, "clearShape", VALUEFUNC(_wrap_FXScrollBar_clearShape), -1); SwigClassFXScrollBar.mark = (void (*)(void *)) FXRbScrollBar::markfunc; SwigClassFXScrollBar.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXScrollBar.trackObjects = 0; SwigClassFXScrollCorner.klass = rb_define_class_under(mFox, "FXScrollCorner", ((swig_class *) SWIGTYPE_p_FXWindow->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXScrollCorner, (void *) &SwigClassFXScrollCorner); rb_define_alloc_func(SwigClassFXScrollCorner.klass, _wrap_FXScrollCorner_allocate); rb_define_method(SwigClassFXScrollCorner.klass, "initialize", VALUEFUNC(_wrap_new_FXScrollCorner), -1); rb_define_method(SwigClassFXScrollCorner.klass, "onPaint", VALUEFUNC(_wrap_FXScrollCorner_onPaint), -1); rb_define_method(SwigClassFXScrollCorner.klass, "save", VALUEFUNC(_wrap_FXScrollCorner_save), -1); rb_define_method(SwigClassFXScrollCorner.klass, "load", VALUEFUNC(_wrap_FXScrollCorner_load), -1); rb_define_method(SwigClassFXScrollCorner.klass, "create", VALUEFUNC(_wrap_FXScrollCorner_create), -1); rb_define_method(SwigClassFXScrollCorner.klass, "detach", VALUEFUNC(_wrap_FXScrollCorner_detach), -1); rb_define_method(SwigClassFXScrollCorner.klass, "destroy", VALUEFUNC(_wrap_FXScrollCorner_destroy), -1); rb_define_method(SwigClassFXScrollCorner.klass, "resize", VALUEFUNC(_wrap_FXScrollCorner_resize), -1); rb_define_method(SwigClassFXScrollCorner.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXScrollCorner_getDefaultWidth), -1); rb_define_method(SwigClassFXScrollCorner.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXScrollCorner_getDefaultHeight), -1); rb_define_method(SwigClassFXScrollCorner.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXScrollCorner_getWidthForHeight), -1); rb_define_method(SwigClassFXScrollCorner.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXScrollCorner_getHeightForWidth), -1); rb_define_method(SwigClassFXScrollCorner.klass, "canFocus", VALUEFUNC(_wrap_FXScrollCorner_canFocus), -1); rb_define_method(SwigClassFXScrollCorner.klass, "setFocus", VALUEFUNC(_wrap_FXScrollCorner_setFocus), -1); rb_define_method(SwigClassFXScrollCorner.klass, "killFocus", VALUEFUNC(_wrap_FXScrollCorner_killFocus), -1); rb_define_method(SwigClassFXScrollCorner.klass, "changeFocus", VALUEFUNC(_wrap_FXScrollCorner_changeFocus), -1); rb_define_method(SwigClassFXScrollCorner.klass, "setDefault", VALUEFUNC(_wrap_FXScrollCorner_setDefault), -1); rb_define_method(SwigClassFXScrollCorner.klass, "enable", VALUEFUNC(_wrap_FXScrollCorner_enable), -1); rb_define_method(SwigClassFXScrollCorner.klass, "disable", VALUEFUNC(_wrap_FXScrollCorner_disable), -1); rb_define_method(SwigClassFXScrollCorner.klass, "raiseWindow", VALUEFUNC(_wrap_FXScrollCorner_raiseWindow), -1); rb_define_method(SwigClassFXScrollCorner.klass, "lower", VALUEFUNC(_wrap_FXScrollCorner_lower), -1); rb_define_method(SwigClassFXScrollCorner.klass, "move", VALUEFUNC(_wrap_FXScrollCorner_move), -1); rb_define_method(SwigClassFXScrollCorner.klass, "position", VALUEFUNC(_wrap_FXScrollCorner_position), -1); rb_define_method(SwigClassFXScrollCorner.klass, "layout", VALUEFUNC(_wrap_FXScrollCorner_layout), -1); rb_define_method(SwigClassFXScrollCorner.klass, "recalc", VALUEFUNC(_wrap_FXScrollCorner_recalc), -1); rb_define_method(SwigClassFXScrollCorner.klass, "reparent", VALUEFUNC(_wrap_FXScrollCorner_reparent), -1); rb_define_method(SwigClassFXScrollCorner.klass, "show", VALUEFUNC(_wrap_FXScrollCorner_show), -1); rb_define_method(SwigClassFXScrollCorner.klass, "hide", VALUEFUNC(_wrap_FXScrollCorner_hide), -1); rb_define_method(SwigClassFXScrollCorner.klass, "isComposite", VALUEFUNC(_wrap_FXScrollCorner_isComposite), -1); rb_define_method(SwigClassFXScrollCorner.klass, "contains", VALUEFUNC(_wrap_FXScrollCorner_contains), -1); rb_define_method(SwigClassFXScrollCorner.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXScrollCorner_doesSaveUnder), -1); rb_define_method(SwigClassFXScrollCorner.klass, "setBackColor", VALUEFUNC(_wrap_FXScrollCorner_setBackColor), -1); rb_define_method(SwigClassFXScrollCorner.klass, "tr", VALUEFUNC(_wrap_FXScrollCorner_tr), -1); rb_define_method(SwigClassFXScrollCorner.klass, "dropEnable", VALUEFUNC(_wrap_FXScrollCorner_dropEnable), -1); rb_define_method(SwigClassFXScrollCorner.klass, "dropDisable", VALUEFUNC(_wrap_FXScrollCorner_dropDisable), -1); rb_define_method(SwigClassFXScrollCorner.klass, "setShape", VALUEFUNC(_wrap_FXScrollCorner_setShape), -1); rb_define_method(SwigClassFXScrollCorner.klass, "clearShape", VALUEFUNC(_wrap_FXScrollCorner_clearShape), -1); SwigClassFXScrollCorner.mark = (void (*)(void *)) FXRbScrollCorner::markfunc; SwigClassFXScrollCorner.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXScrollCorner.trackObjects = 0; rb_define_const(mFox, "COMBOBOX_NO_REPLACE", SWIG_From_int(static_cast< int >(COMBOBOX_NO_REPLACE))); rb_define_const(mFox, "COMBOBOX_REPLACE", SWIG_From_int(static_cast< int >(COMBOBOX_REPLACE))); rb_define_const(mFox, "COMBOBOX_INSERT_BEFORE", SWIG_From_int(static_cast< int >(COMBOBOX_INSERT_BEFORE))); rb_define_const(mFox, "COMBOBOX_INSERT_AFTER", SWIG_From_int(static_cast< int >(COMBOBOX_INSERT_AFTER))); rb_define_const(mFox, "COMBOBOX_INSERT_FIRST", SWIG_From_int(static_cast< int >(COMBOBOX_INSERT_FIRST))); rb_define_const(mFox, "COMBOBOX_INSERT_LAST", SWIG_From_int(static_cast< int >(COMBOBOX_INSERT_LAST))); rb_define_const(mFox, "COMBOBOX_STATIC", SWIG_From_int(static_cast< int >(COMBOBOX_STATIC))); rb_define_const(mFox, "COMBOBOX_NORMAL", SWIG_From_int(static_cast< int >(COMBOBOX_NORMAL))); SwigClassFXComboBox.klass = rb_define_class_under(mFox, "FXComboBox", ((swig_class *) SWIGTYPE_p_FXPacker->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXComboBox, (void *) &SwigClassFXComboBox); rb_define_alloc_func(SwigClassFXComboBox.klass, _wrap_FXComboBox_allocate); rb_define_method(SwigClassFXComboBox.klass, "initialize", VALUEFUNC(_wrap_new_FXComboBox), -1); rb_define_method(SwigClassFXComboBox.klass, "onFocusUp", VALUEFUNC(_wrap_FXComboBox_onFocusUp), -1); rb_define_method(SwigClassFXComboBox.klass, "onFocusDown", VALUEFUNC(_wrap_FXComboBox_onFocusDown), -1); rb_define_method(SwigClassFXComboBox.klass, "onFocusSelf", VALUEFUNC(_wrap_FXComboBox_onFocusSelf), -1); rb_define_method(SwigClassFXComboBox.klass, "onMouseWheel", VALUEFUNC(_wrap_FXComboBox_onMouseWheel), -1); rb_define_method(SwigClassFXComboBox.klass, "onTextButton", VALUEFUNC(_wrap_FXComboBox_onTextButton), -1); rb_define_method(SwigClassFXComboBox.klass, "onTextChanged", VALUEFUNC(_wrap_FXComboBox_onTextChanged), -1); rb_define_method(SwigClassFXComboBox.klass, "onTextCommand", VALUEFUNC(_wrap_FXComboBox_onTextCommand), -1); rb_define_method(SwigClassFXComboBox.klass, "onListClicked", VALUEFUNC(_wrap_FXComboBox_onListClicked), -1); rb_define_method(SwigClassFXComboBox.klass, "onFwdToText", VALUEFUNC(_wrap_FXComboBox_onFwdToText), -1); rb_define_method(SwigClassFXComboBox.klass, "onUpdFmText", VALUEFUNC(_wrap_FXComboBox_onUpdFmText), -1); rb_define_const(SwigClassFXComboBox.klass, "ID_LIST", SWIG_From_int(static_cast< int >(FXComboBox::ID_LIST))); rb_define_const(SwigClassFXComboBox.klass, "ID_TEXT", SWIG_From_int(static_cast< int >(FXComboBox::ID_TEXT))); rb_define_const(SwigClassFXComboBox.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXComboBox::ID_LAST))); rb_define_method(SwigClassFXComboBox.klass, "isEditable", VALUEFUNC(_wrap_FXComboBox_isEditable), -1); rb_define_method(SwigClassFXComboBox.klass, "setEditable", VALUEFUNC(_wrap_FXComboBox_setEditable), -1); rb_define_method(SwigClassFXComboBox.klass, "setText", VALUEFUNC(_wrap_FXComboBox_setText), -1); rb_define_method(SwigClassFXComboBox.klass, "getText", VALUEFUNC(_wrap_FXComboBox_getText), -1); rb_define_method(SwigClassFXComboBox.klass, "setNumColumns", VALUEFUNC(_wrap_FXComboBox_setNumColumns), -1); rb_define_method(SwigClassFXComboBox.klass, "getNumColumns", VALUEFUNC(_wrap_FXComboBox_getNumColumns), -1); rb_define_method(SwigClassFXComboBox.klass, "justify=", VALUEFUNC(_wrap_FXComboBox_justifye___), -1); rb_define_method(SwigClassFXComboBox.klass, "justify", VALUEFUNC(_wrap_FXComboBox_justify), -1); rb_define_method(SwigClassFXComboBox.klass, "getNumItems", VALUEFUNC(_wrap_FXComboBox_getNumItems), -1); rb_define_method(SwigClassFXComboBox.klass, "getNumVisible", VALUEFUNC(_wrap_FXComboBox_getNumVisible), -1); rb_define_method(SwigClassFXComboBox.klass, "setNumVisible", VALUEFUNC(_wrap_FXComboBox_setNumVisible), -1); rb_define_method(SwigClassFXComboBox.klass, "isItemCurrent", VALUEFUNC(_wrap_FXComboBox_isItemCurrent), -1); rb_define_method(SwigClassFXComboBox.klass, "setCurrentItem", VALUEFUNC(_wrap_FXComboBox_setCurrentItem), -1); rb_define_method(SwigClassFXComboBox.klass, "getCurrentItem", VALUEFUNC(_wrap_FXComboBox_getCurrentItem), -1); rb_define_method(SwigClassFXComboBox.klass, "getItem", VALUEFUNC(_wrap_FXComboBox_getItem), -1); rb_define_method(SwigClassFXComboBox.klass, "setItem", VALUEFUNC(_wrap_FXComboBox_setItem), -1); rb_define_method(SwigClassFXComboBox.klass, "fillItems", VALUEFUNC(_wrap_FXComboBox_fillItems), -1); rb_define_method(SwigClassFXComboBox.klass, "insertItem", VALUEFUNC(_wrap_FXComboBox_insertItem), -1); rb_define_method(SwigClassFXComboBox.klass, "appendItem", VALUEFUNC(_wrap_FXComboBox_appendItem), -1); rb_define_method(SwigClassFXComboBox.klass, "prependItem", VALUEFUNC(_wrap_FXComboBox_prependItem), -1); rb_define_method(SwigClassFXComboBox.klass, "moveItem", VALUEFUNC(_wrap_FXComboBox_moveItem), -1); rb_define_method(SwigClassFXComboBox.klass, "removeItem", VALUEFUNC(_wrap_FXComboBox_removeItem), -1); rb_define_method(SwigClassFXComboBox.klass, "clearItems", VALUEFUNC(_wrap_FXComboBox_clearItems), -1); rb_define_method(SwigClassFXComboBox.klass, "findItem", VALUEFUNC(_wrap_FXComboBox_findItem), -1); rb_define_method(SwigClassFXComboBox.klass, "findItemByData", VALUEFUNC(_wrap_FXComboBox_findItemByData), -1); rb_define_method(SwigClassFXComboBox.klass, "setItemText", VALUEFUNC(_wrap_FXComboBox_setItemText), -1); rb_define_method(SwigClassFXComboBox.klass, "getItemText", VALUEFUNC(_wrap_FXComboBox_getItemText), -1); rb_define_method(SwigClassFXComboBox.klass, "setItemData", VALUEFUNC(_wrap_FXComboBox_setItemData), -1); rb_define_method(SwigClassFXComboBox.klass, "getItemData", VALUEFUNC(_wrap_FXComboBox_getItemData), -1); rb_define_method(SwigClassFXComboBox.klass, "isPaneShown", VALUEFUNC(_wrap_FXComboBox_isPaneShown), -1); rb_define_method(SwigClassFXComboBox.klass, "sortItems", VALUEFUNC(_wrap_FXComboBox_sortItems), -1); rb_define_method(SwigClassFXComboBox.klass, "setFont", VALUEFUNC(_wrap_FXComboBox_setFont), -1); rb_define_method(SwigClassFXComboBox.klass, "getFont", VALUEFUNC(_wrap_FXComboBox_getFont), -1); rb_define_method(SwigClassFXComboBox.klass, "setComboStyle", VALUEFUNC(_wrap_FXComboBox_setComboStyle), -1); rb_define_method(SwigClassFXComboBox.klass, "getComboStyle", VALUEFUNC(_wrap_FXComboBox_getComboStyle), -1); rb_define_method(SwigClassFXComboBox.klass, "getBackColor", VALUEFUNC(_wrap_FXComboBox_getBackColor), -1); rb_define_method(SwigClassFXComboBox.klass, "setTextColor", VALUEFUNC(_wrap_FXComboBox_setTextColor), -1); rb_define_method(SwigClassFXComboBox.klass, "getTextColor", VALUEFUNC(_wrap_FXComboBox_getTextColor), -1); rb_define_method(SwigClassFXComboBox.klass, "setSelBackColor", VALUEFUNC(_wrap_FXComboBox_setSelBackColor), -1); rb_define_method(SwigClassFXComboBox.klass, "getSelBackColor", VALUEFUNC(_wrap_FXComboBox_getSelBackColor), -1); rb_define_method(SwigClassFXComboBox.klass, "setSelTextColor", VALUEFUNC(_wrap_FXComboBox_setSelTextColor), -1); rb_define_method(SwigClassFXComboBox.klass, "getSelTextColor", VALUEFUNC(_wrap_FXComboBox_getSelTextColor), -1); rb_define_method(SwigClassFXComboBox.klass, "setHelpText", VALUEFUNC(_wrap_FXComboBox_setHelpText), -1); rb_define_method(SwigClassFXComboBox.klass, "getHelpText", VALUEFUNC(_wrap_FXComboBox_getHelpText), -1); rb_define_method(SwigClassFXComboBox.klass, "setTipText", VALUEFUNC(_wrap_FXComboBox_setTipText), -1); rb_define_method(SwigClassFXComboBox.klass, "getTipText", VALUEFUNC(_wrap_FXComboBox_getTipText), -1); rb_define_method(SwigClassFXComboBox.klass, "save", VALUEFUNC(_wrap_FXComboBox_save), -1); rb_define_method(SwigClassFXComboBox.klass, "load", VALUEFUNC(_wrap_FXComboBox_load), -1); rb_define_method(SwigClassFXComboBox.klass, "create", VALUEFUNC(_wrap_FXComboBox_create), -1); rb_define_method(SwigClassFXComboBox.klass, "detach", VALUEFUNC(_wrap_FXComboBox_detach), -1); rb_define_method(SwigClassFXComboBox.klass, "destroy", VALUEFUNC(_wrap_FXComboBox_destroy), -1); rb_define_method(SwigClassFXComboBox.klass, "resize", VALUEFUNC(_wrap_FXComboBox_resize), -1); rb_define_method(SwigClassFXComboBox.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXComboBox_getDefaultWidth), -1); rb_define_method(SwigClassFXComboBox.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXComboBox_getDefaultHeight), -1); rb_define_method(SwigClassFXComboBox.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXComboBox_getWidthForHeight), -1); rb_define_method(SwigClassFXComboBox.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXComboBox_getHeightForWidth), -1); rb_define_method(SwigClassFXComboBox.klass, "canFocus", VALUEFUNC(_wrap_FXComboBox_canFocus), -1); rb_define_method(SwigClassFXComboBox.klass, "setFocus", VALUEFUNC(_wrap_FXComboBox_setFocus), -1); rb_define_method(SwigClassFXComboBox.klass, "killFocus", VALUEFUNC(_wrap_FXComboBox_killFocus), -1); rb_define_method(SwigClassFXComboBox.klass, "changeFocus", VALUEFUNC(_wrap_FXComboBox_changeFocus), -1); rb_define_method(SwigClassFXComboBox.klass, "setDefault", VALUEFUNC(_wrap_FXComboBox_setDefault), -1); rb_define_method(SwigClassFXComboBox.klass, "enable", VALUEFUNC(_wrap_FXComboBox_enable), -1); rb_define_method(SwigClassFXComboBox.klass, "disable", VALUEFUNC(_wrap_FXComboBox_disable), -1); rb_define_method(SwigClassFXComboBox.klass, "raiseWindow", VALUEFUNC(_wrap_FXComboBox_raiseWindow), -1); rb_define_method(SwigClassFXComboBox.klass, "lower", VALUEFUNC(_wrap_FXComboBox_lower), -1); rb_define_method(SwigClassFXComboBox.klass, "move", VALUEFUNC(_wrap_FXComboBox_move), -1); rb_define_method(SwigClassFXComboBox.klass, "position", VALUEFUNC(_wrap_FXComboBox_position), -1); rb_define_method(SwigClassFXComboBox.klass, "layout", VALUEFUNC(_wrap_FXComboBox_layout), -1); rb_define_method(SwigClassFXComboBox.klass, "recalc", VALUEFUNC(_wrap_FXComboBox_recalc), -1); rb_define_method(SwigClassFXComboBox.klass, "reparent", VALUEFUNC(_wrap_FXComboBox_reparent), -1); rb_define_method(SwigClassFXComboBox.klass, "show", VALUEFUNC(_wrap_FXComboBox_show), -1); rb_define_method(SwigClassFXComboBox.klass, "hide", VALUEFUNC(_wrap_FXComboBox_hide), -1); rb_define_method(SwigClassFXComboBox.klass, "isComposite", VALUEFUNC(_wrap_FXComboBox_isComposite), -1); rb_define_method(SwigClassFXComboBox.klass, "contains", VALUEFUNC(_wrap_FXComboBox_contains), -1); rb_define_method(SwigClassFXComboBox.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXComboBox_doesSaveUnder), -1); rb_define_method(SwigClassFXComboBox.klass, "setBackColor", VALUEFUNC(_wrap_FXComboBox_setBackColor), -1); rb_define_method(SwigClassFXComboBox.klass, "tr", VALUEFUNC(_wrap_FXComboBox_tr), -1); rb_define_method(SwigClassFXComboBox.klass, "dropEnable", VALUEFUNC(_wrap_FXComboBox_dropEnable), -1); rb_define_method(SwigClassFXComboBox.klass, "dropDisable", VALUEFUNC(_wrap_FXComboBox_dropDisable), -1); rb_define_method(SwigClassFXComboBox.klass, "setShape", VALUEFUNC(_wrap_FXComboBox_setShape), -1); rb_define_method(SwigClassFXComboBox.klass, "clearShape", VALUEFUNC(_wrap_FXComboBox_clearShape), -1); SwigClassFXComboBox.mark = (void (*)(void *)) FXRbComboBox::markfunc; SwigClassFXComboBox.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXComboBox.trackObjects = 0; rb_define_const(mFox, "LISTBOX_NORMAL", SWIG_From_int(static_cast< int >(LISTBOX_NORMAL))); SwigClassFXListBox.klass = rb_define_class_under(mFox, "FXListBox", ((swig_class *) SWIGTYPE_p_FXPacker->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXListBox, (void *) &SwigClassFXListBox); rb_define_alloc_func(SwigClassFXListBox.klass, _wrap_FXListBox_allocate); rb_define_method(SwigClassFXListBox.klass, "initialize", VALUEFUNC(_wrap_new_FXListBox), -1); rb_define_method(SwigClassFXListBox.klass, "onFocusUp", VALUEFUNC(_wrap_FXListBox_onFocusUp), -1); rb_define_method(SwigClassFXListBox.klass, "onFocusDown", VALUEFUNC(_wrap_FXListBox_onFocusDown), -1); rb_define_method(SwigClassFXListBox.klass, "onFocusSelf", VALUEFUNC(_wrap_FXListBox_onFocusSelf), -1); rb_define_method(SwigClassFXListBox.klass, "onMouseWheel", VALUEFUNC(_wrap_FXListBox_onMouseWheel), -1); rb_define_method(SwigClassFXListBox.klass, "onFieldButton", VALUEFUNC(_wrap_FXListBox_onFieldButton), -1); rb_define_method(SwigClassFXListBox.klass, "onListUpdate", VALUEFUNC(_wrap_FXListBox_onListUpdate), -1); rb_define_method(SwigClassFXListBox.klass, "onListClicked", VALUEFUNC(_wrap_FXListBox_onListClicked), -1); rb_define_method(SwigClassFXListBox.klass, "onListChanged", VALUEFUNC(_wrap_FXListBox_onListChanged), -1); rb_define_method(SwigClassFXListBox.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXListBox_onCmdSetValue), -1); rb_define_method(SwigClassFXListBox.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXListBox_onCmdGetIntValue), -1); rb_define_method(SwigClassFXListBox.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXListBox_onCmdSetIntValue), -1); rb_define_const(SwigClassFXListBox.klass, "ID_LIST", SWIG_From_int(static_cast< int >(FXListBox::ID_LIST))); rb_define_const(SwigClassFXListBox.klass, "ID_FIELD", SWIG_From_int(static_cast< int >(FXListBox::ID_FIELD))); rb_define_const(SwigClassFXListBox.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXListBox::ID_LAST))); rb_define_method(SwigClassFXListBox.klass, "getNumItems", VALUEFUNC(_wrap_FXListBox_getNumItems), -1); rb_define_method(SwigClassFXListBox.klass, "getNumVisible", VALUEFUNC(_wrap_FXListBox_getNumVisible), -1); rb_define_method(SwigClassFXListBox.klass, "setNumVisible", VALUEFUNC(_wrap_FXListBox_setNumVisible), -1); rb_define_method(SwigClassFXListBox.klass, "isItemCurrent", VALUEFUNC(_wrap_FXListBox_isItemCurrent), -1); rb_define_method(SwigClassFXListBox.klass, "getCurrentItem", VALUEFUNC(_wrap_FXListBox_getCurrentItem), -1); rb_define_method(SwigClassFXListBox.klass, "getItem", VALUEFUNC(_wrap_FXListBox_getItem), -1); rb_define_method(SwigClassFXListBox.klass, "setItem", VALUEFUNC(_wrap_FXListBox_setItem), -1); rb_define_method(SwigClassFXListBox.klass, "fillItems", VALUEFUNC(_wrap_FXListBox_fillItems), -1); rb_define_method(SwigClassFXListBox.klass, "insertItem", VALUEFUNC(_wrap_FXListBox_insertItem), -1); rb_define_method(SwigClassFXListBox.klass, "appendItem", VALUEFUNC(_wrap_FXListBox_appendItem), -1); rb_define_alias(SwigClassFXListBox.klass, "<<", "appendItem"); rb_define_method(SwigClassFXListBox.klass, "prependItem", VALUEFUNC(_wrap_FXListBox_prependItem), -1); rb_define_method(SwigClassFXListBox.klass, "moveItem", VALUEFUNC(_wrap_FXListBox_moveItem), -1); rb_define_method(SwigClassFXListBox.klass, "extractItem", VALUEFUNC(_wrap_FXListBox_extractItem), -1); rb_define_method(SwigClassFXListBox.klass, "removeItem", VALUEFUNC(_wrap_FXListBox_removeItem), -1); rb_define_method(SwigClassFXListBox.klass, "clearItems", VALUEFUNC(_wrap_FXListBox_clearItems), -1); rb_define_method(SwigClassFXListBox.klass, "findItem", VALUEFUNC(_wrap_FXListBox_findItem), -1); rb_define_method(SwigClassFXListBox.klass, "findItemByData", VALUEFUNC(_wrap_FXListBox_findItemByData), -1); rb_define_method(SwigClassFXListBox.klass, "setItemText", VALUEFUNC(_wrap_FXListBox_setItemText), -1); rb_define_method(SwigClassFXListBox.klass, "getItemText", VALUEFUNC(_wrap_FXListBox_getItemText), -1); rb_define_method(SwigClassFXListBox.klass, "setItemIcon", VALUEFUNC(_wrap_FXListBox_setItemIcon), -1); rb_define_method(SwigClassFXListBox.klass, "getItemIcon", VALUEFUNC(_wrap_FXListBox_getItemIcon), -1); rb_define_method(SwigClassFXListBox.klass, "setItemData", VALUEFUNC(_wrap_FXListBox_setItemData), -1); rb_define_method(SwigClassFXListBox.klass, "getItemData", VALUEFUNC(_wrap_FXListBox_getItemData), -1); rb_define_method(SwigClassFXListBox.klass, "isPaneShown", VALUEFUNC(_wrap_FXListBox_isPaneShown), -1); rb_define_method(SwigClassFXListBox.klass, "sortItems", VALUEFUNC(_wrap_FXListBox_sortItems), -1); rb_define_method(SwigClassFXListBox.klass, "setFont", VALUEFUNC(_wrap_FXListBox_setFont), -1); rb_define_method(SwigClassFXListBox.klass, "getFont", VALUEFUNC(_wrap_FXListBox_getFont), -1); rb_define_method(SwigClassFXListBox.klass, "getBackColor", VALUEFUNC(_wrap_FXListBox_getBackColor), -1); rb_define_method(SwigClassFXListBox.klass, "setTextColor", VALUEFUNC(_wrap_FXListBox_setTextColor), -1); rb_define_method(SwigClassFXListBox.klass, "getTextColor", VALUEFUNC(_wrap_FXListBox_getTextColor), -1); rb_define_method(SwigClassFXListBox.klass, "setSelBackColor", VALUEFUNC(_wrap_FXListBox_setSelBackColor), -1); rb_define_method(SwigClassFXListBox.klass, "getSelBackColor", VALUEFUNC(_wrap_FXListBox_getSelBackColor), -1); rb_define_method(SwigClassFXListBox.klass, "setSelTextColor", VALUEFUNC(_wrap_FXListBox_setSelTextColor), -1); rb_define_method(SwigClassFXListBox.klass, "getSelTextColor", VALUEFUNC(_wrap_FXListBox_getSelTextColor), -1); rb_define_method(SwigClassFXListBox.klass, "setHelpText", VALUEFUNC(_wrap_FXListBox_setHelpText), -1); rb_define_method(SwigClassFXListBox.klass, "getHelpText", VALUEFUNC(_wrap_FXListBox_getHelpText), -1); rb_define_method(SwigClassFXListBox.klass, "setTipText", VALUEFUNC(_wrap_FXListBox_setTipText), -1); rb_define_method(SwigClassFXListBox.klass, "getTipText", VALUEFUNC(_wrap_FXListBox_getTipText), -1); rb_define_method(SwigClassFXListBox.klass, "save", VALUEFUNC(_wrap_FXListBox_save), -1); rb_define_method(SwigClassFXListBox.klass, "load", VALUEFUNC(_wrap_FXListBox_load), -1); rb_define_method(SwigClassFXListBox.klass, "create", VALUEFUNC(_wrap_FXListBox_create), -1); rb_define_method(SwigClassFXListBox.klass, "detach", VALUEFUNC(_wrap_FXListBox_detach), -1); rb_define_method(SwigClassFXListBox.klass, "destroy", VALUEFUNC(_wrap_FXListBox_destroy), -1); rb_define_method(SwigClassFXListBox.klass, "resize", VALUEFUNC(_wrap_FXListBox_resize), -1); rb_define_method(SwigClassFXListBox.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXListBox_getDefaultWidth), -1); rb_define_method(SwigClassFXListBox.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXListBox_getDefaultHeight), -1); rb_define_method(SwigClassFXListBox.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXListBox_getWidthForHeight), -1); rb_define_method(SwigClassFXListBox.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXListBox_getHeightForWidth), -1); rb_define_method(SwigClassFXListBox.klass, "canFocus", VALUEFUNC(_wrap_FXListBox_canFocus), -1); rb_define_method(SwigClassFXListBox.klass, "setFocus", VALUEFUNC(_wrap_FXListBox_setFocus), -1); rb_define_method(SwigClassFXListBox.klass, "killFocus", VALUEFUNC(_wrap_FXListBox_killFocus), -1); rb_define_method(SwigClassFXListBox.klass, "changeFocus", VALUEFUNC(_wrap_FXListBox_changeFocus), -1); rb_define_method(SwigClassFXListBox.klass, "setDefault", VALUEFUNC(_wrap_FXListBox_setDefault), -1); rb_define_method(SwigClassFXListBox.klass, "enable", VALUEFUNC(_wrap_FXListBox_enable), -1); rb_define_method(SwigClassFXListBox.klass, "disable", VALUEFUNC(_wrap_FXListBox_disable), -1); rb_define_method(SwigClassFXListBox.klass, "raiseWindow", VALUEFUNC(_wrap_FXListBox_raiseWindow), -1); rb_define_method(SwigClassFXListBox.klass, "lower", VALUEFUNC(_wrap_FXListBox_lower), -1); rb_define_method(SwigClassFXListBox.klass, "move", VALUEFUNC(_wrap_FXListBox_move), -1); rb_define_method(SwigClassFXListBox.klass, "position", VALUEFUNC(_wrap_FXListBox_position), -1); rb_define_method(SwigClassFXListBox.klass, "layout", VALUEFUNC(_wrap_FXListBox_layout), -1); rb_define_method(SwigClassFXListBox.klass, "recalc", VALUEFUNC(_wrap_FXListBox_recalc), -1); rb_define_method(SwigClassFXListBox.klass, "reparent", VALUEFUNC(_wrap_FXListBox_reparent), -1); rb_define_method(SwigClassFXListBox.klass, "show", VALUEFUNC(_wrap_FXListBox_show), -1); rb_define_method(SwigClassFXListBox.klass, "hide", VALUEFUNC(_wrap_FXListBox_hide), -1); rb_define_method(SwigClassFXListBox.klass, "isComposite", VALUEFUNC(_wrap_FXListBox_isComposite), -1); rb_define_method(SwigClassFXListBox.klass, "contains", VALUEFUNC(_wrap_FXListBox_contains), -1); rb_define_method(SwigClassFXListBox.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXListBox_doesSaveUnder), -1); rb_define_method(SwigClassFXListBox.klass, "setBackColor", VALUEFUNC(_wrap_FXListBox_setBackColor), -1); rb_define_method(SwigClassFXListBox.klass, "tr", VALUEFUNC(_wrap_FXListBox_tr), -1); rb_define_method(SwigClassFXListBox.klass, "dropEnable", VALUEFUNC(_wrap_FXListBox_dropEnable), -1); rb_define_method(SwigClassFXListBox.klass, "dropDisable", VALUEFUNC(_wrap_FXListBox_dropDisable), -1); rb_define_method(SwigClassFXListBox.klass, "setShape", VALUEFUNC(_wrap_FXListBox_setShape), -1); rb_define_method(SwigClassFXListBox.klass, "clearShape", VALUEFUNC(_wrap_FXListBox_clearShape), -1); rb_define_method(SwigClassFXListBox.klass, "setCurrentItem", VALUEFUNC(_wrap_FXListBox_setCurrentItem), -1); SwigClassFXListBox.mark = (void (*)(void *)) FXRbListBox::markfunc; SwigClassFXListBox.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXListBox.trackObjects = 0; SWIGTYPE_p_FXListBox->dcast = (swig_dycast_func) FXListBox_dynamic_cast; rb_define_const(mFox, "TREELISTBOX_NORMAL", SWIG_From_int(static_cast< int >(TREELISTBOX_NORMAL))); SwigClassFXTreeListBox.klass = rb_define_class_under(mFox, "FXTreeListBox", ((swig_class *) SWIGTYPE_p_FXPacker->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXTreeListBox, (void *) &SwigClassFXTreeListBox); rb_define_alloc_func(SwigClassFXTreeListBox.klass, _wrap_FXTreeListBox_allocate); rb_define_method(SwigClassFXTreeListBox.klass, "initialize", VALUEFUNC(_wrap_new_FXTreeListBox), -1); rb_define_method(SwigClassFXTreeListBox.klass, "onFocusUp", VALUEFUNC(_wrap_FXTreeListBox_onFocusUp), -1); rb_define_method(SwigClassFXTreeListBox.klass, "onFocusDown", VALUEFUNC(_wrap_FXTreeListBox_onFocusDown), -1); rb_define_method(SwigClassFXTreeListBox.klass, "onFocusSelf", VALUEFUNC(_wrap_FXTreeListBox_onFocusSelf), -1); rb_define_method(SwigClassFXTreeListBox.klass, "onMouseWheel", VALUEFUNC(_wrap_FXTreeListBox_onMouseWheel), -1); rb_define_method(SwigClassFXTreeListBox.klass, "onFieldButton", VALUEFUNC(_wrap_FXTreeListBox_onFieldButton), -1); rb_define_method(SwigClassFXTreeListBox.klass, "onTreeUpdate", VALUEFUNC(_wrap_FXTreeListBox_onTreeUpdate), -1); rb_define_method(SwigClassFXTreeListBox.klass, "onTreeChanged", VALUEFUNC(_wrap_FXTreeListBox_onTreeChanged), -1); rb_define_method(SwigClassFXTreeListBox.klass, "onTreeClicked", VALUEFUNC(_wrap_FXTreeListBox_onTreeClicked), -1); rb_define_const(SwigClassFXTreeListBox.klass, "ID_TREE", SWIG_From_int(static_cast< int >(FXTreeListBox::ID_TREE))); rb_define_const(SwigClassFXTreeListBox.klass, "ID_FIELD", SWIG_From_int(static_cast< int >(FXTreeListBox::ID_FIELD))); rb_define_const(SwigClassFXTreeListBox.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXTreeListBox::ID_LAST))); rb_define_method(SwigClassFXTreeListBox.klass, "getNumItems", VALUEFUNC(_wrap_FXTreeListBox_getNumItems), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getNumVisible", VALUEFUNC(_wrap_FXTreeListBox_getNumVisible), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setNumVisible", VALUEFUNC(_wrap_FXTreeListBox_setNumVisible), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getFirstItem", VALUEFUNC(_wrap_FXTreeListBox_getFirstItem), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getLastItem", VALUEFUNC(_wrap_FXTreeListBox_getLastItem), -1); rb_define_method(SwigClassFXTreeListBox.klass, "fillItems", VALUEFUNC(_wrap_FXTreeListBox_fillItems), -1); rb_define_method(SwigClassFXTreeListBox.klass, "insertItem", VALUEFUNC(_wrap_FXTreeListBox_insertItem), -1); rb_define_method(SwigClassFXTreeListBox.klass, "appendItem", VALUEFUNC(_wrap_FXTreeListBox_appendItem), -1); rb_define_method(SwigClassFXTreeListBox.klass, "prependItem", VALUEFUNC(_wrap_FXTreeListBox_prependItem), -1); rb_define_method(SwigClassFXTreeListBox.klass, "removeItem", VALUEFUNC(_wrap_FXTreeListBox_removeItem), -1); rb_define_method(SwigClassFXTreeListBox.klass, "removeItems", VALUEFUNC(_wrap_FXTreeListBox_removeItems), -1); rb_define_method(SwigClassFXTreeListBox.klass, "clearItems", VALUEFUNC(_wrap_FXTreeListBox_clearItems), -1); rb_define_method(SwigClassFXTreeListBox.klass, "moveItem", VALUEFUNC(_wrap_FXTreeListBox_moveItem), -1); rb_define_method(SwigClassFXTreeListBox.klass, "extractItem", VALUEFUNC(_wrap_FXTreeListBox_extractItem), -1); rb_define_method(SwigClassFXTreeListBox.klass, "findItem", VALUEFUNC(_wrap_FXTreeListBox_findItem), -1); rb_define_method(SwigClassFXTreeListBox.klass, "findItemByData", VALUEFUNC(_wrap_FXTreeListBox_findItemByData), -1); rb_define_method(SwigClassFXTreeListBox.klass, "isItemCurrent", VALUEFUNC(_wrap_FXTreeListBox_isItemCurrent), -1); rb_define_method(SwigClassFXTreeListBox.klass, "isItemLeaf", VALUEFUNC(_wrap_FXTreeListBox_isItemLeaf), -1); rb_define_method(SwigClassFXTreeListBox.klass, "sortRootItems", VALUEFUNC(_wrap_FXTreeListBox_sortRootItems), -1); rb_define_method(SwigClassFXTreeListBox.klass, "sortItems", VALUEFUNC(_wrap_FXTreeListBox_sortItems), -1); rb_define_method(SwigClassFXTreeListBox.klass, "sortChildItems", VALUEFUNC(_wrap_FXTreeListBox_sortChildItems), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getCurrentItem", VALUEFUNC(_wrap_FXTreeListBox_getCurrentItem), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setItemText", VALUEFUNC(_wrap_FXTreeListBox_setItemText), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getItemText", VALUEFUNC(_wrap_FXTreeListBox_getItemText), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setItemOpenIcon", VALUEFUNC(_wrap_FXTreeListBox_setItemOpenIcon), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getItemOpenIcon", VALUEFUNC(_wrap_FXTreeListBox_getItemOpenIcon), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setItemClosedIcon", VALUEFUNC(_wrap_FXTreeListBox_setItemClosedIcon), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getItemClosedIcon", VALUEFUNC(_wrap_FXTreeListBox_getItemClosedIcon), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setItemData", VALUEFUNC(_wrap_FXTreeListBox_setItemData), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getItemData", VALUEFUNC(_wrap_FXTreeListBox_getItemData), -1); rb_define_method(SwigClassFXTreeListBox.klass, "isPaneShown", VALUEFUNC(_wrap_FXTreeListBox_isPaneShown), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setFont", VALUEFUNC(_wrap_FXTreeListBox_setFont), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getFont", VALUEFUNC(_wrap_FXTreeListBox_getFont), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getListStyle", VALUEFUNC(_wrap_FXTreeListBox_getListStyle), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setListStyle", VALUEFUNC(_wrap_FXTreeListBox_setListStyle), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setHelpText", VALUEFUNC(_wrap_FXTreeListBox_setHelpText), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getHelpText", VALUEFUNC(_wrap_FXTreeListBox_getHelpText), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setTipText", VALUEFUNC(_wrap_FXTreeListBox_setTipText), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getTipText", VALUEFUNC(_wrap_FXTreeListBox_getTipText), -1); rb_define_method(SwigClassFXTreeListBox.klass, "save", VALUEFUNC(_wrap_FXTreeListBox_save), -1); rb_define_method(SwigClassFXTreeListBox.klass, "load", VALUEFUNC(_wrap_FXTreeListBox_load), -1); rb_define_method(SwigClassFXTreeListBox.klass, "create", VALUEFUNC(_wrap_FXTreeListBox_create), -1); rb_define_method(SwigClassFXTreeListBox.klass, "detach", VALUEFUNC(_wrap_FXTreeListBox_detach), -1); rb_define_method(SwigClassFXTreeListBox.klass, "destroy", VALUEFUNC(_wrap_FXTreeListBox_destroy), -1); rb_define_method(SwigClassFXTreeListBox.klass, "resize", VALUEFUNC(_wrap_FXTreeListBox_resize), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXTreeListBox_getDefaultWidth), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXTreeListBox_getDefaultHeight), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXTreeListBox_getWidthForHeight), -1); rb_define_method(SwigClassFXTreeListBox.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXTreeListBox_getHeightForWidth), -1); rb_define_method(SwigClassFXTreeListBox.klass, "canFocus", VALUEFUNC(_wrap_FXTreeListBox_canFocus), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setFocus", VALUEFUNC(_wrap_FXTreeListBox_setFocus), -1); rb_define_method(SwigClassFXTreeListBox.klass, "killFocus", VALUEFUNC(_wrap_FXTreeListBox_killFocus), -1); rb_define_method(SwigClassFXTreeListBox.klass, "changeFocus", VALUEFUNC(_wrap_FXTreeListBox_changeFocus), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setDefault", VALUEFUNC(_wrap_FXTreeListBox_setDefault), -1); rb_define_method(SwigClassFXTreeListBox.klass, "enable", VALUEFUNC(_wrap_FXTreeListBox_enable), -1); rb_define_method(SwigClassFXTreeListBox.klass, "disable", VALUEFUNC(_wrap_FXTreeListBox_disable), -1); rb_define_method(SwigClassFXTreeListBox.klass, "raiseWindow", VALUEFUNC(_wrap_FXTreeListBox_raiseWindow), -1); rb_define_method(SwigClassFXTreeListBox.klass, "lower", VALUEFUNC(_wrap_FXTreeListBox_lower), -1); rb_define_method(SwigClassFXTreeListBox.klass, "move", VALUEFUNC(_wrap_FXTreeListBox_move), -1); rb_define_method(SwigClassFXTreeListBox.klass, "position", VALUEFUNC(_wrap_FXTreeListBox_position), -1); rb_define_method(SwigClassFXTreeListBox.klass, "layout", VALUEFUNC(_wrap_FXTreeListBox_layout), -1); rb_define_method(SwigClassFXTreeListBox.klass, "recalc", VALUEFUNC(_wrap_FXTreeListBox_recalc), -1); rb_define_method(SwigClassFXTreeListBox.klass, "reparent", VALUEFUNC(_wrap_FXTreeListBox_reparent), -1); rb_define_method(SwigClassFXTreeListBox.klass, "show", VALUEFUNC(_wrap_FXTreeListBox_show), -1); rb_define_method(SwigClassFXTreeListBox.klass, "hide", VALUEFUNC(_wrap_FXTreeListBox_hide), -1); rb_define_method(SwigClassFXTreeListBox.klass, "isComposite", VALUEFUNC(_wrap_FXTreeListBox_isComposite), -1); rb_define_method(SwigClassFXTreeListBox.klass, "contains", VALUEFUNC(_wrap_FXTreeListBox_contains), -1); rb_define_method(SwigClassFXTreeListBox.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXTreeListBox_doesSaveUnder), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setBackColor", VALUEFUNC(_wrap_FXTreeListBox_setBackColor), -1); rb_define_method(SwigClassFXTreeListBox.klass, "tr", VALUEFUNC(_wrap_FXTreeListBox_tr), -1); rb_define_method(SwigClassFXTreeListBox.klass, "dropEnable", VALUEFUNC(_wrap_FXTreeListBox_dropEnable), -1); rb_define_method(SwigClassFXTreeListBox.klass, "dropDisable", VALUEFUNC(_wrap_FXTreeListBox_dropDisable), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setShape", VALUEFUNC(_wrap_FXTreeListBox_setShape), -1); rb_define_method(SwigClassFXTreeListBox.klass, "clearShape", VALUEFUNC(_wrap_FXTreeListBox_clearShape), -1); rb_define_method(SwigClassFXTreeListBox.klass, "setCurrentItem", VALUEFUNC(_wrap_FXTreeListBox_setCurrentItem), -1); SwigClassFXTreeListBox.mark = (void (*)(void *)) FXRbTreeListBox::markfunc; SwigClassFXTreeListBox.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXTreeListBox.trackObjects = 0; SWIGTYPE_p_FXTreeListBox->dcast = (swig_dycast_func) FXTreeListBox_dynamic_cast; rb_define_const(mFox, "IMAGEVIEW_NORMAL", SWIG_From_int(static_cast< int >(IMAGEVIEW_NORMAL))); rb_define_const(mFox, "IMAGEVIEW_CENTER_X", SWIG_From_int(static_cast< int >(IMAGEVIEW_CENTER_X))); rb_define_const(mFox, "IMAGEVIEW_LEFT", SWIG_From_int(static_cast< int >(IMAGEVIEW_LEFT))); rb_define_const(mFox, "IMAGEVIEW_RIGHT", SWIG_From_int(static_cast< int >(IMAGEVIEW_RIGHT))); rb_define_const(mFox, "IMAGEVIEW_CENTER_Y", SWIG_From_int(static_cast< int >(IMAGEVIEW_CENTER_Y))); rb_define_const(mFox, "IMAGEVIEW_TOP", SWIG_From_int(static_cast< int >(IMAGEVIEW_TOP))); rb_define_const(mFox, "IMAGEVIEW_BOTTOM", SWIG_From_int(static_cast< int >(IMAGEVIEW_BOTTOM))); SwigClassFXImageView.klass = rb_define_class_under(mFox, "FXImageView", ((swig_class *) SWIGTYPE_p_FXScrollArea->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXImageView, (void *) &SwigClassFXImageView); rb_define_alloc_func(SwigClassFXImageView.klass, _wrap_FXImageView_allocate); rb_define_method(SwigClassFXImageView.klass, "initialize", VALUEFUNC(_wrap_new_FXImageView), -1); rb_define_method(SwigClassFXImageView.klass, "onPaint", VALUEFUNC(_wrap_FXImageView_onPaint), -1); rb_define_method(SwigClassFXImageView.klass, "onMotion", VALUEFUNC(_wrap_FXImageView_onMotion), -1); rb_define_method(SwigClassFXImageView.klass, "onRightBtnPress", VALUEFUNC(_wrap_FXImageView_onRightBtnPress), -1); rb_define_method(SwigClassFXImageView.klass, "onRightBtnRelease", VALUEFUNC(_wrap_FXImageView_onRightBtnRelease), -1); rb_define_const(SwigClassFXImageView.klass, "ID_XYZ", SWIG_From_int(static_cast< int >(FXImageView::ID_XYZ))); rb_define_const(SwigClassFXImageView.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXImageView::ID_LAST))); rb_define_method(SwigClassFXImageView.klass, "setImage", VALUEFUNC(_wrap_FXImageView_setImage), -1); rb_define_method(SwigClassFXImageView.klass, "getImage", VALUEFUNC(_wrap_FXImageView_getImage), -1); rb_define_method(SwigClassFXImageView.klass, "setAlignment", VALUEFUNC(_wrap_FXImageView_setAlignment), -1); rb_define_method(SwigClassFXImageView.klass, "getAlignment", VALUEFUNC(_wrap_FXImageView_getAlignment), -1); rb_define_method(SwigClassFXImageView.klass, "save", VALUEFUNC(_wrap_FXImageView_save), -1); rb_define_method(SwigClassFXImageView.klass, "load", VALUEFUNC(_wrap_FXImageView_load), -1); rb_define_method(SwigClassFXImageView.klass, "create", VALUEFUNC(_wrap_FXImageView_create), -1); rb_define_method(SwigClassFXImageView.klass, "detach", VALUEFUNC(_wrap_FXImageView_detach), -1); rb_define_method(SwigClassFXImageView.klass, "destroy", VALUEFUNC(_wrap_FXImageView_destroy), -1); rb_define_method(SwigClassFXImageView.klass, "resize", VALUEFUNC(_wrap_FXImageView_resize), -1); rb_define_method(SwigClassFXImageView.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXImageView_getDefaultWidth), -1); rb_define_method(SwigClassFXImageView.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXImageView_getDefaultHeight), -1); rb_define_method(SwigClassFXImageView.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXImageView_getWidthForHeight), -1); rb_define_method(SwigClassFXImageView.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXImageView_getHeightForWidth), -1); rb_define_method(SwigClassFXImageView.klass, "canFocus", VALUEFUNC(_wrap_FXImageView_canFocus), -1); rb_define_method(SwigClassFXImageView.klass, "setFocus", VALUEFUNC(_wrap_FXImageView_setFocus), -1); rb_define_method(SwigClassFXImageView.klass, "killFocus", VALUEFUNC(_wrap_FXImageView_killFocus), -1); rb_define_method(SwigClassFXImageView.klass, "changeFocus", VALUEFUNC(_wrap_FXImageView_changeFocus), -1); rb_define_method(SwigClassFXImageView.klass, "setDefault", VALUEFUNC(_wrap_FXImageView_setDefault), -1); rb_define_method(SwigClassFXImageView.klass, "enable", VALUEFUNC(_wrap_FXImageView_enable), -1); rb_define_method(SwigClassFXImageView.klass, "disable", VALUEFUNC(_wrap_FXImageView_disable), -1); rb_define_method(SwigClassFXImageView.klass, "raiseWindow", VALUEFUNC(_wrap_FXImageView_raiseWindow), -1); rb_define_method(SwigClassFXImageView.klass, "lower", VALUEFUNC(_wrap_FXImageView_lower), -1); rb_define_method(SwigClassFXImageView.klass, "move", VALUEFUNC(_wrap_FXImageView_move), -1); rb_define_method(SwigClassFXImageView.klass, "layout", VALUEFUNC(_wrap_FXImageView_layout), -1); rb_define_method(SwigClassFXImageView.klass, "recalc", VALUEFUNC(_wrap_FXImageView_recalc), -1); rb_define_method(SwigClassFXImageView.klass, "reparent", VALUEFUNC(_wrap_FXImageView_reparent), -1); rb_define_method(SwigClassFXImageView.klass, "show", VALUEFUNC(_wrap_FXImageView_show), -1); rb_define_method(SwigClassFXImageView.klass, "hide", VALUEFUNC(_wrap_FXImageView_hide), -1); rb_define_method(SwigClassFXImageView.klass, "isComposite", VALUEFUNC(_wrap_FXImageView_isComposite), -1); rb_define_method(SwigClassFXImageView.klass, "contains", VALUEFUNC(_wrap_FXImageView_contains), -1); rb_define_method(SwigClassFXImageView.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXImageView_doesSaveUnder), -1); rb_define_method(SwigClassFXImageView.klass, "setBackColor", VALUEFUNC(_wrap_FXImageView_setBackColor), -1); rb_define_method(SwigClassFXImageView.klass, "tr", VALUEFUNC(_wrap_FXImageView_tr), -1); rb_define_method(SwigClassFXImageView.klass, "dropEnable", VALUEFUNC(_wrap_FXImageView_dropEnable), -1); rb_define_method(SwigClassFXImageView.klass, "dropDisable", VALUEFUNC(_wrap_FXImageView_dropDisable), -1); rb_define_method(SwigClassFXImageView.klass, "setShape", VALUEFUNC(_wrap_FXImageView_setShape), -1); rb_define_method(SwigClassFXImageView.klass, "clearShape", VALUEFUNC(_wrap_FXImageView_clearShape), -1); rb_define_method(SwigClassFXImageView.klass, "getViewportHeight", VALUEFUNC(_wrap_FXImageView_getViewportHeight), -1); rb_define_method(SwigClassFXImageView.klass, "getViewportWidth", VALUEFUNC(_wrap_FXImageView_getViewportWidth), -1); rb_define_method(SwigClassFXImageView.klass, "getContentHeight", VALUEFUNC(_wrap_FXImageView_getContentHeight), -1); rb_define_method(SwigClassFXImageView.klass, "getContentWidth", VALUEFUNC(_wrap_FXImageView_getContentWidth), -1); rb_define_method(SwigClassFXImageView.klass, "position", VALUEFUNC(_wrap_FXImageView_position), -1); SwigClassFXImageView.mark = (void (*)(void *)) FXRbImageView::markfunc; SwigClassFXImageView.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXImageView.trackObjects = 0; SwigClassFXDragCorner.klass = rb_define_class_under(mFox, "FXDragCorner", ((swig_class *) SWIGTYPE_p_FXWindow->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXDragCorner, (void *) &SwigClassFXDragCorner); rb_define_alloc_func(SwigClassFXDragCorner.klass, _wrap_FXDragCorner_allocate); rb_define_method(SwigClassFXDragCorner.klass, "initialize", VALUEFUNC(_wrap_new_FXDragCorner), -1); rb_define_method(SwigClassFXDragCorner.klass, "onPaint", VALUEFUNC(_wrap_FXDragCorner_onPaint), -1); rb_define_method(SwigClassFXDragCorner.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXDragCorner_onLeftBtnPress), -1); rb_define_method(SwigClassFXDragCorner.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXDragCorner_onLeftBtnRelease), -1); rb_define_method(SwigClassFXDragCorner.klass, "onMotion", VALUEFUNC(_wrap_FXDragCorner_onMotion), -1); rb_define_method(SwigClassFXDragCorner.klass, "setHiliteColor", VALUEFUNC(_wrap_FXDragCorner_setHiliteColor), -1); rb_define_method(SwigClassFXDragCorner.klass, "getHiliteColor", VALUEFUNC(_wrap_FXDragCorner_getHiliteColor), -1); rb_define_method(SwigClassFXDragCorner.klass, "setShadowColor", VALUEFUNC(_wrap_FXDragCorner_setShadowColor), -1); rb_define_method(SwigClassFXDragCorner.klass, "getShadowColor", VALUEFUNC(_wrap_FXDragCorner_getShadowColor), -1); rb_define_method(SwigClassFXDragCorner.klass, "save", VALUEFUNC(_wrap_FXDragCorner_save), -1); rb_define_method(SwigClassFXDragCorner.klass, "load", VALUEFUNC(_wrap_FXDragCorner_load), -1); rb_define_method(SwigClassFXDragCorner.klass, "create", VALUEFUNC(_wrap_FXDragCorner_create), -1); rb_define_method(SwigClassFXDragCorner.klass, "detach", VALUEFUNC(_wrap_FXDragCorner_detach), -1); rb_define_method(SwigClassFXDragCorner.klass, "destroy", VALUEFUNC(_wrap_FXDragCorner_destroy), -1); rb_define_method(SwigClassFXDragCorner.klass, "resize", VALUEFUNC(_wrap_FXDragCorner_resize), -1); rb_define_method(SwigClassFXDragCorner.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXDragCorner_getDefaultWidth), -1); rb_define_method(SwigClassFXDragCorner.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXDragCorner_getDefaultHeight), -1); rb_define_method(SwigClassFXDragCorner.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXDragCorner_getWidthForHeight), -1); rb_define_method(SwigClassFXDragCorner.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXDragCorner_getHeightForWidth), -1); rb_define_method(SwigClassFXDragCorner.klass, "canFocus", VALUEFUNC(_wrap_FXDragCorner_canFocus), -1); rb_define_method(SwigClassFXDragCorner.klass, "setFocus", VALUEFUNC(_wrap_FXDragCorner_setFocus), -1); rb_define_method(SwigClassFXDragCorner.klass, "killFocus", VALUEFUNC(_wrap_FXDragCorner_killFocus), -1); rb_define_method(SwigClassFXDragCorner.klass, "changeFocus", VALUEFUNC(_wrap_FXDragCorner_changeFocus), -1); rb_define_method(SwigClassFXDragCorner.klass, "setDefault", VALUEFUNC(_wrap_FXDragCorner_setDefault), -1); rb_define_method(SwigClassFXDragCorner.klass, "enable", VALUEFUNC(_wrap_FXDragCorner_enable), -1); rb_define_method(SwigClassFXDragCorner.klass, "disable", VALUEFUNC(_wrap_FXDragCorner_disable), -1); rb_define_method(SwigClassFXDragCorner.klass, "raiseWindow", VALUEFUNC(_wrap_FXDragCorner_raiseWindow), -1); rb_define_method(SwigClassFXDragCorner.klass, "lower", VALUEFUNC(_wrap_FXDragCorner_lower), -1); rb_define_method(SwigClassFXDragCorner.klass, "move", VALUEFUNC(_wrap_FXDragCorner_move), -1); rb_define_method(SwigClassFXDragCorner.klass, "position", VALUEFUNC(_wrap_FXDragCorner_position), -1); rb_define_method(SwigClassFXDragCorner.klass, "layout", VALUEFUNC(_wrap_FXDragCorner_layout), -1); rb_define_method(SwigClassFXDragCorner.klass, "recalc", VALUEFUNC(_wrap_FXDragCorner_recalc), -1); rb_define_method(SwigClassFXDragCorner.klass, "reparent", VALUEFUNC(_wrap_FXDragCorner_reparent), -1); rb_define_method(SwigClassFXDragCorner.klass, "show", VALUEFUNC(_wrap_FXDragCorner_show), -1); rb_define_method(SwigClassFXDragCorner.klass, "hide", VALUEFUNC(_wrap_FXDragCorner_hide), -1); rb_define_method(SwigClassFXDragCorner.klass, "isComposite", VALUEFUNC(_wrap_FXDragCorner_isComposite), -1); rb_define_method(SwigClassFXDragCorner.klass, "contains", VALUEFUNC(_wrap_FXDragCorner_contains), -1); rb_define_method(SwigClassFXDragCorner.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXDragCorner_doesSaveUnder), -1); rb_define_method(SwigClassFXDragCorner.klass, "setBackColor", VALUEFUNC(_wrap_FXDragCorner_setBackColor), -1); rb_define_method(SwigClassFXDragCorner.klass, "tr", VALUEFUNC(_wrap_FXDragCorner_tr), -1); rb_define_method(SwigClassFXDragCorner.klass, "dropEnable", VALUEFUNC(_wrap_FXDragCorner_dropEnable), -1); rb_define_method(SwigClassFXDragCorner.klass, "dropDisable", VALUEFUNC(_wrap_FXDragCorner_dropDisable), -1); rb_define_method(SwigClassFXDragCorner.klass, "setShape", VALUEFUNC(_wrap_FXDragCorner_setShape), -1); rb_define_method(SwigClassFXDragCorner.klass, "clearShape", VALUEFUNC(_wrap_FXDragCorner_clearShape), -1); SwigClassFXDragCorner.mark = (void (*)(void *)) FXRbDragCorner::markfunc; SwigClassFXDragCorner.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXDragCorner.trackObjects = 0; rb_define_const(mFox, "DIRBOX_NO_OWN_ASSOC", SWIG_From_int(static_cast< int >(DIRBOX_NO_OWN_ASSOC))); SwigClassFXDirBox.klass = rb_define_class_under(mFox, "FXDirBox", ((swig_class *) SWIGTYPE_p_FXTreeListBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXDirBox, (void *) &SwigClassFXDirBox); rb_define_alloc_func(SwigClassFXDirBox.klass, _wrap_FXDirBox_allocate); rb_define_method(SwigClassFXDirBox.klass, "initialize", VALUEFUNC(_wrap_new_FXDirBox), -1); rb_define_method(SwigClassFXDirBox.klass, "onTreeChanged", VALUEFUNC(_wrap_FXDirBox_onTreeChanged), -1); rb_define_method(SwigClassFXDirBox.klass, "onTreeClicked", VALUEFUNC(_wrap_FXDirBox_onTreeClicked), -1); rb_define_method(SwigClassFXDirBox.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXDirBox_onCmdSetValue), -1); rb_define_method(SwigClassFXDirBox.klass, "onCmdSetStringValue", VALUEFUNC(_wrap_FXDirBox_onCmdSetStringValue), -1); rb_define_method(SwigClassFXDirBox.klass, "onCmdGetStringValue", VALUEFUNC(_wrap_FXDirBox_onCmdGetStringValue), -1); rb_define_method(SwigClassFXDirBox.klass, "setDirectory", VALUEFUNC(_wrap_FXDirBox_setDirectory), -1); rb_define_method(SwigClassFXDirBox.klass, "getDirectory", VALUEFUNC(_wrap_FXDirBox_getDirectory), -1); rb_define_method(SwigClassFXDirBox.klass, "setAssociations", VALUEFUNC(_wrap_FXDirBox_setAssociations), -1); rb_define_method(SwigClassFXDirBox.klass, "getAssociations", VALUEFUNC(_wrap_FXDirBox_getAssociations), -1); rb_define_method(SwigClassFXDirBox.klass, "save", VALUEFUNC(_wrap_FXDirBox_save), -1); rb_define_method(SwigClassFXDirBox.klass, "load", VALUEFUNC(_wrap_FXDirBox_load), -1); rb_define_method(SwigClassFXDirBox.klass, "create", VALUEFUNC(_wrap_FXDirBox_create), -1); rb_define_method(SwigClassFXDirBox.klass, "detach", VALUEFUNC(_wrap_FXDirBox_detach), -1); rb_define_method(SwigClassFXDirBox.klass, "destroy", VALUEFUNC(_wrap_FXDirBox_destroy), -1); rb_define_method(SwigClassFXDirBox.klass, "resize", VALUEFUNC(_wrap_FXDirBox_resize), -1); rb_define_method(SwigClassFXDirBox.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXDirBox_getDefaultWidth), -1); rb_define_method(SwigClassFXDirBox.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXDirBox_getDefaultHeight), -1); rb_define_method(SwigClassFXDirBox.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXDirBox_getWidthForHeight), -1); rb_define_method(SwigClassFXDirBox.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXDirBox_getHeightForWidth), -1); rb_define_method(SwigClassFXDirBox.klass, "canFocus", VALUEFUNC(_wrap_FXDirBox_canFocus), -1); rb_define_method(SwigClassFXDirBox.klass, "setFocus", VALUEFUNC(_wrap_FXDirBox_setFocus), -1); rb_define_method(SwigClassFXDirBox.klass, "killFocus", VALUEFUNC(_wrap_FXDirBox_killFocus), -1); rb_define_method(SwigClassFXDirBox.klass, "changeFocus", VALUEFUNC(_wrap_FXDirBox_changeFocus), -1); rb_define_method(SwigClassFXDirBox.klass, "setDefault", VALUEFUNC(_wrap_FXDirBox_setDefault), -1); rb_define_method(SwigClassFXDirBox.klass, "enable", VALUEFUNC(_wrap_FXDirBox_enable), -1); rb_define_method(SwigClassFXDirBox.klass, "disable", VALUEFUNC(_wrap_FXDirBox_disable), -1); rb_define_method(SwigClassFXDirBox.klass, "raiseWindow", VALUEFUNC(_wrap_FXDirBox_raiseWindow), -1); rb_define_method(SwigClassFXDirBox.klass, "lower", VALUEFUNC(_wrap_FXDirBox_lower), -1); rb_define_method(SwigClassFXDirBox.klass, "move", VALUEFUNC(_wrap_FXDirBox_move), -1); rb_define_method(SwigClassFXDirBox.klass, "position", VALUEFUNC(_wrap_FXDirBox_position), -1); rb_define_method(SwigClassFXDirBox.klass, "layout", VALUEFUNC(_wrap_FXDirBox_layout), -1); rb_define_method(SwigClassFXDirBox.klass, "recalc", VALUEFUNC(_wrap_FXDirBox_recalc), -1); rb_define_method(SwigClassFXDirBox.klass, "reparent", VALUEFUNC(_wrap_FXDirBox_reparent), -1); rb_define_method(SwigClassFXDirBox.klass, "show", VALUEFUNC(_wrap_FXDirBox_show), -1); rb_define_method(SwigClassFXDirBox.klass, "hide", VALUEFUNC(_wrap_FXDirBox_hide), -1); rb_define_method(SwigClassFXDirBox.klass, "isComposite", VALUEFUNC(_wrap_FXDirBox_isComposite), -1); rb_define_method(SwigClassFXDirBox.klass, "contains", VALUEFUNC(_wrap_FXDirBox_contains), -1); rb_define_method(SwigClassFXDirBox.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXDirBox_doesSaveUnder), -1); rb_define_method(SwigClassFXDirBox.klass, "setBackColor", VALUEFUNC(_wrap_FXDirBox_setBackColor), -1); rb_define_method(SwigClassFXDirBox.klass, "tr", VALUEFUNC(_wrap_FXDirBox_tr), -1); rb_define_method(SwigClassFXDirBox.klass, "dropEnable", VALUEFUNC(_wrap_FXDirBox_dropEnable), -1); rb_define_method(SwigClassFXDirBox.klass, "dropDisable", VALUEFUNC(_wrap_FXDirBox_dropDisable), -1); rb_define_method(SwigClassFXDirBox.klass, "setShape", VALUEFUNC(_wrap_FXDirBox_setShape), -1); rb_define_method(SwigClassFXDirBox.klass, "clearShape", VALUEFUNC(_wrap_FXDirBox_clearShape), -1); rb_define_method(SwigClassFXDirBox.klass, "setCurrentItem", VALUEFUNC(_wrap_FXDirBox_setCurrentItem), -1); SwigClassFXDirBox.mark = (void (*)(void *)) FXRbDirBox::markfunc; SwigClassFXDirBox.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXDirBox.trackObjects = 0; SwigClassFXDriveBox.klass = rb_define_class_under(mFox, "FXDriveBox", ((swig_class *) SWIGTYPE_p_FXListBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXDriveBox, (void *) &SwigClassFXDriveBox); rb_define_alloc_func(SwigClassFXDriveBox.klass, _wrap_FXDriveBox_allocate); rb_define_method(SwigClassFXDriveBox.klass, "initialize", VALUEFUNC(_wrap_new_FXDriveBox), -1); rb_define_method(SwigClassFXDriveBox.klass, "onListChanged", VALUEFUNC(_wrap_FXDriveBox_onListChanged), -1); rb_define_method(SwigClassFXDriveBox.klass, "onListClicked", VALUEFUNC(_wrap_FXDriveBox_onListClicked), -1); rb_define_method(SwigClassFXDriveBox.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXDriveBox_onCmdSetValue), -1); rb_define_method(SwigClassFXDriveBox.klass, "onCmdSetStringValue", VALUEFUNC(_wrap_FXDriveBox_onCmdSetStringValue), -1); rb_define_method(SwigClassFXDriveBox.klass, "onCmdGetStringValue", VALUEFUNC(_wrap_FXDriveBox_onCmdGetStringValue), -1); rb_define_method(SwigClassFXDriveBox.klass, "setDrive", VALUEFUNC(_wrap_FXDriveBox_setDrive), -1); rb_define_method(SwigClassFXDriveBox.klass, "getDrive", VALUEFUNC(_wrap_FXDriveBox_getDrive), -1); rb_define_method(SwigClassFXDriveBox.klass, "setAssociations", VALUEFUNC(_wrap_FXDriveBox_setAssociations), -1); rb_define_method(SwigClassFXDriveBox.klass, "getAssociations", VALUEFUNC(_wrap_FXDriveBox_getAssociations), -1); rb_define_method(SwigClassFXDriveBox.klass, "save", VALUEFUNC(_wrap_FXDriveBox_save), -1); rb_define_method(SwigClassFXDriveBox.klass, "load", VALUEFUNC(_wrap_FXDriveBox_load), -1); rb_define_method(SwigClassFXDriveBox.klass, "create", VALUEFUNC(_wrap_FXDriveBox_create), -1); rb_define_method(SwigClassFXDriveBox.klass, "detach", VALUEFUNC(_wrap_FXDriveBox_detach), -1); rb_define_method(SwigClassFXDriveBox.klass, "destroy", VALUEFUNC(_wrap_FXDriveBox_destroy), -1); rb_define_method(SwigClassFXDriveBox.klass, "resize", VALUEFUNC(_wrap_FXDriveBox_resize), -1); rb_define_method(SwigClassFXDriveBox.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXDriveBox_getDefaultWidth), -1); rb_define_method(SwigClassFXDriveBox.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXDriveBox_getDefaultHeight), -1); rb_define_method(SwigClassFXDriveBox.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXDriveBox_getWidthForHeight), -1); rb_define_method(SwigClassFXDriveBox.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXDriveBox_getHeightForWidth), -1); rb_define_method(SwigClassFXDriveBox.klass, "canFocus", VALUEFUNC(_wrap_FXDriveBox_canFocus), -1); rb_define_method(SwigClassFXDriveBox.klass, "setFocus", VALUEFUNC(_wrap_FXDriveBox_setFocus), -1); rb_define_method(SwigClassFXDriveBox.klass, "killFocus", VALUEFUNC(_wrap_FXDriveBox_killFocus), -1); rb_define_method(SwigClassFXDriveBox.klass, "changeFocus", VALUEFUNC(_wrap_FXDriveBox_changeFocus), -1); rb_define_method(SwigClassFXDriveBox.klass, "setDefault", VALUEFUNC(_wrap_FXDriveBox_setDefault), -1); rb_define_method(SwigClassFXDriveBox.klass, "enable", VALUEFUNC(_wrap_FXDriveBox_enable), -1); rb_define_method(SwigClassFXDriveBox.klass, "disable", VALUEFUNC(_wrap_FXDriveBox_disable), -1); rb_define_method(SwigClassFXDriveBox.klass, "raiseWindow", VALUEFUNC(_wrap_FXDriveBox_raiseWindow), -1); rb_define_method(SwigClassFXDriveBox.klass, "lower", VALUEFUNC(_wrap_FXDriveBox_lower), -1); rb_define_method(SwigClassFXDriveBox.klass, "move", VALUEFUNC(_wrap_FXDriveBox_move), -1); rb_define_method(SwigClassFXDriveBox.klass, "position", VALUEFUNC(_wrap_FXDriveBox_position), -1); rb_define_method(SwigClassFXDriveBox.klass, "layout", VALUEFUNC(_wrap_FXDriveBox_layout), -1); rb_define_method(SwigClassFXDriveBox.klass, "recalc", VALUEFUNC(_wrap_FXDriveBox_recalc), -1); rb_define_method(SwigClassFXDriveBox.klass, "reparent", VALUEFUNC(_wrap_FXDriveBox_reparent), -1); rb_define_method(SwigClassFXDriveBox.klass, "show", VALUEFUNC(_wrap_FXDriveBox_show), -1); rb_define_method(SwigClassFXDriveBox.klass, "hide", VALUEFUNC(_wrap_FXDriveBox_hide), -1); rb_define_method(SwigClassFXDriveBox.klass, "isComposite", VALUEFUNC(_wrap_FXDriveBox_isComposite), -1); rb_define_method(SwigClassFXDriveBox.klass, "contains", VALUEFUNC(_wrap_FXDriveBox_contains), -1); rb_define_method(SwigClassFXDriveBox.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXDriveBox_doesSaveUnder), -1); rb_define_method(SwigClassFXDriveBox.klass, "setBackColor", VALUEFUNC(_wrap_FXDriveBox_setBackColor), -1); rb_define_method(SwigClassFXDriveBox.klass, "tr", VALUEFUNC(_wrap_FXDriveBox_tr), -1); rb_define_method(SwigClassFXDriveBox.klass, "dropEnable", VALUEFUNC(_wrap_FXDriveBox_dropEnable), -1); rb_define_method(SwigClassFXDriveBox.klass, "dropDisable", VALUEFUNC(_wrap_FXDriveBox_dropDisable), -1); rb_define_method(SwigClassFXDriveBox.klass, "setShape", VALUEFUNC(_wrap_FXDriveBox_setShape), -1); rb_define_method(SwigClassFXDriveBox.klass, "clearShape", VALUEFUNC(_wrap_FXDriveBox_clearShape), -1); rb_define_method(SwigClassFXDriveBox.klass, "setCurrentItem", VALUEFUNC(_wrap_FXDriveBox_setCurrentItem), -1); SwigClassFXDriveBox.mark = (void (*)(void *)) FXRbDriveBox::markfunc; SwigClassFXDriveBox.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXDriveBox.trackObjects = 0; SwigClassFXDirSelector.klass = rb_define_class_under(mFox, "FXDirSelector", ((swig_class *) SWIGTYPE_p_FXPacker->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXDirSelector, (void *) &SwigClassFXDirSelector); rb_define_alloc_func(SwigClassFXDirSelector.klass, _wrap_FXDirSelector_allocate); rb_define_method(SwigClassFXDirSelector.klass, "initialize", VALUEFUNC(_wrap_new_FXDirSelector), -1); rb_define_method(SwigClassFXDirSelector.klass, "onCmdName", VALUEFUNC(_wrap_FXDirSelector_onCmdName), -1); rb_define_method(SwigClassFXDirSelector.klass, "onCmdOpened", VALUEFUNC(_wrap_FXDirSelector_onCmdOpened), -1); rb_define_method(SwigClassFXDirSelector.klass, "onCmdHome", VALUEFUNC(_wrap_FXDirSelector_onCmdHome), -1); rb_define_method(SwigClassFXDirSelector.klass, "onCmdWork", VALUEFUNC(_wrap_FXDirSelector_onCmdWork), -1); rb_define_method(SwigClassFXDirSelector.klass, "onCmdDirectoryUp", VALUEFUNC(_wrap_FXDirSelector_onCmdDirectoryUp), -1); rb_define_method(SwigClassFXDirSelector.klass, "onPopupMenu", VALUEFUNC(_wrap_FXDirSelector_onPopupMenu), -1); rb_define_method(SwigClassFXDirSelector.klass, "onCmdBookmark", VALUEFUNC(_wrap_FXDirSelector_onCmdBookmark), -1); rb_define_method(SwigClassFXDirSelector.klass, "onCmdVisit", VALUEFUNC(_wrap_FXDirSelector_onCmdVisit), -1); rb_define_method(SwigClassFXDirSelector.klass, "onCmdNew", VALUEFUNC(_wrap_FXDirSelector_onCmdNew), -1); rb_define_method(SwigClassFXDirSelector.klass, "onUpdNew", VALUEFUNC(_wrap_FXDirSelector_onUpdNew), -1); rb_define_method(SwigClassFXDirSelector.klass, "onCmdMove", VALUEFUNC(_wrap_FXDirSelector_onCmdMove), -1); rb_define_method(SwigClassFXDirSelector.klass, "onCmdCopy", VALUEFUNC(_wrap_FXDirSelector_onCmdCopy), -1); rb_define_method(SwigClassFXDirSelector.klass, "onCmdLink", VALUEFUNC(_wrap_FXDirSelector_onCmdLink), -1); rb_define_method(SwigClassFXDirSelector.klass, "onCmdDelete", VALUEFUNC(_wrap_FXDirSelector_onCmdDelete), -1); rb_define_method(SwigClassFXDirSelector.klass, "onUpdSelected", VALUEFUNC(_wrap_FXDirSelector_onUpdSelected), -1); rb_define_const(SwigClassFXDirSelector.klass, "ID_DIRNAME", SWIG_From_int(static_cast< int >(FXDirSelector::ID_DIRNAME))); rb_define_const(SwigClassFXDirSelector.klass, "ID_DIRLIST", SWIG_From_int(static_cast< int >(FXDirSelector::ID_DIRLIST))); rb_define_const(SwigClassFXDirSelector.klass, "ID_HOME", SWIG_From_int(static_cast< int >(FXDirSelector::ID_HOME))); rb_define_const(SwigClassFXDirSelector.klass, "ID_WORK", SWIG_From_int(static_cast< int >(FXDirSelector::ID_WORK))); rb_define_const(SwigClassFXDirSelector.klass, "ID_DIRECTORY_UP", SWIG_From_int(static_cast< int >(FXDirSelector::ID_DIRECTORY_UP))); rb_define_const(SwigClassFXDirSelector.klass, "ID_BOOKMARK", SWIG_From_int(static_cast< int >(FXDirSelector::ID_BOOKMARK))); rb_define_const(SwigClassFXDirSelector.klass, "ID_VISIT", SWIG_From_int(static_cast< int >(FXDirSelector::ID_VISIT))); rb_define_const(SwigClassFXDirSelector.klass, "ID_NEW", SWIG_From_int(static_cast< int >(FXDirSelector::ID_NEW))); rb_define_const(SwigClassFXDirSelector.klass, "ID_DELETE", SWIG_From_int(static_cast< int >(FXDirSelector::ID_DELETE))); rb_define_const(SwigClassFXDirSelector.klass, "ID_MOVE", SWIG_From_int(static_cast< int >(FXDirSelector::ID_MOVE))); rb_define_const(SwigClassFXDirSelector.klass, "ID_COPY", SWIG_From_int(static_cast< int >(FXDirSelector::ID_COPY))); rb_define_const(SwigClassFXDirSelector.klass, "ID_LINK", SWIG_From_int(static_cast< int >(FXDirSelector::ID_LINK))); rb_define_const(SwigClassFXDirSelector.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXDirSelector::ID_LAST))); rb_define_method(SwigClassFXDirSelector.klass, "acceptButton", VALUEFUNC(_wrap_FXDirSelector_acceptButton), -1); rb_define_method(SwigClassFXDirSelector.klass, "cancelButton", VALUEFUNC(_wrap_FXDirSelector_cancelButton), -1); rb_define_method(SwigClassFXDirSelector.klass, "setDirectory", VALUEFUNC(_wrap_FXDirSelector_setDirectory), -1); rb_define_method(SwigClassFXDirSelector.klass, "getDirectory", VALUEFUNC(_wrap_FXDirSelector_getDirectory), -1); rb_define_method(SwigClassFXDirSelector.klass, "getShowFiles", VALUEFUNC(_wrap_FXDirSelector_getShowFiles), -1); rb_define_method(SwigClassFXDirSelector.klass, "setShowFiles", VALUEFUNC(_wrap_FXDirSelector_setShowFiles), -1); rb_define_method(SwigClassFXDirSelector.klass, "getShowHiddenFiles", VALUEFUNC(_wrap_FXDirSelector_getShowHiddenFiles), -1); rb_define_method(SwigClassFXDirSelector.klass, "setShowHiddenFiles", VALUEFUNC(_wrap_FXDirSelector_setShowHiddenFiles), -1); rb_define_method(SwigClassFXDirSelector.klass, "getMatchMode", VALUEFUNC(_wrap_FXDirSelector_getMatchMode), -1); rb_define_method(SwigClassFXDirSelector.klass, "setMatchMode", VALUEFUNC(_wrap_FXDirSelector_setMatchMode), -1); rb_define_method(SwigClassFXDirSelector.klass, "setDirBoxStyle", VALUEFUNC(_wrap_FXDirSelector_setDirBoxStyle), -1); rb_define_method(SwigClassFXDirSelector.klass, "getDirBoxStyle", VALUEFUNC(_wrap_FXDirSelector_getDirBoxStyle), -1); rb_define_method(SwigClassFXDirSelector.klass, "save", VALUEFUNC(_wrap_FXDirSelector_save), -1); rb_define_method(SwigClassFXDirSelector.klass, "load", VALUEFUNC(_wrap_FXDirSelector_load), -1); rb_define_method(SwigClassFXDirSelector.klass, "create", VALUEFUNC(_wrap_FXDirSelector_create), -1); rb_define_method(SwigClassFXDirSelector.klass, "detach", VALUEFUNC(_wrap_FXDirSelector_detach), -1); rb_define_method(SwigClassFXDirSelector.klass, "destroy", VALUEFUNC(_wrap_FXDirSelector_destroy), -1); rb_define_method(SwigClassFXDirSelector.klass, "resize", VALUEFUNC(_wrap_FXDirSelector_resize), -1); rb_define_method(SwigClassFXDirSelector.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXDirSelector_getDefaultWidth), -1); rb_define_method(SwigClassFXDirSelector.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXDirSelector_getDefaultHeight), -1); rb_define_method(SwigClassFXDirSelector.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXDirSelector_getWidthForHeight), -1); rb_define_method(SwigClassFXDirSelector.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXDirSelector_getHeightForWidth), -1); rb_define_method(SwigClassFXDirSelector.klass, "canFocus", VALUEFUNC(_wrap_FXDirSelector_canFocus), -1); rb_define_method(SwigClassFXDirSelector.klass, "setFocus", VALUEFUNC(_wrap_FXDirSelector_setFocus), -1); rb_define_method(SwigClassFXDirSelector.klass, "killFocus", VALUEFUNC(_wrap_FXDirSelector_killFocus), -1); rb_define_method(SwigClassFXDirSelector.klass, "changeFocus", VALUEFUNC(_wrap_FXDirSelector_changeFocus), -1); rb_define_method(SwigClassFXDirSelector.klass, "setDefault", VALUEFUNC(_wrap_FXDirSelector_setDefault), -1); rb_define_method(SwigClassFXDirSelector.klass, "enable", VALUEFUNC(_wrap_FXDirSelector_enable), -1); rb_define_method(SwigClassFXDirSelector.klass, "disable", VALUEFUNC(_wrap_FXDirSelector_disable), -1); rb_define_method(SwigClassFXDirSelector.klass, "raiseWindow", VALUEFUNC(_wrap_FXDirSelector_raiseWindow), -1); rb_define_method(SwigClassFXDirSelector.klass, "lower", VALUEFUNC(_wrap_FXDirSelector_lower), -1); rb_define_method(SwigClassFXDirSelector.klass, "move", VALUEFUNC(_wrap_FXDirSelector_move), -1); rb_define_method(SwigClassFXDirSelector.klass, "position", VALUEFUNC(_wrap_FXDirSelector_position), -1); rb_define_method(SwigClassFXDirSelector.klass, "layout", VALUEFUNC(_wrap_FXDirSelector_layout), -1); rb_define_method(SwigClassFXDirSelector.klass, "recalc", VALUEFUNC(_wrap_FXDirSelector_recalc), -1); rb_define_method(SwigClassFXDirSelector.klass, "reparent", VALUEFUNC(_wrap_FXDirSelector_reparent), -1); rb_define_method(SwigClassFXDirSelector.klass, "show", VALUEFUNC(_wrap_FXDirSelector_show), -1); rb_define_method(SwigClassFXDirSelector.klass, "hide", VALUEFUNC(_wrap_FXDirSelector_hide), -1); rb_define_method(SwigClassFXDirSelector.klass, "isComposite", VALUEFUNC(_wrap_FXDirSelector_isComposite), -1); rb_define_method(SwigClassFXDirSelector.klass, "contains", VALUEFUNC(_wrap_FXDirSelector_contains), -1); rb_define_method(SwigClassFXDirSelector.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXDirSelector_doesSaveUnder), -1); rb_define_method(SwigClassFXDirSelector.klass, "setBackColor", VALUEFUNC(_wrap_FXDirSelector_setBackColor), -1); rb_define_method(SwigClassFXDirSelector.klass, "tr", VALUEFUNC(_wrap_FXDirSelector_tr), -1); rb_define_method(SwigClassFXDirSelector.klass, "dropEnable", VALUEFUNC(_wrap_FXDirSelector_dropEnable), -1); rb_define_method(SwigClassFXDirSelector.klass, "dropDisable", VALUEFUNC(_wrap_FXDirSelector_dropDisable), -1); rb_define_method(SwigClassFXDirSelector.klass, "setShape", VALUEFUNC(_wrap_FXDirSelector_setShape), -1); rb_define_method(SwigClassFXDirSelector.klass, "clearShape", VALUEFUNC(_wrap_FXDirSelector_clearShape), -1); SwigClassFXDirSelector.mark = (void (*)(void *)) FXRbDirSelector::markfunc; SwigClassFXDirSelector.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXDirSelector.trackObjects = 0; rb_define_const(mFox, "SELECTFILE_ANY", SWIG_From_int(static_cast< int >(SELECTFILE_ANY))); rb_define_const(mFox, "SELECTFILE_EXISTING", SWIG_From_int(static_cast< int >(SELECTFILE_EXISTING))); rb_define_const(mFox, "SELECTFILE_MULTIPLE", SWIG_From_int(static_cast< int >(SELECTFILE_MULTIPLE))); rb_define_const(mFox, "SELECTFILE_MULTIPLE_ALL", SWIG_From_int(static_cast< int >(SELECTFILE_MULTIPLE_ALL))); rb_define_const(mFox, "SELECTFILE_DIRECTORY", SWIG_From_int(static_cast< int >(SELECTFILE_DIRECTORY))); SwigClassFXFileSelector.klass = rb_define_class_under(mFox, "FXFileSelector", ((swig_class *) SWIGTYPE_p_FXPacker->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXFileSelector, (void *) &SwigClassFXFileSelector); rb_define_alloc_func(SwigClassFXFileSelector.klass, _wrap_FXFileSelector_allocate); rb_define_method(SwigClassFXFileSelector.klass, "initialize", VALUEFUNC(_wrap_new_FXFileSelector), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdAccept", VALUEFUNC(_wrap_FXFileSelector_onCmdAccept), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdFilter", VALUEFUNC(_wrap_FXFileSelector_onCmdFilter), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdItemDblClicked", VALUEFUNC(_wrap_FXFileSelector_onCmdItemDblClicked), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdItemSelected", VALUEFUNC(_wrap_FXFileSelector_onCmdItemSelected), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdItemDeselected", VALUEFUNC(_wrap_FXFileSelector_onCmdItemDeselected), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdDirectoryUp", VALUEFUNC(_wrap_FXFileSelector_onCmdDirectoryUp), -1); rb_define_method(SwigClassFXFileSelector.klass, "onUpdDirectoryUp", VALUEFUNC(_wrap_FXFileSelector_onUpdDirectoryUp), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdDirTree", VALUEFUNC(_wrap_FXFileSelector_onCmdDirTree), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdHome", VALUEFUNC(_wrap_FXFileSelector_onCmdHome), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdWork", VALUEFUNC(_wrap_FXFileSelector_onCmdWork), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdBookmark", VALUEFUNC(_wrap_FXFileSelector_onCmdBookmark), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdVisit", VALUEFUNC(_wrap_FXFileSelector_onCmdVisit), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdNew", VALUEFUNC(_wrap_FXFileSelector_onCmdNew), -1); rb_define_method(SwigClassFXFileSelector.klass, "onUpdNew", VALUEFUNC(_wrap_FXFileSelector_onUpdNew), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdMove", VALUEFUNC(_wrap_FXFileSelector_onCmdMove), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdCopy", VALUEFUNC(_wrap_FXFileSelector_onCmdCopy), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdLink", VALUEFUNC(_wrap_FXFileSelector_onCmdLink), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdDelete", VALUEFUNC(_wrap_FXFileSelector_onCmdDelete), -1); rb_define_method(SwigClassFXFileSelector.klass, "onUpdSelected", VALUEFUNC(_wrap_FXFileSelector_onUpdSelected), -1); rb_define_method(SwigClassFXFileSelector.klass, "onPopupMenu", VALUEFUNC(_wrap_FXFileSelector_onPopupMenu), -1); rb_define_method(SwigClassFXFileSelector.klass, "onCmdImageSize", VALUEFUNC(_wrap_FXFileSelector_onCmdImageSize), -1); rb_define_method(SwigClassFXFileSelector.klass, "onUpdImageSize", VALUEFUNC(_wrap_FXFileSelector_onUpdImageSize), -1); rb_define_method(SwigClassFXFileSelector.klass, "onUpdNavigable", VALUEFUNC(_wrap_FXFileSelector_onUpdNavigable), -1); rb_define_const(SwigClassFXFileSelector.klass, "ID_FILEFILTER", SWIG_From_int(static_cast< int >(FXFileSelector::ID_FILEFILTER))); rb_define_const(SwigClassFXFileSelector.klass, "ID_ACCEPT", SWIG_From_int(static_cast< int >(FXFileSelector::ID_ACCEPT))); rb_define_const(SwigClassFXFileSelector.klass, "ID_FILELIST", SWIG_From_int(static_cast< int >(FXFileSelector::ID_FILELIST))); rb_define_const(SwigClassFXFileSelector.klass, "ID_DIRECTORY_UP", SWIG_From_int(static_cast< int >(FXFileSelector::ID_DIRECTORY_UP))); rb_define_const(SwigClassFXFileSelector.klass, "ID_DIRTREE", SWIG_From_int(static_cast< int >(FXFileSelector::ID_DIRTREE))); rb_define_const(SwigClassFXFileSelector.klass, "ID_NORMAL_SIZE", SWIG_From_int(static_cast< int >(FXFileSelector::ID_NORMAL_SIZE))); rb_define_const(SwigClassFXFileSelector.klass, "ID_MEDIUM_SIZE", SWIG_From_int(static_cast< int >(FXFileSelector::ID_MEDIUM_SIZE))); rb_define_const(SwigClassFXFileSelector.klass, "ID_GIANT_SIZE", SWIG_From_int(static_cast< int >(FXFileSelector::ID_GIANT_SIZE))); rb_define_const(SwigClassFXFileSelector.klass, "ID_HOME", SWIG_From_int(static_cast< int >(FXFileSelector::ID_HOME))); rb_define_const(SwigClassFXFileSelector.klass, "ID_WORK", SWIG_From_int(static_cast< int >(FXFileSelector::ID_WORK))); rb_define_const(SwigClassFXFileSelector.klass, "ID_BOOKMARK", SWIG_From_int(static_cast< int >(FXFileSelector::ID_BOOKMARK))); rb_define_const(SwigClassFXFileSelector.klass, "ID_BOOKMENU", SWIG_From_int(static_cast< int >(FXFileSelector::ID_BOOKMENU))); rb_define_const(SwigClassFXFileSelector.klass, "ID_VISIT", SWIG_From_int(static_cast< int >(FXFileSelector::ID_VISIT))); rb_define_const(SwigClassFXFileSelector.klass, "ID_NEW", SWIG_From_int(static_cast< int >(FXFileSelector::ID_NEW))); rb_define_const(SwigClassFXFileSelector.klass, "ID_DELETE", SWIG_From_int(static_cast< int >(FXFileSelector::ID_DELETE))); rb_define_const(SwigClassFXFileSelector.klass, "ID_MOVE", SWIG_From_int(static_cast< int >(FXFileSelector::ID_MOVE))); rb_define_const(SwigClassFXFileSelector.klass, "ID_COPY", SWIG_From_int(static_cast< int >(FXFileSelector::ID_COPY))); rb_define_const(SwigClassFXFileSelector.klass, "ID_LINK", SWIG_From_int(static_cast< int >(FXFileSelector::ID_LINK))); rb_define_const(SwigClassFXFileSelector.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXFileSelector::ID_LAST))); rb_define_method(SwigClassFXFileSelector.klass, "acceptButton", VALUEFUNC(_wrap_FXFileSelector_acceptButton), -1); rb_define_method(SwigClassFXFileSelector.klass, "cancelButton", VALUEFUNC(_wrap_FXFileSelector_cancelButton), -1); rb_define_method(SwigClassFXFileSelector.klass, "setFilename", VALUEFUNC(_wrap_FXFileSelector_setFilename), -1); rb_define_method(SwigClassFXFileSelector.klass, "getFilename", VALUEFUNC(_wrap_FXFileSelector_getFilename), -1); rb_define_method(SwigClassFXFileSelector.klass, "getFilenames", VALUEFUNC(_wrap_FXFileSelector_getFilenames), -1); rb_define_method(SwigClassFXFileSelector.klass, "setPattern", VALUEFUNC(_wrap_FXFileSelector_setPattern), -1); rb_define_method(SwigClassFXFileSelector.klass, "getPattern", VALUEFUNC(_wrap_FXFileSelector_getPattern), -1); rb_define_method(SwigClassFXFileSelector.klass, "setPatternList", VALUEFUNC(_wrap_FXFileSelector_setPatternList), -1); rb_define_method(SwigClassFXFileSelector.klass, "getPatternList", VALUEFUNC(_wrap_FXFileSelector_getPatternList), -1); rb_define_method(SwigClassFXFileSelector.klass, "setCurrentPattern", VALUEFUNC(_wrap_FXFileSelector_setCurrentPattern), -1); rb_define_method(SwigClassFXFileSelector.klass, "getCurrentPattern", VALUEFUNC(_wrap_FXFileSelector_getCurrentPattern), -1); rb_define_method(SwigClassFXFileSelector.klass, "getPatternText", VALUEFUNC(_wrap_FXFileSelector_getPatternText), -1); rb_define_method(SwigClassFXFileSelector.klass, "setPatternText", VALUEFUNC(_wrap_FXFileSelector_setPatternText), -1); rb_define_method(SwigClassFXFileSelector.klass, "numPatterns", VALUEFUNC(_wrap_FXFileSelector_numPatterns), -1); rb_define_method(SwigClassFXFileSelector.klass, "setAllowPatternEntry", VALUEFUNC(_wrap_FXFileSelector_setAllowPatternEntry), -1); rb_define_method(SwigClassFXFileSelector.klass, "getAllowPatternEntry", VALUEFUNC(_wrap_FXFileSelector_getAllowPatternEntry), -1); rb_define_method(SwigClassFXFileSelector.klass, "setDirectory", VALUEFUNC(_wrap_FXFileSelector_setDirectory), -1); rb_define_method(SwigClassFXFileSelector.klass, "getDirectory", VALUEFUNC(_wrap_FXFileSelector_getDirectory), -1); rb_define_singleton_method(SwigClassFXFileSelector.klass, "patternFromText", VALUEFUNC(_wrap_FXFileSelector_patternFromText), -1); rb_define_singleton_method(SwigClassFXFileSelector.klass, "extensionFromPattern", VALUEFUNC(_wrap_FXFileSelector_extensionFromPattern), -1); rb_define_method(SwigClassFXFileSelector.klass, "setItemSpace", VALUEFUNC(_wrap_FXFileSelector_setItemSpace), -1); rb_define_method(SwigClassFXFileSelector.klass, "getItemSpace", VALUEFUNC(_wrap_FXFileSelector_getItemSpace), -1); rb_define_method(SwigClassFXFileSelector.klass, "setFileBoxStyle", VALUEFUNC(_wrap_FXFileSelector_setFileBoxStyle), -1); rb_define_method(SwigClassFXFileSelector.klass, "getFileBoxStyle", VALUEFUNC(_wrap_FXFileSelector_getFileBoxStyle), -1); rb_define_method(SwigClassFXFileSelector.klass, "setSelectMode", VALUEFUNC(_wrap_FXFileSelector_setSelectMode), -1); rb_define_method(SwigClassFXFileSelector.klass, "getSelectMode", VALUEFUNC(_wrap_FXFileSelector_getSelectMode), -1); rb_define_method(SwigClassFXFileSelector.klass, "setMatchMode", VALUEFUNC(_wrap_FXFileSelector_setMatchMode), -1); rb_define_method(SwigClassFXFileSelector.klass, "getMatchMode", VALUEFUNC(_wrap_FXFileSelector_getMatchMode), -1); rb_define_method(SwigClassFXFileSelector.klass, "getShowHiddenFiles", VALUEFUNC(_wrap_FXFileSelector_getShowHiddenFiles), -1); rb_define_method(SwigClassFXFileSelector.klass, "setShowHiddenFiles", VALUEFUNC(_wrap_FXFileSelector_setShowHiddenFiles), -1); rb_define_method(SwigClassFXFileSelector.klass, "getShowImages", VALUEFUNC(_wrap_FXFileSelector_getShowImages), -1); rb_define_method(SwigClassFXFileSelector.klass, "setShowImages", VALUEFUNC(_wrap_FXFileSelector_setShowImages), -1); rb_define_method(SwigClassFXFileSelector.klass, "getImageSize", VALUEFUNC(_wrap_FXFileSelector_getImageSize), -1); rb_define_method(SwigClassFXFileSelector.klass, "setImageSize", VALUEFUNC(_wrap_FXFileSelector_setImageSize), -1); rb_define_method(SwigClassFXFileSelector.klass, "setReadOnlyShown", VALUEFUNC(_wrap_FXFileSelector_setReadOnlyShown), -1); rb_define_method(SwigClassFXFileSelector.klass, "getReadOnlyShown", VALUEFUNC(_wrap_FXFileSelector_getReadOnlyShown), -1); rb_define_method(SwigClassFXFileSelector.klass, "setReadOnly", VALUEFUNC(_wrap_FXFileSelector_setReadOnly), -1); rb_define_method(SwigClassFXFileSelector.klass, "getReadOnly", VALUEFUNC(_wrap_FXFileSelector_getReadOnly), -1); rb_define_method(SwigClassFXFileSelector.klass, "navigationAllowed=", VALUEFUNC(_wrap_FXFileSelector_navigationAllowede___), -1); rb_define_method(SwigClassFXFileSelector.klass, "navigationAllowed?", VALUEFUNC(_wrap_FXFileSelector_navigationAllowedq___), -1); rb_define_method(SwigClassFXFileSelector.klass, "save", VALUEFUNC(_wrap_FXFileSelector_save), -1); rb_define_method(SwigClassFXFileSelector.klass, "load", VALUEFUNC(_wrap_FXFileSelector_load), -1); rb_define_method(SwigClassFXFileSelector.klass, "create", VALUEFUNC(_wrap_FXFileSelector_create), -1); rb_define_method(SwigClassFXFileSelector.klass, "detach", VALUEFUNC(_wrap_FXFileSelector_detach), -1); rb_define_method(SwigClassFXFileSelector.klass, "destroy", VALUEFUNC(_wrap_FXFileSelector_destroy), -1); rb_define_method(SwigClassFXFileSelector.klass, "resize", VALUEFUNC(_wrap_FXFileSelector_resize), -1); rb_define_method(SwigClassFXFileSelector.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXFileSelector_getDefaultWidth), -1); rb_define_method(SwigClassFXFileSelector.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXFileSelector_getDefaultHeight), -1); rb_define_method(SwigClassFXFileSelector.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXFileSelector_getWidthForHeight), -1); rb_define_method(SwigClassFXFileSelector.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXFileSelector_getHeightForWidth), -1); rb_define_method(SwigClassFXFileSelector.klass, "canFocus", VALUEFUNC(_wrap_FXFileSelector_canFocus), -1); rb_define_method(SwigClassFXFileSelector.klass, "setFocus", VALUEFUNC(_wrap_FXFileSelector_setFocus), -1); rb_define_method(SwigClassFXFileSelector.klass, "killFocus", VALUEFUNC(_wrap_FXFileSelector_killFocus), -1); rb_define_method(SwigClassFXFileSelector.klass, "changeFocus", VALUEFUNC(_wrap_FXFileSelector_changeFocus), -1); rb_define_method(SwigClassFXFileSelector.klass, "setDefault", VALUEFUNC(_wrap_FXFileSelector_setDefault), -1); rb_define_method(SwigClassFXFileSelector.klass, "enable", VALUEFUNC(_wrap_FXFileSelector_enable), -1); rb_define_method(SwigClassFXFileSelector.klass, "disable", VALUEFUNC(_wrap_FXFileSelector_disable), -1); rb_define_method(SwigClassFXFileSelector.klass, "raiseWindow", VALUEFUNC(_wrap_FXFileSelector_raiseWindow), -1); rb_define_method(SwigClassFXFileSelector.klass, "lower", VALUEFUNC(_wrap_FXFileSelector_lower), -1); rb_define_method(SwigClassFXFileSelector.klass, "move", VALUEFUNC(_wrap_FXFileSelector_move), -1); rb_define_method(SwigClassFXFileSelector.klass, "position", VALUEFUNC(_wrap_FXFileSelector_position), -1); rb_define_method(SwigClassFXFileSelector.klass, "layout", VALUEFUNC(_wrap_FXFileSelector_layout), -1); rb_define_method(SwigClassFXFileSelector.klass, "recalc", VALUEFUNC(_wrap_FXFileSelector_recalc), -1); rb_define_method(SwigClassFXFileSelector.klass, "reparent", VALUEFUNC(_wrap_FXFileSelector_reparent), -1); rb_define_method(SwigClassFXFileSelector.klass, "show", VALUEFUNC(_wrap_FXFileSelector_show), -1); rb_define_method(SwigClassFXFileSelector.klass, "hide", VALUEFUNC(_wrap_FXFileSelector_hide), -1); rb_define_method(SwigClassFXFileSelector.klass, "isComposite", VALUEFUNC(_wrap_FXFileSelector_isComposite), -1); rb_define_method(SwigClassFXFileSelector.klass, "contains", VALUEFUNC(_wrap_FXFileSelector_contains), -1); rb_define_method(SwigClassFXFileSelector.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXFileSelector_doesSaveUnder), -1); rb_define_method(SwigClassFXFileSelector.klass, "setBackColor", VALUEFUNC(_wrap_FXFileSelector_setBackColor), -1); rb_define_method(SwigClassFXFileSelector.klass, "tr", VALUEFUNC(_wrap_FXFileSelector_tr), -1); rb_define_method(SwigClassFXFileSelector.klass, "dropEnable", VALUEFUNC(_wrap_FXFileSelector_dropEnable), -1); rb_define_method(SwigClassFXFileSelector.klass, "dropDisable", VALUEFUNC(_wrap_FXFileSelector_dropDisable), -1); rb_define_method(SwigClassFXFileSelector.klass, "setShape", VALUEFUNC(_wrap_FXFileSelector_setShape), -1); rb_define_method(SwigClassFXFileSelector.klass, "clearShape", VALUEFUNC(_wrap_FXFileSelector_clearShape), -1); SwigClassFXFileSelector.mark = (void (*)(void *)) FXRbFileSelector::markfunc; SwigClassFXFileSelector.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXFileSelector.trackObjects = 0; SwigClassFXColorSelector.klass = rb_define_class_under(mFox, "FXColorSelector", ((swig_class *) SWIGTYPE_p_FXPacker->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXColorSelector, (void *) &SwigClassFXColorSelector); rb_define_alloc_func(SwigClassFXColorSelector.klass, _wrap_FXColorSelector_allocate); rb_define_method(SwigClassFXColorSelector.klass, "initialize", VALUEFUNC(_wrap_new_FXColorSelector), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdWell", VALUEFUNC(_wrap_FXColorSelector_onCmdWell), -1); rb_define_method(SwigClassFXColorSelector.klass, "onChgWell", VALUEFUNC(_wrap_FXColorSelector_onChgWell), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdRGBSlider", VALUEFUNC(_wrap_FXColorSelector_onCmdRGBSlider), -1); rb_define_method(SwigClassFXColorSelector.klass, "onUpdRGBSlider", VALUEFUNC(_wrap_FXColorSelector_onUpdRGBSlider), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdRGBText", VALUEFUNC(_wrap_FXColorSelector_onCmdRGBText), -1); rb_define_method(SwigClassFXColorSelector.klass, "onUpdRGBText", VALUEFUNC(_wrap_FXColorSelector_onUpdRGBText), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdHSVSlider", VALUEFUNC(_wrap_FXColorSelector_onCmdHSVSlider), -1); rb_define_method(SwigClassFXColorSelector.klass, "onUpdHSVSlider", VALUEFUNC(_wrap_FXColorSelector_onUpdHSVSlider), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdHSVText", VALUEFUNC(_wrap_FXColorSelector_onCmdHSVText), -1); rb_define_method(SwigClassFXColorSelector.klass, "onUpdHSVText", VALUEFUNC(_wrap_FXColorSelector_onUpdHSVText), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdCMYSlider", VALUEFUNC(_wrap_FXColorSelector_onCmdCMYSlider), -1); rb_define_method(SwigClassFXColorSelector.klass, "onUpdCMYSlider", VALUEFUNC(_wrap_FXColorSelector_onUpdCMYSlider), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdCMYText", VALUEFUNC(_wrap_FXColorSelector_onCmdCMYText), -1); rb_define_method(SwigClassFXColorSelector.klass, "onUpdCMYText", VALUEFUNC(_wrap_FXColorSelector_onUpdCMYText), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdList", VALUEFUNC(_wrap_FXColorSelector_onCmdList), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdCustomWell", VALUEFUNC(_wrap_FXColorSelector_onCmdCustomWell), -1); rb_define_method(SwigClassFXColorSelector.klass, "onChgCustomWell", VALUEFUNC(_wrap_FXColorSelector_onChgCustomWell), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXColorSelector_onCmdSetValue), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdActivePane", VALUEFUNC(_wrap_FXColorSelector_onCmdActivePane), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdAlphaSlider", VALUEFUNC(_wrap_FXColorSelector_onCmdAlphaSlider), -1); rb_define_method(SwigClassFXColorSelector.klass, "onUpdAlphaSlider", VALUEFUNC(_wrap_FXColorSelector_onUpdAlphaSlider), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdAlphaText", VALUEFUNC(_wrap_FXColorSelector_onCmdAlphaText), -1); rb_define_method(SwigClassFXColorSelector.klass, "onUpdAlphaText", VALUEFUNC(_wrap_FXColorSelector_onUpdAlphaText), -1); rb_define_method(SwigClassFXColorSelector.klass, "onUpdAlphaLabel", VALUEFUNC(_wrap_FXColorSelector_onUpdAlphaLabel), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdWheel", VALUEFUNC(_wrap_FXColorSelector_onCmdWheel), -1); rb_define_method(SwigClassFXColorSelector.klass, "onUpdWheel", VALUEFUNC(_wrap_FXColorSelector_onUpdWheel), -1); rb_define_method(SwigClassFXColorSelector.klass, "onCmdColorPick", VALUEFUNC(_wrap_FXColorSelector_onCmdColorPick), -1); rb_define_const(SwigClassFXColorSelector.klass, "ID_CUSTOM_FIRST", SWIG_From_int(static_cast< int >(FXColorSelector::ID_CUSTOM_FIRST))); rb_define_const(SwigClassFXColorSelector.klass, "ID_CUSTOM_LAST", SWIG_From_int(static_cast< int >(FXColorSelector::ID_CUSTOM_LAST))); rb_define_const(SwigClassFXColorSelector.klass, "ID_RGB_RED_SLIDER", SWIG_From_int(static_cast< int >(FXColorSelector::ID_RGB_RED_SLIDER))); rb_define_const(SwigClassFXColorSelector.klass, "ID_RGB_GREEN_SLIDER", SWIG_From_int(static_cast< int >(FXColorSelector::ID_RGB_GREEN_SLIDER))); rb_define_const(SwigClassFXColorSelector.klass, "ID_RGB_BLUE_SLIDER", SWIG_From_int(static_cast< int >(FXColorSelector::ID_RGB_BLUE_SLIDER))); rb_define_const(SwigClassFXColorSelector.klass, "ID_RGB_RED_TEXT", SWIG_From_int(static_cast< int >(FXColorSelector::ID_RGB_RED_TEXT))); rb_define_const(SwigClassFXColorSelector.klass, "ID_RGB_GREEN_TEXT", SWIG_From_int(static_cast< int >(FXColorSelector::ID_RGB_GREEN_TEXT))); rb_define_const(SwigClassFXColorSelector.klass, "ID_RGB_BLUE_TEXT", SWIG_From_int(static_cast< int >(FXColorSelector::ID_RGB_BLUE_TEXT))); rb_define_const(SwigClassFXColorSelector.klass, "ID_HSV_HUE_SLIDER", SWIG_From_int(static_cast< int >(FXColorSelector::ID_HSV_HUE_SLIDER))); rb_define_const(SwigClassFXColorSelector.klass, "ID_HSV_SATURATION_SLIDER", SWIG_From_int(static_cast< int >(FXColorSelector::ID_HSV_SATURATION_SLIDER))); rb_define_const(SwigClassFXColorSelector.klass, "ID_HSV_VALUE_SLIDER", SWIG_From_int(static_cast< int >(FXColorSelector::ID_HSV_VALUE_SLIDER))); rb_define_const(SwigClassFXColorSelector.klass, "ID_HSV_HUE_TEXT", SWIG_From_int(static_cast< int >(FXColorSelector::ID_HSV_HUE_TEXT))); rb_define_const(SwigClassFXColorSelector.klass, "ID_HSV_SATURATION_TEXT", SWIG_From_int(static_cast< int >(FXColorSelector::ID_HSV_SATURATION_TEXT))); rb_define_const(SwigClassFXColorSelector.klass, "ID_HSV_VALUE_TEXT", SWIG_From_int(static_cast< int >(FXColorSelector::ID_HSV_VALUE_TEXT))); rb_define_const(SwigClassFXColorSelector.klass, "ID_CMY_CYAN_SLIDER", SWIG_From_int(static_cast< int >(FXColorSelector::ID_CMY_CYAN_SLIDER))); rb_define_const(SwigClassFXColorSelector.klass, "ID_CMY_MAGENTA_SLIDER", SWIG_From_int(static_cast< int >(FXColorSelector::ID_CMY_MAGENTA_SLIDER))); rb_define_const(SwigClassFXColorSelector.klass, "ID_CMY_YELLOW_SLIDER", SWIG_From_int(static_cast< int >(FXColorSelector::ID_CMY_YELLOW_SLIDER))); rb_define_const(SwigClassFXColorSelector.klass, "ID_CMY_CYAN_TEXT", SWIG_From_int(static_cast< int >(FXColorSelector::ID_CMY_CYAN_TEXT))); rb_define_const(SwigClassFXColorSelector.klass, "ID_CMY_MAGENTA_TEXT", SWIG_From_int(static_cast< int >(FXColorSelector::ID_CMY_MAGENTA_TEXT))); rb_define_const(SwigClassFXColorSelector.klass, "ID_CMY_YELLOW_TEXT", SWIG_From_int(static_cast< int >(FXColorSelector::ID_CMY_YELLOW_TEXT))); rb_define_const(SwigClassFXColorSelector.klass, "ID_DIAL_WHEEL", SWIG_From_int(static_cast< int >(FXColorSelector::ID_DIAL_WHEEL))); rb_define_const(SwigClassFXColorSelector.klass, "ID_COLOR_LIST", SWIG_From_int(static_cast< int >(FXColorSelector::ID_COLOR_LIST))); rb_define_const(SwigClassFXColorSelector.klass, "ID_WELL_CHANGED", SWIG_From_int(static_cast< int >(FXColorSelector::ID_WELL_CHANGED))); rb_define_const(SwigClassFXColorSelector.klass, "ID_ACTIVEPANE", SWIG_From_int(static_cast< int >(FXColorSelector::ID_ACTIVEPANE))); rb_define_const(SwigClassFXColorSelector.klass, "ID_ALPHA_SLIDER", SWIG_From_int(static_cast< int >(FXColorSelector::ID_ALPHA_SLIDER))); rb_define_const(SwigClassFXColorSelector.klass, "ID_ALPHA_TEXT", SWIG_From_int(static_cast< int >(FXColorSelector::ID_ALPHA_TEXT))); rb_define_const(SwigClassFXColorSelector.klass, "ID_ALPHA_LABEL", SWIG_From_int(static_cast< int >(FXColorSelector::ID_ALPHA_LABEL))); rb_define_const(SwigClassFXColorSelector.klass, "ID_COLORPICK", SWIG_From_int(static_cast< int >(FXColorSelector::ID_COLORPICK))); rb_define_const(SwigClassFXColorSelector.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXColorSelector::ID_LAST))); rb_define_method(SwigClassFXColorSelector.klass, "acceptButton", VALUEFUNC(_wrap_FXColorSelector_acceptButton), -1); rb_define_method(SwigClassFXColorSelector.klass, "cancelButton", VALUEFUNC(_wrap_FXColorSelector_cancelButton), -1); rb_define_method(SwigClassFXColorSelector.klass, "setRGBA", VALUEFUNC(_wrap_FXColorSelector_setRGBA), -1); rb_define_method(SwigClassFXColorSelector.klass, "getRGBA", VALUEFUNC(_wrap_FXColorSelector_getRGBA), -1); rb_define_method(SwigClassFXColorSelector.klass, "isOpaqueOnly", VALUEFUNC(_wrap_FXColorSelector_isOpaqueOnly), -1); rb_define_method(SwigClassFXColorSelector.klass, "setOpaqueOnly", VALUEFUNC(_wrap_FXColorSelector_setOpaqueOnly), -1); rb_define_method(SwigClassFXColorSelector.klass, "save", VALUEFUNC(_wrap_FXColorSelector_save), -1); rb_define_method(SwigClassFXColorSelector.klass, "load", VALUEFUNC(_wrap_FXColorSelector_load), -1); rb_define_method(SwigClassFXColorSelector.klass, "create", VALUEFUNC(_wrap_FXColorSelector_create), -1); rb_define_method(SwigClassFXColorSelector.klass, "detach", VALUEFUNC(_wrap_FXColorSelector_detach), -1); rb_define_method(SwigClassFXColorSelector.klass, "destroy", VALUEFUNC(_wrap_FXColorSelector_destroy), -1); rb_define_method(SwigClassFXColorSelector.klass, "resize", VALUEFUNC(_wrap_FXColorSelector_resize), -1); rb_define_method(SwigClassFXColorSelector.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXColorSelector_getDefaultWidth), -1); rb_define_method(SwigClassFXColorSelector.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXColorSelector_getDefaultHeight), -1); rb_define_method(SwigClassFXColorSelector.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXColorSelector_getWidthForHeight), -1); rb_define_method(SwigClassFXColorSelector.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXColorSelector_getHeightForWidth), -1); rb_define_method(SwigClassFXColorSelector.klass, "canFocus", VALUEFUNC(_wrap_FXColorSelector_canFocus), -1); rb_define_method(SwigClassFXColorSelector.klass, "setFocus", VALUEFUNC(_wrap_FXColorSelector_setFocus), -1); rb_define_method(SwigClassFXColorSelector.klass, "killFocus", VALUEFUNC(_wrap_FXColorSelector_killFocus), -1); rb_define_method(SwigClassFXColorSelector.klass, "changeFocus", VALUEFUNC(_wrap_FXColorSelector_changeFocus), -1); rb_define_method(SwigClassFXColorSelector.klass, "setDefault", VALUEFUNC(_wrap_FXColorSelector_setDefault), -1); rb_define_method(SwigClassFXColorSelector.klass, "enable", VALUEFUNC(_wrap_FXColorSelector_enable), -1); rb_define_method(SwigClassFXColorSelector.klass, "disable", VALUEFUNC(_wrap_FXColorSelector_disable), -1); rb_define_method(SwigClassFXColorSelector.klass, "raiseWindow", VALUEFUNC(_wrap_FXColorSelector_raiseWindow), -1); rb_define_method(SwigClassFXColorSelector.klass, "lower", VALUEFUNC(_wrap_FXColorSelector_lower), -1); rb_define_method(SwigClassFXColorSelector.klass, "move", VALUEFUNC(_wrap_FXColorSelector_move), -1); rb_define_method(SwigClassFXColorSelector.klass, "position", VALUEFUNC(_wrap_FXColorSelector_position), -1); rb_define_method(SwigClassFXColorSelector.klass, "layout", VALUEFUNC(_wrap_FXColorSelector_layout), -1); rb_define_method(SwigClassFXColorSelector.klass, "recalc", VALUEFUNC(_wrap_FXColorSelector_recalc), -1); rb_define_method(SwigClassFXColorSelector.klass, "reparent", VALUEFUNC(_wrap_FXColorSelector_reparent), -1); rb_define_method(SwigClassFXColorSelector.klass, "show", VALUEFUNC(_wrap_FXColorSelector_show), -1); rb_define_method(SwigClassFXColorSelector.klass, "hide", VALUEFUNC(_wrap_FXColorSelector_hide), -1); rb_define_method(SwigClassFXColorSelector.klass, "isComposite", VALUEFUNC(_wrap_FXColorSelector_isComposite), -1); rb_define_method(SwigClassFXColorSelector.klass, "contains", VALUEFUNC(_wrap_FXColorSelector_contains), -1); rb_define_method(SwigClassFXColorSelector.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXColorSelector_doesSaveUnder), -1); rb_define_method(SwigClassFXColorSelector.klass, "setBackColor", VALUEFUNC(_wrap_FXColorSelector_setBackColor), -1); rb_define_method(SwigClassFXColorSelector.klass, "tr", VALUEFUNC(_wrap_FXColorSelector_tr), -1); rb_define_method(SwigClassFXColorSelector.klass, "dropEnable", VALUEFUNC(_wrap_FXColorSelector_dropEnable), -1); rb_define_method(SwigClassFXColorSelector.klass, "dropDisable", VALUEFUNC(_wrap_FXColorSelector_dropDisable), -1); rb_define_method(SwigClassFXColorSelector.klass, "setShape", VALUEFUNC(_wrap_FXColorSelector_setShape), -1); rb_define_method(SwigClassFXColorSelector.klass, "clearShape", VALUEFUNC(_wrap_FXColorSelector_clearShape), -1); SwigClassFXColorSelector.mark = (void (*)(void *)) FXRbColorSelector::markfunc; SwigClassFXColorSelector.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXColorSelector.trackObjects = 0; SwigClassFXFontSelector.klass = rb_define_class_under(mFox, "FXFontSelector", ((swig_class *) SWIGTYPE_p_FXPacker->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXFontSelector, (void *) &SwigClassFXFontSelector); rb_define_alloc_func(SwigClassFXFontSelector.klass, _wrap_FXFontSelector_allocate); rb_define_method(SwigClassFXFontSelector.klass, "initialize", VALUEFUNC(_wrap_new_FXFontSelector), -1); rb_define_method(SwigClassFXFontSelector.klass, "onCmdFamily", VALUEFUNC(_wrap_FXFontSelector_onCmdFamily), -1); rb_define_method(SwigClassFXFontSelector.klass, "onCmdWeight", VALUEFUNC(_wrap_FXFontSelector_onCmdWeight), -1); rb_define_method(SwigClassFXFontSelector.klass, "onCmdStyle", VALUEFUNC(_wrap_FXFontSelector_onCmdStyle), -1); rb_define_method(SwigClassFXFontSelector.klass, "onCmdStyleText", VALUEFUNC(_wrap_FXFontSelector_onCmdStyleText), -1); rb_define_method(SwigClassFXFontSelector.klass, "onCmdSize", VALUEFUNC(_wrap_FXFontSelector_onCmdSize), -1); rb_define_method(SwigClassFXFontSelector.klass, "onCmdSizeText", VALUEFUNC(_wrap_FXFontSelector_onCmdSizeText), -1); rb_define_method(SwigClassFXFontSelector.klass, "onCmdCharset", VALUEFUNC(_wrap_FXFontSelector_onCmdCharset), -1); rb_define_method(SwigClassFXFontSelector.klass, "onUpdCharset", VALUEFUNC(_wrap_FXFontSelector_onUpdCharset), -1); rb_define_method(SwigClassFXFontSelector.klass, "onCmdSetWidth", VALUEFUNC(_wrap_FXFontSelector_onCmdSetWidth), -1); rb_define_method(SwigClassFXFontSelector.klass, "onUpdSetWidth", VALUEFUNC(_wrap_FXFontSelector_onUpdSetWidth), -1); rb_define_method(SwigClassFXFontSelector.klass, "onCmdPitch", VALUEFUNC(_wrap_FXFontSelector_onCmdPitch), -1); rb_define_method(SwigClassFXFontSelector.klass, "onUpdPitch", VALUEFUNC(_wrap_FXFontSelector_onUpdPitch), -1); rb_define_method(SwigClassFXFontSelector.klass, "onCmdScalable", VALUEFUNC(_wrap_FXFontSelector_onCmdScalable), -1); rb_define_method(SwigClassFXFontSelector.klass, "onUpdScalable", VALUEFUNC(_wrap_FXFontSelector_onUpdScalable), -1); rb_define_method(SwigClassFXFontSelector.klass, "onCmdAllFonts", VALUEFUNC(_wrap_FXFontSelector_onCmdAllFonts), -1); rb_define_method(SwigClassFXFontSelector.klass, "onUpdAllFonts", VALUEFUNC(_wrap_FXFontSelector_onUpdAllFonts), -1); rb_define_const(SwigClassFXFontSelector.klass, "ID_FAMILY", SWIG_From_int(static_cast< int >(FXFontSelector::ID_FAMILY))); rb_define_const(SwigClassFXFontSelector.klass, "ID_WEIGHT", SWIG_From_int(static_cast< int >(FXFontSelector::ID_WEIGHT))); rb_define_const(SwigClassFXFontSelector.klass, "ID_STYLE", SWIG_From_int(static_cast< int >(FXFontSelector::ID_STYLE))); rb_define_const(SwigClassFXFontSelector.klass, "ID_STYLE_TEXT", SWIG_From_int(static_cast< int >(FXFontSelector::ID_STYLE_TEXT))); rb_define_const(SwigClassFXFontSelector.klass, "ID_SIZE", SWIG_From_int(static_cast< int >(FXFontSelector::ID_SIZE))); rb_define_const(SwigClassFXFontSelector.klass, "ID_SIZE_TEXT", SWIG_From_int(static_cast< int >(FXFontSelector::ID_SIZE_TEXT))); rb_define_const(SwigClassFXFontSelector.klass, "ID_CHARSET", SWIG_From_int(static_cast< int >(FXFontSelector::ID_CHARSET))); rb_define_const(SwigClassFXFontSelector.klass, "ID_SETWIDTH", SWIG_From_int(static_cast< int >(FXFontSelector::ID_SETWIDTH))); rb_define_const(SwigClassFXFontSelector.klass, "ID_PITCH", SWIG_From_int(static_cast< int >(FXFontSelector::ID_PITCH))); rb_define_const(SwigClassFXFontSelector.klass, "ID_SCALABLE", SWIG_From_int(static_cast< int >(FXFontSelector::ID_SCALABLE))); rb_define_const(SwigClassFXFontSelector.klass, "ID_ALLFONTS", SWIG_From_int(static_cast< int >(FXFontSelector::ID_ALLFONTS))); rb_define_const(SwigClassFXFontSelector.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXFontSelector::ID_LAST))); rb_define_method(SwigClassFXFontSelector.klass, "acceptButton", VALUEFUNC(_wrap_FXFontSelector_acceptButton), -1); rb_define_method(SwigClassFXFontSelector.klass, "cancelButton", VALUEFUNC(_wrap_FXFontSelector_cancelButton), -1); rb_define_method(SwigClassFXFontSelector.klass, "setFontSelection", VALUEFUNC(_wrap_FXFontSelector_setFontSelection), -1); rb_define_method(SwigClassFXFontSelector.klass, "getFontSelection", VALUEFUNC(_wrap_FXFontSelector_getFontSelection), -1); rb_define_method(SwigClassFXFontSelector.klass, "save", VALUEFUNC(_wrap_FXFontSelector_save), -1); rb_define_method(SwigClassFXFontSelector.klass, "load", VALUEFUNC(_wrap_FXFontSelector_load), -1); rb_define_method(SwigClassFXFontSelector.klass, "create", VALUEFUNC(_wrap_FXFontSelector_create), -1); rb_define_method(SwigClassFXFontSelector.klass, "detach", VALUEFUNC(_wrap_FXFontSelector_detach), -1); rb_define_method(SwigClassFXFontSelector.klass, "destroy", VALUEFUNC(_wrap_FXFontSelector_destroy), -1); rb_define_method(SwigClassFXFontSelector.klass, "resize", VALUEFUNC(_wrap_FXFontSelector_resize), -1); rb_define_method(SwigClassFXFontSelector.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXFontSelector_getDefaultWidth), -1); rb_define_method(SwigClassFXFontSelector.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXFontSelector_getDefaultHeight), -1); rb_define_method(SwigClassFXFontSelector.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXFontSelector_getWidthForHeight), -1); rb_define_method(SwigClassFXFontSelector.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXFontSelector_getHeightForWidth), -1); rb_define_method(SwigClassFXFontSelector.klass, "canFocus", VALUEFUNC(_wrap_FXFontSelector_canFocus), -1); rb_define_method(SwigClassFXFontSelector.klass, "setFocus", VALUEFUNC(_wrap_FXFontSelector_setFocus), -1); rb_define_method(SwigClassFXFontSelector.klass, "killFocus", VALUEFUNC(_wrap_FXFontSelector_killFocus), -1); rb_define_method(SwigClassFXFontSelector.klass, "changeFocus", VALUEFUNC(_wrap_FXFontSelector_changeFocus), -1); rb_define_method(SwigClassFXFontSelector.klass, "setDefault", VALUEFUNC(_wrap_FXFontSelector_setDefault), -1); rb_define_method(SwigClassFXFontSelector.klass, "enable", VALUEFUNC(_wrap_FXFontSelector_enable), -1); rb_define_method(SwigClassFXFontSelector.klass, "disable", VALUEFUNC(_wrap_FXFontSelector_disable), -1); rb_define_method(SwigClassFXFontSelector.klass, "raiseWindow", VALUEFUNC(_wrap_FXFontSelector_raiseWindow), -1); rb_define_method(SwigClassFXFontSelector.klass, "lower", VALUEFUNC(_wrap_FXFontSelector_lower), -1); rb_define_method(SwigClassFXFontSelector.klass, "move", VALUEFUNC(_wrap_FXFontSelector_move), -1); rb_define_method(SwigClassFXFontSelector.klass, "position", VALUEFUNC(_wrap_FXFontSelector_position), -1); rb_define_method(SwigClassFXFontSelector.klass, "layout", VALUEFUNC(_wrap_FXFontSelector_layout), -1); rb_define_method(SwigClassFXFontSelector.klass, "recalc", VALUEFUNC(_wrap_FXFontSelector_recalc), -1); rb_define_method(SwigClassFXFontSelector.klass, "reparent", VALUEFUNC(_wrap_FXFontSelector_reparent), -1); rb_define_method(SwigClassFXFontSelector.klass, "show", VALUEFUNC(_wrap_FXFontSelector_show), -1); rb_define_method(SwigClassFXFontSelector.klass, "hide", VALUEFUNC(_wrap_FXFontSelector_hide), -1); rb_define_method(SwigClassFXFontSelector.klass, "isComposite", VALUEFUNC(_wrap_FXFontSelector_isComposite), -1); rb_define_method(SwigClassFXFontSelector.klass, "contains", VALUEFUNC(_wrap_FXFontSelector_contains), -1); rb_define_method(SwigClassFXFontSelector.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXFontSelector_doesSaveUnder), -1); rb_define_method(SwigClassFXFontSelector.klass, "setBackColor", VALUEFUNC(_wrap_FXFontSelector_setBackColor), -1); rb_define_method(SwigClassFXFontSelector.klass, "tr", VALUEFUNC(_wrap_FXFontSelector_tr), -1); rb_define_method(SwigClassFXFontSelector.klass, "dropEnable", VALUEFUNC(_wrap_FXFontSelector_dropEnable), -1); rb_define_method(SwigClassFXFontSelector.klass, "dropDisable", VALUEFUNC(_wrap_FXFontSelector_dropDisable), -1); rb_define_method(SwigClassFXFontSelector.klass, "setShape", VALUEFUNC(_wrap_FXFontSelector_setShape), -1); rb_define_method(SwigClassFXFontSelector.klass, "clearShape", VALUEFUNC(_wrap_FXFontSelector_clearShape), -1); SwigClassFXFontSelector.mark = (void (*)(void *)) FXRbFontSelector::markfunc; SwigClassFXFontSelector.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXFontSelector.trackObjects = 0; SwigClassFXDockHandler.klass = rb_define_class_under(mFox, "FXDockHandler", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXDockHandler, (void *) &SwigClassFXDockHandler); rb_undef_alloc_func(SwigClassFXDockHandler.klass); rb_define_method(SwigClassFXDockHandler.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXDockHandler_onLeftBtnPress), -1); rb_define_method(SwigClassFXDockHandler.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXDockHandler_onLeftBtnRelease), -1); rb_define_method(SwigClassFXDockHandler.klass, "onMotion", VALUEFUNC(_wrap_FXDockHandler_onMotion), -1); rb_define_method(SwigClassFXDockHandler.klass, "onKeyPress", VALUEFUNC(_wrap_FXDockHandler_onKeyPress), -1); rb_define_method(SwigClassFXDockHandler.klass, "onKeyRelease", VALUEFUNC(_wrap_FXDockHandler_onKeyRelease), -1); rb_define_method(SwigClassFXDockHandler.klass, "onQueryTip", VALUEFUNC(_wrap_FXDockHandler_onQueryTip), -1); rb_define_method(SwigClassFXDockHandler.klass, "onQueryHelp", VALUEFUNC(_wrap_FXDockHandler_onQueryHelp), -1); rb_define_method(SwigClassFXDockHandler.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXDockHandler_onCmdSetTip), -1); rb_define_method(SwigClassFXDockHandler.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXDockHandler_onCmdGetTip), -1); rb_define_method(SwigClassFXDockHandler.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXDockHandler_onCmdSetHelp), -1); rb_define_method(SwigClassFXDockHandler.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXDockHandler_onCmdGetHelp), -1); rb_define_method(SwigClassFXDockHandler.klass, "helpText=", VALUEFUNC(_wrap_FXDockHandler_helpTexte___), -1); rb_define_method(SwigClassFXDockHandler.klass, "helpText", VALUEFUNC(_wrap_FXDockHandler_helpText), -1); rb_define_method(SwigClassFXDockHandler.klass, "tipText=", VALUEFUNC(_wrap_FXDockHandler_tipTexte___), -1); rb_define_method(SwigClassFXDockHandler.klass, "tipText", VALUEFUNC(_wrap_FXDockHandler_tipText), -1); rb_define_method(SwigClassFXDockHandler.klass, "save", VALUEFUNC(_wrap_FXDockHandler_save), -1); rb_define_method(SwigClassFXDockHandler.klass, "load", VALUEFUNC(_wrap_FXDockHandler_load), -1); rb_define_method(SwigClassFXDockHandler.klass, "create", VALUEFUNC(_wrap_FXDockHandler_create), -1); rb_define_method(SwigClassFXDockHandler.klass, "detach", VALUEFUNC(_wrap_FXDockHandler_detach), -1); rb_define_method(SwigClassFXDockHandler.klass, "destroy", VALUEFUNC(_wrap_FXDockHandler_destroy), -1); rb_define_method(SwigClassFXDockHandler.klass, "resize", VALUEFUNC(_wrap_FXDockHandler_resize), -1); rb_define_method(SwigClassFXDockHandler.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXDockHandler_getDefaultWidth), -1); rb_define_method(SwigClassFXDockHandler.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXDockHandler_getDefaultHeight), -1); rb_define_method(SwigClassFXDockHandler.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXDockHandler_getWidthForHeight), -1); rb_define_method(SwigClassFXDockHandler.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXDockHandler_getHeightForWidth), -1); rb_define_method(SwigClassFXDockHandler.klass, "canFocus", VALUEFUNC(_wrap_FXDockHandler_canFocus), -1); rb_define_method(SwigClassFXDockHandler.klass, "setFocus", VALUEFUNC(_wrap_FXDockHandler_setFocus), -1); rb_define_method(SwigClassFXDockHandler.klass, "killFocus", VALUEFUNC(_wrap_FXDockHandler_killFocus), -1); rb_define_method(SwigClassFXDockHandler.klass, "changeFocus", VALUEFUNC(_wrap_FXDockHandler_changeFocus), -1); rb_define_method(SwigClassFXDockHandler.klass, "setDefault", VALUEFUNC(_wrap_FXDockHandler_setDefault), -1); rb_define_method(SwigClassFXDockHandler.klass, "enable", VALUEFUNC(_wrap_FXDockHandler_enable), -1); rb_define_method(SwigClassFXDockHandler.klass, "disable", VALUEFUNC(_wrap_FXDockHandler_disable), -1); rb_define_method(SwigClassFXDockHandler.klass, "raiseWindow", VALUEFUNC(_wrap_FXDockHandler_raiseWindow), -1); rb_define_method(SwigClassFXDockHandler.klass, "lower", VALUEFUNC(_wrap_FXDockHandler_lower), -1); rb_define_method(SwigClassFXDockHandler.klass, "move", VALUEFUNC(_wrap_FXDockHandler_move), -1); rb_define_method(SwigClassFXDockHandler.klass, "position", VALUEFUNC(_wrap_FXDockHandler_position), -1); rb_define_method(SwigClassFXDockHandler.klass, "layout", VALUEFUNC(_wrap_FXDockHandler_layout), -1); rb_define_method(SwigClassFXDockHandler.klass, "recalc", VALUEFUNC(_wrap_FXDockHandler_recalc), -1); rb_define_method(SwigClassFXDockHandler.klass, "reparent", VALUEFUNC(_wrap_FXDockHandler_reparent), -1); rb_define_method(SwigClassFXDockHandler.klass, "show", VALUEFUNC(_wrap_FXDockHandler_show), -1); rb_define_method(SwigClassFXDockHandler.klass, "hide", VALUEFUNC(_wrap_FXDockHandler_hide), -1); rb_define_method(SwigClassFXDockHandler.klass, "isComposite", VALUEFUNC(_wrap_FXDockHandler_isComposite), -1); rb_define_method(SwigClassFXDockHandler.klass, "contains", VALUEFUNC(_wrap_FXDockHandler_contains), -1); rb_define_method(SwigClassFXDockHandler.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXDockHandler_doesSaveUnder), -1); rb_define_method(SwigClassFXDockHandler.klass, "setBackColor", VALUEFUNC(_wrap_FXDockHandler_setBackColor), -1); rb_define_method(SwigClassFXDockHandler.klass, "tr", VALUEFUNC(_wrap_FXDockHandler_tr), -1); rb_define_method(SwigClassFXDockHandler.klass, "dropEnable", VALUEFUNC(_wrap_FXDockHandler_dropEnable), -1); rb_define_method(SwigClassFXDockHandler.klass, "dropDisable", VALUEFUNC(_wrap_FXDockHandler_dropDisable), -1); rb_define_method(SwigClassFXDockHandler.klass, "setShape", VALUEFUNC(_wrap_FXDockHandler_setShape), -1); rb_define_method(SwigClassFXDockHandler.klass, "clearShape", VALUEFUNC(_wrap_FXDockHandler_clearShape), -1); SwigClassFXDockHandler.mark = (void (*)(void *)) FXRbDockHandler::markfunc; SwigClassFXDockHandler.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXDockHandler.trackObjects = 0; SWIGTYPE_p_FXDockHandler->dcast = (swig_dycast_func) FXDockHandler_dynamic_cast; SwigClassFXDockTitle.klass = rb_define_class_under(mFox, "FXDockTitle", ((swig_class *) SWIGTYPE_p_FXDockHandler->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXDockTitle, (void *) &SwigClassFXDockTitle); rb_define_alloc_func(SwigClassFXDockTitle.klass, _wrap_FXDockTitle_allocate); rb_define_method(SwigClassFXDockTitle.klass, "initialize", VALUEFUNC(_wrap_new_FXDockTitle), -1); rb_define_method(SwigClassFXDockTitle.klass, "onPaint", VALUEFUNC(_wrap_FXDockTitle_onPaint), -1); rb_define_method(SwigClassFXDockTitle.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXDockTitle_onCmdSetValue), -1); rb_define_method(SwigClassFXDockTitle.klass, "onCmdSetStringValue", VALUEFUNC(_wrap_FXDockTitle_onCmdSetStringValue), -1); rb_define_method(SwigClassFXDockTitle.klass, "onCmdGetStringValue", VALUEFUNC(_wrap_FXDockTitle_onCmdGetStringValue), -1); rb_define_method(SwigClassFXDockTitle.klass, "caption=", VALUEFUNC(_wrap_FXDockTitle_captione___), -1); rb_define_method(SwigClassFXDockTitle.klass, "caption", VALUEFUNC(_wrap_FXDockTitle_caption), -1); rb_define_method(SwigClassFXDockTitle.klass, "font=", VALUEFUNC(_wrap_FXDockTitle_fonte___), -1); rb_define_method(SwigClassFXDockTitle.klass, "font", VALUEFUNC(_wrap_FXDockTitle_font), -1); rb_define_method(SwigClassFXDockTitle.klass, "captionColor", VALUEFUNC(_wrap_FXDockTitle_captionColor), -1); rb_define_method(SwigClassFXDockTitle.klass, "captionColor=", VALUEFUNC(_wrap_FXDockTitle_captionColore___), -1); rb_define_method(SwigClassFXDockTitle.klass, "justify=", VALUEFUNC(_wrap_FXDockTitle_justifye___), -1); rb_define_method(SwigClassFXDockTitle.klass, "justify", VALUEFUNC(_wrap_FXDockTitle_justify), -1); rb_define_method(SwigClassFXDockTitle.klass, "save", VALUEFUNC(_wrap_FXDockTitle_save), -1); rb_define_method(SwigClassFXDockTitle.klass, "load", VALUEFUNC(_wrap_FXDockTitle_load), -1); rb_define_method(SwigClassFXDockTitle.klass, "create", VALUEFUNC(_wrap_FXDockTitle_create), -1); rb_define_method(SwigClassFXDockTitle.klass, "detach", VALUEFUNC(_wrap_FXDockTitle_detach), -1); rb_define_method(SwigClassFXDockTitle.klass, "destroy", VALUEFUNC(_wrap_FXDockTitle_destroy), -1); rb_define_method(SwigClassFXDockTitle.klass, "resize", VALUEFUNC(_wrap_FXDockTitle_resize), -1); rb_define_method(SwigClassFXDockTitle.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXDockTitle_getDefaultWidth), -1); rb_define_method(SwigClassFXDockTitle.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXDockTitle_getDefaultHeight), -1); rb_define_method(SwigClassFXDockTitle.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXDockTitle_getWidthForHeight), -1); rb_define_method(SwigClassFXDockTitle.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXDockTitle_getHeightForWidth), -1); rb_define_method(SwigClassFXDockTitle.klass, "canFocus", VALUEFUNC(_wrap_FXDockTitle_canFocus), -1); rb_define_method(SwigClassFXDockTitle.klass, "setFocus", VALUEFUNC(_wrap_FXDockTitle_setFocus), -1); rb_define_method(SwigClassFXDockTitle.klass, "killFocus", VALUEFUNC(_wrap_FXDockTitle_killFocus), -1); rb_define_method(SwigClassFXDockTitle.klass, "changeFocus", VALUEFUNC(_wrap_FXDockTitle_changeFocus), -1); rb_define_method(SwigClassFXDockTitle.klass, "setDefault", VALUEFUNC(_wrap_FXDockTitle_setDefault), -1); rb_define_method(SwigClassFXDockTitle.klass, "enable", VALUEFUNC(_wrap_FXDockTitle_enable), -1); rb_define_method(SwigClassFXDockTitle.klass, "disable", VALUEFUNC(_wrap_FXDockTitle_disable), -1); rb_define_method(SwigClassFXDockTitle.klass, "raiseWindow", VALUEFUNC(_wrap_FXDockTitle_raiseWindow), -1); rb_define_method(SwigClassFXDockTitle.klass, "lower", VALUEFUNC(_wrap_FXDockTitle_lower), -1); rb_define_method(SwigClassFXDockTitle.klass, "move", VALUEFUNC(_wrap_FXDockTitle_move), -1); rb_define_method(SwigClassFXDockTitle.klass, "position", VALUEFUNC(_wrap_FXDockTitle_position), -1); rb_define_method(SwigClassFXDockTitle.klass, "layout", VALUEFUNC(_wrap_FXDockTitle_layout), -1); rb_define_method(SwigClassFXDockTitle.klass, "recalc", VALUEFUNC(_wrap_FXDockTitle_recalc), -1); rb_define_method(SwigClassFXDockTitle.klass, "reparent", VALUEFUNC(_wrap_FXDockTitle_reparent), -1); rb_define_method(SwigClassFXDockTitle.klass, "show", VALUEFUNC(_wrap_FXDockTitle_show), -1); rb_define_method(SwigClassFXDockTitle.klass, "hide", VALUEFUNC(_wrap_FXDockTitle_hide), -1); rb_define_method(SwigClassFXDockTitle.klass, "isComposite", VALUEFUNC(_wrap_FXDockTitle_isComposite), -1); rb_define_method(SwigClassFXDockTitle.klass, "contains", VALUEFUNC(_wrap_FXDockTitle_contains), -1); rb_define_method(SwigClassFXDockTitle.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXDockTitle_doesSaveUnder), -1); rb_define_method(SwigClassFXDockTitle.klass, "setBackColor", VALUEFUNC(_wrap_FXDockTitle_setBackColor), -1); rb_define_method(SwigClassFXDockTitle.klass, "tr", VALUEFUNC(_wrap_FXDockTitle_tr), -1); rb_define_method(SwigClassFXDockTitle.klass, "dropEnable", VALUEFUNC(_wrap_FXDockTitle_dropEnable), -1); rb_define_method(SwigClassFXDockTitle.klass, "dropDisable", VALUEFUNC(_wrap_FXDockTitle_dropDisable), -1); rb_define_method(SwigClassFXDockTitle.klass, "setShape", VALUEFUNC(_wrap_FXDockTitle_setShape), -1); rb_define_method(SwigClassFXDockTitle.klass, "clearShape", VALUEFUNC(_wrap_FXDockTitle_clearShape), -1); SwigClassFXDockTitle.mark = (void (*)(void *)) FXRbDockTitle::markfunc; SwigClassFXDockTitle.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXDockTitle.trackObjects = 0; rb_define_const(mFox, "TOOLBARGRIP_SINGLE", SWIG_From_int(static_cast< int >(TOOLBARGRIP_SINGLE))); rb_define_const(mFox, "TOOLBARGRIP_DOUBLE", SWIG_From_int(static_cast< int >(TOOLBARGRIP_DOUBLE))); SwigClassFXToolBarGrip.klass = rb_define_class_under(mFox, "FXToolBarGrip", ((swig_class *) SWIGTYPE_p_FXDockHandler->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXToolBarGrip, (void *) &SwigClassFXToolBarGrip); rb_define_alloc_func(SwigClassFXToolBarGrip.klass, _wrap_FXToolBarGrip_allocate); rb_define_method(SwigClassFXToolBarGrip.klass, "initialize", VALUEFUNC(_wrap_new_FXToolBarGrip), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "onPaint", VALUEFUNC(_wrap_FXToolBarGrip_onPaint), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "onEnter", VALUEFUNC(_wrap_FXToolBarGrip_onEnter), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "onLeave", VALUEFUNC(_wrap_FXToolBarGrip_onLeave), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "setDoubleBar", VALUEFUNC(_wrap_FXToolBarGrip_setDoubleBar), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "isDoubleBar", VALUEFUNC(_wrap_FXToolBarGrip_isDoubleBar), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "setActiveColor", VALUEFUNC(_wrap_FXToolBarGrip_setActiveColor), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "getActiveColor", VALUEFUNC(_wrap_FXToolBarGrip_getActiveColor), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "save", VALUEFUNC(_wrap_FXToolBarGrip_save), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "load", VALUEFUNC(_wrap_FXToolBarGrip_load), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "create", VALUEFUNC(_wrap_FXToolBarGrip_create), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "detach", VALUEFUNC(_wrap_FXToolBarGrip_detach), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "destroy", VALUEFUNC(_wrap_FXToolBarGrip_destroy), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "resize", VALUEFUNC(_wrap_FXToolBarGrip_resize), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXToolBarGrip_getDefaultWidth), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXToolBarGrip_getDefaultHeight), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXToolBarGrip_getWidthForHeight), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXToolBarGrip_getHeightForWidth), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "canFocus", VALUEFUNC(_wrap_FXToolBarGrip_canFocus), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "setFocus", VALUEFUNC(_wrap_FXToolBarGrip_setFocus), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "killFocus", VALUEFUNC(_wrap_FXToolBarGrip_killFocus), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "changeFocus", VALUEFUNC(_wrap_FXToolBarGrip_changeFocus), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "setDefault", VALUEFUNC(_wrap_FXToolBarGrip_setDefault), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "enable", VALUEFUNC(_wrap_FXToolBarGrip_enable), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "disable", VALUEFUNC(_wrap_FXToolBarGrip_disable), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "raiseWindow", VALUEFUNC(_wrap_FXToolBarGrip_raiseWindow), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "lower", VALUEFUNC(_wrap_FXToolBarGrip_lower), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "move", VALUEFUNC(_wrap_FXToolBarGrip_move), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "position", VALUEFUNC(_wrap_FXToolBarGrip_position), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "layout", VALUEFUNC(_wrap_FXToolBarGrip_layout), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "recalc", VALUEFUNC(_wrap_FXToolBarGrip_recalc), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "reparent", VALUEFUNC(_wrap_FXToolBarGrip_reparent), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "show", VALUEFUNC(_wrap_FXToolBarGrip_show), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "hide", VALUEFUNC(_wrap_FXToolBarGrip_hide), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "isComposite", VALUEFUNC(_wrap_FXToolBarGrip_isComposite), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "contains", VALUEFUNC(_wrap_FXToolBarGrip_contains), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXToolBarGrip_doesSaveUnder), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "setBackColor", VALUEFUNC(_wrap_FXToolBarGrip_setBackColor), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "tr", VALUEFUNC(_wrap_FXToolBarGrip_tr), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "dropEnable", VALUEFUNC(_wrap_FXToolBarGrip_dropEnable), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "dropDisable", VALUEFUNC(_wrap_FXToolBarGrip_dropDisable), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "setShape", VALUEFUNC(_wrap_FXToolBarGrip_setShape), -1); rb_define_method(SwigClassFXToolBarGrip.klass, "clearShape", VALUEFUNC(_wrap_FXToolBarGrip_clearShape), -1); SwigClassFXToolBarGrip.mark = (void (*)(void *)) FXRbToolBarGrip::markfunc; SwigClassFXToolBarGrip.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXToolBarGrip.trackObjects = 0; SwigClassFXToolBarShell.klass = rb_define_class_under(mFox, "FXToolBarShell", ((swig_class *) SWIGTYPE_p_FXTopWindow->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXToolBarShell, (void *) &SwigClassFXToolBarShell); rb_define_alloc_func(SwigClassFXToolBarShell.klass, _wrap_FXToolBarShell_allocate); rb_define_method(SwigClassFXToolBarShell.klass, "initialize", VALUEFUNC(_wrap_new_FXToolBarShell), -1); rb_define_method(SwigClassFXToolBarShell.klass, "onPaint", VALUEFUNC(_wrap_FXToolBarShell_onPaint), -1); rb_define_method(SwigClassFXToolBarShell.klass, "setFrameStyle", VALUEFUNC(_wrap_FXToolBarShell_setFrameStyle), -1); rb_define_method(SwigClassFXToolBarShell.klass, "getFrameStyle", VALUEFUNC(_wrap_FXToolBarShell_getFrameStyle), -1); rb_define_method(SwigClassFXToolBarShell.klass, "getBorderWidth", VALUEFUNC(_wrap_FXToolBarShell_getBorderWidth), -1); rb_define_method(SwigClassFXToolBarShell.klass, "setHiliteColor", VALUEFUNC(_wrap_FXToolBarShell_setHiliteColor), -1); rb_define_method(SwigClassFXToolBarShell.klass, "getHiliteColor", VALUEFUNC(_wrap_FXToolBarShell_getHiliteColor), -1); rb_define_method(SwigClassFXToolBarShell.klass, "setShadowColor", VALUEFUNC(_wrap_FXToolBarShell_setShadowColor), -1); rb_define_method(SwigClassFXToolBarShell.klass, "getShadowColor", VALUEFUNC(_wrap_FXToolBarShell_getShadowColor), -1); rb_define_method(SwigClassFXToolBarShell.klass, "setBorderColor", VALUEFUNC(_wrap_FXToolBarShell_setBorderColor), -1); rb_define_method(SwigClassFXToolBarShell.klass, "getBorderColor", VALUEFUNC(_wrap_FXToolBarShell_getBorderColor), -1); rb_define_method(SwigClassFXToolBarShell.klass, "setBaseColor", VALUEFUNC(_wrap_FXToolBarShell_setBaseColor), -1); rb_define_method(SwigClassFXToolBarShell.klass, "getBaseColor", VALUEFUNC(_wrap_FXToolBarShell_getBaseColor), -1); rb_define_method(SwigClassFXToolBarShell.klass, "save", VALUEFUNC(_wrap_FXToolBarShell_save), -1); rb_define_method(SwigClassFXToolBarShell.klass, "load", VALUEFUNC(_wrap_FXToolBarShell_load), -1); rb_define_method(SwigClassFXToolBarShell.klass, "create", VALUEFUNC(_wrap_FXToolBarShell_create), -1); rb_define_method(SwigClassFXToolBarShell.klass, "detach", VALUEFUNC(_wrap_FXToolBarShell_detach), -1); rb_define_method(SwigClassFXToolBarShell.klass, "destroy", VALUEFUNC(_wrap_FXToolBarShell_destroy), -1); rb_define_method(SwigClassFXToolBarShell.klass, "resize", VALUEFUNC(_wrap_FXToolBarShell_resize), -1); rb_define_method(SwigClassFXToolBarShell.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXToolBarShell_getDefaultWidth), -1); rb_define_method(SwigClassFXToolBarShell.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXToolBarShell_getDefaultHeight), -1); rb_define_method(SwigClassFXToolBarShell.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXToolBarShell_getWidthForHeight), -1); rb_define_method(SwigClassFXToolBarShell.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXToolBarShell_getHeightForWidth), -1); rb_define_method(SwigClassFXToolBarShell.klass, "canFocus", VALUEFUNC(_wrap_FXToolBarShell_canFocus), -1); rb_define_method(SwigClassFXToolBarShell.klass, "setFocus", VALUEFUNC(_wrap_FXToolBarShell_setFocus), -1); rb_define_method(SwigClassFXToolBarShell.klass, "killFocus", VALUEFUNC(_wrap_FXToolBarShell_killFocus), -1); rb_define_method(SwigClassFXToolBarShell.klass, "changeFocus", VALUEFUNC(_wrap_FXToolBarShell_changeFocus), -1); rb_define_method(SwigClassFXToolBarShell.klass, "setDefault", VALUEFUNC(_wrap_FXToolBarShell_setDefault), -1); rb_define_method(SwigClassFXToolBarShell.klass, "enable", VALUEFUNC(_wrap_FXToolBarShell_enable), -1); rb_define_method(SwigClassFXToolBarShell.klass, "disable", VALUEFUNC(_wrap_FXToolBarShell_disable), -1); rb_define_method(SwigClassFXToolBarShell.klass, "raiseWindow", VALUEFUNC(_wrap_FXToolBarShell_raiseWindow), -1); rb_define_method(SwigClassFXToolBarShell.klass, "lower", VALUEFUNC(_wrap_FXToolBarShell_lower), -1); rb_define_method(SwigClassFXToolBarShell.klass, "move", VALUEFUNC(_wrap_FXToolBarShell_move), -1); rb_define_method(SwigClassFXToolBarShell.klass, "position", VALUEFUNC(_wrap_FXToolBarShell_position), -1); rb_define_method(SwigClassFXToolBarShell.klass, "layout", VALUEFUNC(_wrap_FXToolBarShell_layout), -1); rb_define_method(SwigClassFXToolBarShell.klass, "recalc", VALUEFUNC(_wrap_FXToolBarShell_recalc), -1); rb_define_method(SwigClassFXToolBarShell.klass, "reparent", VALUEFUNC(_wrap_FXToolBarShell_reparent), -1); rb_define_method(SwigClassFXToolBarShell.klass, "hide", VALUEFUNC(_wrap_FXToolBarShell_hide), -1); rb_define_method(SwigClassFXToolBarShell.klass, "isComposite", VALUEFUNC(_wrap_FXToolBarShell_isComposite), -1); rb_define_method(SwigClassFXToolBarShell.klass, "contains", VALUEFUNC(_wrap_FXToolBarShell_contains), -1); rb_define_method(SwigClassFXToolBarShell.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXToolBarShell_doesSaveUnder), -1); rb_define_method(SwigClassFXToolBarShell.klass, "setBackColor", VALUEFUNC(_wrap_FXToolBarShell_setBackColor), -1); rb_define_method(SwigClassFXToolBarShell.klass, "tr", VALUEFUNC(_wrap_FXToolBarShell_tr), -1); rb_define_method(SwigClassFXToolBarShell.klass, "dropEnable", VALUEFUNC(_wrap_FXToolBarShell_dropEnable), -1); rb_define_method(SwigClassFXToolBarShell.klass, "dropDisable", VALUEFUNC(_wrap_FXToolBarShell_dropDisable), -1); rb_define_method(SwigClassFXToolBarShell.klass, "setShape", VALUEFUNC(_wrap_FXToolBarShell_setShape), -1); rb_define_method(SwigClassFXToolBarShell.klass, "clearShape", VALUEFUNC(_wrap_FXToolBarShell_clearShape), -1); rb_define_method(SwigClassFXToolBarShell.klass, "show", VALUEFUNC(_wrap_FXToolBarShell_show), -1); rb_define_method(SwigClassFXToolBarShell.klass, "maximize", VALUEFUNC(_wrap_FXToolBarShell_maximize), -1); rb_define_method(SwigClassFXToolBarShell.klass, "minimize", VALUEFUNC(_wrap_FXToolBarShell_minimize), -1); rb_define_method(SwigClassFXToolBarShell.klass, "restore", VALUEFUNC(_wrap_FXToolBarShell_restore), -1); rb_define_method(SwigClassFXToolBarShell.klass, "close", VALUEFUNC(_wrap_FXToolBarShell_close), -1); SwigClassFXToolBarShell.mark = (void (*)(void *)) FXRbToolBarShell::markfunc; SwigClassFXToolBarShell.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXToolBarShell.trackObjects = 0; SwigClassFXRulerView.klass = rb_define_class_under(mFox, "FXRulerView", ((swig_class *) SWIGTYPE_p_FXScrollArea->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXRulerView, (void *) &SwigClassFXRulerView); rb_define_alloc_func(SwigClassFXRulerView.klass, _wrap_FXRulerView_allocate); rb_define_method(SwigClassFXRulerView.klass, "initialize", VALUEFUNC(_wrap_new_FXRulerView), -1); rb_define_method(SwigClassFXRulerView.klass, "onPaint", VALUEFUNC(_wrap_FXRulerView_onPaint), -1); rb_define_method(SwigClassFXRulerView.klass, "onMotion", VALUEFUNC(_wrap_FXRulerView_onMotion), -1); rb_define_method(SwigClassFXRulerView.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXRulerView_onCmdSetHelp), -1); rb_define_method(SwigClassFXRulerView.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXRulerView_onCmdGetHelp), -1); rb_define_method(SwigClassFXRulerView.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXRulerView_onCmdSetTip), -1); rb_define_method(SwigClassFXRulerView.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXRulerView_onCmdGetTip), -1); rb_define_method(SwigClassFXRulerView.klass, "onQueryHelp", VALUEFUNC(_wrap_FXRulerView_onQueryHelp), -1); rb_define_method(SwigClassFXRulerView.klass, "onQueryTip", VALUEFUNC(_wrap_FXRulerView_onQueryTip), -1); rb_define_method(SwigClassFXRulerView.klass, "onDocChanged", VALUEFUNC(_wrap_FXRulerView_onDocChanged), -1); rb_define_const(SwigClassFXRulerView.klass, "ID_HRULER", SWIG_From_int(static_cast< int >(FXRulerView::ID_HRULER))); rb_define_const(SwigClassFXRulerView.klass, "ID_VRULER", SWIG_From_int(static_cast< int >(FXRulerView::ID_VRULER))); rb_define_const(SwigClassFXRulerView.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXRulerView::ID_LAST))); rb_define_method(SwigClassFXRulerView.klass, "horizontalRuler", VALUEFUNC(_wrap_FXRulerView_horizontalRuler), -1); rb_define_method(SwigClassFXRulerView.klass, "verticalRuler", VALUEFUNC(_wrap_FXRulerView_verticalRuler), -1); rb_define_method(SwigClassFXRulerView.klass, "getDocumentX", VALUEFUNC(_wrap_FXRulerView_getDocumentX), -1); rb_define_method(SwigClassFXRulerView.klass, "getDocumentY", VALUEFUNC(_wrap_FXRulerView_getDocumentY), -1); rb_define_method(SwigClassFXRulerView.klass, "setDocumentWidth", VALUEFUNC(_wrap_FXRulerView_setDocumentWidth), -1); rb_define_method(SwigClassFXRulerView.klass, "getDocumentWidth", VALUEFUNC(_wrap_FXRulerView_getDocumentWidth), -1); rb_define_method(SwigClassFXRulerView.klass, "setDocumentHeight", VALUEFUNC(_wrap_FXRulerView_setDocumentHeight), -1); rb_define_method(SwigClassFXRulerView.klass, "getDocumentHeight", VALUEFUNC(_wrap_FXRulerView_getDocumentHeight), -1); rb_define_method(SwigClassFXRulerView.klass, "setDocumentColor", VALUEFUNC(_wrap_FXRulerView_setDocumentColor), -1); rb_define_method(SwigClassFXRulerView.klass, "getDocumentColor", VALUEFUNC(_wrap_FXRulerView_getDocumentColor), -1); rb_define_method(SwigClassFXRulerView.klass, "setHEdgeSpacing", VALUEFUNC(_wrap_FXRulerView_setHEdgeSpacing), -1); rb_define_method(SwigClassFXRulerView.klass, "setVEdgeSpacing", VALUEFUNC(_wrap_FXRulerView_setVEdgeSpacing), -1); rb_define_method(SwigClassFXRulerView.klass, "getHEdgeSpacing", VALUEFUNC(_wrap_FXRulerView_getHEdgeSpacing), -1); rb_define_method(SwigClassFXRulerView.klass, "getVEdgeSpacing", VALUEFUNC(_wrap_FXRulerView_getVEdgeSpacing), -1); rb_define_method(SwigClassFXRulerView.klass, "setHMarginLower", VALUEFUNC(_wrap_FXRulerView_setHMarginLower), -1); rb_define_method(SwigClassFXRulerView.klass, "setHMarginUpper", VALUEFUNC(_wrap_FXRulerView_setHMarginUpper), -1); rb_define_method(SwigClassFXRulerView.klass, "getHMarginLower", VALUEFUNC(_wrap_FXRulerView_getHMarginLower), -1); rb_define_method(SwigClassFXRulerView.klass, "getHMarginUpper", VALUEFUNC(_wrap_FXRulerView_getHMarginUpper), -1); rb_define_method(SwigClassFXRulerView.klass, "setVMarginLower", VALUEFUNC(_wrap_FXRulerView_setVMarginLower), -1); rb_define_method(SwigClassFXRulerView.klass, "setVMarginUpper", VALUEFUNC(_wrap_FXRulerView_setVMarginUpper), -1); rb_define_method(SwigClassFXRulerView.klass, "getVMarginLower", VALUEFUNC(_wrap_FXRulerView_getVMarginLower), -1); rb_define_method(SwigClassFXRulerView.klass, "getVMarginUpper", VALUEFUNC(_wrap_FXRulerView_getVMarginUpper), -1); rb_define_method(SwigClassFXRulerView.klass, "setHAlignment", VALUEFUNC(_wrap_FXRulerView_setHAlignment), -1); rb_define_method(SwigClassFXRulerView.klass, "getHAlignment", VALUEFUNC(_wrap_FXRulerView_getHAlignment), -1); rb_define_method(SwigClassFXRulerView.klass, "setVAlignment", VALUEFUNC(_wrap_FXRulerView_setVAlignment), -1); rb_define_method(SwigClassFXRulerView.klass, "getVAlignment", VALUEFUNC(_wrap_FXRulerView_getVAlignment), -1); rb_define_method(SwigClassFXRulerView.klass, "setArrowPosX", VALUEFUNC(_wrap_FXRulerView_setArrowPosX), -1); rb_define_method(SwigClassFXRulerView.klass, "setArrowPosY", VALUEFUNC(_wrap_FXRulerView_setArrowPosY), -1); rb_define_method(SwigClassFXRulerView.klass, "getArrowPosX", VALUEFUNC(_wrap_FXRulerView_getArrowPosX), -1); rb_define_method(SwigClassFXRulerView.klass, "getArrowPosY", VALUEFUNC(_wrap_FXRulerView_getArrowPosY), -1); rb_define_method(SwigClassFXRulerView.klass, "setHRulerFont", VALUEFUNC(_wrap_FXRulerView_setHRulerFont), -1); rb_define_method(SwigClassFXRulerView.klass, "getHRulerFont", VALUEFUNC(_wrap_FXRulerView_getHRulerFont), -1); rb_define_method(SwigClassFXRulerView.klass, "setVRulerFont", VALUEFUNC(_wrap_FXRulerView_setVRulerFont), -1); rb_define_method(SwigClassFXRulerView.klass, "getVRulerFont", VALUEFUNC(_wrap_FXRulerView_getVRulerFont), -1); rb_define_method(SwigClassFXRulerView.klass, "setHNumberTicks", VALUEFUNC(_wrap_FXRulerView_setHNumberTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "setVNumberTicks", VALUEFUNC(_wrap_FXRulerView_setVNumberTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "getHNumberTicks", VALUEFUNC(_wrap_FXRulerView_getHNumberTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "getVNumberTicks", VALUEFUNC(_wrap_FXRulerView_getVNumberTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "setHMajorTicks", VALUEFUNC(_wrap_FXRulerView_setHMajorTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "setVMajorTicks", VALUEFUNC(_wrap_FXRulerView_setVMajorTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "getHMajorTicks", VALUEFUNC(_wrap_FXRulerView_getHMajorTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "getVMajorTicks", VALUEFUNC(_wrap_FXRulerView_getVMajorTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "setHMediumTicks", VALUEFUNC(_wrap_FXRulerView_setHMediumTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "setVMediumTicks", VALUEFUNC(_wrap_FXRulerView_setVMediumTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "getHMediumTicks", VALUEFUNC(_wrap_FXRulerView_getHMediumTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "getVMediumTicks", VALUEFUNC(_wrap_FXRulerView_getVMediumTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "setHTinyTicks", VALUEFUNC(_wrap_FXRulerView_setHTinyTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "setVTinyTicks", VALUEFUNC(_wrap_FXRulerView_setVTinyTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "getHTinyTicks", VALUEFUNC(_wrap_FXRulerView_getHTinyTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "getVTinyTicks", VALUEFUNC(_wrap_FXRulerView_getVTinyTicks), -1); rb_define_method(SwigClassFXRulerView.klass, "setHPixelsPerTick", VALUEFUNC(_wrap_FXRulerView_setHPixelsPerTick), -1); rb_define_method(SwigClassFXRulerView.klass, "setVPixelsPerTick", VALUEFUNC(_wrap_FXRulerView_setVPixelsPerTick), -1); rb_define_method(SwigClassFXRulerView.klass, "getHPixelsPerTick", VALUEFUNC(_wrap_FXRulerView_getHPixelsPerTick), -1); rb_define_method(SwigClassFXRulerView.klass, "getVPixelsPerTick", VALUEFUNC(_wrap_FXRulerView_getVPixelsPerTick), -1); rb_define_method(SwigClassFXRulerView.klass, "setHRulerStyle", VALUEFUNC(_wrap_FXRulerView_setHRulerStyle), -1); rb_define_method(SwigClassFXRulerView.klass, "setVRulerStyle", VALUEFUNC(_wrap_FXRulerView_setVRulerStyle), -1); rb_define_method(SwigClassFXRulerView.klass, "getHRulerStyle", VALUEFUNC(_wrap_FXRulerView_getHRulerStyle), -1); rb_define_method(SwigClassFXRulerView.klass, "getVRulerStyle", VALUEFUNC(_wrap_FXRulerView_getVRulerStyle), -1); rb_define_method(SwigClassFXRulerView.klass, "setHelpText", VALUEFUNC(_wrap_FXRulerView_setHelpText), -1); rb_define_method(SwigClassFXRulerView.klass, "getHelpText", VALUEFUNC(_wrap_FXRulerView_getHelpText), -1); rb_define_method(SwigClassFXRulerView.klass, "setTipText", VALUEFUNC(_wrap_FXRulerView_setTipText), -1); rb_define_method(SwigClassFXRulerView.klass, "getTipText", VALUEFUNC(_wrap_FXRulerView_getTipText), -1); rb_define_method(SwigClassFXRulerView.klass, "save", VALUEFUNC(_wrap_FXRulerView_save), -1); rb_define_method(SwigClassFXRulerView.klass, "load", VALUEFUNC(_wrap_FXRulerView_load), -1); rb_define_method(SwigClassFXRulerView.klass, "create", VALUEFUNC(_wrap_FXRulerView_create), -1); rb_define_method(SwigClassFXRulerView.klass, "detach", VALUEFUNC(_wrap_FXRulerView_detach), -1); rb_define_method(SwigClassFXRulerView.klass, "destroy", VALUEFUNC(_wrap_FXRulerView_destroy), -1); rb_define_method(SwigClassFXRulerView.klass, "resize", VALUEFUNC(_wrap_FXRulerView_resize), -1); rb_define_method(SwigClassFXRulerView.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXRulerView_getDefaultWidth), -1); rb_define_method(SwigClassFXRulerView.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXRulerView_getDefaultHeight), -1); rb_define_method(SwigClassFXRulerView.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXRulerView_getWidthForHeight), -1); rb_define_method(SwigClassFXRulerView.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXRulerView_getHeightForWidth), -1); rb_define_method(SwigClassFXRulerView.klass, "canFocus", VALUEFUNC(_wrap_FXRulerView_canFocus), -1); rb_define_method(SwigClassFXRulerView.klass, "setFocus", VALUEFUNC(_wrap_FXRulerView_setFocus), -1); rb_define_method(SwigClassFXRulerView.klass, "killFocus", VALUEFUNC(_wrap_FXRulerView_killFocus), -1); rb_define_method(SwigClassFXRulerView.klass, "changeFocus", VALUEFUNC(_wrap_FXRulerView_changeFocus), -1); rb_define_method(SwigClassFXRulerView.klass, "setDefault", VALUEFUNC(_wrap_FXRulerView_setDefault), -1); rb_define_method(SwigClassFXRulerView.klass, "enable", VALUEFUNC(_wrap_FXRulerView_enable), -1); rb_define_method(SwigClassFXRulerView.klass, "disable", VALUEFUNC(_wrap_FXRulerView_disable), -1); rb_define_method(SwigClassFXRulerView.klass, "raiseWindow", VALUEFUNC(_wrap_FXRulerView_raiseWindow), -1); rb_define_method(SwigClassFXRulerView.klass, "lower", VALUEFUNC(_wrap_FXRulerView_lower), -1); rb_define_method(SwigClassFXRulerView.klass, "move", VALUEFUNC(_wrap_FXRulerView_move), -1); rb_define_method(SwigClassFXRulerView.klass, "layout", VALUEFUNC(_wrap_FXRulerView_layout), -1); rb_define_method(SwigClassFXRulerView.klass, "recalc", VALUEFUNC(_wrap_FXRulerView_recalc), -1); rb_define_method(SwigClassFXRulerView.klass, "reparent", VALUEFUNC(_wrap_FXRulerView_reparent), -1); rb_define_method(SwigClassFXRulerView.klass, "show", VALUEFUNC(_wrap_FXRulerView_show), -1); rb_define_method(SwigClassFXRulerView.klass, "hide", VALUEFUNC(_wrap_FXRulerView_hide), -1); rb_define_method(SwigClassFXRulerView.klass, "isComposite", VALUEFUNC(_wrap_FXRulerView_isComposite), -1); rb_define_method(SwigClassFXRulerView.klass, "contains", VALUEFUNC(_wrap_FXRulerView_contains), -1); rb_define_method(SwigClassFXRulerView.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXRulerView_doesSaveUnder), -1); rb_define_method(SwigClassFXRulerView.klass, "setBackColor", VALUEFUNC(_wrap_FXRulerView_setBackColor), -1); rb_define_method(SwigClassFXRulerView.klass, "tr", VALUEFUNC(_wrap_FXRulerView_tr), -1); rb_define_method(SwigClassFXRulerView.klass, "dropEnable", VALUEFUNC(_wrap_FXRulerView_dropEnable), -1); rb_define_method(SwigClassFXRulerView.klass, "dropDisable", VALUEFUNC(_wrap_FXRulerView_dropDisable), -1); rb_define_method(SwigClassFXRulerView.klass, "setShape", VALUEFUNC(_wrap_FXRulerView_setShape), -1); rb_define_method(SwigClassFXRulerView.klass, "clearShape", VALUEFUNC(_wrap_FXRulerView_clearShape), -1); rb_define_method(SwigClassFXRulerView.klass, "getViewportHeight", VALUEFUNC(_wrap_FXRulerView_getViewportHeight), -1); rb_define_method(SwigClassFXRulerView.klass, "getViewportWidth", VALUEFUNC(_wrap_FXRulerView_getViewportWidth), -1); rb_define_method(SwigClassFXRulerView.klass, "getContentHeight", VALUEFUNC(_wrap_FXRulerView_getContentHeight), -1); rb_define_method(SwigClassFXRulerView.klass, "getContentWidth", VALUEFUNC(_wrap_FXRulerView_getContentWidth), -1); rb_define_method(SwigClassFXRulerView.klass, "position", VALUEFUNC(_wrap_FXRulerView_position), -1); SwigClassFXRulerView.mark = (void (*)(void *)) FXRbRulerView::markfunc; SwigClassFXRulerView.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXRulerView.trackObjects = 0; }