/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 2.0.4
 * 
 * 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. 
 * ----------------------------------------------------------------------------- */

#define SWIGPYTHON
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE


#ifdef __cplusplus
/* SwigValueWrapper is described in swig.swg */
template<typename T> 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<T>& rhs);
  SwigValueWrapper(const SwigValueWrapper<T>& 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 <typename T> 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 (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
#  ifndef GCC_HASCLASSVISIBILITY
#    define GCC_HASCLASSVISIBILITY
#  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



/* Python.h has to appear first */
#include <Python.h>

/* -----------------------------------------------------------------------------
 * 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

/* 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 (<obj is ok>) {			       
          if (<need new object>) {		       
            *ptr = <ptr to new allocated object>; 
            return SWIG_NEWOBJ;		       
          } else {				       
            *ptr = <ptr to old object>;	       
            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
#  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif


#include <string.h>

#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<int>" == "Class<int >", 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 <name1>|<name2>|...
  Return 0 if not equal, 1 if equal
*/
SWIGRUNTIME int
SWIG_TypeEquiv(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
SWIG_TypeCompare(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}


/*
  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) {
      register size_t l = 0;
      register size_t r = iter->size - 1;
      do {
	/* since l+r >= 0, we can (>> 1) instead (/ 2) */
	register size_t i = (l + r) >> 1; 
	const char *iname = iter->types[i]->name;
	if (iname) {
	  register 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 {
      register 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";
  register const unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu =  u + sz;
  for (; u != eu; ++u) {
    register 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) {
  register unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu = u + sz;
  for (; u != eu; ++u) {
    register char d = *(c++);
    register unsigned char uu;
    if ((d >= '0') && (d <= '9'))
      uu = ((d - '0') << 4);
    else if ((d >= 'a') && (d <= 'f'))
      uu = ((d - ('a'-10)) << 4);
    else 
      return (char *) 0;
    d = *(c++);
    if ((d >= '0') && (d <= '9'))
      uu |= (d - '0');
    else if ((d >= 'a') && (d <= 'f'))
      uu |= (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



/* Compatibility macros for Python 3 */
#if PY_VERSION_HEX >= 0x03000000

#define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
#define PyInt_Check(x) PyLong_Check(x)
#define PyInt_AsLong(x) PyLong_AsLong(x)
#define PyInt_FromLong(x) PyLong_FromLong(x)
#define PyString_Check(name) PyBytes_Check(name)
#define PyString_FromString(x) PyUnicode_FromString(x)
#define PyString_Format(fmt, args)  PyUnicode_Format(fmt, args)
#define PyString_AsString(str) PyBytes_AsString(str)
#define PyString_Size(str) PyBytes_Size(str)	
#define PyString_InternFromString(key) PyUnicode_InternFromString(key)
#define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE
#define PyString_AS_STRING(x) PyUnicode_AS_STRING(x)
#define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x)

#endif

#ifndef Py_TYPE
#  define Py_TYPE(op) ((op)->ob_type)
#endif

/* SWIG APIs for compatibility of both Python 2 & 3 */

#if PY_VERSION_HEX >= 0x03000000
#  define SWIG_Python_str_FromFormat PyUnicode_FromFormat
#else
#  define SWIG_Python_str_FromFormat PyString_FromFormat
#endif


/* Warning: This function will allocate a new string in Python 3,
 * so please call SWIG_Python_str_DelForPy3(x) to free the space.
 */
SWIGINTERN char*
SWIG_Python_str_AsChar(PyObject *str)
{
#if PY_VERSION_HEX >= 0x03000000
  char *cstr;
  char *newstr;
  Py_ssize_t len;
  str = PyUnicode_AsUTF8String(str);
  PyBytes_AsStringAndSize(str, &cstr, &len);
  newstr = (char *) malloc(len+1);
  memcpy(newstr, cstr, len+1);
  Py_XDECREF(str);
  return newstr;
#else
  return PyString_AsString(str);
#endif
}

#if PY_VERSION_HEX >= 0x03000000
#  define SWIG_Python_str_DelForPy3(x) free( (void*) (x) )
#else
#  define SWIG_Python_str_DelForPy3(x) 
#endif


SWIGINTERN PyObject*
SWIG_Python_str_FromChar(const char *c)
{
#if PY_VERSION_HEX >= 0x03000000
  return PyUnicode_FromString(c); 
#else
  return PyString_FromString(c);
#endif
}

/* Add PyOS_snprintf for old Pythons */
#if PY_VERSION_HEX < 0x02020000
# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
#  define PyOS_snprintf _snprintf
# else
#  define PyOS_snprintf snprintf
# endif
#endif

/* A crude PyString_FromFormat implementation for old Pythons */
#if PY_VERSION_HEX < 0x02020000

#ifndef SWIG_PYBUFFER_SIZE
# define SWIG_PYBUFFER_SIZE 1024
#endif

static PyObject *
PyString_FromFormat(const char *fmt, ...) {
  va_list ap;
  char buf[SWIG_PYBUFFER_SIZE * 2];
  int res;
  va_start(ap, fmt);
  res = vsnprintf(buf, sizeof(buf), fmt, ap);
  va_end(ap);
  return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
}
#endif

/* Add PyObject_Del for old Pythons */
#if PY_VERSION_HEX < 0x01060000
# define PyObject_Del(op) PyMem_DEL((op))
#endif
#ifndef PyObject_DEL
# define PyObject_DEL PyObject_Del
#endif

/* A crude PyExc_StopIteration exception for old Pythons */
#if PY_VERSION_HEX < 0x02020000
# ifndef PyExc_StopIteration
#  define PyExc_StopIteration PyExc_RuntimeError
# endif
# ifndef PyObject_GenericGetAttr
#  define PyObject_GenericGetAttr 0
# endif
#endif

/* Py_NotImplemented is defined in 2.1 and up. */
#if PY_VERSION_HEX < 0x02010000
# ifndef Py_NotImplemented
#  define Py_NotImplemented PyExc_RuntimeError
# endif
#endif

/* A crude PyString_AsStringAndSize implementation for old Pythons */
#if PY_VERSION_HEX < 0x02010000
# ifndef PyString_AsStringAndSize
#  define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
# endif
#endif

/* PySequence_Size for old Pythons */
#if PY_VERSION_HEX < 0x02000000
# ifndef PySequence_Size
#  define PySequence_Size PySequence_Length
# endif
#endif

/* PyBool_FromLong for old Pythons */
#if PY_VERSION_HEX < 0x02030000
static
PyObject *PyBool_FromLong(long ok)
{
  PyObject *result = ok ? Py_True : Py_False;
  Py_INCREF(result);
  return result;
}
#endif

/* Py_ssize_t for old Pythons */
/* This code is as recommended by: */
/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
typedef int Py_ssize_t;
# define PY_SSIZE_T_MAX INT_MAX
# define PY_SSIZE_T_MIN INT_MIN
typedef inquiry lenfunc;
typedef intargfunc ssizeargfunc;
typedef intintargfunc ssizessizeargfunc;
typedef intobjargproc ssizeobjargproc;
typedef intintobjargproc ssizessizeobjargproc;
typedef getreadbufferproc readbufferproc;
typedef getwritebufferproc writebufferproc;
typedef getsegcountproc segcountproc;
typedef getcharbufferproc charbufferproc;
static long PyNumber_AsSsize_t (PyObject *x, void *SWIGUNUSEDPARM(exc))
{
  long result = 0;
  PyObject *i = PyNumber_Int(x);
  if (i) {
    result = PyInt_AsLong(i);
    Py_DECREF(i);
  }
  return result;
}
#endif

#if PY_VERSION_HEX < 0x02040000
#define Py_VISIT(op)				\
  do { 						\
    if (op) {					\
      int vret = visit((op), arg);		\
      if (vret)					\
        return vret;				\
    }						\
  } while (0)
#endif

#if PY_VERSION_HEX < 0x02030000
typedef struct {
  PyTypeObject type;
  PyNumberMethods as_number;
  PyMappingMethods as_mapping;
  PySequenceMethods as_sequence;
  PyBufferProcs as_buffer;
  PyObject *name, *slots;
} PyHeapTypeObject;
#endif

#if PY_VERSION_HEX < 0x02030000
typedef destructor freefunc;
#endif

#if ((PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION > 6) || \
     (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION > 0) || \
     (PY_MAJOR_VERSION > 3))
# define SWIGPY_USE_CAPSULE
# define SWIGPY_CAPSULE_NAME ((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME)
#endif

#if PY_VERSION_HEX < 0x03020000
#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
#endif

/* -----------------------------------------------------------------------------
 * error manipulation
 * ----------------------------------------------------------------------------- */

SWIGRUNTIME PyObject*
SWIG_Python_ErrorType(int code) {
  PyObject* type = 0;
  switch(code) {
  case SWIG_MemoryError:
    type = PyExc_MemoryError;
    break;
  case SWIG_IOError:
    type = PyExc_IOError;
    break;
  case SWIG_RuntimeError:
    type = PyExc_RuntimeError;
    break;
  case SWIG_IndexError:
    type = PyExc_IndexError;
    break;
  case SWIG_TypeError:
    type = PyExc_TypeError;
    break;
  case SWIG_DivisionByZero:
    type = PyExc_ZeroDivisionError;
    break;
  case SWIG_OverflowError:
    type = PyExc_OverflowError;
    break;
  case SWIG_SyntaxError:
    type = PyExc_SyntaxError;
    break;
  case SWIG_ValueError:
    type = PyExc_ValueError;
    break;
  case SWIG_SystemError:
    type = PyExc_SystemError;
    break;
  case SWIG_AttributeError:
    type = PyExc_AttributeError;
    break;
  default:
    type = PyExc_RuntimeError;
  }
  return type;
}


SWIGRUNTIME void
SWIG_Python_AddErrorMsg(const char* mesg)
{
  PyObject *type = 0;
  PyObject *value = 0;
  PyObject *traceback = 0;

  if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
  if (value) {
    char *tmp;
    PyObject *old_str = PyObject_Str(value);
    PyErr_Clear();
    Py_XINCREF(type);

    PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
    SWIG_Python_str_DelForPy3(tmp);
    Py_DECREF(old_str);
    Py_DECREF(value);
  } else {
    PyErr_SetString(PyExc_RuntimeError, mesg);
  }
}

#if defined(SWIG_PYTHON_NO_THREADS)
#  if defined(SWIG_PYTHON_THREADS)
#    undef SWIG_PYTHON_THREADS
#  endif
#endif
#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
#  if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
#    if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
#      define SWIG_PYTHON_USE_GIL
#    endif
#  endif
#  if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
#    ifndef SWIG_PYTHON_INITIALIZE_THREADS
#     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads() 
#    endif
#    ifdef __cplusplus /* C++ code */
       class SWIG_Python_Thread_Block {
         bool status;
         PyGILState_STATE state;
       public:
         void end() { if (status) { PyGILState_Release(state); status = false;} }
         SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
         ~SWIG_Python_Thread_Block() { end(); }
       };
       class SWIG_Python_Thread_Allow {
         bool status;
         PyThreadState *save;
       public:
         void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
         SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
         ~SWIG_Python_Thread_Allow() { end(); }
       };
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block
#      define SWIG_PYTHON_THREAD_END_BLOCK     _swig_thread_block.end()
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   SWIG_Python_Thread_Allow _swig_thread_allow
#      define SWIG_PYTHON_THREAD_END_ALLOW     _swig_thread_allow.end()
#    else /* C code */
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
#      define SWIG_PYTHON_THREAD_END_BLOCK     PyGILState_Release(_swig_thread_block)
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   PyThreadState *_swig_thread_allow = PyEval_SaveThread()
#      define SWIG_PYTHON_THREAD_END_ALLOW     PyEval_RestoreThread(_swig_thread_allow)
#    endif
#  else /* Old thread way, not implemented, user must provide it */
#    if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
#      define SWIG_PYTHON_INITIALIZE_THREADS
#    endif
#    if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK
#    endif
#    if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
#      define SWIG_PYTHON_THREAD_END_BLOCK
#    endif
#    if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW
#    endif
#    if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
#      define SWIG_PYTHON_THREAD_END_ALLOW
#    endif
#  endif
#else /* No thread support */
#  define SWIG_PYTHON_INITIALIZE_THREADS
#  define SWIG_PYTHON_THREAD_BEGIN_BLOCK
#  define SWIG_PYTHON_THREAD_END_BLOCK
#  define SWIG_PYTHON_THREAD_BEGIN_ALLOW
#  define SWIG_PYTHON_THREAD_END_ALLOW
#endif

/* -----------------------------------------------------------------------------
 * Python API portion that goes into the runtime
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#endif

/* -----------------------------------------------------------------------------
 * Constant declarations
 * ----------------------------------------------------------------------------- */

/* Constant Types */
#define SWIG_PY_POINTER 4
#define SWIG_PY_BINARY  5

/* Constant information structure */
typedef struct swig_const_info {
  int type;
  char *name;
  long lvalue;
  double dvalue;
  void   *pvalue;
  swig_type_info **ptype;
} swig_const_info;


/* -----------------------------------------------------------------------------
 * Wrapper of PyInstanceMethod_New() used in Python 3
 * It is exported to the generated module, used for -fastproxy
 * ----------------------------------------------------------------------------- */
#if PY_VERSION_HEX >= 0x03000000
SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func)
{
  return PyInstanceMethod_New(func);
}
#else
SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *SWIGUNUSEDPARM(func))
{
  return NULL;
}
#endif

#ifdef __cplusplus
}
#endif


/* -----------------------------------------------------------------------------
 * pyrun.swg
 *
 * This file contains the runtime support for Python modules
 * and includes code for managing global variables and pointer
 * type checking.
 *
 * ----------------------------------------------------------------------------- */

/* Common SWIG API */

/* for raw pointers */
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
#define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Python_ConvertPtr(obj, pptr, type, flags)
#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)

#ifdef SWIGPYTHON_BUILTIN
#define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(self, ptr, type, flags)
#else
#define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
#endif

#define SWIG_InternalNewPointerObj(ptr, type, flags)	SWIG_Python_NewPointerObj(NULL, ptr, type, flags)

#define SWIG_CheckImplicit(ty)                          SWIG_Python_CheckImplicit(ty) 
#define SWIG_AcquirePtr(ptr, src)                       SWIG_Python_AcquirePtr(ptr, src)
#define swig_owntype                                    int

/* for raw packed data */
#define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
#define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Python_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_Python_ConvertFunctionPtr(obj, pptr, type)
#define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_Python_NewPointerObj(NULL, ptr, type, 0)

/* for C++ member pointers, ie, member methods */
#define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
#define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type)


/* Runtime API */

#define SWIG_GetModule(clientdata)                      SWIG_Python_GetModule()
#define SWIG_SetModule(clientdata, pointer)             SWIG_Python_SetModule(pointer)
#define SWIG_NewClientData(obj)                         SwigPyClientData_New(obj)

#define SWIG_SetErrorObj                                SWIG_Python_SetErrorObj                            
#define SWIG_SetErrorMsg                        	SWIG_Python_SetErrorMsg				   
#define SWIG_ErrorType(code)                    	SWIG_Python_ErrorType(code)                        
#define SWIG_Error(code, msg)            		SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) 
#define SWIG_fail                        		goto fail					   


/* Runtime API implementation */

/* Error manipulation */

SWIGINTERN void 
SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
  SWIG_PYTHON_THREAD_BEGIN_BLOCK; 
  PyErr_SetObject(errtype, obj);
  Py_DECREF(obj);
  SWIG_PYTHON_THREAD_END_BLOCK;
}

SWIGINTERN void 
SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
  PyErr_SetString(errtype, (char *) msg);
  SWIG_PYTHON_THREAD_END_BLOCK;
}

#define SWIG_Python_Raise(obj, type, desc)  SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)

/* Set a constant value */

#if defined(SWIGPYTHON_BUILTIN)

SWIGINTERN void
SwigPyBuiltin_AddPublicSymbol(PyObject *seq, const char *key) {
  PyObject *s = PyString_InternFromString(key);
  PyList_Append(seq, s);
  Py_DECREF(s);
}

SWIGINTERN void
SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) {   
  PyDict_SetItemString(d, (char *)name, obj);
  Py_DECREF(obj);
  if (public_interface)
    SwigPyBuiltin_AddPublicSymbol(public_interface, name);
}

#else

SWIGINTERN void
SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {   
  PyDict_SetItemString(d, (char *)name, obj);
  Py_DECREF(obj);                            
}

#endif

/* Append a value to the result obj */

SWIGINTERN PyObject*
SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
  if (!result) {
    result = obj;
  } else if (result == Py_None) {
    Py_DECREF(result);
    result = obj;
  } else {
    if (!PyList_Check(result)) {
      PyObject *o2 = result;
      result = PyList_New(1);
      PyList_SetItem(result, 0, o2);
    }
    PyList_Append(result,obj);
    Py_DECREF(obj);
  }
  return result;
#else
  PyObject*   o2;
  PyObject*   o3;
  if (!result) {
    result = obj;
  } else if (result == Py_None) {
    Py_DECREF(result);
    result = obj;
  } else {
    if (!PyTuple_Check(result)) {
      o2 = result;
      result = PyTuple_New(1);
      PyTuple_SET_ITEM(result, 0, o2);
    }
    o3 = PyTuple_New(1);
    PyTuple_SET_ITEM(o3, 0, obj);
    o2 = result;
    result = PySequence_Concat(o2, o3);
    Py_DECREF(o2);
    Py_DECREF(o3);
  }
  return result;
#endif
}

/* Unpack the argument tuple */

SWIGINTERN int
SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
{
  if (!args) {
    if (!min && !max) {
      return 1;
    } else {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", 
		   name, (min == max ? "" : "at least "), (int)min);
      return 0;
    }
  }  
  if (!PyTuple_Check(args)) {
    if (min <= 1 && max >= 1) {
      register int i;
      objs[0] = args;
      for (i = 1; i < max; ++i) {
	objs[i] = 0;
      }
      return 2;
    }
    PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
    return 0;
  } else {
    register Py_ssize_t l = PyTuple_GET_SIZE(args);
    if (l < min) {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
		   name, (min == max ? "" : "at least "), (int)min, (int)l);
      return 0;
    } else if (l > max) {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
		   name, (min == max ? "" : "at most "), (int)max, (int)l);
      return 0;
    } else {
      register int i;
      for (i = 0; i < l; ++i) {
	objs[i] = PyTuple_GET_ITEM(args, i);
      }
      for (; l < max; ++l) {
	objs[l] = 0;
      }
      return i + 1;
    }    
  }
}

/* A functor is a function object with one single object argument */
#if PY_VERSION_HEX >= 0x02020000
#define SWIG_Python_CallFunctor(functor, obj)	        PyObject_CallFunctionObjArgs(functor, obj, NULL);
#else
#define SWIG_Python_CallFunctor(functor, obj)	        PyObject_CallFunction(functor, "O", obj);
#endif

/*
  Helper for static pointer initialization for both C and C++ code, for example
  static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
*/
#ifdef __cplusplus
#define SWIG_STATIC_POINTER(var)  var
#else
#define SWIG_STATIC_POINTER(var)  var = 0; if (!var) var
#endif

/* -----------------------------------------------------------------------------
 * Pointer declarations
 * ----------------------------------------------------------------------------- */

/* Flags for new pointer objects */
#define SWIG_POINTER_NOSHADOW       (SWIG_POINTER_OWN      << 1)
#define SWIG_POINTER_NEW            (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)

#define SWIG_POINTER_IMPLICIT_CONV  (SWIG_POINTER_DISOWN   << 1)

#define SWIG_BUILTIN_TP_INIT	    (SWIG_POINTER_OWN << 2)
#define SWIG_BUILTIN_INIT	    (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)

#ifdef __cplusplus
extern "C" {
#endif

/*  How to access Py_None */
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#  ifndef SWIG_PYTHON_NO_BUILD_NONE
#    ifndef SWIG_PYTHON_BUILD_NONE
#      define SWIG_PYTHON_BUILD_NONE
#    endif
#  endif
#endif

#ifdef SWIG_PYTHON_BUILD_NONE
#  ifdef Py_None
#   undef Py_None
#   define Py_None SWIG_Py_None()
#  endif
SWIGRUNTIMEINLINE PyObject * 
_SWIG_Py_None(void)
{
  PyObject *none = Py_BuildValue((char*)"");
  Py_DECREF(none);
  return none;
}
SWIGRUNTIME PyObject * 
SWIG_Py_None(void)
{
  static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
  return none;
}
#endif

/* The python void return value */

SWIGRUNTIMEINLINE PyObject * 
SWIG_Py_Void(void)
{
  PyObject *none = Py_None;
  Py_INCREF(none);
  return none;
}

/* SwigPyClientData */

typedef struct {
  PyObject *klass;
  PyObject *newraw;
  PyObject *newargs;
  PyObject *destroy;
  int delargs;
  int implicitconv;
  PyTypeObject *pytype;
} SwigPyClientData;

SWIGRUNTIMEINLINE int 
SWIG_Python_CheckImplicit(swig_type_info *ty)
{
  SwigPyClientData *data = (SwigPyClientData *)ty->clientdata;
  return data ? data->implicitconv : 0;
}

SWIGRUNTIMEINLINE PyObject *
SWIG_Python_ExceptionType(swig_type_info *desc) {
  SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0;
  PyObject *klass = data ? data->klass : 0;
  return (klass ? klass : PyExc_RuntimeError);
}


SWIGRUNTIME SwigPyClientData * 
SwigPyClientData_New(PyObject* obj)
{
  if (!obj) {
    return 0;
  } else {
    SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
    /* the klass element */
    data->klass = obj;
    Py_INCREF(data->klass);
    /* the newraw method and newargs arguments used to create a new raw instance */
    if (PyClass_Check(obj)) {
      data->newraw = 0;
      data->newargs = obj;
      Py_INCREF(obj);
    } else {
#if (PY_VERSION_HEX < 0x02020000)
      data->newraw = 0;
#else
      data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
#endif
      if (data->newraw) {
	Py_INCREF(data->newraw);
	data->newargs = PyTuple_New(1);
	PyTuple_SetItem(data->newargs, 0, obj);
      } else {
	data->newargs = obj;
      }
      Py_INCREF(data->newargs);
    }
    /* the destroy method, aka as the C++ delete method */
    data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
    if (PyErr_Occurred()) {
      PyErr_Clear();
      data->destroy = 0;
    }
    if (data->destroy) {
      int flags;
      Py_INCREF(data->destroy);
      flags = PyCFunction_GET_FLAGS(data->destroy);
#ifdef METH_O
      data->delargs = !(flags & (METH_O));
#else
      data->delargs = 0;
#endif
    } else {
      data->delargs = 0;
    }
    data->implicitconv = 0;
    data->pytype = 0;
    return data;
  }
}

SWIGRUNTIME void 
SwigPyClientData_Del(SwigPyClientData *data) {
  Py_XDECREF(data->newraw);
  Py_XDECREF(data->newargs);
  Py_XDECREF(data->destroy);
}

/* =============== SwigPyObject =====================*/

typedef struct {
  PyObject_HEAD
  void *ptr;
  swig_type_info *ty;
  int own;
  PyObject *next;
#ifdef SWIGPYTHON_BUILTIN
  PyObject *dict;
#endif
} SwigPyObject;

SWIGRUNTIME PyObject *
SwigPyObject_long(SwigPyObject *v)
{
  return PyLong_FromVoidPtr(v->ptr);
}

SWIGRUNTIME PyObject *
SwigPyObject_format(const char* fmt, SwigPyObject *v)
{
  PyObject *res = NULL;
  PyObject *args = PyTuple_New(1);
  if (args) {
    if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) {
      PyObject *ofmt = SWIG_Python_str_FromChar(fmt);
      if (ofmt) {
#if PY_VERSION_HEX >= 0x03000000
	res = PyUnicode_Format(ofmt,args);
#else
	res = PyString_Format(ofmt,args);
#endif
	Py_DECREF(ofmt);
      }
      Py_DECREF(args);
    }
  }
  return res;
}

SWIGRUNTIME PyObject *
SwigPyObject_oct(SwigPyObject *v)
{
  return SwigPyObject_format("%o",v);
}

SWIGRUNTIME PyObject *
SwigPyObject_hex(SwigPyObject *v)
{
  return SwigPyObject_format("%x",v);
}

SWIGRUNTIME PyObject *
#ifdef METH_NOARGS
SwigPyObject_repr(SwigPyObject *v)
#else
SwigPyObject_repr(SwigPyObject *v, PyObject *args)
#endif
{
  const char *name = SWIG_TypePrettyName(v->ty);
  PyObject *repr = SWIG_Python_str_FromFormat("<Swig Object of type '%s' at %p>", name, (void *)v);
  if (v->next) {
# ifdef METH_NOARGS
    PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
# else
    PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next, args);
# endif
# if PY_VERSION_HEX >= 0x03000000
    PyObject *joined = PyUnicode_Concat(repr, nrep);
    Py_DecRef(repr);
    Py_DecRef(nrep);
    repr = joined;
# else
    PyString_ConcatAndDel(&repr,nrep);
# endif
  }
  return repr;  
}

SWIGRUNTIME int
SwigPyObject_print(SwigPyObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
{
  char *str;
#ifdef METH_NOARGS
  PyObject *repr = SwigPyObject_repr(v);
#else
  PyObject *repr = SwigPyObject_repr(v, NULL);
#endif
  if (repr) {
    str = SWIG_Python_str_AsChar(repr); 
    fputs(str, fp);
    SWIG_Python_str_DelForPy3(str);
    Py_DECREF(repr);
    return 0; 
  } else {
    return 1; 
  }
}

SWIGRUNTIME PyObject *
SwigPyObject_str(SwigPyObject *v)
{
  char result[SWIG_BUFFER_SIZE];
  return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
    SWIG_Python_str_FromChar(result) : 0;
}

SWIGRUNTIME int
SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
{
  void *i = v->ptr;
  void *j = w->ptr;
  return (i < j) ? -1 : ((i > j) ? 1 : 0);
}

/* Added for Python 3.x, would it also be useful for Python 2.x? */
SWIGRUNTIME PyObject*
SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op)
{
  PyObject* res;
  if( op != Py_EQ && op != Py_NE ) {
    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
  }
  res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0);
  return res;  
}


SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(void);

#ifdef SWIGPYTHON_BUILTIN
static swig_type_info *SwigPyObject_stype = 0;
SWIGRUNTIME PyTypeObject*
SwigPyObject_type(void) {
    SwigPyClientData *cd;
    assert(SwigPyObject_stype);
    cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
    assert(cd);
    assert(cd->pytype);
    return cd->pytype;
}
#else
SWIGRUNTIME PyTypeObject*
SwigPyObject_type(void) {
  static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyObject_TypeOnce();
  return type;
}
#endif

SWIGRUNTIMEINLINE int
SwigPyObject_Check(PyObject *op) {
#ifdef SWIGPYTHON_BUILTIN
  PyTypeObject *target_tp = SwigPyObject_type();
  if (PyType_IsSubtype(op->ob_type, target_tp))
    return 1;
  return (strcmp(op->ob_type->tp_name, "SwigPyObject") == 0);
#else
  return (Py_TYPE(op) == SwigPyObject_type())
    || (strcmp(Py_TYPE(op)->tp_name,"SwigPyObject") == 0);
#endif
}

SWIGRUNTIME PyObject *
SwigPyObject_New(void *ptr, swig_type_info *ty, int own);

SWIGRUNTIME void
SwigPyObject_dealloc(PyObject *v)
{
  SwigPyObject *sobj = (SwigPyObject *) v;
  PyObject *next = sobj->next;
  if (sobj->own == SWIG_POINTER_OWN) {
    swig_type_info *ty = sobj->ty;
    SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
    PyObject *destroy = data ? data->destroy : 0;
    if (destroy) {
      /* destroy is always a VARARGS method */
      PyObject *res;
      if (data->delargs) {
	/* we need to create a temporary object to carry the destroy operation */
	PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
	res = SWIG_Python_CallFunctor(destroy, tmp);
	Py_DECREF(tmp);
      } else {
	PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
	PyObject *mself = PyCFunction_GET_SELF(destroy);
	res = ((*meth)(mself, v));
      }
      Py_XDECREF(res);
    } 
#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
    else {
      const char *name = SWIG_TypePrettyName(ty);
      printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
    }
#endif
  } 
  Py_XDECREF(next);
  PyObject_DEL(v);
}

SWIGRUNTIME PyObject* 
SwigPyObject_append(PyObject* v, PyObject* next)
{
  SwigPyObject *sobj = (SwigPyObject *) v;
#ifndef METH_O
  PyObject *tmp = 0;
  if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
  next = tmp;
#endif
  if (!SwigPyObject_Check(next)) {
    return NULL;
  }
  sobj->next = next;
  Py_INCREF(next);
  return SWIG_Py_Void();
}

SWIGRUNTIME PyObject* 
#ifdef METH_NOARGS
SwigPyObject_next(PyObject* v)
#else
SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
  SwigPyObject *sobj = (SwigPyObject *) v;
  if (sobj->next) {    
    Py_INCREF(sobj->next);
    return sobj->next;
  } else {
    return SWIG_Py_Void();
  }
}

SWIGINTERN PyObject*
#ifdef METH_NOARGS
SwigPyObject_disown(PyObject *v)
#else
SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
  SwigPyObject *sobj = (SwigPyObject *)v;
  sobj->own = 0;
  return SWIG_Py_Void();
}

SWIGINTERN PyObject*
#ifdef METH_NOARGS
SwigPyObject_acquire(PyObject *v)
#else
SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
  SwigPyObject *sobj = (SwigPyObject *)v;
  sobj->own = SWIG_POINTER_OWN;
  return SWIG_Py_Void();
}

SWIGINTERN PyObject*
SwigPyObject_own(PyObject *v, PyObject *args)
{
  PyObject *val = 0;
#if (PY_VERSION_HEX < 0x02020000)
  if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
#else
  if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) 
#endif
    {
      return NULL;
    } 
  else
    {
      SwigPyObject *sobj = (SwigPyObject *)v;
      PyObject *obj = PyBool_FromLong(sobj->own);
      if (val) {
#ifdef METH_NOARGS
	if (PyObject_IsTrue(val)) {
	  SwigPyObject_acquire(v);
	} else {
	  SwigPyObject_disown(v);
	}
#else
	if (PyObject_IsTrue(val)) {
	  SwigPyObject_acquire(v,args);
	} else {
	  SwigPyObject_disown(v,args);
	}
#endif
      } 
      return obj;
    }
}

#ifdef METH_O
static PyMethodDef
swigobject_methods[] = {
  {(char *)"disown",  (PyCFunction)SwigPyObject_disown,  METH_NOARGS,  (char *)"releases ownership of the pointer"},
  {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS,  (char *)"aquires ownership of the pointer"},
  {(char *)"own",     (PyCFunction)SwigPyObject_own,     METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
  {(char *)"append",  (PyCFunction)SwigPyObject_append,  METH_O,       (char *)"appends another 'this' object"},
  {(char *)"next",    (PyCFunction)SwigPyObject_next,    METH_NOARGS,  (char *)"returns the next 'this' object"},
  {(char *)"__repr__",(PyCFunction)SwigPyObject_repr,    METH_NOARGS,  (char *)"returns object representation"},
  {0, 0, 0, 0}  
};
#else
static PyMethodDef
swigobject_methods[] = {
  {(char *)"disown",  (PyCFunction)SwigPyObject_disown,  METH_VARARGS,  (char *)"releases ownership of the pointer"},
  {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_VARARGS,  (char *)"aquires ownership of the pointer"},
  {(char *)"own",     (PyCFunction)SwigPyObject_own,     METH_VARARGS,  (char *)"returns/sets ownership of the pointer"},
  {(char *)"append",  (PyCFunction)SwigPyObject_append,  METH_VARARGS,  (char *)"appends another 'this' object"},
  {(char *)"next",    (PyCFunction)SwigPyObject_next,    METH_VARARGS,  (char *)"returns the next 'this' object"},
  {(char *)"__repr__",(PyCFunction)SwigPyObject_repr,   METH_VARARGS,  (char *)"returns object representation"},
  {0, 0, 0, 0}  
};
#endif

#if PY_VERSION_HEX < 0x02020000
SWIGINTERN PyObject *
SwigPyObject_getattr(SwigPyObject *sobj,char *name)
{
  return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
}
#endif

SWIGRUNTIME PyTypeObject*
SwigPyObject_TypeOnce(void) {
  static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";

  static PyNumberMethods SwigPyObject_as_number = {
    (binaryfunc)0, /*nb_add*/
    (binaryfunc)0, /*nb_subtract*/
    (binaryfunc)0, /*nb_multiply*/
    /* nb_divide removed in Python 3 */
#if PY_VERSION_HEX < 0x03000000
    (binaryfunc)0, /*nb_divide*/
#endif
    (binaryfunc)0, /*nb_remainder*/
    (binaryfunc)0, /*nb_divmod*/
    (ternaryfunc)0,/*nb_power*/
    (unaryfunc)0,  /*nb_negative*/
    (unaryfunc)0,  /*nb_positive*/
    (unaryfunc)0,  /*nb_absolute*/
    (inquiry)0,    /*nb_nonzero*/
    0,		   /*nb_invert*/
    0,		   /*nb_lshift*/
    0,		   /*nb_rshift*/
    0,		   /*nb_and*/
    0,		   /*nb_xor*/
    0,		   /*nb_or*/
#if PY_VERSION_HEX < 0x03000000
    0,   /*nb_coerce*/
#endif
    (unaryfunc)SwigPyObject_long, /*nb_int*/
#if PY_VERSION_HEX < 0x03000000
    (unaryfunc)SwigPyObject_long, /*nb_long*/
#else
    0, /*nb_reserved*/
#endif
    (unaryfunc)0,                 /*nb_float*/
#if PY_VERSION_HEX < 0x03000000
    (unaryfunc)SwigPyObject_oct,  /*nb_oct*/
    (unaryfunc)SwigPyObject_hex,  /*nb_hex*/
#endif
#if PY_VERSION_HEX >= 0x03000000 /* 3.0 */
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */
#elif PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
#elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
#elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */
    0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
#endif
  };

  static PyTypeObject swigpyobject_type;
  static int type_init = 0;
  if (!type_init) {
    const PyTypeObject tmp = {
      /* PyObject header changed in Python 3 */
#if PY_VERSION_HEX >= 0x03000000
      PyVarObject_HEAD_INIT(NULL, 0)
#else
      PyObject_HEAD_INIT(NULL)
      0,                                    /* ob_size */
#endif
      (char *)"SwigPyObject",               /* tp_name */
      sizeof(SwigPyObject),                 /* tp_basicsize */
      0,                                    /* tp_itemsize */
      (destructor)SwigPyObject_dealloc,     /* tp_dealloc */
      (printfunc)SwigPyObject_print,        /* tp_print */
#if PY_VERSION_HEX < 0x02020000
      (getattrfunc)SwigPyObject_getattr,    /* tp_getattr */
#else
      (getattrfunc)0,                       /* tp_getattr */
#endif
      (setattrfunc)0,                       /* tp_setattr */
#if PY_VERSION_HEX >= 0x03000000
    0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
#else
      (cmpfunc)SwigPyObject_compare,        /* tp_compare */
#endif
      (reprfunc)SwigPyObject_repr,          /* tp_repr */
      &SwigPyObject_as_number,              /* tp_as_number */
      0,                                    /* tp_as_sequence */
      0,                                    /* tp_as_mapping */
      (hashfunc)0,                          /* tp_hash */
      (ternaryfunc)0,                       /* tp_call */
      (reprfunc)SwigPyObject_str,           /* tp_str */
      PyObject_GenericGetAttr,              /* tp_getattro */
      0,                                    /* tp_setattro */
      0,                                    /* tp_as_buffer */
      Py_TPFLAGS_DEFAULT,                   /* tp_flags */
      swigobject_doc,                       /* tp_doc */
      0,                                    /* tp_traverse */
      0,                                    /* tp_clear */
      (richcmpfunc)SwigPyObject_richcompare,/* tp_richcompare */
      0,                                    /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
      0,                                    /* tp_iter */
      0,                                    /* tp_iternext */
      swigobject_methods,                   /* tp_methods */
      0,                                    /* tp_members */
      0,                                    /* tp_getset */
      0,                                    /* tp_base */
      0,                                    /* tp_dict */
      0,                                    /* tp_descr_get */
      0,                                    /* tp_descr_set */
      0,                                    /* tp_dictoffset */
      0,                                    /* tp_init */
      0,                                    /* tp_alloc */
      0,                                    /* tp_new */
      0,                                    /* tp_free */
      0,                                    /* tp_is_gc */
      0,                                    /* tp_bases */
      0,                                    /* tp_mro */
      0,                                    /* tp_cache */
      0,                                    /* tp_subclasses */
      0,                                    /* tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
      0,                                    /* tp_del */
#endif
#if PY_VERSION_HEX >= 0x02060000
      0,                                    /* tp_version */
#endif
#ifdef COUNT_ALLOCS
      0,0,0,0                               /* tp_alloc -> tp_next */
#endif
    };
    swigpyobject_type = tmp;
    type_init = 1;
#if PY_VERSION_HEX < 0x02020000
    swigpyobject_type.ob_type = &PyType_Type;
#else
    if (PyType_Ready(&swigpyobject_type) < 0)
      return NULL;
#endif
  }
  return &swigpyobject_type;
}

SWIGRUNTIME PyObject *
SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
{
  SwigPyObject *sobj = PyObject_NEW(SwigPyObject, SwigPyObject_type());
  if (sobj) {
    sobj->ptr  = ptr;
    sobj->ty   = ty;
    sobj->own  = own;
    sobj->next = 0;
  }
  return (PyObject *)sobj;
}

/* -----------------------------------------------------------------------------
 * Implements a simple Swig Packed type, and use it instead of string
 * ----------------------------------------------------------------------------- */

typedef struct {
  PyObject_HEAD
  void *pack;
  swig_type_info *ty;
  size_t size;
} SwigPyPacked;

SWIGRUNTIME int
SwigPyPacked_print(SwigPyPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
{
  char result[SWIG_BUFFER_SIZE];
  fputs("<Swig Packed ", fp); 
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    fputs("at ", fp); 
    fputs(result, fp); 
  }
  fputs(v->ty->name,fp); 
  fputs(">", fp);
  return 0; 
}
  
SWIGRUNTIME PyObject *
SwigPyPacked_repr(SwigPyPacked *v)
{
  char result[SWIG_BUFFER_SIZE];
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    return SWIG_Python_str_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
  } else {
    return SWIG_Python_str_FromFormat("<Swig Packed %s>", v->ty->name);
  }  
}

SWIGRUNTIME PyObject *
SwigPyPacked_str(SwigPyPacked *v)
{
  char result[SWIG_BUFFER_SIZE];
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
    return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name);
  } else {
    return SWIG_Python_str_FromChar(v->ty->name);
  }  
}

SWIGRUNTIME int
SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
{
  size_t i = v->size;
  size_t j = w->size;
  int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
  return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
}

SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(void);

SWIGRUNTIME PyTypeObject*
SwigPyPacked_type(void) {
  static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyPacked_TypeOnce();
  return type;
}

SWIGRUNTIMEINLINE int
SwigPyPacked_Check(PyObject *op) {
  return ((op)->ob_type == SwigPyPacked_TypeOnce()) 
    || (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0);
}

SWIGRUNTIME void
SwigPyPacked_dealloc(PyObject *v)
{
  if (SwigPyPacked_Check(v)) {
    SwigPyPacked *sobj = (SwigPyPacked *) v;
    free(sobj->pack);
  }
  PyObject_DEL(v);
}

SWIGRUNTIME PyTypeObject*
SwigPyPacked_TypeOnce(void) {
  static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
  static PyTypeObject swigpypacked_type;
  static int type_init = 0;
  if (!type_init) {
    const PyTypeObject tmp = {
      /* PyObject header changed in Python 3 */
#if PY_VERSION_HEX>=0x03000000
      PyVarObject_HEAD_INIT(NULL, 0)
#else
      PyObject_HEAD_INIT(NULL)
      0,                                    /* ob_size */
#endif
      (char *)"SwigPyPacked",               /* tp_name */
      sizeof(SwigPyPacked),                 /* tp_basicsize */
      0,                                    /* tp_itemsize */
      (destructor)SwigPyPacked_dealloc,     /* tp_dealloc */
      (printfunc)SwigPyPacked_print,        /* tp_print */
      (getattrfunc)0,                       /* tp_getattr */
      (setattrfunc)0,                       /* tp_setattr */
#if PY_VERSION_HEX>=0x03000000
      0, /* tp_reserved in 3.0.1 */
#else
      (cmpfunc)SwigPyPacked_compare,        /* tp_compare */
#endif
      (reprfunc)SwigPyPacked_repr,          /* tp_repr */
      0,                                    /* tp_as_number */
      0,                                    /* tp_as_sequence */
      0,                                    /* tp_as_mapping */
      (hashfunc)0,                          /* tp_hash */
      (ternaryfunc)0,                       /* tp_call */
      (reprfunc)SwigPyPacked_str,           /* tp_str */
      PyObject_GenericGetAttr,              /* tp_getattro */
      0,                                    /* tp_setattro */
      0,                                    /* tp_as_buffer */
      Py_TPFLAGS_DEFAULT,                   /* tp_flags */
      swigpacked_doc,                       /* tp_doc */
      0,                                    /* tp_traverse */
      0,                                    /* tp_clear */
      0,                                    /* tp_richcompare */
      0,                                    /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
      0,                                    /* tp_iter */
      0,                                    /* tp_iternext */
      0,                                    /* tp_methods */
      0,                                    /* tp_members */
      0,                                    /* tp_getset */
      0,                                    /* tp_base */
      0,                                    /* tp_dict */
      0,                                    /* tp_descr_get */
      0,                                    /* tp_descr_set */
      0,                                    /* tp_dictoffset */
      0,                                    /* tp_init */
      0,                                    /* tp_alloc */
      0,                                    /* tp_new */
      0,                                    /* tp_free */
      0,                                    /* tp_is_gc */
      0,                                    /* tp_bases */
      0,                                    /* tp_mro */
      0,                                    /* tp_cache */
      0,                                    /* tp_subclasses */
      0,                                    /* tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
      0,                                    /* tp_del */
#endif
#if PY_VERSION_HEX >= 0x02060000
      0,                                    /* tp_version */
#endif
#ifdef COUNT_ALLOCS
      0,0,0,0                               /* tp_alloc -> tp_next */
#endif
    };
    swigpypacked_type = tmp;
    type_init = 1;
#if PY_VERSION_HEX < 0x02020000
    swigpypacked_type.ob_type = &PyType_Type;
#else
    if (PyType_Ready(&swigpypacked_type) < 0)
      return NULL;
#endif
  }
  return &swigpypacked_type;
}

SWIGRUNTIME PyObject *
SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
{
  SwigPyPacked *sobj = PyObject_NEW(SwigPyPacked, SwigPyPacked_type());
  if (sobj) {
    void *pack = malloc(size);
    if (pack) {
      memcpy(pack, ptr, size);
      sobj->pack = pack;
      sobj->ty   = ty;
      sobj->size = size;
    } else {
      PyObject_DEL((PyObject *) sobj);
      sobj = 0;
    }
  }
  return (PyObject *) sobj;
}

SWIGRUNTIME swig_type_info *
SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
{
  if (SwigPyPacked_Check(obj)) {
    SwigPyPacked *sobj = (SwigPyPacked *)obj;
    if (sobj->size != size) return 0;
    memcpy(ptr, sobj->pack, size);
    return sobj->ty;
  } else {
    return 0;
  }
}

/* -----------------------------------------------------------------------------
 * pointers/data manipulation
 * ----------------------------------------------------------------------------- */

SWIGRUNTIMEINLINE PyObject *
_SWIG_This(void)
{
    return SWIG_Python_str_FromChar("this");
}

static PyObject *swig_this = NULL;

SWIGRUNTIME PyObject *
SWIG_This(void)
{
  if (swig_this == NULL)
    swig_this = _SWIG_This();
  return swig_this;
}

/* #define SWIG_PYTHON_SLOW_GETSET_THIS */

/* TODO: I don't know how to implement the fast getset in Python 3 right now */
#if PY_VERSION_HEX>=0x03000000
#define SWIG_PYTHON_SLOW_GETSET_THIS 
#endif

SWIGRUNTIME SwigPyObject *
SWIG_Python_GetSwigThis(PyObject *pyobj) 
{
  PyObject *obj;

  if (SwigPyObject_Check(pyobj))
    return (SwigPyObject *) pyobj;

#ifdef SWIGPYTHON_BUILTIN
  (void)obj;
# ifdef PyWeakref_CheckProxy
  if (PyWeakref_CheckProxy(pyobj)) {
    pyobj = PyWeakref_GET_OBJECT(pyobj);
    if (pyobj && SwigPyObject_Check(pyobj))
      return (SwigPyObject*) pyobj;
  }
# endif
  return NULL;
#else

  obj = 0;

#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
  if (PyInstance_Check(pyobj)) {
    obj = _PyInstance_Lookup(pyobj, SWIG_This());      
  } else {
    PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
    if (dictptr != NULL) {
      PyObject *dict = *dictptr;
      obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
    } else {
#ifdef PyWeakref_CheckProxy
      if (PyWeakref_CheckProxy(pyobj)) {
	PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
	return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
      }
#endif
      obj = PyObject_GetAttr(pyobj,SWIG_This());
      if (obj) {
	Py_DECREF(obj);
      } else {
	if (PyErr_Occurred()) PyErr_Clear();
	return 0;
      }
    }
  }
#else
  obj = PyObject_GetAttr(pyobj,SWIG_This());
  if (obj) {
    Py_DECREF(obj);
  } else {
    if (PyErr_Occurred()) PyErr_Clear();
    return 0;
  }
#endif
  if (obj && !SwigPyObject_Check(obj)) {
    /* a PyObject is called 'this', try to get the 'real this'
       SwigPyObject from it */ 
    return SWIG_Python_GetSwigThis(obj);
  }
  return (SwigPyObject *)obj;
#endif
}

/* Acquire a pointer value */

SWIGRUNTIME int
SWIG_Python_AcquirePtr(PyObject *obj, int own) {
  if (own == SWIG_POINTER_OWN) {
    SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj);
    if (sobj) {
      int oldown = sobj->own;
      sobj->own = own;
      return oldown;
    }
  }
  return 0;
}

/* Convert a pointer value */

SWIGRUNTIME int
SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
  int res;
  SwigPyObject *sobj;

  if (!obj)
    return SWIG_ERROR;
  if (obj == Py_None) {
    if (ptr)
      *ptr = 0;
    return SWIG_OK;
  }

  res = SWIG_ERROR;

  sobj = SWIG_Python_GetSwigThis(obj);
  if (own)
    *own = 0;
  while (sobj) {
    void *vptr = sobj->ptr;
    if (ty) {
      swig_type_info *to = sobj->ty;
      if (to == ty) {
        /* no type cast needed */
        if (ptr) *ptr = vptr;
        break;
      } else {
        swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
        if (!tc) {
          sobj = (SwigPyObject *)sobj->next;
        } else {
          if (ptr) {
            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 | SWIG_CAST_NEW_MEMORY;
            }
          }
          break;
        }
      }
    } else {
      if (ptr) *ptr = vptr;
      break;
    }
  }
  if (sobj) {
    if (own)
      *own = *own | sobj->own;
    if (flags & SWIG_POINTER_DISOWN) {
      sobj->own = 0;
    }
    res = SWIG_OK;
  } else {
    if (flags & SWIG_POINTER_IMPLICIT_CONV) {
      SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
      if (data && !data->implicitconv) {
        PyObject *klass = data->klass;
        if (klass) {
          PyObject *impconv;
          data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
          impconv = SWIG_Python_CallFunctor(klass, obj);
          data->implicitconv = 0;
          if (PyErr_Occurred()) {
            PyErr_Clear();
            impconv = 0;
          }
          if (impconv) {
            SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv);
            if (iobj) {
              void *vptr;
              res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
              if (SWIG_IsOK(res)) {
                if (ptr) {
                  *ptr = vptr;
                  /* transfer the ownership to 'ptr' */
                  iobj->own = 0;
                  res = SWIG_AddCast(res);
                  res = SWIG_AddNewMask(res);
                } else {
                  res = SWIG_AddCast(res);		    
                }
              }
            }
            Py_DECREF(impconv);
          }
        }
      }
    }
  }
  return res;
}

/* Convert a function ptr value */

SWIGRUNTIME int
SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
  if (!PyCFunction_Check(obj)) {
    return SWIG_ConvertPtr(obj, ptr, ty, 0);
  } else {
    void *vptr = 0;
    
    /* here we get the method pointer for callbacks */
    const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
    const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
    if (desc)
      desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
    if (!desc) 
      return SWIG_ERROR;
    if (ty) {
      swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
      if (tc) {
        int newmemory = 0;
        *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
        assert(!newmemory); /* newmemory handling not yet implemented */
      } else {
        return SWIG_ERROR;
      }
    } else {
      *ptr = vptr;
    }
    return SWIG_OK;
  }
}

/* Convert a packed value value */

SWIGRUNTIME int
SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
  swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
  if (!to) return SWIG_ERROR;
  if (ty) {
    if (to != ty) {
      /* check type cast? */
      swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
      if (!tc) return SWIG_ERROR;
    }
  }
  return SWIG_OK;
}  

/* -----------------------------------------------------------------------------
 * Create a new pointer object
 * ----------------------------------------------------------------------------- */

/*
  Create a new instance object, without calling __init__, and set the
  'this' attribute.
*/

SWIGRUNTIME PyObject* 
SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this)
{
#if (PY_VERSION_HEX >= 0x02020000)
  PyObject *inst = 0;
  PyObject *newraw = data->newraw;
  if (newraw) {
    inst = PyObject_Call(newraw, data->newargs, NULL);
    if (inst) {
#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
      PyObject **dictptr = _PyObject_GetDictPtr(inst);
      if (dictptr != NULL) {
	PyObject *dict = *dictptr;
	if (dict == NULL) {
	  dict = PyDict_New();
	  *dictptr = dict;
	  PyDict_SetItem(dict, SWIG_This(), swig_this);
	}
      }
#else
      PyObject *key = SWIG_This();
      PyObject_SetAttr(inst, key, swig_this);
#endif
    }
  } else {
#if PY_VERSION_HEX >= 0x03000000
    inst = PyBaseObject_Type.tp_new((PyTypeObject*) data->newargs, Py_None, Py_None);
    PyObject_SetAttr(inst, SWIG_This(), swig_this);
    Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
#else
    PyObject *dict = PyDict_New();
    PyDict_SetItem(dict, SWIG_This(), swig_this);
    inst = PyInstance_NewRaw(data->newargs, dict);
    Py_DECREF(dict);
#endif
  }
  return inst;
#else
#if (PY_VERSION_HEX >= 0x02010000)
  PyObject *inst;
  PyObject *dict = PyDict_New();
  PyDict_SetItem(dict, SWIG_This(), swig_this);
  inst = PyInstance_NewRaw(data->newargs, dict);
  Py_DECREF(dict);
  return (PyObject *) inst;
#else
  PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
  if (inst == NULL) {
    return NULL;
  }
  inst->in_class = (PyClassObject *)data->newargs;
  Py_INCREF(inst->in_class);
  inst->in_dict = PyDict_New();
  if (inst->in_dict == NULL) {
    Py_DECREF(inst);
    return NULL;
  }
#ifdef Py_TPFLAGS_HAVE_WEAKREFS
  inst->in_weakreflist = NULL;
#endif
#ifdef Py_TPFLAGS_GC
  PyObject_GC_Init(inst);
#endif
  PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
  return (PyObject *) inst;
#endif
#endif
}

SWIGRUNTIME void
SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
{
 PyObject *dict;
#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
 PyObject **dictptr = _PyObject_GetDictPtr(inst);
 if (dictptr != NULL) {
   dict = *dictptr;
   if (dict == NULL) {
     dict = PyDict_New();
     *dictptr = dict;
   }
   PyDict_SetItem(dict, SWIG_This(), swig_this);
   return;
 }
#endif
 dict = PyObject_GetAttrString(inst, (char*)"__dict__");
 PyDict_SetItem(dict, SWIG_This(), swig_this);
 Py_DECREF(dict);
} 


SWIGINTERN PyObject *
SWIG_Python_InitShadowInstance(PyObject *args) {
  PyObject *obj[2];
  if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
    return NULL;
  } else {
    SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
    if (sthis) {
      SwigPyObject_append((PyObject*) sthis, obj[1]);
    } else {
      SWIG_Python_SetSwigThis(obj[0], obj[1]);
    }
    return SWIG_Py_Void();
  }
}

/* Create a new pointer object */

SWIGRUNTIME PyObject *
SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags) {
  SwigPyClientData *clientdata;
  PyObject * robj;
  int own;

  if (!ptr)
    return SWIG_Py_Void();

  clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0;
  own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
  if (clientdata && clientdata->pytype) {
    SwigPyObject *newobj;
    if (flags & SWIG_BUILTIN_TP_INIT) {
      newobj = (SwigPyObject*) self;
      if (newobj->ptr) {
        PyObject *next_self = clientdata->pytype->tp_alloc(clientdata->pytype, 0);
        while (newobj->next)
	  newobj = (SwigPyObject *) newobj->next;
        newobj->next = next_self;
        newobj = (SwigPyObject *)next_self;
      }
    } else {
      newobj = PyObject_New(SwigPyObject, clientdata->pytype);
    }
    if (newobj) {
      newobj->ptr = ptr;
      newobj->ty = type;
      newobj->own = own;
      newobj->next = 0;
#ifdef SWIGPYTHON_BUILTIN
      newobj->dict = 0;
#endif
      return (PyObject*) newobj;
    }
    return SWIG_Py_Void();
  }

  assert(!(flags & SWIG_BUILTIN_TP_INIT));

  robj = SwigPyObject_New(ptr, type, own);
  if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
    PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
    if (inst) {
      Py_DECREF(robj);
      robj = inst;
    }
  }
  return robj;
}

/* Create a new packed object */

SWIGRUNTIMEINLINE PyObject *
SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
  return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
}

/* -----------------------------------------------------------------------------*
 *  Get type list 
 * -----------------------------------------------------------------------------*/

#ifdef SWIG_LINK_RUNTIME
void *SWIG_ReturnGlobalTypeList(void *);
#endif

SWIGRUNTIME swig_module_info *
SWIG_Python_GetModule(void) {
  static void *type_pointer = (void *)0;
  /* first check if module already created */
  if (!type_pointer) {
#ifdef SWIG_LINK_RUNTIME
    type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
#else
# ifdef SWIGPY_USE_CAPSULE
    type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
# else
    type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
				    (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
# endif
    if (PyErr_Occurred()) {
      PyErr_Clear();
      type_pointer = (void *)0;
    }
#endif
  }
  return (swig_module_info *) type_pointer;
}

#if PY_MAJOR_VERSION < 2
/* PyModule_AddObject function was introduced in Python 2.0.  The following function
   is copied out of Python/modsupport.c in python version 2.3.4 */
SWIGINTERN int
PyModule_AddObject(PyObject *m, char *name, PyObject *o)
{
  PyObject *dict;
  if (!PyModule_Check(m)) {
    PyErr_SetString(PyExc_TypeError,
		    "PyModule_AddObject() needs module as first arg");
    return SWIG_ERROR;
  }
  if (!o) {
    PyErr_SetString(PyExc_TypeError,
		    "PyModule_AddObject() needs non-NULL value");
    return SWIG_ERROR;
  }
  
  dict = PyModule_GetDict(m);
  if (dict == NULL) {
    /* Internal error -- modules must have a dict! */
    PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
		 PyModule_GetName(m));
    return SWIG_ERROR;
  }
  if (PyDict_SetItemString(dict, name, o))
    return SWIG_ERROR;
  Py_DECREF(o);
  return SWIG_OK;
}
#endif

SWIGRUNTIME void
#ifdef SWIGPY_USE_CAPSULE
SWIG_Python_DestroyModule(PyObject *obj)
#else
SWIG_Python_DestroyModule(void *vptr)
#endif
{
#ifdef SWIGPY_USE_CAPSULE
  swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME);
#else
  swig_module_info *swig_module = (swig_module_info *) vptr;
#endif
  swig_type_info **types = swig_module->types;
  size_t i;
  for (i =0; i < swig_module->size; ++i) {
    swig_type_info *ty = types[i];
    if (ty->owndata) {
      SwigPyClientData *data = (SwigPyClientData *) ty->clientdata;
      if (data) SwigPyClientData_Del(data);
    }
  }
  Py_DECREF(SWIG_This());
  swig_this = NULL;
}

SWIGRUNTIME void
SWIG_Python_SetModule(swig_module_info *swig_module) {
#if PY_VERSION_HEX >= 0x03000000
 /* Add a dummy module object into sys.modules */
  PyObject *module = PyImport_AddModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION);
#else
  static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} }; /* Sentinel */
  PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
#endif
#ifdef SWIGPY_USE_CAPSULE
  PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule);
  if (pointer && module) {
    PyModule_AddObject(module, (char*)"type_pointer_capsule" SWIG_TYPE_TABLE_NAME, pointer);
  } else {
    Py_XDECREF(pointer);
  }
#else
  PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
  if (pointer && module) {
    PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
  } else {
    Py_XDECREF(pointer);
  }
#endif
}

/* The python cached type query */
SWIGRUNTIME PyObject *
SWIG_Python_TypeCache(void) {
  static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
  return cache;
}

SWIGRUNTIME swig_type_info *
SWIG_Python_TypeQuery(const char *type)
{
  PyObject *cache = SWIG_Python_TypeCache();
  PyObject *key = SWIG_Python_str_FromChar(type); 
  PyObject *obj = PyDict_GetItem(cache, key);
  swig_type_info *descriptor;
  if (obj) {
#ifdef SWIGPY_USE_CAPSULE
    descriptor = (swig_type_info *) PyCapsule_GetPointer(obj, NULL);
#else
    descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
#endif
  } else {
    swig_module_info *swig_module = SWIG_Python_GetModule();
    descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
    if (descriptor) {
#ifdef SWIGPY_USE_CAPSULE
      obj = PyCapsule_New((void*) descriptor, NULL, NULL);
#else
      obj = PyCObject_FromVoidPtr(descriptor, NULL);
#endif
      PyDict_SetItem(cache, key, obj);
      Py_DECREF(obj);
    }
  }
  Py_DECREF(key);
  return descriptor;
}

/* 
   For backward compatibility only
*/
#define SWIG_POINTER_EXCEPTION  0
#define SWIG_arg_fail(arg)      SWIG_Python_ArgFail(arg)
#define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags)

SWIGRUNTIME int
SWIG_Python_AddErrMesg(const char* mesg, int infront)
{  
  if (PyErr_Occurred()) {
    PyObject *type = 0;
    PyObject *value = 0;
    PyObject *traceback = 0;
    PyErr_Fetch(&type, &value, &traceback);
    if (value) {
      char *tmp;
      PyObject *old_str = PyObject_Str(value);
      Py_XINCREF(type);
      PyErr_Clear();
      if (infront) {
	PyErr_Format(type, "%s %s", mesg, tmp = SWIG_Python_str_AsChar(old_str));
      } else {
	PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
      }
      SWIG_Python_str_DelForPy3(tmp);
      Py_DECREF(old_str);
    }
    return 1;
  } else {
    return 0;
  }
}
  
SWIGRUNTIME int
SWIG_Python_ArgFail(int argnum)
{
  if (PyErr_Occurred()) {
    /* add information about failing argument */
    char mesg[256];
    PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
    return SWIG_Python_AddErrMesg(mesg, 1);
  } else {
    return 0;
  }
}

SWIGRUNTIMEINLINE const char *
SwigPyObject_GetDesc(PyObject *self)
{
  SwigPyObject *v = (SwigPyObject *)self;
  swig_type_info *ty = v ? v->ty : 0;
  return ty ? ty->str : (char*)"";
}

SWIGRUNTIME void
SWIG_Python_TypeError(const char *type, PyObject *obj)
{
  if (type) {
#if defined(SWIG_COBJECT_TYPES)
    if (obj && SwigPyObject_Check(obj)) {
      const char *otype = (const char *) SwigPyObject_GetDesc(obj);
      if (otype) {
	PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%s)' is received",
		     type, otype);
	return;
      }
    } else 
#endif      
    {
      const char *otype = (obj ? obj->ob_type->tp_name : 0); 
      if (otype) {
	PyObject *str = PyObject_Str(obj);
	const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0;
	if (cstr) {
	  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
		       type, otype, cstr);
          SWIG_Python_str_DelForPy3(cstr);
	} else {
	  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
		       type, otype);
	}
	Py_XDECREF(str);
	return;
      }
    }   
    PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
  } else {
    PyErr_Format(PyExc_TypeError, "unexpected type is received");
  }
}


/* Convert a pointer value, signal an exception on a type mismatch */
SWIGRUNTIME void *
SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) {
  void *result;
  if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
    PyErr_Clear();
#if SWIG_POINTER_EXCEPTION
    if (flags) {
      SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
      SWIG_Python_ArgFail(argnum);
    }
#endif
  }
  return result;
}

SWIGRUNTIME int
SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) {
  PyTypeObject *tp = obj->ob_type;
  PyObject *descr;
  PyObject *encoded_name;
  descrsetfunc f;
  int res;

#ifdef Py_USING_UNICODE
  if (PyString_Check(name)) {
    name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL);
    if (!name)
      return -1;
  } else if (!PyUnicode_Check(name))
#else
  if (!PyString_Check(name))
#endif
  {
    PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%.200s'", name->ob_type->tp_name);
    return -1;
  } else {
    Py_INCREF(name);
  }

  if (!tp->tp_dict) {
    if (PyType_Ready(tp) < 0)
      goto done;
  }

  res = -1;
  descr = _PyType_Lookup(tp, name);
  f = NULL;
  if (descr != NULL)
    f = descr->ob_type->tp_descr_set;
  if (!f) {
    if (PyString_Check(name)) {
      encoded_name = name;
      Py_INCREF(name);
    } else {
      encoded_name = PyUnicode_AsUTF8String(name);
    }
    PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
    Py_DECREF(encoded_name);
  } else {
    res = f(descr, obj, value);
  }
  
  done:
  Py_DECREF(name);
  return res;
}


#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); SWIG_fail;; } while(0) 


/* -------- TYPES TABLE (BEGIN) -------- */

#define SWIGTYPE_p_Path swig_types[0]
#define SWIGTYPE_p_Ptr swig_types[1]
#define SWIGTYPE_p_StringPairVector swig_types[2]
#define SWIGTYPE_p_allocator_type swig_types[3]
#define SWIGTYPE_p_base__Color swig_types[4]
#define SWIGTYPE_p_base__HSVColor swig_types[5]
#define SWIGTYPE_p_base__Rect swig_types[6]
#define SWIGTYPE_p_bec__MenuItemList swig_types[7]
#define SWIGTYPE_p_bool swig_types[8]
#define SWIGTYPE_p_boost__functionT_bool_fF_t swig_types[9]
#define SWIGTYPE_p_boost__functionT_bool_fstd__string_const_RF_t swig_types[10]
#define SWIGTYPE_p_boost__functionT_void_fmforms__CodeEditor_p_boolF_t swig_types[11]
#define SWIGTYPE_p_boost__functionT_void_fstd__string_const_RF_t swig_types[12]
#define SWIGTYPE_p_boost__functionT_void_pfF_t swig_types[13]
#define SWIGTYPE_p_boost__int64_t swig_types[14]
#define SWIGTYPE_p_boost__signals2__signalT_void_fF_t swig_types[15]
#define SWIGTYPE_p_boost__signals2__signalT_void_fmforms__ToolBarItem_pF_t swig_types[16]
#define SWIGTYPE_p_boost__signals2__signalT_void_fstd__string_const_RF_t swig_types[17]
#define SWIGTYPE_p_boost__signals2__signalT_void_fvoidF_t swig_types[18]
#define SWIGTYPE_p_char swig_types[19]
#define SWIGTYPE_p_difference_type swig_types[20]
#define SWIGTYPE_p_f___p_mforms__TaskSidebar swig_types[21]
#define SWIGTYPE_p_int swig_types[22]
#define SWIGTYPE_p_mforms__App swig_types[23]
#define SWIGTYPE_p_mforms__AppView swig_types[24]
#define SWIGTYPE_p_mforms__BarGraphWidget swig_types[25]
#define SWIGTYPE_p_mforms__BaseWidget swig_types[26]
#define SWIGTYPE_p_mforms__Box swig_types[27]
#define SWIGTYPE_p_mforms__Button swig_types[28]
#define SWIGTYPE_p_mforms__CheckBox swig_types[29]
#define SWIGTYPE_p_mforms__CodeEditor swig_types[30]
#define SWIGTYPE_p_mforms__Container swig_types[31]
#define SWIGTYPE_p_mforms__DockingPoint swig_types[32]
#define SWIGTYPE_p_mforms__DrawBox swig_types[33]
#define SWIGTYPE_p_mforms__FileChooser swig_types[34]
#define SWIGTYPE_p_mforms__FindPanel swig_types[35]
#define SWIGTYPE_p_mforms__Form swig_types[36]
#define SWIGTYPE_p_mforms__Grid swig_types[37]
#define SWIGTYPE_p_mforms__GridPath swig_types[38]
#define SWIGTYPE_p_mforms__HeartbeatWidget swig_types[39]
#define SWIGTYPE_p_mforms__HyperText swig_types[40]
#define SWIGTYPE_p_mforms__ImageBox swig_types[41]
#define SWIGTYPE_p_mforms__Label swig_types[42]
#define SWIGTYPE_p_mforms__LineDiagramWidget swig_types[43]
#define SWIGTYPE_p_mforms__ListBox swig_types[44]
#define SWIGTYPE_p_mforms__Menu swig_types[45]
#define SWIGTYPE_p_mforms__MenuBar swig_types[46]
#define SWIGTYPE_p_mforms__Object swig_types[47]
#define SWIGTYPE_p_mforms__Panel swig_types[48]
#define SWIGTYPE_p_mforms__Popup swig_types[49]
#define SWIGTYPE_p_mforms__ProgressBar swig_types[50]
#define SWIGTYPE_p_mforms__PyDrawBox swig_types[51]
#define SWIGTYPE_p_mforms__RadioButton swig_types[52]
#define SWIGTYPE_p_mforms__ScrollPanel swig_types[53]
#define SWIGTYPE_p_mforms__SectionBox swig_types[54]
#define SWIGTYPE_p_mforms__Selector swig_types[55]
#define SWIGTYPE_p_mforms__ServerInfoWidget swig_types[56]
#define SWIGTYPE_p_mforms__Splitter swig_types[57]
#define SWIGTYPE_p_mforms__TabSwitcher swig_types[58]
#define SWIGTYPE_p_mforms__TabView swig_types[59]
#define SWIGTYPE_p_mforms__Table swig_types[60]
#define SWIGTYPE_p_mforms__TaskSidebar swig_types[61]
#define SWIGTYPE_p_mforms__TextAttributes swig_types[62]
#define SWIGTYPE_p_mforms__TextBox swig_types[63]
#define SWIGTYPE_p_mforms__TextEntry swig_types[64]
#define SWIGTYPE_p_mforms__ToolBar swig_types[65]
#define SWIGTYPE_p_mforms__ToolBarItem swig_types[66]
#define SWIGTYPE_p_mforms__TreeNode swig_types[67]
#define SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton swig_types[68]
#define SWIGTYPE_p_mforms__TreeNodeData swig_types[69]
#define SWIGTYPE_p_mforms__TreeNodeRef swig_types[70]
#define SWIGTYPE_p_mforms__TreeNodeSkeleton swig_types[71]
#define SWIGTYPE_p_mforms__TreeNodeView swig_types[72]
#define SWIGTYPE_p_mforms__Utilities swig_types[73]
#define SWIGTYPE_p_mforms__View swig_types[74]
#define SWIGTYPE_p_mforms__WebBrowser swig_types[75]
#define SWIGTYPE_p_mforms__WidgetContainer swig_types[76]
#define SWIGTYPE_p_mforms__WidgetSeparator swig_types[77]
#define SWIGTYPE_p_mforms__Wizard swig_types[78]
#define SWIGTYPE_p_p_PyObject swig_types[79]
#define SWIGTYPE_p_p_void swig_types[80]
#define SWIGTYPE_p_size_type swig_types[81]
#define SWIGTYPE_p_sptr_t swig_types[82]
#define SWIGTYPE_p_std__allocatorT_double_t swig_types[83]
#define SWIGTYPE_p_std__invalid_argument swig_types[84]
#define SWIGTYPE_p_std__listT__Tp__Alloc_t swig_types[85]
#define SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t swig_types[86]
#define SWIGTYPE_p_std__listT_std__string_std__allocatorT_std__string_t_t swig_types[87]
#define SWIGTYPE_p_std__mapT_std__string_std__vectorT_std__string_std__allocatorT_std__string_t_t_t swig_types[88]
#define SWIGTYPE_p_std__pairT_char_const_p_size_t_t swig_types[89]
#define SWIGTYPE_p_std__string swig_types[90]
#define SWIGTYPE_p_std__vectorT_mforms__ToolBarItem_p_std__allocatorT_mforms__ToolBarItem_p_t_t swig_types[91]
#define SWIGTYPE_p_std__vectorT_mforms__TreeNodeRef_std__allocatorT_mforms__TreeNodeRef_t_t swig_types[92]
#define SWIGTYPE_p_std__vectorT_mforms__TreeNodeSkeleton_std__allocatorT_mforms__TreeNodeSkeleton_t_t swig_types[93]
#define SWIGTYPE_p_std__vectorT_std__pairT_int_std__string_t_std__allocatorT_std__pairT_int_std__string_t_t_t swig_types[94]
#define SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_std__allocatorT_std__pairT_std__string_std__string_t_t_t swig_types[95]
#define SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t swig_types[96]
#define SWIGTYPE_p_swig__SwigPyIterator swig_types[97]
#define SWIGTYPE_p_uptr_t swig_types[98]
#define SWIGTYPE_p_value_type swig_types[99]
#define SWIGTYPE_p_wb__LiveSchemaTree swig_types[100]
static swig_type_info *swig_types[102];
static swig_module_info swig_module = {swig_types, 101, 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) -------- */

#if (PY_VERSION_HEX <= 0x02000000)
# if !defined(SWIG_PYTHON_CLASSIC)
#  error "This python version requires swig to be run with the '-classic' option"
# endif
#endif

/*-----------------------------------------------
              @(target):= _mforms.so
  ------------------------------------------------*/
#if PY_VERSION_HEX >= 0x03000000
#  define SWIG_init    PyInit__mforms

#else
#  define SWIG_init    init_mforms

#endif
#define SWIG_name    "_mforms"

#define SWIGVERSION 0x020004 
#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 <stdexcept>


namespace swig {
  class SwigPtr_PyObject {
  protected:
    PyObject *_obj;

  public:
    SwigPtr_PyObject() :_obj(0)
    {
    }

    SwigPtr_PyObject(const SwigPtr_PyObject& item) : _obj(item._obj)
    {
      Py_XINCREF(_obj);      
    }
    
    SwigPtr_PyObject(PyObject *obj, bool initial_ref = true) :_obj(obj)
    {
      if (initial_ref) {
        Py_XINCREF(_obj);
      }
    }
    
    SwigPtr_PyObject & operator=(const SwigPtr_PyObject& item) 
    {
      Py_XINCREF(item._obj);
      Py_XDECREF(_obj);
      _obj = item._obj;
      return *this;      
    }
    
    ~SwigPtr_PyObject() 
    {
      Py_XDECREF(_obj);
    }
    
    operator PyObject *() const
    {
      return _obj;
    }

    PyObject *operator->() const
    {
      return _obj;
    }
  };
}


namespace swig {
  struct SwigVar_PyObject : SwigPtr_PyObject {
    SwigVar_PyObject(PyObject* obj = 0) : SwigPtr_PyObject(obj, false) { }
    
    SwigVar_PyObject & operator = (PyObject* obj)
    {
      Py_XDECREF(_obj);
      _obj = obj;
      return *this;      
    }
  };
}


#include <boost/signals2/signal.hpp>
#include <mforms/view.h>
#include <mforms/form.h>
#include <mforms/button.h>
#include <mforms/checkbox.h>
#include <mforms/textentry.h>
#include <mforms/textbox.h>
#include <mforms/label.h>
#include <mforms/selector.h>
#include <mforms/listbox.h>
#include <mforms/tabview.h>
#include <mforms/box.h>
#include <mforms/panel.h>
#include <mforms/filechooser.h>
#include <mforms/radiobutton.h>
#include <mforms/imagebox.h>
#include <mforms/progressbar.h>
#include <mforms/table.h>
#include <mforms/scrollpanel.h>
#include <mforms/wizard.h>
#include <mforms/drawbox.h>
#include <mforms/tabswitcher.h>
#include <mforms/app.h>
#include <mforms/appview.h>
#include <mforms/utilities.h>
#include <mforms/uistyle.h>
#include <mforms/appview.h>
#include <mforms/sectionbox.h>
#include <mforms/widgets.h>
#include <mforms/menu.h>
#include <mforms/splitter.h>
#include <mforms/webbrowser.h>
#include <mforms/popup.h>
#include <mforms/code_editor.h>
#include <mforms/menubar.h>
#include <mforms/toolbar.h>
#include <mforms/task_sidebar.h>
#include <mforms/grid.h>
#include <mforms/hypertext.h>
#include <mforms/popover.h>
#include <mforms/fs_object_selector.h>
#include <mforms/simpleform.h>
#include <mforms/treenodeview.h>
#include <mforms/dockingpoint.h>
#include <base/drawing.h>

#include "mforms_grt.h"
#include "mforms_drawbox.h"

/// begin python specific stuff

struct PyObjectRef 
{
  PyObject *object;
  
  PyObjectRef(PyObject *obj)
    : object(obj)
  {
    Py_XINCREF(obj);
  }

  PyObjectRef(const PyObjectRef &obj)
    : object(obj.object)
  {
    Py_XINCREF(object);
  }

  ~PyObjectRef()
  {
    Py_XDECREF(object);
  }
  
  operator PyObject*()
  {
    return object;
  }
  
  PyObjectRef &operator =(const PyObjectRef &other)
  {
    if (object) Py_XDECREF(object);
    object = other.object;
    Py_XINCREF(object);
    
    return *this;
  }
};



static void show_python_exception()
{
  if (!PyErr_Occurred())
    return;
  std::string reason;
  PyObject *exc, *val, *tb;

  PyErr_Fetch(&exc, &val, &tb);
  PyErr_NormalizeException(&exc, &val, &tb);

  if (val)
  {
    PyObject *tmp = PyObject_Str(val);
    if (tmp)
    {
      reason = PyString_AsString(tmp);
      Py_DECREF(tmp);
    }
  }
  PyErr_Restore(exc, val, tb);

  mforms::Utilities::show_error("Error", std::string("Unhandled exception: ").append(reason), "OK", "", "");
}

class WillEnterPython
{
    PyGILState_STATE state;
  public:
    WillEnterPython() : state(PyGILState_Ensure()) {}
    ~WillEnterPython() {PyGILState_Release(state);}
};

static void call_void_pycallable(PyObjectRef &callable)
{
  PyObject *ret;

  WillEnterPython lock;

  PyObject *args = Py_BuildValue("()");
  ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);
}

static void *call_ignoreret_voidptr_pycallable(PyObjectRef &callable)
{
  PyObject *ret;

  WillEnterPython lock;

  PyObject *args = Py_BuildValue("()");
  ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);

  return NULL;
}



static void call_void_string_pycallable(const std::string &s, PyObjectRef &callable)
{
  PyObject *ret;

  WillEnterPython lock;

  PyObject *args = Py_BuildValue("(s)", s.c_str());
  ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);
}


static void call_void_int_pycallable(int arg, PyObjectRef &callable)
{
  PyObject *ret;

  WillEnterPython lock;

  PyObject *args = Py_BuildValue("(i)", arg);
  ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);
}

static void call_void_int_int_pycallable(int row, int column, PyObjectRef &callable)
{
  PyObject *ret;

  WillEnterPython lock;

  PyObject *args = Py_BuildValue("(ii)", row, column);
  ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);
}

static void call_void_int_int_int_pycallable(int a, int b, int c, PyObjectRef &callable)
{
  PyObject *ret;

  WillEnterPython lock;

  PyObject *args = Py_BuildValue("(iii)", a, b, c);
  ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);
}

static void call_void_node_int_pycallable(mforms::TreeNodeRef node, int column, PyObjectRef &callable)
{
  PyObject *ret;

  WillEnterPython lock;

  PyObject *obj;
  if (node)
    obj = SWIG_NewPointerObj((new mforms::TreeNodeRef(node)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
  else
  {
    obj = Py_None;
    Py_INCREF(obj);
  }
  PyObject *args = Py_BuildValue("(Oi)", obj, column);
  ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);
}

static bool call_bool_pycallable(PyObjectRef &callable)
{
  PyObject *ret;

  WillEnterPython lock;

  PyObject *args = Py_BuildValue("()");
  ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
    return false;
  }
  else
  {
    bool r = ret == Py_True;
    Py_DECREF(ret);
    return r;
  }
}

/*
static void call_cell_edited_pycallable(int row, int col, const std::string &value, PyObjectRef &callable)
{
  WillEnterPython lock;
  PyObject *ret;
  PyObject *args = Py_BuildValue("(iis)", row, col, value.c_str());
  ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);
}
*/
static void call_cell_node_edited_pycallable(mforms::TreeNodeRef node, int col, const std::string &value, PyObjectRef &callable)
{
  WillEnterPython lock;
  PyObject *ret;
  PyObject *obj;
  if (node)
    obj = SWIG_NewPointerObj((new mforms::TreeNodeRef(node)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
  else
  {
    obj = Py_None;
    Py_INCREF(obj);
  }
  PyObject *args = Py_BuildValue("(Ois)", obj, col, value.c_str());
  ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);
}


static void call_grid_pycallable(const mforms::GridPath& path, const int col, PyObjectRef &callable)
{
  WillEnterPython lock;

  PyObject* pypath = SWIG_NewPointerObj(SWIG_as_voidptr(&path), SWIGTYPE_p_mforms__GridPath, SWIG_POINTER_DISOWN | 0 );

  PyObject *args = PyTuple_Pack(2, pypath, PyInt_FromLong(col));
  PyObject *ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);
}

static void call_grid_iconpos_pycallable(const mforms::GridPath& path, const int col, const mforms::IconPos pos, PyObjectRef &callable)
{
  WillEnterPython lock;

  PyObject* pypath = SWIG_NewPointerObj(SWIG_as_voidptr(&path), SWIGTYPE_p_mforms__GridPath, SWIG_POINTER_DISOWN | 0 );

  PyObject *args = PyTuple_Pack(3, pypath, PyInt_FromLong(col), PyInt_FromLong((long)pos));
  PyObject *ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);
}

static void call_toolbaritem_pycallable(const mforms::ToolBarItem *i, PyObjectRef &callable)
{
  WillEnterPython lock;

  PyObject* tbi = SWIG_NewPointerObj(SWIG_as_voidptr(i), SWIGTYPE_p_mforms__ToolBarItem, SWIG_POINTER_DISOWN | 0 );

  PyObject *args = PyTuple_Pack(1, tbi);
  PyObject *ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);
}


static void call_void_entryaction_pycallable(mforms::TextEntryAction action, PyObjectRef &callable)
{
  WillEnterPython lock;

  PyObject *args = Py_BuildValue("(i)",  (int)action);
  PyObject *ret = PyObject_Call(callable, args, NULL);
  Py_DECREF(args);
  if (!ret)
  {
    show_python_exception();
    PyErr_Print();
  }
  else
    Py_DECREF(ret);
}

inline boost::function<void ()> pycall_void_fun(PyObject *callable)
{
  return boost::bind(call_void_pycallable, PyObjectRef(callable));
}

inline boost::function<void* ()> pycall_ignoreret_voidptr_fun(PyObject *callable)
{
  return boost::bind(call_ignoreret_voidptr_pycallable, PyObjectRef(callable));
}

inline boost::function<void (std::string)> pycall_void_string_fun(PyObject *callable)
{
  return boost::bind(call_void_string_pycallable, _1, PyObjectRef(callable));
}

inline boost::function<void (int)> pycall_void_int_fun(PyObject *callable)
{
  return boost::bind(call_void_int_pycallable, _1, PyObjectRef(callable));
}

inline boost::function<void (int,int)> pycall_void_int_int_fun(PyObject *callable)
{
  return boost::bind(call_void_int_int_pycallable, _1, _2, PyObjectRef(callable));
}

inline boost::function<void (int, int,int)> pycall_void_int_int_int_fun(PyObject *callable)
{
  return boost::bind(call_void_int_int_int_pycallable, _1, _2, _3, PyObjectRef(callable));
}

inline boost::function<void (int, int, int, bool)> pycall_void_int_int_int_bool_fun(PyObject *callable)
{
  return boost::bind(call_void_int_int_int_pycallable, _1, _2, _3, PyObjectRef(callable));
}

inline boost::function<void (mforms::TreeNodeRef,int)> pycall_void_node_int_fun(PyObject *callable)
{
  return boost::bind(call_void_node_int_pycallable, _1, _2, PyObjectRef(callable));
}

inline boost::function<bool ()> pycall_bool_fun(PyObject *callable)
{
  return boost::bind(call_bool_pycallable, PyObjectRef(callable));
}

inline boost::function<void (const mforms::GridPath&, const int)> pycall_gridpath_int_fun(PyObject *callable)
{
  return boost::bind(call_grid_pycallable, _1, _2, PyObjectRef(callable));
}

inline boost::function<void (const mforms::GridPath&, const int, const mforms::IconPos)> pycall_gridpath_int_int_fun(PyObject *callable)
{
  return boost::bind(call_grid_iconpos_pycallable, _1, _2, _3, PyObjectRef(callable));
}

inline boost::function<void (const mforms::ToolBarItem*)> pycall_void_toolbaritem_fun(PyObject *callable)
{
  return boost::bind(call_toolbaritem_pycallable, _1, PyObjectRef(callable));
}

inline boost::function<void (mforms::TextEntryAction)> pycall_void_entryaction_fun(PyObject *callable)
{
  return boost::bind(call_void_entryaction_pycallable, _1, PyObjectRef(callable));
}

/// end python specific stuff




#include <string>


#include <iostream>

#if PY_VERSION_HEX >= 0x03020000
# define SWIGPY_SLICE_ARG(obj) ((PyObject*) (obj))
#else
# define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj))
#endif


#include <stdexcept>


#if defined(__GNUC__)
#  if __GNUC__ == 2 && __GNUC_MINOR <= 96
#     define SWIG_STD_NOMODERN_STL
#  endif
#endif


#include <string>
#include <stdexcept>
#include <stddef.h>

  
namespace swig {
  struct stop_iteration {
  };

  struct SwigPyIterator {
  private:
    SwigPtr_PyObject _seq;

  protected:
    SwigPyIterator(PyObject *seq) : _seq(seq)
    {
    }
      
  public:
    virtual ~SwigPyIterator() {}

    // Access iterator method, required by Python
    virtual PyObject *value() const = 0;

    // Forward iterator method, required by Python
    virtual SwigPyIterator *incr(size_t n = 1) = 0;
    
    // Backward iterator method, very common in C++, but not required in Python
    virtual SwigPyIterator *decr(size_t /*n*/ = 1)
    {
      throw stop_iteration();
    }

    // Random access iterator methods, but not required in Python
    virtual ptrdiff_t distance(const SwigPyIterator &/*x*/) const
    {
      throw std::invalid_argument("operation not supported");
    }

    virtual bool equal (const SwigPyIterator &/*x*/) const
    {
      throw std::invalid_argument("operation not supported");
    }
    
    // C++ common/needed methods
    virtual SwigPyIterator *copy() const = 0;

    PyObject *next()     
    {
      SWIG_PYTHON_THREAD_BEGIN_BLOCK; // disable threads       
      PyObject *obj = value();
      incr();       
      SWIG_PYTHON_THREAD_END_BLOCK; // re-enable threads
      return obj;     
    }

    /* Make an alias for Python 3.x */
    PyObject *__next__()
    {
      return next();
    }

    PyObject *previous()
    {
      SWIG_PYTHON_THREAD_BEGIN_BLOCK; // disable threads       
      decr();
      PyObject *obj = value();
      SWIG_PYTHON_THREAD_END_BLOCK; // re-enable threads       
      return obj;
    }

    SwigPyIterator *advance(ptrdiff_t n)
    {
      return  (n > 0) ?  incr(n) : decr(-n);
    }
      
    bool operator == (const SwigPyIterator& x)  const
    {
      return equal(x);
    }
      
    bool operator != (const SwigPyIterator& x) const
    {
      return ! operator==(x);
    }
      
    SwigPyIterator& operator += (ptrdiff_t n)
    {
      return *advance(n);
    }

    SwigPyIterator& operator -= (ptrdiff_t n)
    {
      return *advance(-n);
    }
      
    SwigPyIterator* operator + (ptrdiff_t n) const
    {
      return copy()->advance(n);
    }

    SwigPyIterator* operator - (ptrdiff_t n) const
    {
      return copy()->advance(-n);
    }
      
    ptrdiff_t operator - (const SwigPyIterator& x) const
    {
      return x.distance(*this);
    }
      
    static swig_type_info* descriptor() {
      static int init = 0;
      static swig_type_info* desc = 0;
      if (!init) {
	desc = SWIG_TypeQuery("swig::SwigPyIterator *");
	init = 1;
      }	
      return desc;
    }    
  };

#if defined(SWIGPYTHON_BUILTIN)
  inline PyObject* make_output_iterator_builtin (PyObject *pyself)
  {
    Py_INCREF(pyself);
    return pyself;
  }
#endif
}


SWIGINTERN int
SWIG_AsVal_double (PyObject *obj, double *val)
{
  int res = SWIG_TypeError;
  if (PyFloat_Check(obj)) {
    if (val) *val = PyFloat_AsDouble(obj);
    return SWIG_OK;
  } else if (PyInt_Check(obj)) {
    if (val) *val = PyInt_AsLong(obj);
    return SWIG_OK;
  } else if (PyLong_Check(obj)) {
    double v = PyLong_AsDouble(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      PyErr_Clear();
    }
  }
#ifdef SWIG_PYTHON_CAST_MODE
  {
    int dispatch = 0;
    double d = PyFloat_AsDouble(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = d;
      return SWIG_AddCast(SWIG_OK);
    } else {
      PyErr_Clear();
    }
    if (!dispatch) {
      long v = PyLong_AsLong(obj);
      if (!PyErr_Occurred()) {
	if (val) *val = v;
	return SWIG_AddCast(SWIG_AddCast(SWIG_OK));
      } else {
	PyErr_Clear();
      }
    }
  }
#endif
  return res;
}


#include <float.h>


#include <math.h>


SWIGINTERNINLINE int
SWIG_CanCastAsInteger(double *d, double min, double max) {
  double x = *d;
  if ((min <= x && x <= max)) {
   double fx = floor(x);
   double cx = ceil(x);
   double rd =  ((x - fx) < 0.5) ? fx : cx; /* simple rint */
   if ((errno == EDOM) || (errno == ERANGE)) {
     errno = 0;
   } else {
     double summ, reps, diff;
     if (rd < x) {
       diff = x - rd;
     } else if (rd > x) {
       diff = rd - x;
     } else {
       return 1;
     }
     summ = rd + x;
     reps = diff/summ;
     if (reps < 8*DBL_EPSILON) {
       *d = rd;
       return 1;
     }
   }
  }
  return 0;
}


SWIGINTERN int
SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val) 
{
  if (PyInt_Check(obj)) {
    long v = PyInt_AsLong(obj);
    if (v >= 0) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      return SWIG_OverflowError;
    }
  } else if (PyLong_Check(obj)) {
    unsigned long v = PyLong_AsUnsignedLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      PyErr_Clear();
    }
  }
#ifdef SWIG_PYTHON_CAST_MODE
  {
    int dispatch = 0;
    unsigned long v = PyLong_AsUnsignedLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_AddCast(SWIG_OK);
    } else {
      PyErr_Clear();
    }
    if (!dispatch) {
      double d;
      int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
      if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
	if (val) *val = (unsigned long)(d);
	return res;
      }
    }
  }
#endif
  return SWIG_TypeError;
}


SWIGINTERNINLINE int
SWIG_AsVal_size_t (PyObject * obj, size_t *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
  if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
  return res;
}


  #define SWIG_From_long   PyInt_FromLong 


SWIGINTERNINLINE PyObject *
SWIG_From_ptrdiff_t  (ptrdiff_t value)
{    
  return SWIG_From_long  (static_cast< long >(value));
}


SWIGINTERNINLINE PyObject*
  SWIG_From_bool  (bool value)
{
  return PyBool_FromLong(value ? 1 : 0);
}


SWIGINTERN int
SWIG_AsVal_long (PyObject *obj, long* val)
{
  if (PyInt_Check(obj)) {
    if (val) *val = PyInt_AsLong(obj);
    return SWIG_OK;
  } else if (PyLong_Check(obj)) {
    long v = PyLong_AsLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      PyErr_Clear();
    }
  }
#ifdef SWIG_PYTHON_CAST_MODE
  {
    int dispatch = 0;
    long v = PyInt_AsLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_AddCast(SWIG_OK);
    } else {
      PyErr_Clear();
    }
    if (!dispatch) {
      double d;
      int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
      if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
	if (val) *val = (long)(d);
	return res;
      }
    }
  }
#endif
  return SWIG_TypeError;
}


SWIGINTERNINLINE int
SWIG_AsVal_ptrdiff_t (PyObject * obj, ptrdiff_t *val)
{
  long v;
  int res = SWIG_AsVal_long (obj, val ? &v : 0);
  if (SWIG_IsOK(res) && val) *val = static_cast< ptrdiff_t >(v);
  return res;
}


#include <stdexcept>


#include <algorithm>


#include <vector>


#include <list>


namespace swig {  
  template <class Type>
  struct noconst_traits {
    typedef Type noconst_type;
  };

  template <class Type>
  struct noconst_traits<const Type> {
    typedef Type noconst_type;
  };

  /*
    type categories
  */
  struct pointer_category { };  
  struct value_category { };

  /*
    General traits that provides type_name and type_info
  */
  template <class Type> struct traits { };

  template <class Type>
  inline const char* type_name() {
    return traits<typename noconst_traits<Type >::noconst_type >::type_name();
  }

  template <class Type> 
  struct traits_info {
    static swig_type_info *type_query(std::string name) {
      name += " *";
      return SWIG_TypeQuery(name.c_str());
    }    
    static swig_type_info *type_info() {
      static swig_type_info *info = type_query(type_name<Type>());
      return info;
    }
  };

  template <class Type>
  inline swig_type_info *type_info() {
    return traits_info<Type>::type_info();
  }

  /*
    Partial specialization for pointers
  */
  template <class Type> struct traits <Type *> {
    typedef pointer_category category;
    static std::string make_ptr_name(const char* name) {
      std::string ptrname = name;
      ptrname += " *";
      return ptrname;
    }    
    static const char* type_name() {
      static std::string name = make_ptr_name(swig::type_name<Type>());
      return name.c_str();
    }
  };

  template <class Type, class Category> 
  struct traits_as { };
 
  template <class Type, class Category> 
  struct traits_check { };

}


namespace swig {  
  /*
    Traits that provides the from method
  */
  template <class Type> struct traits_from_ptr {
    static PyObject *from(Type *val, int owner = 0) {
      return SWIG_InternalNewPointerObj(val, type_info<Type>(), owner);
    }
  };

  template <class Type> struct traits_from {
    static PyObject *from(const Type& val) {
      return traits_from_ptr<Type>::from(new Type(val), 1);
    }
  };

  template <class Type> struct traits_from<Type *> {
    static PyObject *from(Type* val) {
      return traits_from_ptr<Type>::from(val, 0);
    }
  };

  template <class Type> struct traits_from<const Type *> {
    static PyObject *from(const Type* val) {
      return traits_from_ptr<Type>::from(const_cast<Type*>(val), 0);
    }
  };


  template <class Type>
  inline PyObject *from(const Type& val) {
    return traits_from<Type>::from(val);
  }

  template <class Type>
  inline PyObject *from_ptr(Type* val, int owner) {
    return traits_from_ptr<Type>::from(val, owner);
  }

  /*
    Traits that provides the asval/as/check method
  */
  template <class Type>
  struct traits_asptr {   
    static int asptr(PyObject *obj, Type **val) {
      Type *p;
      int res = SWIG_ConvertPtr(obj, (void**)&p, type_info<Type>(), 0);
      if (SWIG_IsOK(res)) {
	if (val) *val = p;
      }
      return res;
    }
  }; 

  template <class Type>
  inline int asptr(PyObject *obj, Type **vptr) {
    return traits_asptr<Type>::asptr(obj, vptr);
  }

  template <class Type> 
  struct traits_asval {
    static int asval(PyObject *obj, Type *val) {
      if (val) {
	Type *p = 0;
	int res = traits_asptr<Type>::asptr(obj, &p);
	if (!SWIG_IsOK(res)) return res;	
	if (p) {
	  typedef typename noconst_traits<Type>::noconst_type noconst_type;
	  *(const_cast<noconst_type*>(val)) = *p;
	  if (SWIG_IsNewObj(res)){
	    delete p;
	    res = SWIG_DelNewMask(res);
	  }
	  return res;
	} else {
	  return SWIG_ERROR;
	}
      } else {
	return traits_asptr<Type>::asptr(obj, (Type **)(0));
      }
    }
  };

  template <class Type> struct traits_asval<Type*> {
    static int asval(PyObject *obj, Type **val) {
      if (val) {
        typedef typename noconst_traits<Type>::noconst_type noconst_type;
        noconst_type *p = 0;
        int res = traits_asptr<noconst_type>::asptr(obj,  &p);
        if (SWIG_IsOK(res)) {
          *(const_cast<noconst_type**>(val)) = p;
	}
	return res;
      } else {
	return traits_asptr<Type>::asptr(obj, (Type **)(0));
      }
    }
  };
  
  template <class Type>
  inline int asval(PyObject *obj, Type *val) {
    return traits_asval<Type>::asval(obj, val);
  }

  template <class Type> 
  struct traits_as<Type, value_category> {
    static Type as(PyObject *obj, bool throw_error) {
      Type v;
      int res = asval(obj, &v);
      if (!obj || !SWIG_IsOK(res)) {
	if (!PyErr_Occurred()) {
	  ::SWIG_Error(SWIG_TypeError,  swig::type_name<Type>());
	}
	if (throw_error) throw std::invalid_argument("bad type");
      }
      return v;
    }
  };

  template <class Type> 
  struct traits_as<Type, pointer_category> {
    static Type as(PyObject *obj, bool throw_error) {
      Type *v = 0;      
      int res = (obj ? traits_asptr<Type>::asptr(obj, &v) : SWIG_ERROR);
      if (SWIG_IsOK(res) && v) {
	if (SWIG_IsNewObj(res)) {
	  Type r(*v);
	  delete v;
	  return r;
	} else {
	  return *v;
	}
      } else {
	// Uninitialized return value, no Type() constructor required.
	static Type *v_def = (Type*) malloc(sizeof(Type));
	if (!PyErr_Occurred()) {
	  SWIG_Error(SWIG_TypeError,  swig::type_name<Type>());
	}
	if (throw_error) throw std::invalid_argument("bad type");
	memset(v_def,0,sizeof(Type));
	return *v_def;
      }
    }
  };

  template <class Type> 
  struct traits_as<Type*, pointer_category> {
    static Type* as(PyObject *obj, bool throw_error) {
      Type *v = 0;      
      int res = (obj ? traits_asptr<Type>::asptr(obj, &v) : SWIG_ERROR);
      if (SWIG_IsOK(res)) {
	return v;
      } else {
	if (!PyErr_Occurred()) {
	  SWIG_Error(SWIG_TypeError,  swig::type_name<Type>());
	}
	if (throw_error) throw std::invalid_argument("bad type");
	return 0;
      }
    }
  };
    
  template <class Type>
  inline Type as(PyObject *obj, bool te = false) {
    return traits_as<Type, typename traits<Type>::category>::as(obj, te);
  }

  template <class Type> 
  struct traits_check<Type, value_category> {
    static bool check(PyObject *obj) {
      int res = obj ? asval(obj, (Type *)(0)) : SWIG_ERROR;
      return SWIG_IsOK(res) ? true : false;
    }
  };

  template <class Type> 
  struct traits_check<Type, pointer_category> {
    static bool check(PyObject *obj) {
      int res = obj ? asptr(obj, (Type **)(0)) : SWIG_ERROR;
      return SWIG_IsOK(res) ? true : false;
    }
  };

  template <class Type>
  inline bool check(PyObject *obj) {
    return traits_check<Type, typename traits<Type>::category>::check(obj);
  }
}


#include <functional>

namespace std {
  template <>
  struct less <PyObject *>: public binary_function<PyObject *, PyObject *, bool>
  {
    bool
    operator()(PyObject * v, PyObject *w) const
    { 
      bool res;
      SWIG_PYTHON_THREAD_BEGIN_BLOCK;
      res = PyObject_RichCompareBool(v, w, Py_LT) ? true : false;
      /* This may fall into a case of inconsistent
               eg. ObjA > ObjX > ObjB
               but ObjA < ObjB
      */
      if( PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_TypeError) )
      {
        /* Objects can't be compared, this mostly occurred in Python 3.0 */
        /* Compare their ptr directly for a workaround */
        res = (v < w);
        PyErr_Clear();
      }
      SWIG_PYTHON_THREAD_END_BLOCK;
      return res;
    }
  };

  template <>
  struct less <swig::SwigPtr_PyObject>: public binary_function<swig::SwigPtr_PyObject, swig::SwigPtr_PyObject, bool>
  {
    bool
    operator()(const swig::SwigPtr_PyObject& v, const swig::SwigPtr_PyObject& w) const
    {
      return std::less<PyObject *>()(v, w);
    }
  };

  template <>
  struct less <swig::SwigVar_PyObject>: public binary_function<swig::SwigVar_PyObject, swig::SwigVar_PyObject, bool>
  {
    bool
    operator()(const swig::SwigVar_PyObject& v, const swig::SwigVar_PyObject& w) const
    {
      return std::less<PyObject *>()(v, w);
    }
  };

}

namespace swig {
  template <> struct traits<PyObject *> {
    typedef value_category category;
    static const char* type_name() { return "PyObject *"; }
  };  

  template <>  struct traits_asval<PyObject * > {   
    typedef PyObject * value_type;
    static int asval(PyObject *obj, value_type *val) {
      if (val) *val = obj;
      return SWIG_OK;
    }
  };

  template <> 
  struct traits_check<PyObject *, value_category> {
    static bool check(PyObject *) {
      return true;
    }
  };

  template <>  struct traits_from<PyObject *> {
    typedef PyObject * value_type;
    static PyObject *from(const value_type& val) {
      Py_XINCREF(val);
      return val;
    }
  };
  
}

namespace swig {
  inline size_t
  check_index(ptrdiff_t i, size_t size, bool insert = false) {
    if ( i < 0 ) {
      if ((size_t) (-i) <= size)
	return (size_t) (i + size);
    } else if ( (size_t) i < size ) {
      return (size_t) i;
    } else if (insert && ((size_t) i == size)) {
      return size;
    }
    
    throw std::out_of_range("index out of range");
  }

  inline size_t
  slice_index(ptrdiff_t i, size_t size) {
    if ( i < 0 ) {
      if ((size_t) (-i) <= size) {
	return (size_t) (i + size);
      } else {
	throw std::out_of_range("index out of range");
      }
    } else {
      return ( (size_t) i < size ) ? ((size_t) i) : size;
    }
  }

  template <class Sequence, class Difference>
  inline typename Sequence::iterator
  getpos(Sequence* self, Difference i)  {
    typename Sequence::iterator pos = self->begin();
    std::advance(pos, check_index(i,self->size()));
    return pos;
  }

  template <class Sequence, class Difference>
  inline typename Sequence::const_iterator
  cgetpos(const Sequence* self, Difference i)  {
    typename Sequence::const_iterator pos = self->begin();
    std::advance(pos, check_index(i,self->size()));
    return pos;
  }

  template <class Sequence, class Difference>
  inline Sequence*
  getslice(const Sequence* self, Difference i, Difference j) {
    typename Sequence::size_type size = self->size();
    typename Sequence::size_type ii = swig::check_index(i, size);
    typename Sequence::size_type jj = swig::slice_index(j, size);

    if (jj > ii) {
      typename Sequence::const_iterator vb = self->begin();
      typename Sequence::const_iterator ve = self->begin();
      std::advance(vb,ii);
      std::advance(ve,jj);
      return new Sequence(vb, ve);
    } else {
      return new Sequence();
    }
  }

  template <class Sequence, class Difference, class InputSeq>
  inline void
  setslice(Sequence* self, Difference i, Difference j, const InputSeq& v = InputSeq()) {
    typename Sequence::size_type size = self->size();
    typename Sequence::size_type ii = swig::check_index(i, size, true);
    typename Sequence::size_type jj = swig::slice_index(j, size);
    if (jj < ii) jj = ii;
    size_t ssize = jj - ii;
    if (ssize <= v.size()) {
      typename Sequence::iterator sb = self->begin();
      typename InputSeq::const_iterator vmid = v.begin();
      std::advance(sb,ii);
      std::advance(vmid, jj - ii);
      self->insert(std::copy(v.begin(), vmid, sb), vmid, v.end());
    } else {
      typename Sequence::iterator sb = self->begin();
      typename Sequence::iterator se = self->begin();
      std::advance(sb,ii);
      std::advance(se,jj);
      self->erase(sb,se);
      self->insert(sb, v.begin(), v.end());
    }
  }

  template <class Sequence, class Difference>
  inline void
  delslice(Sequence* self, Difference i, Difference j) {
    typename Sequence::size_type size = self->size();
    typename Sequence::size_type ii = swig::check_index(i, size, true);
    typename Sequence::size_type jj = swig::slice_index(j, size);
    if (jj > ii) {
      typename Sequence::iterator sb = self->begin();
      typename Sequence::iterator se = self->begin();
      std::advance(sb,ii);
      std::advance(se,jj);
      self->erase(sb,se);
    }
  }
}


#if defined(__SUNPRO_CC) && defined(_RWSTD_VER)
#  if !defined(SWIG_NO_STD_NOITERATOR_TRAITS_STL)
#    define SWIG_STD_NOITERATOR_TRAITS_STL
#  endif
#endif

#if !defined(SWIG_STD_NOITERATOR_TRAITS_STL)
#include <iterator>
#else
namespace std {
  template <class Iterator>
  struct iterator_traits {
    typedef ptrdiff_t difference_type;
    typedef typename Iterator::value_type value_type;
  };

  template <class Iterator, class Category,class T, class Reference, class Pointer, class Distance>
  struct iterator_traits<__reverse_bi_iterator<Iterator,Category,T,Reference,Pointer,Distance> > {
    typedef Distance difference_type;
    typedef T value_type;
  };

  template <class T>
  struct iterator_traits<T*> {
    typedef T value_type;
    typedef ptrdiff_t difference_type;
  };

  template<typename _InputIterator>
  inline typename iterator_traits<_InputIterator>::difference_type
  distance(_InputIterator __first, _InputIterator __last)
  {
    typename iterator_traits<_InputIterator>::difference_type __n = 0;
    while (__first != __last) {
      ++__first; ++__n;
    }
    return __n;
  }
}
#endif


namespace swig {
  template<typename OutIterator>
  class SwigPyIterator_T :  public SwigPyIterator
  {
  public:
    typedef OutIterator out_iterator;
    typedef typename std::iterator_traits<out_iterator>::value_type value_type;    
    typedef SwigPyIterator_T<out_iterator> self_type;

    SwigPyIterator_T(out_iterator curr, PyObject *seq)
      : SwigPyIterator(seq), current(curr)
    {
    }

    const out_iterator& get_current() const
    {
      return current;
    }

    
    bool equal (const SwigPyIterator &iter) const
    {
      const self_type *iters = dynamic_cast<const self_type *>(&iter);
      if (iters) {
	return (current == iters->get_current());
      } else {
	throw std::invalid_argument("bad iterator type");
      }
    }
    
    ptrdiff_t distance(const SwigPyIterator &iter) const
    {
      const self_type *iters = dynamic_cast<const self_type *>(&iter);
      if (iters) {
	return std::distance(current, iters->get_current());
      } else {
	throw std::invalid_argument("bad iterator type");
      }
    }    
    
  protected:
    out_iterator current;
  };
  
  template <class ValueType>
  struct from_oper 
  {
    typedef const ValueType& argument_type;
    typedef PyObject *result_type;
    result_type operator()(argument_type v) const
    {
      return swig::from(v);
    }
  };

  template<typename OutIterator, 
	   typename ValueType = typename std::iterator_traits<OutIterator>::value_type,
	   typename FromOper = from_oper<ValueType> >
  class SwigPyIteratorOpen_T :  public SwigPyIterator_T<OutIterator>
  {
  public:
    FromOper from;
    typedef OutIterator out_iterator;
    typedef ValueType value_type;
    typedef SwigPyIterator_T<out_iterator>  base;
    typedef SwigPyIteratorOpen_T<OutIterator, ValueType, FromOper> self_type;
    
    SwigPyIteratorOpen_T(out_iterator curr, PyObject *seq)
      : SwigPyIterator_T<OutIterator>(curr, seq)
    {
    }
    
    PyObject *value() const {
      return from(static_cast<const value_type&>(*(base::current)));
    }
    
    SwigPyIterator *copy() const
    {
      return new self_type(*this);
    }

    SwigPyIterator *incr(size_t n = 1)
    {
      while (n--) {
	++base::current;
      }
      return this;
    }

    SwigPyIterator *decr(size_t n = 1)
    {
      while (n--) {
	--base::current;
      }
      return this;
    }
  };

  template<typename OutIterator, 
	   typename ValueType = typename std::iterator_traits<OutIterator>::value_type,
	   typename FromOper = from_oper<ValueType> >
  class SwigPyIteratorClosed_T :  public SwigPyIterator_T<OutIterator>
  {
  public:
    FromOper from;
    typedef OutIterator out_iterator;
    typedef ValueType value_type;
    typedef SwigPyIterator_T<out_iterator>  base;    
    typedef SwigPyIteratorClosed_T<OutIterator, ValueType, FromOper> self_type;
    
    SwigPyIteratorClosed_T(out_iterator curr, out_iterator first, out_iterator last, PyObject *seq)
      : SwigPyIterator_T<OutIterator>(curr, seq), begin(first), end(last)
    {
    }
    
    PyObject *value() const {
      if (base::current == end) {
	throw stop_iteration();
      } else {
	return from(static_cast<const value_type&>(*(base::current)));
      }
    }
    
    SwigPyIterator *copy() const
    {
      return new self_type(*this);
    }

    SwigPyIterator *incr(size_t n = 1)
    {
      while (n--) {
	if (base::current == end) {
	  throw stop_iteration();
	} else {
	  ++base::current;
	}
      }
      return this;
    }

    SwigPyIterator *decr(size_t n = 1)
    {
      while (n--) {
	if (base::current == begin) {
	  throw stop_iteration();
	} else {
	  --base::current;
	}
      }
      return this;
    }

  private:
    out_iterator begin;
    out_iterator end;
  };

  template<typename OutIter>
  inline SwigPyIterator*
  make_output_iterator(const OutIter& current, const OutIter& begin,const OutIter& end, PyObject *seq = 0)
  {
    return new SwigPyIteratorClosed_T<OutIter>(current, begin, end, seq);
  }

  template<typename OutIter>
  inline SwigPyIterator*
  make_output_iterator(const OutIter& current, PyObject *seq = 0)
  {
    return new SwigPyIteratorOpen_T<OutIter>(current, seq);
  }

}


namespace swig
{
  template <class T>
  struct SwigPySequence_Ref
  {
    SwigPySequence_Ref(PyObject* seq, int index)
      : _seq(seq), _index(index)
    {
    }
    
    operator T () const
    {
      swig::SwigVar_PyObject item = PySequence_GetItem(_seq, _index);
      try {
	return swig::as<T>(item, true);
      } catch (std::exception& e) {
	char msg[1024];
	sprintf(msg, "in sequence element %d ", _index);
	if (!PyErr_Occurred()) {
	  ::SWIG_Error(SWIG_TypeError,  swig::type_name<T>());
	}
	SWIG_Python_AddErrorMsg(msg);
	SWIG_Python_AddErrorMsg(e.what());
	throw;
      }
    }

    SwigPySequence_Ref& operator=(const T& v)
    {
      PySequence_SetItem(_seq, _index, swig::from<T>(v));
      return *this;
    }

  private:
    PyObject* _seq;
    int _index;
  };

  template <class T>
  struct SwigPySequence_ArrowProxy
  {
    SwigPySequence_ArrowProxy(const T& x): m_value(x) {}
    const T* operator->() const { return &m_value; }
    operator const T*() const { return &m_value; }
    T m_value;
  };

  template <class T, class Reference >
  struct SwigPySequence_InputIterator
  {
    typedef SwigPySequence_InputIterator<T, Reference > self;

    typedef std::random_access_iterator_tag iterator_category;
    typedef Reference reference;
    typedef T value_type;
    typedef T* pointer;
    typedef int difference_type;

    SwigPySequence_InputIterator()
    {
    }

    SwigPySequence_InputIterator(PyObject* seq, int index)
      : _seq(seq), _index(index)
    {
    }

    reference operator*() const
    {
      return reference(_seq, _index);
    }

    SwigPySequence_ArrowProxy<T>
    operator->() const {
      return SwigPySequence_ArrowProxy<T>(operator*());
    }

    bool operator==(const self& ri) const
    {
      return (_index == ri._index) && (_seq == ri._seq);
    }

    bool operator!=(const self& ri) const
    {
      return !(operator==(ri));
    }

    self& operator ++ ()
    {
      ++_index;
      return *this;
    }

    self& operator -- ()
    {
      --_index;
      return *this;
    }

    self& operator += (difference_type n)
    {
      _index += n;
      return *this;
    }

    self operator +(difference_type n) const
    {
      return self(_seq, _index + n);
    }

    self& operator -= (difference_type n)
    {
      _index -= n;
      return *this;
    }

    self operator -(difference_type n) const
    {
      return self(_seq, _index - n);
    }

    difference_type operator - (const self& ri) const
    {
      return _index - ri._index;
    }

    bool operator < (const self& ri) const
    {
      return _index < ri._index;
    }

    reference
    operator[](difference_type n) const
    {
      return reference(_seq, _index + n);
    }

  private:
    PyObject* _seq;
    difference_type _index;
  };

  template <class T>
  struct SwigPySequence_Cont
  {
    typedef SwigPySequence_Ref<T> reference;
    typedef const SwigPySequence_Ref<T> const_reference;
    typedef T value_type;
    typedef T* pointer;
    typedef int difference_type;
    typedef int size_type;
    typedef const pointer const_pointer;
    typedef SwigPySequence_InputIterator<T, reference> iterator;
    typedef SwigPySequence_InputIterator<T, const_reference> const_iterator;

    SwigPySequence_Cont(PyObject* seq) : _seq(0)
    {
      if (!PySequence_Check(seq)) {
	throw std::invalid_argument("a sequence is expected");
      }
      _seq = seq;
      Py_INCREF(_seq);
    }

    ~SwigPySequence_Cont()
    {
      Py_XDECREF(_seq);
    }

    size_type size() const
    {
      return static_cast<size_type>(PySequence_Size(_seq));
    }

    bool empty() const
    {
      return size() == 0;
    }

    iterator begin()
    {
      return iterator(_seq, 0);
    }

    const_iterator begin() const
    {
      return const_iterator(_seq, 0);
    }

    iterator end()
    {
      return iterator(_seq, size());
    }

    const_iterator end() const
    {
      return const_iterator(_seq, size());
    }

    reference operator[](difference_type n)
    {
      return reference(_seq, n);
    }

    const_reference operator[](difference_type n)  const
    {
      return const_reference(_seq, n);
    }

    bool check(bool set_err = true) const
    {
      int s = size();
      for (int i = 0; i < s; ++i) {
	swig::SwigVar_PyObject item = PySequence_GetItem(_seq, i);
	if (!swig::check<value_type>(item)) {
	  if (set_err) {
	    char msg[1024];
	    sprintf(msg, "in sequence element %d", i);
	    SWIG_Error(SWIG_RuntimeError, msg);
	  }
	  return false;
	}
      }
      return true;
    }

  private:
    PyObject* _seq;
  };

}


  #define SWIG_From_double   PyFloat_FromDouble 


namespace swig {
  template <> struct traits<double > {
    typedef value_category category;
    static const char* type_name() { return"double"; }
  };  
  template <>  struct traits_asval<double > {   
    typedef double value_type;
    static int asval(PyObject *obj, value_type *val) { 
      return SWIG_AsVal_double (obj, val);
    }
  };
  template <>  struct traits_from<double > {
    typedef double value_type;
    static PyObject *from(const value_type& val) {
      return SWIG_From_double  (val);
    }
  };
}


namespace swig {
  template <class SwigPySeq, class Seq>
  inline void
  assign(const SwigPySeq& swigpyseq, Seq* seq) {
    // seq->assign(swigpyseq.begin(), swigpyseq.end()); // not used as not always implemented
    typedef typename SwigPySeq::value_type value_type;
    typename SwigPySeq::const_iterator it = swigpyseq.begin();
    for (;it != swigpyseq.end(); ++it) {
      seq->insert(seq->end(),(value_type)(*it));
    }
  }

  template <class Seq, class T = typename Seq::value_type >
  struct traits_asptr_stdseq {
    typedef Seq sequence;
    typedef T value_type;

    static int asptr(PyObject *obj, sequence **seq) {
      if (obj == Py_None || SWIG_Python_GetSwigThis(obj)) {
	sequence *p;
	if (::SWIG_ConvertPtr(obj,(void**)&p,
			      swig::type_info<sequence>(),0) == SWIG_OK) {
	  if (seq) *seq = p;
	  return SWIG_OLDOBJ;
	}
      } else if (PySequence_Check(obj)) {
	try {
	  SwigPySequence_Cont<value_type> swigpyseq(obj);
	  if (seq) {
	    sequence *pseq = new sequence();
	    assign(swigpyseq, pseq);
	    *seq = pseq;
	    return SWIG_NEWOBJ;
	  } else {
	    return swigpyseq.check() ? SWIG_OK : SWIG_ERROR;
	  }
	} catch (std::exception& e) {
	  if (seq) {
	    if (!PyErr_Occurred()) {
	      PyErr_SetString(PyExc_TypeError, e.what());
	    }
	  }
	  return SWIG_ERROR;
	}
      }
      return SWIG_ERROR;
    }
  };

  template <class Seq, class T = typename Seq::value_type >
  struct traits_from_stdseq {
    typedef Seq sequence;
    typedef T value_type;
    typedef typename Seq::size_type size_type;
    typedef typename sequence::const_iterator const_iterator;

    static PyObject *from(const sequence& seq) {
#ifdef SWIG_PYTHON_EXTRA_NATIVE_CONTAINERS
      swig_type_info *desc = swig::type_info<sequence>();
      if (desc && desc->clientdata) {
	return SWIG_NewPointerObj(new sequence(seq), desc, SWIG_POINTER_OWN);
      }
#endif
      size_type size = seq.size();
      if (size <= (size_type)INT_MAX) {
	PyObject *obj = PyTuple_New((int)size);
	int i = 0;
	for (const_iterator it = seq.begin();
	     it != seq.end(); ++it, ++i) {
	  PyTuple_SetItem(obj,i,swig::from<value_type>(*it));
	}
	return obj;
      } else {
	PyErr_SetString(PyExc_OverflowError,"sequence size not valid in python");
	return NULL;
      }
    }
  };
}


  namespace swig {
    template <class T >
    struct traits_asptr<std::list<T> >  {
      static int asptr(PyObject *obj, std::list<T> **lis) {
	return traits_asptr_stdseq<std::list<T> >::asptr(obj, lis);
      }
    };

    template <class T>
    struct traits_from<std::list<T> > {
      static PyObject *from(const std::list<T> & vec) {
	return traits_from_stdseq<std::list<T> >::from(vec);
      }
    };
  }


      namespace swig {
	template <>  struct traits<std::list<double, std::allocator< double > > > {
	  typedef pointer_category category;
	  static const char* type_name() {
	    return "std::list<" "double" ", " "std::allocator< double >" " >";
	  }
	};
      }
    
SWIGINTERN swig::SwigPyIterator *std_list_Sl_double_Sg__iterator(std::list< double > *self,PyObject **PYTHON_SELF){
      return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
    }
SWIGINTERN bool std_list_Sl_double_Sg____nonzero__(std::list< double > const *self){
      return !(self->empty());
    }
SWIGINTERN bool std_list_Sl_double_Sg____bool__(std::list< double > const *self){
      return !(self->empty());
    }
SWIGINTERN std::list< double >::size_type std_list_Sl_double_Sg____len__(std::list< double > const *self){
      return self->size();
    }

SWIGINTERNINLINE PyObject* 
SWIG_From_unsigned_SS_long  (unsigned long value)
{
  return (value > LONG_MAX) ?
    PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); 
}


SWIGINTERNINLINE PyObject *
SWIG_From_size_t  (size_t value)
{    
  return SWIG_From_unsigned_SS_long  (static_cast< unsigned long >(value));
}

SWIGINTERN std::list< double >::value_type std_list_Sl_double_Sg__pop(std::list< double > *self){
      if (self->size() == 0)
	throw std::out_of_range("pop from empty container");
      std::list<double,std::allocator< double > >::value_type x = self->back();
      self->pop_back();
      return x;
    }
SWIGINTERN std::list< double,std::allocator< double > > *std_list_Sl_double_Sg____getslice__(std::list< double > *self,std::list< double >::difference_type i,std::list< double >::difference_type j){
      return swig::getslice(self, i, j);
    }
SWIGINTERN void std_list_Sl_double_Sg____setslice____SWIG_0(std::list< double > *self,std::list< double >::difference_type i,std::list< double >::difference_type j,std::list< double,std::allocator< double > > const &v=std::list< double,std::allocator< double > >()){
      swig::setslice(self, i, j, v);
    }
SWIGINTERN void std_list_Sl_double_Sg____delslice__(std::list< double > *self,std::list< double >::difference_type i,std::list< double >::difference_type j){
      swig::delslice(self, i, j);
    }
SWIGINTERN void std_list_Sl_double_Sg____delitem____SWIG_0(std::list< double > *self,std::list< double >::difference_type i){
      self->erase(swig::getpos(self,i));
    }
SWIGINTERN std::list< double,std::allocator< double > > *std_list_Sl_double_Sg____getitem____SWIG_0(std::list< double > *self,PySliceObject *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return NULL;
      }
      PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), self->size(), &i, &j, &step);
      return swig::getslice(self, i, j);
    }
SWIGINTERN void std_list_Sl_double_Sg____setitem____SWIG_0(std::list< double > *self,PySliceObject *slice,std::list< double,std::allocator< double > > const &v){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), self->size(), &i, &j, &step);
      swig::setslice(self, i, j, v);
    }
SWIGINTERN void std_list_Sl_double_Sg____setitem____SWIG_1(std::list< double > *self,PySliceObject *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), self->size(), &i, &j, &step);
      swig::delslice(self, i,j);
    }
SWIGINTERN void std_list_Sl_double_Sg____delitem____SWIG_1(std::list< double > *self,PySliceObject *slice){
      Py_ssize_t i, j, step;
      if( !PySlice_Check(slice) ) {
        SWIG_Error(SWIG_TypeError, "Slice object expected.");
        return;
      }
      PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), self->size(), &i, &j, &step);
      swig::delslice(self, i,j);
    }
SWIGINTERN std::list< double >::value_type const &std_list_Sl_double_Sg____getitem____SWIG_1(std::list< double > const *self,std::list< double >::difference_type i){
      return *(swig::cgetpos(self, i));
    }
SWIGINTERN void std_list_Sl_double_Sg____setitem____SWIG_2(std::list< double > *self,std::list< double >::difference_type i,std::list< double >::value_type const &x){
      *(swig::getpos(self,i)) = x;
    }
SWIGINTERN void std_list_Sl_double_Sg__append(std::list< double > *self,std::list< double >::value_type const &x){
      self->push_back(x);
    }

SWIGINTERNINLINE PyObject *
SWIG_From_int  (int value)
{    
  return SWIG_From_long  (value);
}


SWIGINTERN int
SWIG_AsVal_bool (PyObject *obj, bool *val)
{
  int r = PyObject_IsTrue(obj);
  if (r == -1)
    return SWIG_ERROR;
  if (val) *val = r ? true : false;
  return SWIG_OK;
}


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(PyObject *obj, char** cptr, size_t* psize, int *alloc)
{
#if PY_VERSION_HEX>=0x03000000
  if (PyUnicode_Check(obj))
#else  
  if (PyString_Check(obj))
#endif
  {
    char *cstr; Py_ssize_t len;
#if PY_VERSION_HEX>=0x03000000
    if (!alloc && cptr) {
        /* We can't allow converting without allocation, since the internal
           representation of string in Python 3 is UCS-2/UCS-4 but we require
           a UTF-8 representation.
           TODO(bhy) More detailed explanation */
        return SWIG_RuntimeError;
    }
    obj = PyUnicode_AsUTF8String(obj);
    PyBytes_AsStringAndSize(obj, &cstr, &len);
    if(alloc) *alloc = SWIG_NEWOBJ;
#else
    PyString_AsStringAndSize(obj, &cstr, &len);
#endif
    if (cptr) {
      if (alloc) {
	/* 
	   In python the user should not be able to modify the inner
	   string representation. To warranty that, if you define
	   SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
	   buffer is always returned.

	   The default behavior is just to return the pointer value,
	   so, be careful.
	*/ 
#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
	if (*alloc != SWIG_OLDOBJ) 
#else
	if (*alloc == SWIG_NEWOBJ) 
#endif
	  {
	    *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
	    *alloc = SWIG_NEWOBJ;
	  }
	else {
	  *cptr = cstr;
	  *alloc = SWIG_OLDOBJ;
	}
      } else {
        #if PY_VERSION_HEX>=0x03000000
        assert(0); /* Should never reach here in Python 3 */
        #endif
	*cptr = SWIG_Python_str_AsChar(obj);
      }
    }
    if (psize) *psize = len + 1;
#if PY_VERSION_HEX>=0x03000000
    Py_XDECREF(obj);
#endif
    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;
}


SWIGINTERN int
SWIG_AsPtr_std_string (PyObject * obj, std::string **val) 
{
  char* buf = 0 ; size_t size = 0; int alloc = SWIG_OLDOBJ;
  if (SWIG_IsOK((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)))) {
    if (buf) {
      if (val) *val = new std::string(buf, size - 1);
      if (alloc == SWIG_NEWOBJ) delete[] buf;
      return SWIG_NEWOBJ;
    } else {
      if (val) *val = 0;
      return SWIG_OLDOBJ;
    }
  } else {
    static int init = 0;
    static swig_type_info* descriptor = 0;
    if (!init) {
      descriptor = SWIG_TypeQuery("std::string" " *");
      init = 1;
    }
    if (descriptor) {
      std::string *vptr;
      int res = SWIG_ConvertPtr(obj, (void**)&vptr, descriptor, 0);
      if (SWIG_IsOK(res) && val) *val = vptr;
      return res;
    }
  }
  return SWIG_ERROR;
}


#include <limits.h>
#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


SWIGINTERN int
SWIG_AsVal_int (PyObject * obj, int *val)
{
  long v;
  int res = SWIG_AsVal_long (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < INT_MIN || v > INT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< int >(v);
    }
  }  
  return res;
}

SWIGINTERN void mforms_Form_add_closed_callback(mforms::Form *self,PyObject *callback){ self->signal_closed()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_Form_call_closed_callback(mforms::Form *self){ (*self->signal_closed())(); }
SWIGINTERN void mforms_Button_add_clicked_callback(mforms::Button *self,PyObject *callback){ self->signal_clicked()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_Button_call_clicked_callback(mforms::Button *self){ (*self->signal_clicked())(); }
SWIGINTERN void mforms_TextEntry_add_changed_callback(mforms::TextEntry *self,PyObject *callback){ self->signal_changed()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_TextEntry_call_changed_callback(mforms::TextEntry *self){ (*self->signal_changed())(); }
SWIGINTERN void mforms_TextEntry_add_action_callback(mforms::TextEntry *self,PyObject *callback){ self->signal_action()->connect(pycall_void_entryaction_fun(callback)); }
SWIGINTERN void mforms_TextBox_add_changed_callback(mforms::TextBox *self,PyObject *callback){ self->signal_changed()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_TextBox_call_changed_callback(mforms::TextBox *self){ (*self->signal_changed())(); }
SWIGINTERN void mforms_Selector_add_changed_callback(mforms::Selector *self,PyObject *callback){ self->signal_changed()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_Selector_call_changed_callback(mforms::Selector *self){ (*self->signal_changed())(); }
SWIGINTERN void mforms_ListBox_add_changed_callback(mforms::ListBox *self,PyObject *callback){ self->signal_changed()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_ListBox_call_changed_callback(mforms::ListBox *self){ (*self->signal_changed())(); }
SWIGINTERN void mforms_TabView_add_tab_changed_callback(mforms::TabView *self,PyObject *callback){ self->signal_tab_changed()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_TabView_call_tab_changed_callback(mforms::TabView *self){ (*self->signal_tab_changed())(); }
SWIGINTERN void mforms_TabView_add_tab_closed_callback(mforms::TabView *self,PyObject *callback){ self->signal_tab_closed()->connect(pycall_void_int_fun(callback)); }
SWIGINTERN void mforms_TabView_call_tab_closed_callback(mforms::TabView *self,int i){ (*self->signal_tab_closed())(i); }
SWIGINTERN void mforms_Panel_add_toggled_callback(mforms::Panel *self,PyObject *callback){ self->signal_toggled()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_Panel_call_toggled_callback(mforms::Panel *self){ (*self->signal_toggled())(); }
SWIGINTERN void mforms_ToolBarItem_add_activated_callback(mforms::ToolBarItem *self,PyObject *callback){ self->signal_activated()->connect(pycall_void_toolbaritem_fun(callback)); }
SWIGINTERN void mforms_RadioButton_add_clicked_callback(mforms::RadioButton *self,PyObject *callback){ self->signal_clicked()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_RadioButton_call_clicked_callback(mforms::RadioButton *self){ (*self->signal_clicked())(); }

SWIGINTERN int
SWIG_AsVal_float (PyObject * obj, float *val)
{
  double v;
  int res = SWIG_AsVal_double (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < -FLT_MAX || v > FLT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< float >(v);
    }
  }  
  return res;
}

SWIGINTERN void mforms_Wizard_add_next_callback(mforms::Wizard *self,PyObject *callback){ self->signal_next_clicked()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_Wizard_call_next_callback(mforms::Wizard *self){ (*self->signal_next_clicked())(); }
SWIGINTERN void mforms_Wizard_add_back_callback(mforms::Wizard *self,PyObject *callback){ self->signal_back_clicked()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_Wizard_call_back_callback(mforms::Wizard *self){ (*self->signal_back_clicked())(); }
SWIGINTERN void mforms_Wizard_add_extra_callback(mforms::Wizard *self,PyObject *callback){ self->signal_extra_clicked()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_Wizard_call_extra_callback(mforms::Wizard *self){ (*self->signal_extra_clicked())(); }
SWIGINTERN void mforms_Utilities_add_timeout(float interval,PyObject *callback){ mforms::Utilities::add_timeout(interval, (pycall_bool_fun(callback))); }
SWIGINTERN void mforms_Utilities_perform_from_main_thread(PyObject *callable,bool wait){ mforms::Utilities::perform_from_main_thread(pycall_ignoreret_voidptr_fun(callable), wait); }
SWIGINTERN void mforms_AppView_on_close__SWIG_1(mforms::AppView *self,PyObject *callback){ if (callback != Py_None) self->set_on_close(pycall_bool_fun(callback)); else self->set_on_close(boost::function<bool ()>()); }
SWIGINTERN void mforms_TabSwitcher_add_changed_callback(mforms::TabSwitcher *self,PyObject *callback){ self->signal_changed()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_TabSwitcher_call_changed_callback(mforms::TabSwitcher *self){ (*self->signal_changed())(); }
SWIGINTERN void mforms_WebBrowser_add_loaded_callback(mforms::WebBrowser *self,PyObject *callback){ self->signal_loaded()->connect(pycall_void_string_fun(callback)); }



SWIGINTERN void mforms_WebBrowser_call_loaded_callback(mforms::WebBrowser *self,char const *s){ (*self->signal_loaded())(s ? s : ""); }
SWIGINTERN void mforms_Menu_add_on_action_callback(mforms::Menu *self,PyObject *callback){ self->signal_on_action()->connect(pycall_void_string_fun(callback)); }
SWIGINTERN void mforms_Menu_call_on_action_callback(mforms::Menu *self,char const *s){ (*self->signal_on_action())(s ? s : ""); }
SWIGINTERN void mforms_Menu_set_handler(mforms::Menu *self,PyObject *callback){ self->set_handler(pycall_void_string_fun(callback)); }

SWIGINTERNINLINE PyObject *
SWIG_FromCharPtrAndSize(const char* carray, size_t size)
{
  if (carray) {
    if (size > INT_MAX) {
      swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
      return pchar_descriptor ? 
	SWIG_InternalNewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void();
    } else {
#if PY_VERSION_HEX >= 0x03000000
      return PyUnicode_FromStringAndSize(carray, static_cast< int >(size));
#else
      return PyString_FromStringAndSize(carray, static_cast< int >(size));
#endif
    }
  } else {
    return SWIG_Py_Void();
  }
}


SWIGINTERNINLINE PyObject *
SWIG_From_std_string  (const std::string& s)
{
  return SWIG_FromCharPtrAndSize(s.data(), s.size());
}


SWIGINTERN int
SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v > UINT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< unsigned int >(v);
    }
  }  
  return res;
}

SWIGINTERN void mforms_CodeEditor_add_changed_callback(mforms::CodeEditor *self,PyObject *callback){ self->signal_changed()->connect(pycall_void_int_int_int_bool_fun(callback)); }
SWIGINTERN void mforms_CodeEditor_call_changed_callback(mforms::CodeEditor *self,int i,int j,int k,bool l){ (*self->signal_changed())(i, j, k, l); }
SWIGINTERN void mforms_TaskSidebar_add_on_section_command_callback(mforms::TaskSidebar *self,PyObject *callback){ self->on_section_command()->connect(pycall_void_string_fun(callback)); }
SWIGINTERN void mforms_TaskSidebar_call_on_section_command_callback(mforms::TaskSidebar *self,char const *s){ (*self->on_section_command())(s ? s : ""); }
SWIGINTERN void mforms_Grid_add_content_edited_callback(mforms::Grid *self,PyObject *callback){ self->signal_content_edited()->connect(pycall_gridpath_int_fun(callback)); }
SWIGINTERN void mforms_Grid_add_ro_content_clicked_callback(mforms::Grid *self,PyObject *callback){ self->signal_ro_content_clicked()->connect(pycall_gridpath_int_fun(callback)); }
SWIGINTERN void mforms_Grid_add_content_action_callback(mforms::Grid *self,PyObject *callback){ self->signal_content_action()->connect(pycall_gridpath_int_int_fun(callback)); }
SWIGINTERN void mforms_Grid_add_context_menu_callback(mforms::Grid *self,PyObject *callback){ self->signal_context_menu()->connect(pycall_gridpath_int_fun(callback)); }
SWIGINTERN void mforms_HyperText_add_link_click_callback(mforms::HyperText *self,PyObject *callback){ self->signal_link_click()->connect(pycall_void_string_fun(callback)); }
SWIGINTERN void mforms_HyperText_call_link_click_callback(mforms::HyperText *self,char const *s){ (*(self->signal_link_click()))(s ? s : ""); }

SWIGINTERN int
SWIG_AsVal_long_SS_long (PyObject *obj, long long *val)
{
  int res = SWIG_TypeError;
  if (PyLong_Check(obj)) {
    long long v = PyLong_AsLongLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      PyErr_Clear();
    }
  } else {
    long v;
    res = SWIG_AsVal_long (obj,&v);
    if (SWIG_IsOK(res)) {
      if (val) *val = v;
      return res;
    }
  }
#ifdef SWIG_PYTHON_CAST_MODE
  {
    const double mant_max = 1LL << DBL_MANT_DIG;
    const double mant_min = -mant_max;
    double d;
    res = SWIG_AsVal_double (obj,&d);
    if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, mant_min, mant_max)) {
      if (val) *val = (long long)(d);
      return SWIG_AddCast(res);
    }
    res = SWIG_TypeError;
  }
#endif
  return res;
}


SWIGINTERNINLINE PyObject* 
SWIG_From_long_SS_long  (long long value)
{
  return ((value < LONG_MIN) || (value > LONG_MAX)) ?
    PyLong_FromLongLong(value) : PyInt_FromLong(static_cast< long >(value)); 
}

SWIGINTERN void mforms_TreeNodeView_add_activated_callback(mforms::TreeNodeView *self,PyObject *callback){ self->signal_node_activated()->connect(pycall_void_node_int_fun(callback)); }
SWIGINTERN void mforms_TreeNodeView_call_activated_callback(mforms::TreeNodeView *self,mforms::TreeNodeRef i,int j){ (*self->signal_node_activated())(i, j); }
SWIGINTERN void mforms_TreeNodeView_add_changed_callback(mforms::TreeNodeView *self,PyObject *callback){ self->signal_changed()->connect(pycall_void_fun(callback)); }
SWIGINTERN void mforms_TreeNodeView_call_changed_callback(mforms::TreeNodeView *self){ (*self->signal_changed())(); }
SWIGINTERN void mforms_TreeNodeView_set_cell_edited_callback(mforms::TreeNodeView *self,PyObject *callable){
  self->set_cell_edit_handler(boost::bind(call_cell_node_edited_pycallable, _1, _2, _3, PyObjectRef(callable)));
}
#ifdef __cplusplus
extern "C" {
#endif
SWIGINTERN PyObject *_wrap_delete_SwigPyIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_SwigPyIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SwigPyIterator" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_value" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); try {
    result = (PyObject *)((swig::SwigPyIterator const *)arg1)->value();}  catch(swig::stop_iteration &_e) { { (void)_e;
      SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  }  resultobj = result; return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; size_t arg2 ; void *argp1 = 0 ;
  int res1 = 0 ; size_t val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; swig::SwigPyIterator *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_incr",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_incr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator_incr" "', argument " "2"" of type '" "size_t""'"); }
    arg2 = static_cast< size_t >(val2); try { result = (swig::SwigPyIterator *)(arg1)->incr(arg2);} 
  catch(swig::stop_iteration &_e) { { (void)_e; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  } 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; swig::SwigPyIterator *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_incr",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_incr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); try { result = (swig::SwigPyIterator *)(arg1)->incr();} 
  catch(swig::stop_iteration &_e) { { (void)_e; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  } 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 1) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res);
    if (_v) { return _wrap_SwigPyIterator_incr__SWIG_1(self, args);}  }  if (argc == 2) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_size_t(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_SwigPyIterator_incr__SWIG_0(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SwigPyIterator_incr'.\n"
  "  Possible C/C++ prototypes are:\n" "    swig::SwigPyIterator::incr(size_t)\n" "    swig::SwigPyIterator::incr()\n");
  return 0; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; size_t arg2 ; void *argp1 = 0 ;
  int res1 = 0 ; size_t val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; swig::SwigPyIterator *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_decr",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_decr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator_decr" "', argument " "2"" of type '" "size_t""'"); }
    arg2 = static_cast< size_t >(val2); try { result = (swig::SwigPyIterator *)(arg1)->decr(arg2);} 
  catch(swig::stop_iteration &_e) { { (void)_e; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  } 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; swig::SwigPyIterator *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_decr",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_decr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); try { result = (swig::SwigPyIterator *)(arg1)->decr();} 
  catch(swig::stop_iteration &_e) { { (void)_e; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  } 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 1) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res);
    if (_v) { return _wrap_SwigPyIterator_decr__SWIG_1(self, args);}  }  if (argc == 2) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_size_t(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_SwigPyIterator_decr__SWIG_0(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SwigPyIterator_decr'.\n"
  "  Possible C/C++ prototypes are:\n" "    swig::SwigPyIterator::decr(size_t)\n" "    swig::SwigPyIterator::decr()\n");
  return 0; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_distance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; swig::SwigPyIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; ptrdiff_t result;
  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_distance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_distance" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator_distance" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator_distance" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); }
   arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2); try {
    result = ((swig::SwigPyIterator const *)arg1)->distance((swig::SwigPyIterator const &)*arg2);} 
  catch(std::invalid_argument &_e) {
    SWIG_Python_Raise(SWIG_NewPointerObj((new std::invalid_argument(static_cast< const std::invalid_argument& >(_e))),SWIGTYPE_p_std__invalid_argument,SWIG_POINTER_OWN), "std::invalid_argument", SWIGTYPE_p_std__invalid_argument); SWIG_fail; }
   resultobj = SWIG_From_ptrdiff_t(static_cast< ptrdiff_t >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_equal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; swig::SwigPyIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_equal",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_equal" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator_equal" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator_equal" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); }
   arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2); try {
    result = (bool)((swig::SwigPyIterator const *)arg1)->equal((swig::SwigPyIterator const &)*arg2);} 
  catch(std::invalid_argument &_e) {
    SWIG_Python_Raise(SWIG_NewPointerObj((new std::invalid_argument(static_cast< const std::invalid_argument& >(_e))),SWIGTYPE_p_std__invalid_argument,SWIG_POINTER_OWN), "std::invalid_argument", SWIGTYPE_p_std__invalid_argument); SWIG_fail; }
   resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  swig::SwigPyIterator *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_copy",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_copy" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->copy();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_next" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); try { result = (PyObject *)(arg1)->next();} 
  catch(swig::stop_iteration &_e) { { (void)_e; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  } 
  resultobj = result; return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator___next__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator___next__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___next__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); try { result = (PyObject *)(arg1)->__next__();} 
  catch(swig::stop_iteration &_e) { { (void)_e; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  } 
  resultobj = result; return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_previous(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_previous",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_previous" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); try { result = (PyObject *)(arg1)->previous();} 
  catch(swig::stop_iteration &_e) { { (void)_e; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  } 
  resultobj = result; return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator_advance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; ptrdiff_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; swig::SwigPyIterator *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_advance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_advance" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator_advance" "', argument " "2"" of type '" "ptrdiff_t""'"); }
    arg2 = static_cast< ptrdiff_t >(val2); try { result = (swig::SwigPyIterator *)(arg1)->advance(arg2);} 
  catch(swig::stop_iteration &_e) { { (void)_e; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  } 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; swig::SwigPyIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___eq__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator___eq__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator___eq__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); }
   arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
  result = (bool)((swig::SwigPyIterator const *)arg1)->operator ==((swig::SwigPyIterator const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; swig::SwigPyIterator *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___ne__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator___ne__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator___ne__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); }
   arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
  result = (bool)((swig::SwigPyIterator const *)arg1)->operator !=((swig::SwigPyIterator const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; ptrdiff_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; swig::SwigPyIterator *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___iadd__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___iadd__" "', argument " "2"" of type '" "ptrdiff_t""'"); }
    arg2 = static_cast< ptrdiff_t >(val2); try { result = (swig::SwigPyIterator *) &(arg1)->operator +=(arg2);} 
  catch(swig::stop_iteration &_e) { { (void)_e; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  } 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; ptrdiff_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; swig::SwigPyIterator *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___isub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___isub__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___isub__" "', argument " "2"" of type '" "ptrdiff_t""'"); }
    arg2 = static_cast< ptrdiff_t >(val2); try { result = (swig::SwigPyIterator *) &(arg1)->operator -=(arg2);} 
  catch(swig::stop_iteration &_e) { { (void)_e; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  } 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; ptrdiff_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; swig::SwigPyIterator *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___add__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___add__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___add__" "', argument " "2"" of type '" "ptrdiff_t""'"); }
    arg2 = static_cast< ptrdiff_t >(val2); try {
    result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->operator +(arg2);}  catch(swig::stop_iteration &_e) {
    { (void)_e; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  } 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; ptrdiff_t arg2 ; void *argp1 = 0 ;
  int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  swig::SwigPyIterator *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___sub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___sub__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "ptrdiff_t""'"); }
    arg2 = static_cast< ptrdiff_t >(val2); try {
    result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->operator -(arg2);}  catch(swig::stop_iteration &_e) {
    { (void)_e; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; }  } 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; swig::SwigPyIterator *arg2 = 0 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  ptrdiff_t result; if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___sub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___sub__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");  }
   arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'"); }
   arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
  result = ((swig::SwigPyIterator const *)arg1)->operator -((swig::SwigPyIterator const &)*arg2);
  resultobj = SWIG_From_ptrdiff_t(static_cast< ptrdiff_t >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res);
    if (_v) { int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res); if (_v) {
        return _wrap_SwigPyIterator___sub____SWIG_1(self, args);}  }  }  if (argc == 2) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_SwigPyIterator___sub____SWIG_0(self, args);}  }  }  fail: Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented; }
SWIGINTERN PyObject *SwigPyIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_swig__SwigPyIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_doubleList_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; swig::SwigPyIterator *result = 0 ; arg2 = &obj0;
  if (!PyArg_ParseTuple(args,(char *)"O:doubleList_iterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_iterator" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1);
  result = (swig::SwigPyIterator *)std_list_Sl_double_Sg__iterator(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:doubleList___nonzero__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___nonzero__" "', argument " "1"" of type '" "std::list< double > const *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1);
  result = (bool)std_list_Sl_double_Sg____nonzero__((std::list< double > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:doubleList___bool__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___bool__" "', argument " "1"" of type '" "std::list< double > const *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1);
  result = (bool)std_list_Sl_double_Sg____bool__((std::list< double > const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::list< double >::size_type result; if (!PyArg_ParseTuple(args,(char *)"O:doubleList___len__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___len__" "', argument " "1"" of type '" "std::list< double > const *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1);
  result = std_list_Sl_double_Sg____len__((std::list< double > const *)arg1);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::list< double >::value_type result; if (!PyArg_ParseTuple(args,(char *)"O:doubleList_pop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_pop" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); try {
    result = (std::list< double >::value_type)std_list_Sl_double_Sg__pop(arg1);}  catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); }  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::difference_type arg2 ;
  std::list< double >::difference_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ;
  ptrdiff_t val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  std::list< double,std::allocator< double > > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:doubleList___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___getslice__" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList___getslice__" "', argument " "2"" of type '" "std::list< double >::difference_type""'"); }
    arg2 = static_cast< std::list< double >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "doubleList___getslice__" "', argument " "3"" of type '" "std::list< double >::difference_type""'"); }
    arg3 = static_cast< std::list< double >::difference_type >(val3); try {
    result = (std::list< double,std::allocator< double > > *)std_list_Sl_double_Sg____getslice__(arg1,arg2,arg3);} 
  catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::difference_type arg2 ;
  std::list< double >::difference_type arg3 ; std::list< double,std::allocator< double > > *arg4 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:doubleList___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___setslice__" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList___setslice__" "', argument " "2"" of type '" "std::list< double >::difference_type""'"); }
    arg2 = static_cast< std::list< double >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "doubleList___setslice__" "', argument " "3"" of type '" "std::list< double >::difference_type""'"); }
    arg3 = static_cast< std::list< double >::difference_type >(val3); {
    std::list<double,std::allocator< double > > *ptr = (std::list<double,std::allocator< double > > *)0;
    res4 = swig::asptr(obj3, &ptr); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "doubleList___setslice__" "', argument " "4"" of type '" "std::list< double,std::allocator< double > > const &""'"); }
     if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "doubleList___setslice__" "', argument " "4"" of type '" "std::list< double,std::allocator< double > > const &""'"); }
     arg4 = ptr; }  try {
    std_list_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::list< double,std::allocator< double > > const &)*arg4);} 
  catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); }  catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); }  resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res4)) delete arg4;
  return resultobj; fail: if (SWIG_IsNewObj(res4)) delete arg4; return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::difference_type arg2 ;
  std::list< double >::difference_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ;
  ptrdiff_t val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:doubleList___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___setslice__" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList___setslice__" "', argument " "2"" of type '" "std::list< double >::difference_type""'"); }
    arg2 = static_cast< std::list< double >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "doubleList___setslice__" "', argument " "3"" of type '" "std::list< double >::difference_type""'"); }
    arg3 = static_cast< std::list< double >::difference_type >(val3); try {
    std_list_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3);}  catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); }  catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); }  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___setslice__(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 3) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_doubleList___setslice____SWIG_1(self, args);}  }  }  }  if (argc == 4) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
          int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          int res = swig::asptr(argv[3], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res);
          if (_v) { return _wrap_doubleList___setslice____SWIG_0(self, args);}  }  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'doubleList___setslice__'.\n"
  "  Possible C/C++ prototypes are:\n"
  "    std::list< double >::__setslice__(std::list< double >::difference_type,std::list< double >::difference_type,std::list< double,std::allocator< double > > const &)\n"
  "    std::list< double >::__setslice__(std::list< double >::difference_type,std::list< double >::difference_type)\n");
  return 0; }
SWIGINTERN PyObject *_wrap_doubleList___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::difference_type arg2 ;
  std::list< double >::difference_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ;
  ptrdiff_t val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:doubleList___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___delslice__" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList___delslice__" "', argument " "2"" of type '" "std::list< double >::difference_type""'"); }
    arg2 = static_cast< std::list< double >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "doubleList___delslice__" "', argument " "3"" of type '" "std::list< double >::difference_type""'"); }
    arg3 = static_cast< std::list< double >::difference_type >(val3); try { std_list_Sl_double_Sg____delslice__(arg1,arg2,arg3);}
   catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); }  resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::difference_type arg2 ;
  void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:doubleList___delitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___delitem__" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList___delitem__" "', argument " "2"" of type '" "std::list< double >::difference_type""'"); }
    arg2 = static_cast< std::list< double >::difference_type >(val2); try {
    std_list_Sl_double_Sg____delitem____SWIG_0(arg1,arg2);}  catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); }  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::list< double > *arg1 = (std::list< double > *) 0 ; PySliceObject *arg2 = (PySliceObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  std::list< double,std::allocator< double > > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:doubleList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___getitem__" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); { if (!PySlice_Check(obj1)) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); }
     arg2 = (PySliceObject *) obj1; }  try {
    result = (std::list< double,std::allocator< double > > *)std_list_Sl_double_Sg____getitem____SWIG_0(arg1,arg2);} 
  catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::list< double > *arg1 = (std::list< double > *) 0 ; PySliceObject *arg2 = (PySliceObject *) 0 ;
  std::list< double,std::allocator< double > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:doubleList___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___setitem__" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); { if (!PySlice_Check(obj1)) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); }
     arg2 = (PySliceObject *) obj1; }  {
    std::list<double,std::allocator< double > > *ptr = (std::list<double,std::allocator< double > > *)0;
    res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "doubleList___setitem__" "', argument " "3"" of type '" "std::list< double,std::allocator< double > > const &""'"); }
     if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "doubleList___setitem__" "', argument " "3"" of type '" "std::list< double,std::allocator< double > > const &""'"); }
     arg3 = ptr; }  try {
    std_list_Sl_double_Sg____setitem____SWIG_0(arg1,arg2,(std::list< double,std::allocator< double > > const &)*arg3);} 
  catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); }  catch(std::invalid_argument &_e) {
    SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); }  resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res3)) delete arg3;
  return resultobj; fail: if (SWIG_IsNewObj(res3)) delete arg3; return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::list< double > *arg1 = (std::list< double > *) 0 ; PySliceObject *arg2 = (PySliceObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:doubleList___setitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___setitem__" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); { if (!PySlice_Check(obj1)) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); }
     arg2 = (PySliceObject *) obj1; }  try { std_list_Sl_double_Sg____setitem____SWIG_1(arg1,arg2);} 
  catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); }  resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::list< double > *arg1 = (std::list< double > *) 0 ; PySliceObject *arg2 = (PySliceObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:doubleList___delitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___delitem__" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); { if (!PySlice_Check(obj1)) {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); }
     arg2 = (PySliceObject *) obj1; }  try { std_list_Sl_double_Sg____delitem____SWIG_1(arg1,arg2);} 
  catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); }  resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___delitem__(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { {
        _v = PySlice_Check(argv[1]); }  if (_v) { return _wrap_doubleList___delitem____SWIG_1(self, args);}  }  } 
  if (argc == 2) { int _v; int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res); if (_v) { { int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL); _v = SWIG_CheckState(res); } 
      if (_v) { return _wrap_doubleList___delitem____SWIG_0(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'doubleList___delitem__'.\n"
  "  Possible C/C++ prototypes are:\n" "    std::list< double >::__delitem__(std::list< double >::difference_type)\n"
  "    std::list< double >::__delitem__(PySliceObject *)\n"); return 0; }
SWIGINTERN PyObject *_wrap_doubleList___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::difference_type arg2 ;
  void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  std::list< double >::value_type *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:doubleList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___getitem__" "', argument " "1"" of type '" "std::list< double > const *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList___getitem__" "', argument " "2"" of type '" "std::list< double >::difference_type""'"); }
    arg2 = static_cast< std::list< double >::difference_type >(val2); try {
    result = (std::list< double >::value_type *) &std_list_Sl_double_Sg____getitem____SWIG_1((std::list< double > const *)arg1,arg2);}
   catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } 
  resultobj = SWIG_From_double(static_cast< double >(*result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___getitem__(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { {
        _v = PySlice_Check(argv[1]); }  if (_v) { return _wrap_doubleList___getitem____SWIG_0(self, args);}  }  } 
  if (argc == 2) { int _v; int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res); if (_v) { { int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL); _v = SWIG_CheckState(res); } 
      if (_v) { return _wrap_doubleList___getitem____SWIG_1(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'doubleList___getitem__'.\n"
  "  Possible C/C++ prototypes are:\n" "    std::list< double >::__getitem__(PySliceObject *)\n"
  "    std::list< double >::__getitem__(std::list< double >::difference_type) const\n"); return 0; }
SWIGINTERN PyObject *_wrap_doubleList___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::difference_type arg2 ;
  std::list< double >::value_type *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ;
  std::list< double >::value_type temp3 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:doubleList___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList___setitem__" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList___setitem__" "', argument " "2"" of type '" "std::list< double >::difference_type""'"); }
    arg2 = static_cast< std::list< double >::difference_type >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "doubleList___setitem__" "', argument " "3"" of type '" "std::list< double >::value_type""'"); }
    temp3 = static_cast< std::list< double >::value_type >(val3); arg3 = &temp3; try {
    std_list_Sl_double_Sg____setitem____SWIG_2(arg1,arg2,(double const &)*arg3);}  catch(std::out_of_range &_e) {
    SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); }  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList___setitem__(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { {
        _v = PySlice_Check(argv[1]); }  if (_v) { return _wrap_doubleList___setitem____SWIG_1(self, args);}  }  } 
  if (argc == 3) { int _v; int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0));
    _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); }  if (_v) {
        int res = swig::asptr(argv[2], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) {
          return _wrap_doubleList___setitem____SWIG_0(self, args);}  }  }  }  if (argc == 3) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
          int res = SWIG_AsVal_double(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_doubleList___setitem____SWIG_2(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'doubleList___setitem__'.\n"
  "  Possible C/C++ prototypes are:\n"
  "    std::list< double >::__setitem__(PySliceObject *,std::list< double,std::allocator< double > > const &)\n"
  "    std::list< double >::__setitem__(PySliceObject *)\n"
  "    std::list< double >::__setitem__(std::list< double >::difference_type,std::list< double >::value_type const &)\n");
  return 0; }
SWIGINTERN PyObject *_wrap_doubleList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::value_type *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; std::list< double >::value_type temp2 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:doubleList_append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_append" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList_append" "', argument " "2"" of type '" "std::list< double >::value_type""'"); }
    temp2 = static_cast< std::list< double >::value_type >(val2); arg2 = &temp2;
  std_list_Sl_double_Sg__append(arg1,(double const &)*arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_doubleList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_doubleList")) SWIG_fail;
  result = (std::list< double > *)new std::list< double >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_doubleList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; std::list< double > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_doubleList",&obj0)) SWIG_fail; {
    std::list<double,std::allocator< double > > *ptr = (std::list<double,std::allocator< double > > *)0;
    res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_doubleList" "', argument " "1"" of type '" "std::list< double > const &""'"); }
     if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_doubleList" "', argument " "1"" of type '" "std::list< double > const &""'"); }
     arg1 = ptr; }  result = (std::list< double > *)new std::list< double >((std::list< double > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, SWIG_POINTER_NEW |  0 );
  if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: if (SWIG_IsNewObj(res1)) delete arg1; return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:doubleList_empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_empty" "', argument " "1"" of type '" "std::list< double > const *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); result = (bool)((std::list< double > const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::list< double >::size_type result; if (!PyArg_ParseTuple(args,(char *)"O:doubleList_size",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_size" "', argument " "1"" of type '" "std::list< double > const *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); result = ((std::list< double > const *)arg1)->size();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:doubleList_clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_clear" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:doubleList_swap",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_swap" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t,  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "doubleList_swap" "', argument " "2"" of type '" "std::list< double > &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "doubleList_swap" "', argument " "2"" of type '" "std::list< double > &""'"); }
   arg2 = reinterpret_cast< std::list< double > * >(argp2); (arg1)->swap(*arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  SwigValueWrapper< std::allocator< double > > result;
  if (!PyArg_ParseTuple(args,(char *)"O:doubleList_get_allocator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_get_allocator" "', argument " "1"" of type '" "std::list< double > const *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); result = ((std::list< double > const *)arg1)->get_allocator();
  resultobj = SWIG_NewPointerObj((new std::list< double >::allocator_type(static_cast< const std::list< double >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::list< double >::iterator result; if (!PyArg_ParseTuple(args,(char *)"O:doubleList_begin",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_begin" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); result = (arg1)->begin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::list< double >::iterator & >(result)),
  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::list< double >::iterator result; if (!PyArg_ParseTuple(args,(char *)"O:doubleList_end",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_end" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); result = (arg1)->end();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::list< double >::iterator & >(result)),
  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::list< double >::reverse_iterator result; if (!PyArg_ParseTuple(args,(char *)"O:doubleList_rbegin",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_rbegin" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); result = (arg1)->rbegin();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::list< double >::reverse_iterator & >(result)),
  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::list< double >::reverse_iterator result; if (!PyArg_ParseTuple(args,(char *)"O:doubleList_rend",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_rend" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); result = (arg1)->rend();
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::list< double >::reverse_iterator & >(result)),
  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_doubleList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double >::size_type arg1 ; size_t val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; std::list< double > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_doubleList",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_doubleList" "', argument " "1"" of type '" "std::list< double >::size_type""'"); }
    arg1 = static_cast< std::list< double >::size_type >(val1); result = (std::list< double > *)new std::list< double >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:doubleList_pop_back",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_pop_back" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); (arg1)->pop_back(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::size_type arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  size_t val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:doubleList_resize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_resize" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList_resize" "', argument " "2"" of type '" "std::list< double >::size_type""'"); }
    arg2 = static_cast< std::list< double >::size_type >(val2); (arg1)->resize(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::iterator arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; std::list< double >::iterator result;
  if (!PyArg_ParseTuple(args,(char *)"OO:doubleList_erase",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_erase" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList_erase" "', argument " "2"" of type '" "std::list< double >::iterator""'"); }
   else {
    swig::SwigPyIterator_T<std::list< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::list< double >::iterator > *>(iter2);
    if (iter_t) { arg2 = iter_t->get_current(); }  else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList_erase" "', argument " "2"" of type '" "std::list< double >::iterator""'"); }
     }  result = (arg1)->erase(arg2);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::list< double >::iterator & >(result)),
  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::iterator arg2 ;
  std::list< double >::iterator arg3 ; void *argp1 = 0 ; int res1 = 0 ; swig::SwigPyIterator *iter2 = 0 ; int res2 ;
  swig::SwigPyIterator *iter3 = 0 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  std::list< double >::iterator result; if (!PyArg_ParseTuple(args,(char *)"OOO:doubleList_erase",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_erase" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList_erase" "', argument " "2"" of type '" "std::list< double >::iterator""'"); }
   else {
    swig::SwigPyIterator_T<std::list< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::list< double >::iterator > *>(iter2);
    if (iter_t) { arg2 = iter_t->get_current(); }  else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList_erase" "', argument " "2"" of type '" "std::list< double >::iterator""'"); }
     }  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res3) || !iter3) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList_erase" "', argument " "3"" of type '" "std::list< double >::iterator""'"); }
   else {
    swig::SwigPyIterator_T<std::list< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::list< double >::iterator > *>(iter3);
    if (iter_t) { arg3 = iter_t->get_current(); }  else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList_erase" "', argument " "3"" of type '" "std::list< double >::iterator""'"); }
     }  result = (arg1)->erase(arg2,arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::list< double >::iterator & >(result)),
  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_erase(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::list< double >::iterator > *>(iter) != 0));
      if (_v) { return _wrap_doubleList_erase__SWIG_0(self, args);}  }  }  if (argc == 3) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::list< double >::iterator > *>(iter) != 0));
      if (_v) { swig::SwigPyIterator *iter = 0;
        int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
        _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::list< double >::iterator > *>(iter) != 0));
        if (_v) { return _wrap_doubleList_erase__SWIG_1(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'doubleList_erase'.\n"
  "  Possible C/C++ prototypes are:\n" "    std::list< double >::erase(std::list< double >::iterator)\n"
  "    std::list< double >::erase(std::list< double >::iterator,std::list< double >::iterator)\n"); return 0; }
SWIGINTERN PyObject *_wrap_new_doubleList__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double >::size_type arg1 ; std::list< double >::value_type *arg2 = 0 ; size_t val1 ; int ecode1 = 0 ;
  std::list< double >::value_type temp2 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  std::list< double > *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:new_doubleList",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1); if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_doubleList" "', argument " "1"" of type '" "std::list< double >::size_type""'"); }
    arg1 = static_cast< std::list< double >::size_type >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_doubleList" "', argument " "2"" of type '" "std::list< double >::value_type""'"); }
    temp2 = static_cast< std::list< double >::value_type >(val2); arg2 = &temp2;
  result = (std::list< double > *)new std::list< double >(arg1,(std::list< double >::value_type const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, SWIG_POINTER_NEW |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_doubleList(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_doubleList__SWIG_0(self, args);}  if (argc == 1) { int _v; { int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res); }  if (_v) { return _wrap_new_doubleList__SWIG_2(self, args);}  }  if (argc == 1) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) {
      return _wrap_new_doubleList__SWIG_1(self, args);}  }  if (argc == 2) { int _v; {
      int res = SWIG_AsVal_size_t(argv[0], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
        int res = SWIG_AsVal_double(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_new_doubleList__SWIG_3(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_doubleList'.\n"
  "  Possible C/C++ prototypes are:\n" "    std::list< double >::list()\n"
  "    std::list< double >::list(std::list< double > const &)\n"
  "    std::list< double >::list(std::list< double >::size_type)\n"
  "    std::list< double >::list(std::list< double >::size_type,std::list< double >::value_type const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_doubleList_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::value_type *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; std::list< double >::value_type temp2 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:doubleList_push_back",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_push_back" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList_push_back" "', argument " "2"" of type '" "std::list< double >::value_type""'"); }
    temp2 = static_cast< std::list< double >::value_type >(val2); arg2 = &temp2;
  (arg1)->push_back((std::list< double >::value_type const &)*arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::list< double >::value_type *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:doubleList_front",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_front" "', argument " "1"" of type '" "std::list< double > const *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1);
  result = (std::list< double >::value_type *) &((std::list< double > const *)arg1)->front();
  resultobj = SWIG_From_double(static_cast< double >(*result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::list< double >::value_type *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:doubleList_back",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_back" "', argument " "1"" of type '" "std::list< double > const *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1);
  result = (std::list< double >::value_type *) &((std::list< double > const *)arg1)->back();
  resultobj = SWIG_From_double(static_cast< double >(*result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::size_type arg2 ;
  std::list< double >::value_type *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; int ecode2 = 0 ;
  std::list< double >::value_type temp3 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:doubleList_assign",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_assign" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList_assign" "', argument " "2"" of type '" "std::list< double >::size_type""'"); }
    arg2 = static_cast< std::list< double >::size_type >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "doubleList_assign" "', argument " "3"" of type '" "std::list< double >::value_type""'"); }
    temp3 = static_cast< std::list< double >::value_type >(val3); arg3 = &temp3;
  (arg1)->assign(arg2,(std::list< double >::value_type const &)*arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::size_type arg2 ;
  std::list< double >::value_type *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; int ecode2 = 0 ;
  std::list< double >::value_type temp3 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:doubleList_resize",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_resize" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList_resize" "', argument " "2"" of type '" "std::list< double >::size_type""'"); }
    arg2 = static_cast< std::list< double >::size_type >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "doubleList_resize" "', argument " "3"" of type '" "std::list< double >::value_type""'"); }
    temp3 = static_cast< std::list< double >::value_type >(val3); arg3 = &temp3;
  (arg1)->resize(arg2,(std::list< double >::value_type const &)*arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_resize(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_size_t(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_doubleList_resize__SWIG_0(self, args);}  }  }  if (argc == 3) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_size_t(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
          int res = SWIG_AsVal_double(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_doubleList_resize__SWIG_1(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'doubleList_resize'.\n"
  "  Possible C/C++ prototypes are:\n" "    std::list< double >::resize(std::list< double >::size_type)\n"
  "    std::list< double >::resize(std::list< double >::size_type,std::list< double >::value_type const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_doubleList_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::iterator arg2 ;
  std::list< double >::value_type *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; swig::SwigPyIterator *iter2 = 0 ; int res2 ;
  std::list< double >::value_type temp3 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; std::list< double >::iterator result;
  if (!PyArg_ParseTuple(args,(char *)"OOO:doubleList_insert",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_insert" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList_insert" "', argument " "2"" of type '" "std::list< double >::iterator""'"); }
   else {
    swig::SwigPyIterator_T<std::list< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::list< double >::iterator > *>(iter2);
    if (iter_t) { arg2 = iter_t->get_current(); }  else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList_insert" "', argument " "2"" of type '" "std::list< double >::iterator""'"); }
     }  ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "doubleList_insert" "', argument " "3"" of type '" "std::list< double >::value_type""'"); }
    temp3 = static_cast< std::list< double >::value_type >(val3); arg3 = &temp3;
  result = (arg1)->insert(arg2,(std::list< double >::value_type const &)*arg3);
  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::list< double >::iterator & >(result)),
  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::iterator arg2 ;
  std::list< double >::size_type arg3 ; std::list< double >::value_type *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  swig::SwigPyIterator *iter2 = 0 ; int res2 ; size_t val3 ; int ecode3 = 0 ; std::list< double >::value_type temp4 ;
  double val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:doubleList_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_insert" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
  if (!SWIG_IsOK(res2) || !iter2) {
    SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList_insert" "', argument " "2"" of type '" "std::list< double >::iterator""'"); }
   else {
    swig::SwigPyIterator_T<std::list< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::list< double >::iterator > *>(iter2);
    if (iter_t) { arg2 = iter_t->get_current(); }  else {
      SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "doubleList_insert" "', argument " "2"" of type '" "std::list< double >::iterator""'"); }
     }  ecode3 = SWIG_AsVal_size_t(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "doubleList_insert" "', argument " "3"" of type '" "std::list< double >::size_type""'"); }
    arg3 = static_cast< std::list< double >::size_type >(val3); ecode4 = SWIG_AsVal_double(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "doubleList_insert" "', argument " "4"" of type '" "std::list< double >::value_type""'"); }
    temp4 = static_cast< std::list< double >::value_type >(val4); arg4 = &temp4;
  (arg1)->insert(arg2,arg3,(std::list< double >::value_type const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_insert(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 3) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::list< double >::iterator > *>(iter) != 0));
      if (_v) { { int res = SWIG_AsVal_double(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_doubleList_insert__SWIG_0(self, args);}  }  }  }  if (argc == 4) { int _v;
    int res = swig::asptr(argv[0], (std::list<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) {
      swig::SwigPyIterator *iter = 0;
      int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
      _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::list< double >::iterator > *>(iter) != 0));
      if (_v) { { int res = SWIG_AsVal_size_t(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
            int res = SWIG_AsVal_double(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) {
            return _wrap_doubleList_insert__SWIG_1(self, args);}  }  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'doubleList_insert'.\n"
  "  Possible C/C++ prototypes are:\n"
  "    std::list< double >::insert(std::list< double >::iterator,std::list< double >::value_type const &)\n"
  "    std::list< double >::insert(std::list< double >::iterator,std::list< double >::size_type,std::list< double >::value_type const &)\n");
  return 0; }
SWIGINTERN PyObject *_wrap_doubleList_pop_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:doubleList_pop_front",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_pop_front" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); (arg1)->pop_front(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_push_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; std::list< double >::value_type *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; std::list< double >::value_type temp2 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:doubleList_push_front",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_push_front" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleList_push_front" "', argument " "2"" of type '" "std::list< double >::value_type""'"); }
    temp2 = static_cast< std::list< double >::value_type >(val2); arg2 = &temp2;
  (arg1)->push_front((std::list< double >::value_type const &)*arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_doubleList_reverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:doubleList_reverse",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleList_reverse" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); (arg1)->reverse(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_doubleList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::list< double > *arg1 = (std::list< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_doubleList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_doubleList" "', argument " "1"" of type '" "std::list< double > *""'");  }
   arg1 = reinterpret_cast< std::list< double > * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *doubleList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_std__listT_double_std__allocatorT_double_t_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_Object_retain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Object *arg1 = (mforms::Object *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::Object *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:Object_retain",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Object, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Object_retain" "', argument " "1"" of type '" "mforms::Object *""'");  }
   arg1 = reinterpret_cast< mforms::Object * >(argp1); result = (mforms::Object *)(arg1)->retain();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Object, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Object_release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Object *arg1 = (mforms::Object *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Object_release",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Object, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Object_release" "', argument " "1"" of type '" "mforms::Object *""'");  }
   arg1 = reinterpret_cast< mforms::Object * >(argp1); (arg1)->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Object_set_managed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Object *arg1 = (mforms::Object *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Object_set_managed",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Object, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Object_set_managed" "', argument " "1"" of type '" "mforms::Object *""'");  }
   arg1 = reinterpret_cast< mforms::Object * >(argp1); (arg1)->set_managed(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_Object_set_release_on_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Object *arg1 = (mforms::Object *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Object_set_release_on_add",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Object, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Object_set_release_on_add" "', argument " "1"" of type '" "mforms::Object *""'");  }
   arg1 = reinterpret_cast< mforms::Object * >(argp1); (arg1)->set_release_on_add(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Object_is_managed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Object *arg1 = (mforms::Object *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:Object_is_managed",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Object, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Object_is_managed" "', argument " "1"" of type '" "mforms::Object *""'");  }
   arg1 = reinterpret_cast< mforms::Object * >(argp1); result = (bool)(arg1)->is_managed();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Object_release_on_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Object *arg1 = (mforms::Object *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:Object_release_on_add",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Object, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Object_release_on_add" "', argument " "1"" of type '" "mforms::Object *""'");  }
   arg1 = reinterpret_cast< mforms::Object * >(argp1); result = (bool)(arg1)->release_on_add();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Object_retain_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Object *arg1 = (mforms::Object *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:Object_retain_count",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Object, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Object_retain_count" "', argument " "1"" of type '" "mforms::Object *""'");  }
   arg1 = reinterpret_cast< mforms::Object * >(argp1); result = (int)(arg1)->retain_count();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Object_set_destroying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Object *arg1 = (mforms::Object *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Object_set_destroying",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Object, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Object_set_destroying" "', argument " "1"" of type '" "mforms::Object *""'");  }
   arg1 = reinterpret_cast< mforms::Object * >(argp1); (arg1)->set_destroying(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_Object_is_destroying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Object *arg1 = (mforms::Object *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:Object_is_destroying",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Object, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Object_is_destroying" "', argument " "1"" of type '" "mforms::Object *""'");  }
   arg1 = reinterpret_cast< mforms::Object * >(argp1); result = (bool)(arg1)->is_destroying();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Object(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Object *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_Object")) SWIG_fail;
  result = (mforms::Object *)new mforms::Object();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Object, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_Object(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Object *arg1 = (mforms::Object *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Object",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Object, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Object" "', argument " "1"" of type '" "mforms::Object *""'");  }
   arg1 = reinterpret_cast< mforms::Object * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *Object_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Object, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_TextAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; bool arg2 ; bool arg3 ; bool val2 ; int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; mforms::TextAttributes *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_TextAttributes",&obj0,&obj1,&obj2)) SWIG_fail; { if (PyUnicode_Check(obj0)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextAttributes" "', argument " "2"" of type '" "bool""'"); }  
  arg2 = static_cast< bool >(val2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextAttributes" "', argument " "3"" of type '" "bool""'"); }  
  arg3 = static_cast< bool >(val3);
  result = (mforms::TextAttributes *)new mforms::TextAttributes((std::string const &)*arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TextAttributes, SWIG_POINTER_NEW |  0 ); {
    delete arg1; }  return resultobj; fail: { delete arg1; }  return NULL; }
SWIGINTERN PyObject *_wrap_delete_TextAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextAttributes *arg1 = (mforms::TextAttributes *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_TextAttributes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextAttributes, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttributes" "', argument " "1"" of type '" "mforms::TextAttributes *""'");  }
   arg1 = reinterpret_cast< mforms::TextAttributes * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *TextAttributes_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__TextAttributes, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_View(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_View",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_View" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_View_find_subview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; mforms::View *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:View_find_subview",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_find_subview" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (mforms::View *)(arg1)->find_subview((std::string const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__View, 0 |  0 ); { delete arg2; }  return resultobj;
  fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_View_contains_subview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:View_contains_subview",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_contains_subview" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "View_contains_subview" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); result = (bool)(arg1)->contains_subview(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_clear_subviews(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:View_clear_subviews",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_clear_subviews" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); (arg1)->clear_subviews(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_get_resize_mode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::AutoResizeMode result; if (!PyArg_ParseTuple(args,(char *)"O:View_get_resize_mode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_resize_mode" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (mforms::AutoResizeMode)(arg1)->get_resize_mode();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_set_resize_mode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; mforms::AutoResizeMode arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:View_set_resize_mode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_set_resize_mode" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "View_set_resize_mode" "', argument " "2"" of type '" "mforms::AutoResizeMode""'"); }
    arg2 = static_cast< mforms::AutoResizeMode >(val2); (arg1)->set_resize_mode(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_signal_resized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  boost::signals2::signal< void () > *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:View_signal_resized",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_signal_resized" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (boost::signals2::signal< void () > *)(arg1)->signal_resized();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_boost__signals2__signalT_void_fF_t, 0 |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_set_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:View_set_name",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_set_name" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_name((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_View_set_tooltip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:View_set_tooltip",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_set_tooltip" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_tooltip((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_View_set_font(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:View_set_font",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_set_font" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_font((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_View_get_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_name",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_name" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (arg1)->get_name(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_set_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:View_set_parent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_set_parent" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "View_set_parent" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); (arg1)->set_parent(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_get_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; mforms::View *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_parent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_parent" "', argument " "1"" of type '" "mforms::View const *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (mforms::View *)((mforms::View const *)arg1)->get_parent();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__View, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_View_get_parent_form(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; mforms::Form *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_parent_form",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_parent_form" "', argument " "1"" of type '" "mforms::View const *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (mforms::Form *)((mforms::View const *)arg1)->get_parent_form();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Form, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_View_get_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_width",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_width" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (int)(arg1)->get_width();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_get_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_height",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_height" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (int)(arg1)->get_height();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_get_preferred_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_preferred_width",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_preferred_width" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (int)(arg1)->get_preferred_width();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_get_preferred_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_preferred_height",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_preferred_height" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (int)(arg1)->get_preferred_height();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_get_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_x",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_x" "', argument " "1"" of type '" "mforms::View *""'");  } 
  arg1 = reinterpret_cast< mforms::View * >(argp1); result = (int)(arg1)->get_x();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_get_y(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_y",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_y" "', argument " "1"" of type '" "mforms::View *""'");  } 
  arg1 = reinterpret_cast< mforms::View * >(argp1); result = (int)(arg1)->get_y();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_set_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:View_set_position",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_set_position" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "View_set_position" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "View_set_position" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); (arg1)->set_position(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_View_set_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:View_set_size",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_set_size" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "View_set_size" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "View_set_size" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); (arg1)->set_size(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_View_client_to_screen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; int *arg2 = 0 ; int *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:View_client_to_screen",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_client_to_screen" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "View_client_to_screen" "', argument " "2"" of type '" "int &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "View_client_to_screen" "', argument " "2"" of type '" "int &""'"); }
   arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 ); if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "View_client_to_screen" "', argument " "3"" of type '" "int &""'");  }
   if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "View_client_to_screen" "', argument " "3"" of type '" "int &""'"); }
   arg3 = reinterpret_cast< int * >(argp3); (arg1)->client_to_screen(*arg2,*arg3); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_show__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:View_show",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_show" "', argument " "1"" of type '" "mforms::View *""'");  } 
  arg1 = reinterpret_cast< mforms::View * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "View_show" "', argument " "2"" of type '" "bool""'"); }  
  arg2 = static_cast< bool >(val2); (arg1)->show(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_show__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:View_show",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_show" "', argument " "1"" of type '" "mforms::View *""'");  } 
  arg1 = reinterpret_cast< mforms::View * >(argp1); (arg1)->show(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_View_show(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 1) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__View, 0); _v = SWIG_CheckState(res); if (_v) {
      return _wrap_View_show__SWIG_1(self, args);}  }  if (argc == 2) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__View, 0); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_bool(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_View_show__SWIG_0(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'View_show'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::View::show(bool)\n" "    mforms::View::show()\n"); return 0; }
SWIGINTERN PyObject *_wrap_View_is_shown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_is_shown",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_is_shown" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (bool)(arg1)->is_shown();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_set_enabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:View_set_enabled",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_set_enabled" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "View_set_enabled" "', argument " "2"" of type '" "bool""'"); }  
  arg2 = static_cast< bool >(val2); (arg1)->set_enabled(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_is_enabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_is_enabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_is_enabled" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (bool)(arg1)->is_enabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_set_needs_repaint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:View_set_needs_repaint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_set_needs_repaint" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); (arg1)->set_needs_repaint(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_relayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:View_relayout",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_relayout" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); (arg1)->relayout(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_View_set_layout_dirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:View_set_layout_dirty",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_set_layout_dirty" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "View_set_layout_dirty" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_layout_dirty(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_View_is_layout_dirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_is_layout_dirty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_is_layout_dirty" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (bool)(arg1)->is_layout_dirty();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_suspend_layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:View_suspend_layout",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_suspend_layout" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); (arg1)->suspend_layout(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_resume_layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:View_resume_layout",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_resume_layout" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); (arg1)->resume_layout(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_set_front_color(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:View_set_front_color",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_set_front_color" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_front_color((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_View_get_front_color(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_front_color",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_front_color" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (arg1)->get_front_color(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_set_back_color(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:View_set_back_color",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_set_back_color" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_back_color((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_View_get_back_color(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_back_color",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_back_color" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (arg1)->get_back_color(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_show_retain_counts__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::View *arg1 = (mforms::View *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:View_show_retain_counts",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_show_retain_counts" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "View_show_retain_counts" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->show_retain_counts(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_View_show_retain_counts__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:View_show_retain_counts",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_show_retain_counts" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); (arg1)->show_retain_counts(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_show_retain_counts(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 1) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__View, 0); _v = SWIG_CheckState(res); if (_v) {
      return _wrap_View_show_retain_counts__SWIG_1(self, args);}  }  if (argc == 2) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__View, 0); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_View_show_retain_counts__SWIG_0(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'View_show_retain_counts'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::View::show_retain_counts(int)\n"
  "    mforms::View::show_retain_counts()\n"); return 0; }
SWIGINTERN PyObject *_wrap_View_get_string_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_string_value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_string_value" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (arg1)->get_string_value(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_get_int_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_int_value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_int_value" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (int)(arg1)->get_int_value();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_get_bool_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:View_get_bool_value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_get_bool_value" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); result = (bool)(arg1)->get_bool_value();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_View_flush_events(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:View_flush_events",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_flush_events" "', argument " "1"" of type '" "mforms::View *""'");  }
   arg1 = reinterpret_cast< mforms::View * >(argp1); (arg1)->flush_events(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_View_focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::View *arg1 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:View_focus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "View_focus" "', argument " "1"" of type '" "mforms::View *""'");  } 
  arg1 = reinterpret_cast< mforms::View * >(argp1); (arg1)->focus(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *View_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__View, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_Container(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Container *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_Container")) SWIG_fail;
  result = (mforms::Container *)new mforms::Container();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Container, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Container_set_padding__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Container *arg1 = (mforms::Container *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ;
  void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ;
  int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Container_set_padding",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Container, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Container_set_padding" "', argument " "1"" of type '" "mforms::Container *""'");  }
   arg1 = reinterpret_cast< mforms::Container * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Container_set_padding" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Container_set_padding" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Container_set_padding" "', argument " "4"" of type '" "int""'"); }
    arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Container_set_padding" "', argument " "5"" of type '" "int""'"); }
    arg5 = static_cast< int >(val5); (arg1)->set_padding(arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_Container_set_padding__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Container *arg1 = (mforms::Container *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Container_set_padding",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Container, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Container_set_padding" "', argument " "1"" of type '" "mforms::Container *""'");  }
   arg1 = reinterpret_cast< mforms::Container * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Container_set_padding" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_padding(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Container_set_padding(PyObject *self, PyObject *args) { int argc; PyObject *argv[6]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Container, 0); _v = SWIG_CheckState(res);
    if (_v) { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_Container_set_padding__SWIG_1(self, args);}  }  }  if (argc == 5) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Container, 0); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
          int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
            int res = SWIG_AsVal_int(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
              int res = SWIG_AsVal_int(argv[4], NULL); _v = SWIG_CheckState(res); }  if (_v) {
              return _wrap_Container_set_padding__SWIG_0(self, args);}  }  }  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Container_set_padding'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Container::set_padding(int,int,int,int)\n"
  "    mforms::Container::set_padding(int)\n"); return 0; }
SWIGINTERN PyObject *_wrap_Container_set_back_image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Container *arg1 = (mforms::Container *) 0 ; std::string *arg2 = 0 ; mforms::Alignment arg3 ; void *argp1 = 0 ;
  int res1 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Container_set_back_image",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Container, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Container_set_back_image" "', argument " "1"" of type '" "mforms::Container *""'");  }
   arg1 = reinterpret_cast< mforms::Container * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Container_set_back_image" "', argument " "3"" of type '" "mforms::Alignment""'"); }
    arg3 = static_cast< mforms::Alignment >(val3); (arg1)->set_back_image((std::string const &)*arg2,arg3);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_delete_Container(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Container *arg1 = (mforms::Container *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Container",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Container, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Container" "', argument " "1"" of type '" "mforms::Container *""'");  }
   arg1 = reinterpret_cast< mforms::Container * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *Container_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Container, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_Form__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; mforms::FormFlag arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::Form *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:new_Form",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Form" "', argument " "1"" of type '" "mforms::Form *""'");  } 
  arg1 = reinterpret_cast< mforms::Form * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Form" "', argument " "2"" of type '" "mforms::FormFlag""'"); }
    arg2 = static_cast< mforms::FormFlag >(val2); result = (mforms::Form *)new mforms::Form(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Form, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Form__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; mforms::Form *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_Form",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Form" "', argument " "1"" of type '" "mforms::Form *""'");  } 
  arg1 = reinterpret_cast< mforms::Form * >(argp1); result = (mforms::Form *)new mforms::Form(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Form, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Form(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 1) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Form, 0); _v = SWIG_CheckState(res); if (_v) {
      return _wrap_new_Form__SWIG_2(self, args);}  }  if (argc == 2) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Form, 0); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_new_Form__SWIG_1(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Form'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Form::Form(mforms::Form *,mforms::FormFlag)\n"
  "    mforms::Form::Form(mforms::Form *)\n"); return 0; }
SWIGINTERN PyObject *_wrap_delete_Form(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Form",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Form" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Form_main_form(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":Form_main_form")) SWIG_fail;
  result = (mforms::Form *)mforms::Form::main_form();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Form, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Form_set_content(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Form_set_content",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Form_set_content" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Form_set_content" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); (arg1)->set_content(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_Form_set_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Form_set_title",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Form_set_title" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_title((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Form_show_modal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; mforms::Button *arg2 = (mforms::Button *) 0 ;
  mforms::Button *arg3 = (mforms::Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
  void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Form_show_modal",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Form_show_modal" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__Button, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Form_show_modal" "', argument " "2"" of type '" "mforms::Button *""'");  }
   arg2 = reinterpret_cast< mforms::Button * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_mforms__Button, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Form_show_modal" "', argument " "3"" of type '" "mforms::Button *""'");  }
   arg3 = reinterpret_cast< mforms::Button * >(argp3); (arg1)->show_modal(arg2,arg3); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Form_run_modal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; mforms::Button *arg2 = (mforms::Button *) 0 ;
  mforms::Button *arg3 = (mforms::Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
  void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Form_run_modal",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Form_run_modal" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__Button, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Form_run_modal" "', argument " "2"" of type '" "mforms::Button *""'");  }
   arg2 = reinterpret_cast< mforms::Button * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_mforms__Button, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Form_run_modal" "', argument " "3"" of type '" "mforms::Button *""'");  }
   arg3 = reinterpret_cast< mforms::Button * >(argp3); result = (bool)(arg1)->run_modal(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Form_end_modal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Form_end_modal",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Form_end_modal" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Form_end_modal" "', argument " "2"" of type '" "bool""'"); }  
  arg2 = static_cast< bool >(val2); (arg1)->end_modal(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Form_close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Form_close",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Form_close" "', argument " "1"" of type '" "mforms::Form *""'");  } 
  arg1 = reinterpret_cast< mforms::Form * >(argp1); (arg1)->close(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Form_center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Form_center",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Form_center" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); (arg1)->center(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Form_set_release_on_close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Form_set_release_on_close",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Form_set_release_on_close" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Form_set_release_on_close" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_release_on_close(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Form_was_closed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Form_was_closed",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Form_was_closed" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); (arg1)->was_closed(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Form_add_closed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Form_add_closed_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Form_add_closed_callback" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); arg2 = obj1; mforms_Form_add_closed_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Form_call_closed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Form_call_closed_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Form_call_closed_callback" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); mforms_Form_call_closed_callback(arg1); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *Form_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Form, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_Button__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ButtonType arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::Button *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_Button",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Button" "', argument " "1"" of type '" "mforms::ButtonType""'"); }
    arg1 = static_cast< mforms::ButtonType >(val1); result = (mforms::Button *)new mforms::Button(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Button, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Button__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Button *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_Button")) SWIG_fail;
  result = (mforms::Button *)new mforms::Button();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Button, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Button(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_Button__SWIG_1(self, args);}  if (argc == 1) { int _v; { int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res); }  if (_v) { return _wrap_new_Button__SWIG_0(self, args);}  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Button'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Button::Button(mforms::ButtonType)\n" "    mforms::Button::Button()\n");
  return 0; }
SWIGINTERN PyObject *_wrap_Button_enable_internal_padding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Button *arg1 = (mforms::Button *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Button_enable_internal_padding",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Button, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_enable_internal_padding" "', argument " "1"" of type '" "mforms::Button *""'");  }
   arg1 = reinterpret_cast< mforms::Button * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Button_enable_internal_padding" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->enable_internal_padding(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Button_set_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Button *arg1 = (mforms::Button *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Button_set_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Button, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_set_text" "', argument " "1"" of type '" "mforms::Button *""'");  }
   arg1 = reinterpret_cast< mforms::Button * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_text((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Button_set_icon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Button *arg1 = (mforms::Button *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Button_set_icon",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Button, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_set_icon" "', argument " "1"" of type '" "mforms::Button *""'");  }
   arg1 = reinterpret_cast< mforms::Button * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_icon((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Button_add_clicked_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Button *arg1 = (mforms::Button *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Button_add_clicked_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Button, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_add_clicked_callback" "', argument " "1"" of type '" "mforms::Button *""'");  }
   arg1 = reinterpret_cast< mforms::Button * >(argp1); arg2 = obj1; mforms_Button_add_clicked_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Button_call_clicked_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Button *arg1 = (mforms::Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Button_call_clicked_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Button, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_call_clicked_callback" "', argument " "1"" of type '" "mforms::Button *""'");  }
   arg1 = reinterpret_cast< mforms::Button * >(argp1); mforms_Button_call_clicked_callback(arg1); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Button *arg1 = (mforms::Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Button",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Button, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Button" "', argument " "1"" of type '" "mforms::Button *""'");  }
   arg1 = reinterpret_cast< mforms::Button * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Button, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CheckBox *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_CheckBox")) SWIG_fail;
  result = (mforms::CheckBox *)new mforms::CheckBox();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__CheckBox, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CheckBox_set_active(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CheckBox *arg1 = (mforms::CheckBox *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CheckBox_set_active",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CheckBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_set_active" "', argument " "1"" of type '" "mforms::CheckBox *""'");  }
   arg1 = reinterpret_cast< mforms::CheckBox * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_set_active" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_active(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CheckBox_get_active(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CheckBox *arg1 = (mforms::CheckBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:CheckBox_get_active",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CheckBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_get_active" "', argument " "1"" of type '" "mforms::CheckBox *""'");  }
   arg1 = reinterpret_cast< mforms::CheckBox * >(argp1); result = (bool)(arg1)->get_active();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CheckBox *arg1 = (mforms::CheckBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_CheckBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CheckBox, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CheckBox" "', argument " "1"" of type '" "mforms::CheckBox *""'");  }
   arg1 = reinterpret_cast< mforms::CheckBox * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__CheckBox, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_TextEntry__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextEntryType arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::TextEntry *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_TextEntry",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextEntry" "', argument " "1"" of type '" "mforms::TextEntryType""'"); }
    arg1 = static_cast< mforms::TextEntryType >(val1); result = (mforms::TextEntry *)new mforms::TextEntry(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TextEntry, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_TextEntry__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextEntry *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_TextEntry")) SWIG_fail;
  result = (mforms::TextEntry *)new mforms::TextEntry();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TextEntry, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_TextEntry(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_TextEntry__SWIG_1(self, args);}  if (argc == 1) { int _v; { int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res); }  if (_v) { return _wrap_new_TextEntry__SWIG_0(self, args);}  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_TextEntry'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::TextEntry::TextEntry(mforms::TextEntryType)\n"
  "    mforms::TextEntry::TextEntry()\n"); return 0; }
SWIGINTERN PyObject *_wrap_TextEntry_set_max_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextEntry *arg1 = (mforms::TextEntry *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TextEntry_set_max_length",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextEntry, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntry_set_max_length" "', argument " "1"" of type '" "mforms::TextEntry *""'");  }
   arg1 = reinterpret_cast< mforms::TextEntry * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextEntry_set_max_length" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_max_length(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TextEntry_set_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextEntry *arg1 = (mforms::TextEntry *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TextEntry_set_value",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextEntry, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntry_set_value" "', argument " "1"" of type '" "mforms::TextEntry *""'");  }
   arg1 = reinterpret_cast< mforms::TextEntry * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_value((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TextEntry_set_read_only(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextEntry *arg1 = (mforms::TextEntry *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TextEntry_set_read_only",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextEntry, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntry_set_read_only" "', argument " "1"" of type '" "mforms::TextEntry *""'");  }
   arg1 = reinterpret_cast< mforms::TextEntry * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextEntry_set_read_only" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_read_only(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TextEntry_set_placeholder_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TextEntry *arg1 = (mforms::TextEntry *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TextEntry_set_placeholder_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextEntry, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntry_set_placeholder_text" "', argument " "1"" of type '" "mforms::TextEntry *""'");  }
   arg1 = reinterpret_cast< mforms::TextEntry * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_placeholder_text((std::string const &)*arg2); resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj;
  fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TextEntry_add_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TextEntry *arg1 = (mforms::TextEntry *) 0 ; PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TextEntry_add_changed_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextEntry, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntry_add_changed_callback" "', argument " "1"" of type '" "mforms::TextEntry *""'");  }
   arg1 = reinterpret_cast< mforms::TextEntry * >(argp1); arg2 = obj1; mforms_TextEntry_add_changed_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TextEntry_call_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TextEntry *arg1 = (mforms::TextEntry *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TextEntry_call_changed_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextEntry, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntry_call_changed_callback" "', argument " "1"" of type '" "mforms::TextEntry *""'");  }
   arg1 = reinterpret_cast< mforms::TextEntry * >(argp1); mforms_TextEntry_call_changed_callback(arg1);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TextEntry_add_action_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TextEntry *arg1 = (mforms::TextEntry *) 0 ; PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TextEntry_add_action_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextEntry, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntry_add_action_callback" "', argument " "1"" of type '" "mforms::TextEntry *""'");  }
   arg1 = reinterpret_cast< mforms::TextEntry * >(argp1); arg2 = obj1; mforms_TextEntry_add_action_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_TextEntry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextEntry *arg1 = (mforms::TextEntry *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_TextEntry",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextEntry, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextEntry" "', argument " "1"" of type '" "mforms::TextEntry *""'");  }
   arg1 = reinterpret_cast< mforms::TextEntry * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *TextEntry_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__TextEntry, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_TextBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ScrollBars arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::TextBox *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_TextBox",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextBox" "', argument " "1"" of type '" "mforms::ScrollBars""'"); }
    arg1 = static_cast< mforms::ScrollBars >(val1); result = (mforms::TextBox *)new mforms::TextBox(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TextBox, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_set_bordered(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TextBox_set_bordered",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_set_bordered" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextBox_set_bordered" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_bordered(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_set_monospaced(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TextBox_set_monospaced",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_set_monospaced" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextBox_set_monospaced" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_monospaced(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_set_read_only(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TextBox_set_read_only",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_set_read_only" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextBox_set_read_only" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_read_only(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_set_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:TextBox_set_value",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_set_value" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_value((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_get_selected_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; int *arg2 = 0 ; int *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:TextBox_get_selected_range",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_get_selected_range" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextBox_get_selected_range" "', argument " "2"" of type '" "int &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextBox_get_selected_range" "', argument " "2"" of type '" "int &""'"); }
   arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 ); if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextBox_get_selected_range" "', argument " "3"" of type '" "int &""'");  }
   if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextBox_get_selected_range" "', argument " "3"" of type '" "int &""'"); }
   arg3 = reinterpret_cast< int * >(argp3); (arg1)->get_selected_range(*arg2,*arg3); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_append_text_and_scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; std::string *arg2 = 0 ; bool arg3 ; void *argp1 = 0 ;
  int res1 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TextBox_append_text_and_scroll",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_append_text_and_scroll" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextBox_append_text_and_scroll" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->append_text((std::string const &)*arg2,arg3); resultobj = SWIG_Py_Void(); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_append_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:TextBox_append_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_append_text" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->append_text((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_append_text_with_encoding_and_scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ;
  bool arg4 ; void *argp1 = 0 ; int res1 = 0 ; bool val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:TextBox_append_text_with_encoding_and_scroll",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_append_text_with_encoding_and_scroll" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TextBox_append_text_with_encoding_and_scroll" "', argument " "4"" of type '" "bool""'"); }
    arg4 = static_cast< bool >(val4);
  (arg1)->append_text_with_encoding((std::string const &)*arg2,(std::string const &)*arg3,arg4); resultobj = SWIG_Py_Void(); {
    delete arg2; }  { delete arg3; }  return resultobj; fail: { delete arg2; }  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_append_text_with_encoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TextBox_append_text_with_encoding",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_append_text_with_encoding" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->append_text_with_encoding((std::string const &)*arg2,(std::string const &)*arg3); resultobj = SWIG_Py_Void(); {
    delete arg2; }  { delete arg3; }  return resultobj; fail: { delete arg2; }  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_set_padding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TextBox_set_padding",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_set_padding" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextBox_set_padding" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); (arg1)->set_padding(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TextBox_clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_clear" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_add_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TextBox_add_changed_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_add_changed_callback" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); arg2 = obj1; mforms_TextBox_add_changed_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TextBox_call_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TextBox_call_changed_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextBox_call_changed_callback" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); mforms_TextBox_call_changed_callback(arg1); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_TextBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TextBox *arg1 = (mforms::TextBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_TextBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TextBox, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextBox" "', argument " "1"" of type '" "mforms::TextBox *""'");  }
   arg1 = reinterpret_cast< mforms::TextBox * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *TextBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__TextBox, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_Label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; bool arg2 ; bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  mforms::Label *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:new_Label",&obj0,&obj1)) SWIG_fail; {
    if (PyUnicode_Check(obj0)) { PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Label" "', argument " "2"" of type '" "bool""'"); }  
  arg2 = static_cast< bool >(val2); result = (mforms::Label *)new mforms::Label((std::string const &)*arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Label, SWIG_POINTER_NEW |  0 ); { delete arg1; } 
  result->retain(); return resultobj; fail: { delete arg1; }  return NULL; }
SWIGINTERN PyObject *_wrap_new_Label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; PyObject * obj0 = 0 ; mforms::Label *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_Label",&obj0)) SWIG_fail; { if (PyUnicode_Check(obj0)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (mforms::Label *)new mforms::Label((std::string const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Label, SWIG_POINTER_NEW |  0 ); { delete arg1; } 
  result->retain(); return resultobj; fail: { delete arg1; }  return NULL; }
SWIGINTERN PyObject *_wrap_new_Label(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 1) { int _v;
    int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
      return _wrap_new_Label__SWIG_1(self, args);}  }  if (argc == 2) { int _v;
    int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_bool(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_new_Label__SWIG_0(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Label'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Label::Label(std::string const &,bool)\n"
  "    mforms::Label::Label(std::string const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_Label_set_wrap_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Label *arg1 = (mforms::Label *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Label_set_wrap_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Label, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Label_set_wrap_text" "', argument " "1"" of type '" "mforms::Label *""'");  }
   arg1 = reinterpret_cast< mforms::Label * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Label_set_wrap_text" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_wrap_text(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Label_set_text_align(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Label *arg1 = (mforms::Label *) 0 ; mforms::Alignment arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Label_set_text_align",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Label, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Label_set_text_align" "', argument " "1"" of type '" "mforms::Label *""'");  }
   arg1 = reinterpret_cast< mforms::Label * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Label_set_text_align" "', argument " "2"" of type '" "mforms::Alignment""'"); }
    arg2 = static_cast< mforms::Alignment >(val2); (arg1)->set_text_align(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_Label_set_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Label *arg1 = (mforms::Label *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Label_set_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Label, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Label_set_text" "', argument " "1"" of type '" "mforms::Label *""'");  }
   arg1 = reinterpret_cast< mforms::Label * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_text((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Label_set_style(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Label *arg1 = (mforms::Label *) 0 ; mforms::LabelStyle arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Label_set_style",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Label, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Label_set_style" "', argument " "1"" of type '" "mforms::Label *""'");  }
   arg1 = reinterpret_cast< mforms::Label * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Label_set_style" "', argument " "2"" of type '" "mforms::LabelStyle""'"); }
    arg2 = static_cast< mforms::LabelStyle >(val2); (arg1)->set_style(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Label_set_color(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Label *arg1 = (mforms::Label *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Label_set_color",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Label, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Label_set_color" "', argument " "1"" of type '" "mforms::Label *""'");  }
   arg1 = reinterpret_cast< mforms::Label * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_color((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_delete_Label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Label *arg1 = (mforms::Label *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Label",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Label, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Label" "', argument " "1"" of type '" "mforms::Label *""'");  }
   arg1 = reinterpret_cast< mforms::Label * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *Label_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Label, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_Selector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::SelectorStyle arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::Selector *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_Selector",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Selector" "', argument " "1"" of type '" "mforms::SelectorStyle""'"); }
    arg1 = static_cast< mforms::SelectorStyle >(val1); result = (mforms::Selector *)new mforms::Selector(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Selector, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Selector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Selector *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_Selector")) SWIG_fail;
  result = (mforms::Selector *)new mforms::Selector();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Selector, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Selector(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_Selector__SWIG_1(self, args);}  if (argc == 1) { int _v; { int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res); }  if (_v) { return _wrap_new_Selector__SWIG_0(self, args);}  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Selector'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Selector::Selector(mforms::SelectorStyle)\n"
  "    mforms::Selector::Selector()\n"); return 0; }
SWIGINTERN PyObject *_wrap_Selector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Selector *arg1 = (mforms::Selector *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Selector_clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Selector, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Selector_clear" "', argument " "1"" of type '" "mforms::Selector *""'");  }
   arg1 = reinterpret_cast< mforms::Selector * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Selector_add_item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Selector *arg1 = (mforms::Selector *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OO:Selector_add_item",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Selector, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Selector_add_item" "', argument " "1"" of type '" "mforms::Selector *""'");  }
   arg1 = reinterpret_cast< mforms::Selector * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)(arg1)->add_item((std::string const &)*arg2); resultobj = SWIG_From_int(static_cast< int >(result)); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Selector_add_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Selector *arg1 = (mforms::Selector *) 0 ; std::list< std::string,std::allocator< std::string > > *arg2 = 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Selector_add_items",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Selector, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Selector_add_items" "', argument " "1"" of type '" "mforms::Selector *""'");  }
   arg1 = reinterpret_cast< mforms::Selector * >(argp1); { if (PyList_Check(obj1)) { arg2 = new std::list<std::string>();
      for (int c= PyList_Size(obj1), i= 0; i < c; i++) { PyObject *item = PyList_GetItem(obj1, i); if (PyUnicode_Check(item)) {
          PyObject *tmp = PyUnicode_AsUTF8String(item); arg2->push_back(PyString_AsString(tmp)); Py_DECREF(tmp); } 
        else if (PyString_Check(item)) arg2->push_back(PyString_AsString(item)); else { delete arg2; arg2 = 0;
          SWIG_exception_fail(SWIG_TypeError, "expected list of strings"); }  }  }  else
    SWIG_exception_fail(SWIG_TypeError, "expected list of strings"); } 
  (arg1)->add_items((std::list< std::string,std::allocator< std::string > > const &)*arg2); resultobj = SWIG_Py_Void(); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Selector_get_item_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Selector *arg1 = (mforms::Selector *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"OO:Selector_get_item_title",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Selector, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Selector_get_item_title" "', argument " "1"" of type '" "mforms::Selector *""'");  }
   arg1 = reinterpret_cast< mforms::Selector * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Selector_get_item_title" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (arg1)->get_item_title(arg2); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Selector_set_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Selector *arg1 = (mforms::Selector *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Selector_set_selected",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Selector, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Selector_set_selected" "', argument " "1"" of type '" "mforms::Selector *""'");  }
   arg1 = reinterpret_cast< mforms::Selector * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Selector_set_selected" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_selected(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Selector_index_of_item_with_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Selector *arg1 = (mforms::Selector *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OO:Selector_index_of_item_with_title",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Selector, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Selector_index_of_item_with_title" "', argument " "1"" of type '" "mforms::Selector *""'");  }
   arg1 = reinterpret_cast< mforms::Selector * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)(arg1)->index_of_item_with_title((std::string const &)*arg2);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg2; }  return resultobj; fail: { delete arg2; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_Selector_get_selected_index(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Selector *arg1 = (mforms::Selector *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; int result; if (!PyArg_ParseTuple(args,(char *)"O:Selector_get_selected_index",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Selector, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Selector_get_selected_index" "', argument " "1"" of type '" "mforms::Selector *""'");  }
   arg1 = reinterpret_cast< mforms::Selector * >(argp1); result = (int)(arg1)->get_selected_index();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Selector_set_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Selector *arg1 = (mforms::Selector *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Selector_set_value",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Selector, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Selector_set_value" "', argument " "1"" of type '" "mforms::Selector *""'");  }
   arg1 = reinterpret_cast< mforms::Selector * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_value((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Selector_get_item_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Selector *arg1 = (mforms::Selector *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:Selector_get_item_count",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Selector, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Selector_get_item_count" "', argument " "1"" of type '" "mforms::Selector *""'");  }
   arg1 = reinterpret_cast< mforms::Selector * >(argp1); result = (int)(arg1)->get_item_count();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Selector_add_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Selector *arg1 = (mforms::Selector *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Selector_add_changed_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Selector, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Selector_add_changed_callback" "', argument " "1"" of type '" "mforms::Selector *""'");  }
   arg1 = reinterpret_cast< mforms::Selector * >(argp1); arg2 = obj1; mforms_Selector_add_changed_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Selector_call_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Selector *arg1 = (mforms::Selector *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:Selector_call_changed_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Selector, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Selector_call_changed_callback" "', argument " "1"" of type '" "mforms::Selector *""'");  }
   arg1 = reinterpret_cast< mforms::Selector * >(argp1); mforms_Selector_call_changed_callback(arg1);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_Selector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Selector *arg1 = (mforms::Selector *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Selector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Selector, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Selector" "', argument " "1"" of type '" "mforms::Selector *""'");  }
   arg1 = reinterpret_cast< mforms::Selector * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *Selector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Selector, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; bool arg1 ;
  bool val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::ListBox *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_ListBox",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_bool(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListBox" "', argument " "1"" of type '" "bool""'"); }  
  arg1 = static_cast< bool >(val1); result = (mforms::ListBox *)new mforms::ListBox(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ListBox, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ListBox_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ListBox *arg1 = (mforms::ListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:ListBox_clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ListBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_clear" "', argument " "1"" of type '" "mforms::ListBox *""'");  }
   arg1 = reinterpret_cast< mforms::ListBox * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ListBox_set_heading(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ListBox *arg1 = (mforms::ListBox *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:ListBox_set_heading",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ListBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_set_heading" "', argument " "1"" of type '" "mforms::ListBox *""'");  }
   arg1 = reinterpret_cast< mforms::ListBox * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_heading((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ListBox_add_item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ListBox *arg1 = (mforms::ListBox *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; int result; if (!PyArg_ParseTuple(args,(char *)"OO:ListBox_add_item",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ListBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_add_item" "', argument " "1"" of type '" "mforms::ListBox *""'");  }
   arg1 = reinterpret_cast< mforms::ListBox * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)(arg1)->add_item((std::string const &)*arg2); resultobj = SWIG_From_int(static_cast< int >(result)); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ListBox_add_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ListBox *arg1 = (mforms::ListBox *) 0 ; std::list< std::string,std::allocator< std::string > > *arg2 = 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ListBox_add_items",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ListBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_add_items" "', argument " "1"" of type '" "mforms::ListBox *""'");  }
   arg1 = reinterpret_cast< mforms::ListBox * >(argp1); { if (PyList_Check(obj1)) { arg2 = new std::list<std::string>();
      for (int c= PyList_Size(obj1), i= 0; i < c; i++) { PyObject *item = PyList_GetItem(obj1, i); if (PyUnicode_Check(item)) {
          PyObject *tmp = PyUnicode_AsUTF8String(item); arg2->push_back(PyString_AsString(tmp)); Py_DECREF(tmp); } 
        else if (PyString_Check(item)) arg2->push_back(PyString_AsString(item)); else { delete arg2; arg2 = 0;
          SWIG_exception_fail(SWIG_TypeError, "expected list of strings"); }  }  }  else
    SWIG_exception_fail(SWIG_TypeError, "expected list of strings"); } 
  (arg1)->add_items((std::list< std::string,std::allocator< std::string > > const &)*arg2); resultobj = SWIG_Py_Void(); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ListBox_set_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ListBox *arg1 = (mforms::ListBox *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ListBox_set_selected",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ListBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_set_selected" "', argument " "1"" of type '" "mforms::ListBox *""'");  }
   arg1 = reinterpret_cast< mforms::ListBox * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_set_selected" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_selected(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ListBox_get_selected_index(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ListBox *arg1 = (mforms::ListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:ListBox_get_selected_index",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ListBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_get_selected_index" "', argument " "1"" of type '" "mforms::ListBox *""'");  }
   arg1 = reinterpret_cast< mforms::ListBox * >(argp1); result = (int)(arg1)->get_selected_index();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ListBox_get_selected_indices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ListBox *arg1 = (mforms::ListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; SwigValueWrapper< std::vector< int,std::allocator< int > > > result;
  if (!PyArg_ParseTuple(args,(char *)"O:ListBox_get_selected_indices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ListBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_get_selected_indices" "', argument " "1"" of type '" "mforms::ListBox *""'");  }
   arg1 = reinterpret_cast< mforms::ListBox * >(argp1); result = (arg1)->get_selected_indices(); { resultobj = PyList_New(0);
    for (std::vector<int>::const_iterator iter = (&result)->begin(); iter != (&result)->end(); ++iter) {
      PyList_Append(resultobj, PyInt_FromLong(*iter)); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ListBox_add_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ListBox *arg1 = (mforms::ListBox *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ListBox_add_changed_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ListBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_add_changed_callback" "', argument " "1"" of type '" "mforms::ListBox *""'");  }
   arg1 = reinterpret_cast< mforms::ListBox * >(argp1); arg2 = obj1; mforms_ListBox_add_changed_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ListBox_call_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ListBox *arg1 = (mforms::ListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:ListBox_call_changed_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ListBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_call_changed_callback" "', argument " "1"" of type '" "mforms::ListBox *""'");  }
   arg1 = reinterpret_cast< mforms::ListBox * >(argp1); mforms_ListBox_call_changed_callback(arg1); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ListBox *arg1 = (mforms::ListBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_ListBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ListBox, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListBox" "', argument " "1"" of type '" "mforms::ListBox *""'");  }
   arg1 = reinterpret_cast< mforms::ListBox * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__ListBox, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_TabView__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabViewType arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::TabView *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_TabView",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TabView" "', argument " "1"" of type '" "mforms::TabViewType""'"); }
    arg1 = static_cast< mforms::TabViewType >(val1); result = (mforms::TabView *)new mforms::TabView(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TabView, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_TabView__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabView *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_TabView")) SWIG_fail;
  result = (mforms::TabView *)new mforms::TabView();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TabView, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_TabView(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_TabView__SWIG_1(self, args);}  if (argc == 1) { int _v; { int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res); }  if (_v) { return _wrap_new_TabView__SWIG_0(self, args);}  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_TabView'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::TabView::TabView(mforms::TabViewType)\n"
  "    mforms::TabView::TabView()\n"); return 0; }
SWIGINTERN PyObject *_wrap_delete_TabView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabView *arg1 = (mforms::TabView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_TabView",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TabView" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TabView_set_active_tab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabView *arg1 = (mforms::TabView *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TabView_set_active_tab",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabView_set_active_tab" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TabView_set_active_tab" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_active_tab(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TabView_get_active_tab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabView *arg1 = (mforms::TabView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:TabView_get_active_tab",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabView_get_active_tab" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); result = (int)(arg1)->get_active_tab();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TabView_add_page(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabView *arg1 = (mforms::TabView *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; std::string *arg3 = 0 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; int result; if (!PyArg_ParseTuple(args,(char *)"OOO:TabView_add_page",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabView_add_page" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabView_add_page" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)(arg1)->add_page(arg2,(std::string const &)*arg3); resultobj = SWIG_From_int(static_cast< int >(result)); {
    delete arg3; }  return resultobj; fail: { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_TabView_remove_page(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabView *arg1 = (mforms::TabView *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TabView_remove_page",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabView_remove_page" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabView_remove_page" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); (arg1)->remove_page(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_TabView_set_tab_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabView *arg1 = (mforms::TabView *) 0 ; int arg2 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TabView_set_tab_title",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabView_set_tab_title" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TabView_set_tab_title" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); { if (PyUnicode_Check(obj2)) { PyObject *tmp = PyUnicode_AsUTF8String(obj2);
      arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj2))
    arg3 = new std::string(PyString_AsString(obj2)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_tab_title(arg2,(std::string const &)*arg3); resultobj = SWIG_Py_Void(); { delete arg3; }  return resultobj; fail:
  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_TabView_get_page_index(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabView *arg1 = (mforms::TabView *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TabView_get_page_index",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabView_get_page_index" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabView_get_page_index" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); result = (int)(arg1)->get_page_index(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TabView_get_page(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabView *arg1 = (mforms::TabView *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::View *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TabView_get_page",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabView_get_page" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TabView_get_page" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); result = (mforms::View *)(arg1)->get_page(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__View, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TabView_can_close_tab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabView *arg1 = (mforms::TabView *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TabView_can_close_tab",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabView_can_close_tab" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TabView_can_close_tab" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (bool)(arg1)->can_close_tab(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TabView_add_tab_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TabView *arg1 = (mforms::TabView *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TabView_add_tab_changed_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabView_add_tab_changed_callback" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); arg2 = obj1; mforms_TabView_add_tab_changed_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TabView_call_tab_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TabView *arg1 = (mforms::TabView *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TabView_call_tab_changed_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabView_call_tab_changed_callback" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); mforms_TabView_call_tab_changed_callback(arg1);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TabView_add_tab_closed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TabView *arg1 = (mforms::TabView *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TabView_add_tab_closed_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabView_add_tab_closed_callback" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); arg2 = obj1; mforms_TabView_add_tab_closed_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TabView_call_tab_closed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TabView *arg1 = (mforms::TabView *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TabView_call_tab_closed_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabView_call_tab_closed_callback" "', argument " "1"" of type '" "mforms::TabView *""'");  }
   arg1 = reinterpret_cast< mforms::TabView * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TabView_call_tab_closed_callback" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); mforms_TabView_call_tab_closed_callback(arg1,arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *TabView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__TabView, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_Box(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; bool arg1 ;
  bool val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::Box *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_Box",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_bool(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Box" "', argument " "1"" of type '" "bool""'"); }  
  arg1 = static_cast< bool >(val1); result = (mforms::Box *)new mforms::Box(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Box, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_Box(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Box *arg1 = (mforms::Box *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Box",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Box, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Box" "', argument " "1"" of type '" "mforms::Box *""'");  } 
  arg1 = reinterpret_cast< mforms::Box * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Box_add__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Box *arg1 = (mforms::Box *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; bool arg3 ; bool arg4 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; bool val3 ; int ecode3 = 0 ; bool val4 ; int ecode4 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:Box_add",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Box, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_add" "', argument " "1"" of type '" "mforms::Box *""'");  } 
  arg1 = reinterpret_cast< mforms::Box * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Box_add" "', argument " "2"" of type '" "mforms::View *""'");  } 
  arg2 = reinterpret_cast< mforms::View * >(argp2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Box_add" "', argument " "3"" of type '" "bool""'"); }  
  arg3 = static_cast< bool >(val3); ecode4 = SWIG_AsVal_bool(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Box_add" "', argument " "4"" of type '" "bool""'"); }  
  arg4 = static_cast< bool >(val4); (arg1)->add(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Box_add__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Box *arg1 = (mforms::Box *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:Box_add",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Box, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_add" "', argument " "1"" of type '" "mforms::Box *""'");  } 
  arg1 = reinterpret_cast< mforms::Box * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Box_add" "', argument " "2"" of type '" "mforms::View *""'");  } 
  arg2 = reinterpret_cast< mforms::View * >(argp2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Box_add" "', argument " "3"" of type '" "bool""'"); }  
  arg3 = static_cast< bool >(val3); (arg1)->add(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Box_add(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 3) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Box, 0); _v = SWIG_CheckState(res); if (_v) {
      void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_mforms__View, 0); _v = SWIG_CheckState(res);
      if (_v) { { int res = SWIG_AsVal_bool(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_Box_add__SWIG_1(self, args);}  }  }  }  if (argc == 4) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Box, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_mforms__View, 0); _v = SWIG_CheckState(res); if (_v) { {
          int res = SWIG_AsVal_bool(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
            int res = SWIG_AsVal_bool(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) {
            return _wrap_Box_add__SWIG_0(self, args);}  }  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Box_add'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Box::add(mforms::View *,bool,bool)\n"
  "    mforms::Box::add(mforms::View *,bool)\n"); return 0; }
SWIGINTERN PyObject *_wrap_Box_add_end__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Box *arg1 = (mforms::Box *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; bool arg3 ; bool arg4 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; bool val3 ; int ecode3 = 0 ; bool val4 ; int ecode4 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:Box_add_end",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Box, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_add_end" "', argument " "1"" of type '" "mforms::Box *""'");  } 
  arg1 = reinterpret_cast< mforms::Box * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Box_add_end" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Box_add_end" "', argument " "3"" of type '" "bool""'"); }  
  arg3 = static_cast< bool >(val3); ecode4 = SWIG_AsVal_bool(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Box_add_end" "', argument " "4"" of type '" "bool""'"); }  
  arg4 = static_cast< bool >(val4); (arg1)->add_end(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Box_add_end__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Box *arg1 = (mforms::Box *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:Box_add_end",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Box, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_add_end" "', argument " "1"" of type '" "mforms::Box *""'");  } 
  arg1 = reinterpret_cast< mforms::Box * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Box_add_end" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Box_add_end" "', argument " "3"" of type '" "bool""'"); }  
  arg3 = static_cast< bool >(val3); (arg1)->add_end(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Box_add_end(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 3) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Box, 0); _v = SWIG_CheckState(res); if (_v) {
      void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_mforms__View, 0); _v = SWIG_CheckState(res);
      if (_v) { { int res = SWIG_AsVal_bool(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_Box_add_end__SWIG_1(self, args);}  }  }  }  if (argc == 4) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Box, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_mforms__View, 0); _v = SWIG_CheckState(res); if (_v) { {
          int res = SWIG_AsVal_bool(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
            int res = SWIG_AsVal_bool(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) {
            return _wrap_Box_add_end__SWIG_0(self, args);}  }  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Box_add_end'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Box::add_end(mforms::View *,bool,bool)\n"
  "    mforms::Box::add_end(mforms::View *,bool)\n"); return 0; }
SWIGINTERN PyObject *_wrap_Box_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Box *arg1 = (mforms::Box *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Box_remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Box, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_remove" "', argument " "1"" of type '" "mforms::Box *""'");  } 
  arg1 = reinterpret_cast< mforms::Box * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Box_remove" "', argument " "2"" of type '" "mforms::View *""'");  } 
  arg2 = reinterpret_cast< mforms::View * >(argp2); (arg1)->remove(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Box_set_homogeneous(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Box *arg1 = (mforms::Box *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Box_set_homogeneous",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Box, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_set_homogeneous" "', argument " "1"" of type '" "mforms::Box *""'");  }
   arg1 = reinterpret_cast< mforms::Box * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Box_set_homogeneous" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_homogeneous(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Box_set_spacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Box *arg1 = (mforms::Box *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Box_set_spacing",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Box, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_set_spacing" "', argument " "1"" of type '" "mforms::Box *""'");  }
   arg1 = reinterpret_cast< mforms::Box * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Box_set_spacing" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); (arg1)->set_spacing(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Box_is_horizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Box *arg1 = (mforms::Box *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:Box_is_horizontal",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Box, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_is_horizontal" "', argument " "1"" of type '" "mforms::Box *""'");  }
   arg1 = reinterpret_cast< mforms::Box * >(argp1); result = (bool)(arg1)->is_horizontal();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *Box_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Box, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::PanelType arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::Panel *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_Panel",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Panel" "', argument " "1"" of type '" "mforms::PanelType""'"); }
    arg1 = static_cast< mforms::PanelType >(val1); result = (mforms::Panel *)new mforms::Panel(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Panel, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Panel *arg1 = (mforms::Panel *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Panel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Panel, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Panel" "', argument " "1"" of type '" "mforms::Panel *""'");  }
   arg1 = reinterpret_cast< mforms::Panel * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Panel_set_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Panel *arg1 = (mforms::Panel *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Panel_set_title",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Panel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_set_title" "', argument " "1"" of type '" "mforms::Panel *""'");  }
   arg1 = reinterpret_cast< mforms::Panel * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_title((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Panel_set_back_color(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Panel *arg1 = (mforms::Panel *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Panel_set_back_color",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Panel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_set_back_color" "', argument " "1"" of type '" "mforms::Panel *""'");  }
   arg1 = reinterpret_cast< mforms::Panel * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_back_color((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Panel_set_active(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Panel *arg1 = (mforms::Panel *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Panel_set_active",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Panel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_set_active" "', argument " "1"" of type '" "mforms::Panel *""'");  }
   arg1 = reinterpret_cast< mforms::Panel * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Panel_set_active" "', argument " "2"" of type '" "bool""'"); }  
  arg2 = static_cast< bool >(val2); (arg1)->set_active(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Panel_get_active(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Panel *arg1 = (mforms::Panel *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:Panel_get_active",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Panel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_get_active" "', argument " "1"" of type '" "mforms::Panel *""'");  }
   arg1 = reinterpret_cast< mforms::Panel * >(argp1); result = (bool)(arg1)->get_active();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Panel_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Panel *arg1 = (mforms::Panel *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Panel_add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Panel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_add" "', argument " "1"" of type '" "mforms::Panel *""'");  } 
  arg1 = reinterpret_cast< mforms::Panel * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_add" "', argument " "2"" of type '" "mforms::View *""'");  } 
  arg2 = reinterpret_cast< mforms::View * >(argp2); (arg1)->add(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Panel_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Panel *arg1 = (mforms::Panel *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Panel_remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Panel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_remove" "', argument " "1"" of type '" "mforms::Panel *""'");  }
   arg1 = reinterpret_cast< mforms::Panel * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_remove" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); (arg1)->remove(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Panel_add_toggled_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Panel *arg1 = (mforms::Panel *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Panel_add_toggled_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Panel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_add_toggled_callback" "', argument " "1"" of type '" "mforms::Panel *""'");  }
   arg1 = reinterpret_cast< mforms::Panel * >(argp1); arg2 = obj1; mforms_Panel_add_toggled_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Panel_call_toggled_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Panel *arg1 = (mforms::Panel *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Panel_call_toggled_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Panel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_call_toggled_callback" "', argument " "1"" of type '" "mforms::Panel *""'");  }
   arg1 = reinterpret_cast< mforms::Panel * >(argp1); mforms_Panel_call_toggled_callback(arg1); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Panel, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_ToolBar__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarType arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::ToolBar *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_ToolBar",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolBar" "', argument " "1"" of type '" "mforms::ToolBarType""'"); }
    arg1 = static_cast< mforms::ToolBarType >(val1); result = (mforms::ToolBar *)new mforms::ToolBar(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ToolBar, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_ToolBar__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_ToolBar")) SWIG_fail;
  result = (mforms::ToolBar *)new mforms::ToolBar();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ToolBar, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_ToolBar__SWIG_1(self, args);}  if (argc == 1) { int _v; { int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res); }  if (_v) { return _wrap_new_ToolBar__SWIG_0(self, args);}  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_ToolBar'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::ToolBar::ToolBar(mforms::ToolBarType)\n"
  "    mforms::ToolBar::ToolBar()\n"); return 0; }
SWIGINTERN PyObject *_wrap_delete_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *arg1 = (mforms::ToolBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_ToolBar",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBar, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ToolBar" "', argument " "1"" of type '" "mforms::ToolBar *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBar * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBar_get_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *arg1 = (mforms::ToolBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::ToolBarType result; if (!PyArg_ParseTuple(args,(char *)"O:ToolBar_get_type",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_get_type" "', argument " "1"" of type '" "mforms::ToolBar *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBar * >(argp1); result = (mforms::ToolBarType)(arg1)->get_type();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBar_get_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *arg1 = (mforms::ToolBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::vector< mforms::ToolBarItem *,std::allocator< mforms::ToolBarItem * > > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:ToolBar_get_items",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_get_items" "', argument " "1"" of type '" "mforms::ToolBar *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBar * >(argp1);
  result = (std::vector< mforms::ToolBarItem *,std::allocator< mforms::ToolBarItem * > > *) &(arg1)->get_items();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_mforms__ToolBarItem_p_std__allocatorT_mforms__ToolBarItem_p_t_t, 0 |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBar_find_item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *arg1 = (mforms::ToolBar *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; mforms::ToolBarItem *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBar_find_item",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_find_item" "', argument " "1"" of type '" "mforms::ToolBar *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (mforms::ToolBarItem *)(arg1)->find_item((std::string const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); { delete arg2; } 
  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBar_set_item_enabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *arg1 = (mforms::ToolBar *) 0 ; std::string *arg2 = 0 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:ToolBar_set_item_enabled",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_set_item_enabled" "', argument " "1"" of type '" "mforms::ToolBar *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_set_item_enabled" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->set_item_enabled((std::string const &)*arg2,arg3); resultobj = SWIG_Py_Void(); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBar_set_item_checked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *arg1 = (mforms::ToolBar *) 0 ; std::string *arg2 = 0 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:ToolBar_set_item_checked",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_set_item_checked" "', argument " "1"" of type '" "mforms::ToolBar *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_set_item_checked" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->set_item_checked((std::string const &)*arg2,arg3); resultobj = SWIG_Py_Void(); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBar_get_item_checked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *arg1 = (mforms::ToolBar *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; bool result; if (!PyArg_ParseTuple(args,(char *)"OO:ToolBar_get_item_checked",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_get_item_checked" "', argument " "1"" of type '" "mforms::ToolBar *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (bool)(arg1)->get_item_checked((std::string const &)*arg2); resultobj = SWIG_From_bool(static_cast< bool >(result));
  { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBar_add_item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *arg1 = (mforms::ToolBar *) 0 ; mforms::ToolBarItem *arg2 = (mforms::ToolBarItem *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBar_add_item",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_add_item" "', argument " "1"" of type '" "mforms::ToolBar *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBar * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_add_item" "', argument " "2"" of type '" "mforms::ToolBarItem *""'");  }
   arg2 = reinterpret_cast< mforms::ToolBarItem * >(argp2); (arg1)->add_item(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBar_insert_item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *arg1 = (mforms::ToolBar *) 0 ; int arg2 ; mforms::ToolBarItem *arg3 = (mforms::ToolBarItem *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:ToolBar_insert_item",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_insert_item" "', argument " "1"" of type '" "mforms::ToolBar *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBar * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBar_insert_item" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBar_insert_item" "', argument " "3"" of type '" "mforms::ToolBarItem *""'");  }
   arg3 = reinterpret_cast< mforms::ToolBarItem * >(argp3); (arg1)->insert_item(arg2,arg3); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBar_remove_all(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *arg1 = (mforms::ToolBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:ToolBar_remove_all",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_remove_all" "', argument " "1"" of type '" "mforms::ToolBar *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBar * >(argp1); (arg1)->remove_all(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBar_remove_item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *arg1 = (mforms::ToolBar *) 0 ; mforms::ToolBarItem *arg2 = (mforms::ToolBarItem *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBar_remove_item",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_remove_item" "', argument " "1"" of type '" "mforms::ToolBar *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBar * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_remove_item" "', argument " "2"" of type '" "mforms::ToolBarItem *""'");  }
   arg2 = reinterpret_cast< mforms::ToolBarItem * >(argp2); (arg1)->remove_item(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBar_validate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBar *arg1 = (mforms::ToolBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:ToolBar_validate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_validate" "', argument " "1"" of type '" "mforms::ToolBar *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBar * >(argp1); (arg1)->validate(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__ToolBar, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_ToolBarItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItemType arg1 ; bool arg2 ; int val1 ; int ecode1 = 0 ; bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; mforms::ToolBarItem *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:new_ToolBarItem",&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolBarItem" "', argument " "1"" of type '" "mforms::ToolBarItemType""'"); }
    arg1 = static_cast< mforms::ToolBarItemType >(val1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBarItem" "', argument " "2"" of type '" "bool""'"); }  
  arg2 = static_cast< bool >(val2); result = (mforms::ToolBarItem *)new mforms::ToolBarItem(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ToolBarItem, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_ToolBarItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItemType arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::ToolBarItem *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_ToolBarItem",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolBarItem" "', argument " "1"" of type '" "mforms::ToolBarItemType""'"); }
    arg1 = static_cast< mforms::ToolBarItemType >(val1); result = (mforms::ToolBarItem *)new mforms::ToolBarItem(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ToolBarItem, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_ToolBarItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_ToolBarItem")) SWIG_fail;
  result = (mforms::ToolBarItem *)new mforms::ToolBarItem();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ToolBarItem, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_ToolBarItem(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_ToolBarItem__SWIG_2(self, args);}  if (argc == 1) { int _v; { int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res); }  if (_v) { return _wrap_new_ToolBarItem__SWIG_1(self, args);}  }  if (argc == 2) { int _v; {
      int res = SWIG_AsVal_int(argv[0], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
        int res = SWIG_AsVal_bool(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_new_ToolBarItem__SWIG_0(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_ToolBarItem'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::ToolBarItem::ToolBarItem(mforms::ToolBarItemType,bool const)\n"
  "    mforms::ToolBarItem::ToolBarItem(mforms::ToolBarItemType)\n" "    mforms::ToolBarItem::ToolBarItem()\n"); return 0; }
SWIGINTERN PyObject *_wrap_ToolBarItem_get_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::ToolBarItemType result; if (!PyArg_ParseTuple(args,(char *)"O:ToolBarItem_get_type",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_get_type" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); result = (mforms::ToolBarItemType)(arg1)->get_type();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_get_expandable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:ToolBarItem_get_expandable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_get_expandable" "', argument " "1"" of type '" "mforms::ToolBarItem const *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1);
  result = (bool)((mforms::ToolBarItem const *)arg1)->get_expandable(); resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_set_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBarItem_set_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_set_text" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_text((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_get_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::string result; if (!PyArg_ParseTuple(args,(char *)"O:ToolBarItem_get_text",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_get_text" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); result = (arg1)->get_text(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_set_tooltip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBarItem_set_tooltip",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_set_tooltip" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_tooltip((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_set_icon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBarItem_set_icon",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_set_icon" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_icon((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_set_alt_icon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBarItem_set_alt_icon",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_set_alt_icon" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_alt_icon((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_set_enabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBarItem_set_enabled",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_set_enabled" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarItem_set_enabled" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_enabled(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_get_enabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:ToolBarItem_get_enabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_get_enabled" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); result = (bool)(arg1)->get_enabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_set_checked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBarItem_set_checked",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_set_checked" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarItem_set_checked" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_checked(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_get_checked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:ToolBarItem_get_checked",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_get_checked" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); result = (bool)(arg1)->get_checked();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_signal_activated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; boost::signals2::signal< void (mforms::ToolBarItem *) > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:ToolBarItem_signal_activated",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_signal_activated" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1);
  result = (boost::signals2::signal< void (mforms::ToolBarItem *) > *)(arg1)->signal_activated();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_boost__signals2__signalT_void_fmforms__ToolBarItem_pF_t, 0 |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_set_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBarItem_set_name",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_set_name" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_name((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_get_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::string result; if (!PyArg_ParseTuple(args,(char *)"O:ToolBarItem_get_name",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_get_name" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); result = (arg1)->get_name(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_set_selector_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ;
  std::vector< std::string,std::allocator< std::string > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:ToolBarItem_set_selector_items",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_set_selector_items" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); { if (PyList_Check(obj1)) { arg2 = new std::vector<std::string>();
      for (int c= PyList_Size(obj1), i= 0; i < c; i++) { PyObject *item = PyList_GetItem(obj1, i); if (PyUnicode_Check(item)) {
          PyObject *tmp = PyUnicode_AsUTF8String(item); arg2->push_back(PyString_AsString(tmp)); Py_DECREF(tmp); } 
        else if (PyString_Check(item)) arg2->push_back(PyString_AsString(item)); else { delete arg2; arg2 = 0;
          SWIG_exception_fail(SWIG_TypeError, "expected vector of strings"); }  }  }  else
    SWIG_exception_fail(SWIG_TypeError, "expected vector of strings"); } 
  (arg1)->set_selector_items((std::vector< std::string,std::allocator< std::string > > const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_set_validator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; boost::function< bool () > *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBarItem_set_validator",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_set_validator" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_boost__functionT_bool_fF_t,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarItem_set_validator" "', argument " "2"" of type '" "boost::function< bool () > const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarItem_set_validator" "', argument " "2"" of type '" "boost::function< bool () > const &""'"); }
   arg2 = reinterpret_cast< boost::function< bool () > * >(argp2);
  (arg1)->set_validator((boost::function< bool () > const &)*arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_set_search_handler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ;
  boost::function< void (std::string const &) > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBarItem_set_search_handler",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_set_search_handler" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_boost__functionT_void_fstd__string_const_RF_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarItem_set_search_handler" "', argument " "2"" of type '" "boost::function< void (std::string const &) > const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarItem_set_search_handler" "', argument " "2"" of type '" "boost::function< void (std::string const &) > const &""'"); }
   arg2 = reinterpret_cast< boost::function< void (std::string const &) > * >(argp2);
  (arg1)->set_search_handler((boost::function< void (std::string const &) > const &)*arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:ToolBarItem_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_callback" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); (arg1)->callback(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_validate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:ToolBarItem_validate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_validate" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); (arg1)->validate(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBarItem_search",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_search" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->search((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ToolBarItem_add_activated_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ToolBarItem_add_activated_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarItem_add_activated_callback" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); arg2 = obj1; mforms_ToolBarItem_add_activated_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_ToolBarItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ToolBarItem *arg1 = (mforms::ToolBarItem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_ToolBarItem",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ToolBarItem, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ToolBarItem" "', argument " "1"" of type '" "mforms::ToolBarItem *""'");  }
   arg1 = reinterpret_cast< mforms::ToolBarItem * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *ToolBarItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__ToolBarItem, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_FileChooser__selector_options_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ;
  std::map< std::string,std::vector< std::string,std::allocator< std::string > > > *arg2 = (std::map< std::string,std::vector< std::string,std::allocator< std::string > > > *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:FileChooser__selector_options_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser__selector_options_set" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__mapT_std__string_std__vectorT_std__string_std__allocatorT_std__string_t_t_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FileChooser__selector_options_set" "', argument " "2"" of type '" "std::map< std::string,std::vector< std::string,std::allocator< std::string > > > *""'");  }
   arg2 = reinterpret_cast< std::map< std::string,std::vector< std::string,std::allocator< std::string > > > * >(argp2);
  if (arg1) (arg1)->_selector_options = *arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser__selector_options_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; std::map< std::string,std::vector< std::string,std::allocator< std::string > > > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:FileChooser__selector_options_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser__selector_options_get" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1);
  result = (std::map< std::string,std::vector< std::string,std::allocator< std::string > > > *)& ((arg1)->_selector_options);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_std__string_std__vectorT_std__string_std__allocatorT_std__string_t_t_t, 0 |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser_split_extensions__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; std::string *arg2 = 0 ; bool arg3 ;
  void *argp1 = 0 ; int res1 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  SwigValueWrapper< std::vector< std::pair< std::string,std::string >,std::allocator< std::pair< std::string,std::string > > > > result;
  if (!PyArg_ParseTuple(args,(char *)"OOO:FileChooser_split_extensions",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser_split_extensions" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FileChooser_split_extensions" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); result = (arg1)->split_extensions((std::string const &)*arg2,arg3);
  resultobj = SWIG_NewPointerObj((new mforms::FileChooser::StringPairVector(static_cast< const mforms::FileChooser::StringPairVector& >(result))), SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_std__allocatorT_std__pairT_std__string_std__string_t_t_t, SWIG_POINTER_OWN |  0 );
  { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser_split_extensions__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  SwigValueWrapper< std::vector< std::pair< std::string,std::string >,std::allocator< std::pair< std::string,std::string > > > > result;
  if (!PyArg_ParseTuple(args,(char *)"OO:FileChooser_split_extensions",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser_split_extensions" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (arg1)->split_extensions((std::string const &)*arg2);
  resultobj = SWIG_NewPointerObj((new mforms::FileChooser::StringPairVector(static_cast< const mforms::FileChooser::StringPairVector& >(result))), SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_std__allocatorT_std__pairT_std__string_std__string_t_t_t, SWIG_POINTER_OWN |  0 );
  { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser_split_extensions(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__FileChooser, 0); _v = SWIG_CheckState(res);
    if (_v) { int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
        return _wrap_FileChooser_split_extensions__SWIG_1(self, args);}  }  }  if (argc == 3) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__FileChooser, 0); _v = SWIG_CheckState(res); if (_v) {
      int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { {
          int res = SWIG_AsVal_bool(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_FileChooser_split_extensions__SWIG_0(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FileChooser_split_extensions'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::FileChooser::split_extensions(std::string const &,bool)\n"
  "    mforms::FileChooser::split_extensions(std::string const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_new_FileChooser__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::FileChooserType arg1 ; bool arg2 ; int val1 ; int ecode1 = 0 ; bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; mforms::FileChooser *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:new_FileChooser",&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileChooser" "', argument " "1"" of type '" "mforms::FileChooserType""'"); }
    arg1 = static_cast< mforms::FileChooserType >(val1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FileChooser" "', argument " "2"" of type '" "bool""'"); }  
  arg2 = static_cast< bool >(val2); result = (mforms::FileChooser *)new mforms::FileChooser(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__FileChooser, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_FileChooser__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::FileChooserType arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::FileChooser *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_FileChooser",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileChooser" "', argument " "1"" of type '" "mforms::FileChooserType""'"); }
    arg1 = static_cast< mforms::FileChooserType >(val1); result = (mforms::FileChooser *)new mforms::FileChooser(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__FileChooser, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_FileChooser__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; mforms::FileChooserType arg2 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  mforms::FileChooser *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:new_FileChooser",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileChooser" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FileChooser" "', argument " "2"" of type '" "mforms::FileChooserType""'"); }
    arg2 = static_cast< mforms::FileChooserType >(val2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileChooser" "', argument " "3"" of type '" "bool""'"); }  
  arg3 = static_cast< bool >(val3); result = (mforms::FileChooser *)new mforms::FileChooser(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__FileChooser, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_FileChooser__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; mforms::FileChooserType arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::FileChooser *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:new_FileChooser",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileChooser" "', argument " "1"" of type '" "mforms::Form *""'");  }
   arg1 = reinterpret_cast< mforms::Form * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FileChooser" "', argument " "2"" of type '" "mforms::FileChooserType""'"); }
    arg2 = static_cast< mforms::FileChooserType >(val2); result = (mforms::FileChooser *)new mforms::FileChooser(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__FileChooser, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_FileChooser(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 1) { int _v; {
      int res = SWIG_AsVal_int(argv[0], NULL); _v = SWIG_CheckState(res); }  if (_v) {
      return _wrap_new_FileChooser__SWIG_1(self, args);}  }  if (argc == 2) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Form, 0); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_new_FileChooser__SWIG_3(self, args);}  }  }  if (argc == 2) { int _v; {
      int res = SWIG_AsVal_int(argv[0], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
        int res = SWIG_AsVal_bool(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_new_FileChooser__SWIG_0(self, args);}  }  }  if (argc == 3) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Form, 0); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
          int res = SWIG_AsVal_bool(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_new_FileChooser__SWIG_2(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_FileChooser'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::FileChooser::FileChooser(mforms::FileChooserType,bool)\n"
  "    mforms::FileChooser::FileChooser(mforms::FileChooserType)\n"
  "    mforms::FileChooser::FileChooser(mforms::Form *,mforms::FileChooserType,bool)\n"
  "    mforms::FileChooser::FileChooser(mforms::Form *,mforms::FileChooserType)\n"); return 0; }
SWIGINTERN PyObject *_wrap_FileChooser_set_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:FileChooser_set_title",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser_set_title" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_title((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser_run_modal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:FileChooser_run_modal",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser_run_modal" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); result = (bool)(arg1)->run_modal();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser_set_directory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:FileChooser_set_directory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser_set_directory" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_directory((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser_set_path(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:FileChooser_set_path",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser_set_path" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_path((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser_get_path(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::string result; if (!PyArg_ParseTuple(args,(char *)"O:FileChooser_get_path",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser_get_path" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); result = (arg1)->get_path(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser_get_directory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::string result; if (!PyArg_ParseTuple(args,(char *)"O:FileChooser_get_directory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser_get_directory" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); result = (arg1)->get_directory(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser_set_extensions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:FileChooser_set_extensions",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser_set_extensions" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_extensions((std::string const &)*arg2,(std::string const &)*arg3); resultobj = SWIG_Py_Void(); { delete arg2; }  {
    delete arg3; }  return resultobj; fail: { delete arg2; }  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser_add_selector_option__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; std::string *arg2 = 0 ;
  std::string *arg3 = 0 ; mforms::FileChooser::StringPairVector *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp4 = 0 ;
  int res4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:FileChooser_add_selector_option",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser_add_selector_option" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_std__allocatorT_std__pairT_std__string_std__string_t_t_t,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FileChooser_add_selector_option" "', argument " "4"" of type '" "mforms::FileChooser::StringPairVector const &""'");  }
   if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FileChooser_add_selector_option" "', argument " "4"" of type '" "mforms::FileChooser::StringPairVector const &""'"); }
   arg4 = reinterpret_cast< mforms::FileChooser::StringPairVector * >(argp4);
  (arg1)->add_selector_option((std::string const &)*arg2,(std::string const &)*arg3,(mforms::FileChooser::StringPairVector const &)*arg4);
  resultobj = SWIG_Py_Void(); { delete arg2; }  { delete arg3; }  return resultobj; fail: { delete arg2; }  { delete arg3; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser_add_selector_option__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; std::string *arg2 = 0 ;
  std::string *arg3 = 0 ; std::string *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:FileChooser_add_selector_option",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser_add_selector_option" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj3)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj3); arg4 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj3)) arg4 = new std::string(PyString_AsString(obj3)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->add_selector_option((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4);
  resultobj = SWIG_Py_Void(); { delete arg2; }  { delete arg3; }  { delete arg4; }  return resultobj; fail: { delete arg2; }  {
    delete arg3; }  { delete arg4; }  return NULL; }
SWIGINTERN PyObject *_wrap_FileChooser_add_selector_option(PyObject *self, PyObject *args) { int argc; PyObject *argv[5];
  int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 4) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__FileChooser, 0); _v = SWIG_CheckState(res);
    if (_v) { int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
        int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_std__allocatorT_std__pairT_std__string_std__string_t_t_t, 0);
          _v = SWIG_CheckState(res); if (_v) { return _wrap_FileChooser_add_selector_option__SWIG_0(self, args);}  }  }  }  } 
  if (argc == 4) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__FileChooser, 0);
    _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
      _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
        _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
          _v = SWIG_CheckState(res); if (_v) { return _wrap_FileChooser_add_selector_option__SWIG_1(self, args);}  }  }  }  } 
  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FileChooser_add_selector_option'.\n"
  "  Possible C/C++ prototypes are:\n"
  "    mforms::FileChooser::add_selector_option(std::string const &,std::string const &,mforms::FileChooser::StringPairVector const &)\n"
  "    mforms::FileChooser::add_selector_option(std::string const &,std::string const &,std::string const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_FileChooser_get_selector_option_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"OO:FileChooser_get_selector_option_value",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChooser_get_selector_option_value" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (arg1)->get_selector_option_value((std::string const &)*arg2); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  { delete arg2; }  return resultobj; fail: {
    delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_delete_FileChooser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::FileChooser *arg1 = (mforms::FileChooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_FileChooser",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__FileChooser, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FileChooser" "', argument " "1"" of type '" "mforms::FileChooser *""'");  }
   arg1 = reinterpret_cast< mforms::FileChooser * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *FileChooser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__FileChooser, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_RadioButton_new_id(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  int result; if (!PyArg_ParseTuple(args,(char *)":RadioButton_new_id")) SWIG_fail; result = (int)mforms::RadioButton::new_id();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ;
  int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::RadioButton *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_RadioButton",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RadioButton" "', argument " "1"" of type '" "int""'"); }  
  arg1 = static_cast< int >(val1); result = (mforms::RadioButton *)new mforms::RadioButton(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__RadioButton, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_RadioButton_group_id(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::RadioButton *arg1 = (mforms::RadioButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:RadioButton_group_id",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__RadioButton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_group_id" "', argument " "1"" of type '" "mforms::RadioButton const *""'");  }
   arg1 = reinterpret_cast< mforms::RadioButton * >(argp1); result = (int)((mforms::RadioButton const *)arg1)->group_id();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_RadioButton_set_active(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::RadioButton *arg1 = (mforms::RadioButton *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:RadioButton_set_active",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__RadioButton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_set_active" "', argument " "1"" of type '" "mforms::RadioButton *""'");  }
   arg1 = reinterpret_cast< mforms::RadioButton * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_set_active" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_active(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_RadioButton_get_active(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::RadioButton *arg1 = (mforms::RadioButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:RadioButton_get_active",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__RadioButton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_get_active" "', argument " "1"" of type '" "mforms::RadioButton *""'");  }
   arg1 = reinterpret_cast< mforms::RadioButton * >(argp1); result = (bool)(arg1)->get_active();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_RadioButton_add_clicked_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::RadioButton *arg1 = (mforms::RadioButton *) 0 ; PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:RadioButton_add_clicked_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__RadioButton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_add_clicked_callback" "', argument " "1"" of type '" "mforms::RadioButton *""'");  }
   arg1 = reinterpret_cast< mforms::RadioButton * >(argp1); arg2 = obj1; mforms_RadioButton_add_clicked_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_RadioButton_call_clicked_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::RadioButton *arg1 = (mforms::RadioButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:RadioButton_call_clicked_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__RadioButton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_call_clicked_callback" "', argument " "1"" of type '" "mforms::RadioButton *""'");  }
   arg1 = reinterpret_cast< mforms::RadioButton * >(argp1); mforms_RadioButton_call_clicked_callback(arg1);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::RadioButton *arg1 = (mforms::RadioButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_RadioButton",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__RadioButton, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RadioButton" "', argument " "1"" of type '" "mforms::RadioButton *""'");  }
   arg1 = reinterpret_cast< mforms::RadioButton * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__RadioButton, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_ImageBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ImageBox *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_ImageBox")) SWIG_fail;
  result = (mforms::ImageBox *)new mforms::ImageBox();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ImageBox, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ImageBox_set_image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ImageBox *arg1 = (mforms::ImageBox *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ImageBox_set_image",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ImageBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ImageBox_set_image" "', argument " "1"" of type '" "mforms::ImageBox *""'");  }
   arg1 = reinterpret_cast< mforms::ImageBox * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_image((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_ImageBox_set_scale_contents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ImageBox *arg1 = (mforms::ImageBox *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ImageBox_set_scale_contents",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ImageBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ImageBox_set_scale_contents" "', argument " "1"" of type '" "mforms::ImageBox *""'");  }
   arg1 = reinterpret_cast< mforms::ImageBox * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ImageBox_set_scale_contents" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_scale_contents(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ImageBox_set_image_align(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ImageBox *arg1 = (mforms::ImageBox *) 0 ; mforms::Alignment arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ImageBox_set_image_align",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ImageBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ImageBox_set_image_align" "', argument " "1"" of type '" "mforms::ImageBox *""'");  }
   arg1 = reinterpret_cast< mforms::ImageBox * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ImageBox_set_image_align" "', argument " "2"" of type '" "mforms::Alignment""'"); }
    arg2 = static_cast< mforms::Alignment >(val2); (arg1)->set_image_align(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_ImageBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ImageBox *arg1 = (mforms::ImageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_ImageBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ImageBox, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ImageBox" "', argument " "1"" of type '" "mforms::ImageBox *""'");  }
   arg1 = reinterpret_cast< mforms::ImageBox * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *ImageBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__ImageBox, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_ProgressBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ProgressBar *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_ProgressBar")) SWIG_fail;
  result = (mforms::ProgressBar *)new mforms::ProgressBar();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ProgressBar, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_ProgressBar_set_indeterminate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ProgressBar *arg1 = (mforms::ProgressBar *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ProgressBar_set_indeterminate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ProgressBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressBar_set_indeterminate" "', argument " "1"" of type '" "mforms::ProgressBar *""'");  }
   arg1 = reinterpret_cast< mforms::ProgressBar * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressBar_set_indeterminate" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_indeterminate(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ProgressBar_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ProgressBar *arg1 = (mforms::ProgressBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:ProgressBar_start",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ProgressBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressBar_start" "', argument " "1"" of type '" "mforms::ProgressBar *""'");  }
   arg1 = reinterpret_cast< mforms::ProgressBar * >(argp1); (arg1)->start(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ProgressBar_stop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ProgressBar *arg1 = (mforms::ProgressBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:ProgressBar_stop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ProgressBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressBar_stop" "', argument " "1"" of type '" "mforms::ProgressBar *""'");  }
   arg1 = reinterpret_cast< mforms::ProgressBar * >(argp1); (arg1)->stop(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ProgressBar_set_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ProgressBar *arg1 = (mforms::ProgressBar *) 0 ; float arg2 ; void *argp1 = 0 ; int res1 = 0 ; float val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ProgressBar_set_value",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ProgressBar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressBar_set_value" "', argument " "1"" of type '" "mforms::ProgressBar *""'");  }
   arg1 = reinterpret_cast< mforms::ProgressBar * >(argp1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressBar_set_value" "', argument " "2"" of type '" "float""'"); }
    arg2 = static_cast< float >(val2); (arg1)->set_value(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_delete_ProgressBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ProgressBar *arg1 = (mforms::ProgressBar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_ProgressBar",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ProgressBar, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProgressBar" "', argument " "1"" of type '" "mforms::ProgressBar *""'");  }
   arg1 = reinterpret_cast< mforms::ProgressBar * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *ProgressBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__ProgressBar, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap___or__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TableItemFlags arg1 ; mforms::TableItemFlags arg2 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::TableItemFlags result;
  if (!PyArg_ParseTuple(args,(char *)"OO:__or__",&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "__or__" "', argument " "1"" of type '" "mforms::TableItemFlags""'"); }
    arg1 = static_cast< mforms::TableItemFlags >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "__or__" "', argument " "2"" of type '" "mforms::TableItemFlags""'"); }
    arg2 = static_cast< mforms::TableItemFlags >(val2); result = (mforms::TableItemFlags)mforms::operator |(arg1,arg2);
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Table(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Table *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_Table")) SWIG_fail;
  result = (mforms::Table *)new mforms::Table();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Table, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_Table(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Table *arg1 = (mforms::Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Table",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Table, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Table" "', argument " "1"" of type '" "mforms::Table *""'");  }
   arg1 = reinterpret_cast< mforms::Table * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Table_set_row_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Table *arg1 = (mforms::Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Table_set_row_count",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Table, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Table_set_row_count" "', argument " "1"" of type '" "mforms::Table *""'");  }
   arg1 = reinterpret_cast< mforms::Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Table_set_row_count" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); (arg1)->set_row_count(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Table_set_column_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Table *arg1 = (mforms::Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Table_set_column_count",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Table, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Table_set_column_count" "', argument " "1"" of type '" "mforms::Table *""'");  }
   arg1 = reinterpret_cast< mforms::Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Table_set_column_count" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_column_count(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Table_set_row_spacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Table *arg1 = (mforms::Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Table_set_row_spacing",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Table, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Table_set_row_spacing" "', argument " "1"" of type '" "mforms::Table *""'");  }
   arg1 = reinterpret_cast< mforms::Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Table_set_row_spacing" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_row_spacing(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Table_set_column_spacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Table *arg1 = (mforms::Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Table_set_column_spacing",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Table, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Table_set_column_spacing" "', argument " "1"" of type '" "mforms::Table *""'");  }
   arg1 = reinterpret_cast< mforms::Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Table_set_column_spacing" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_column_spacing(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Table_set_homogeneous(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Table *arg1 = (mforms::Table *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Table_set_homogeneous",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Table, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Table_set_homogeneous" "', argument " "1"" of type '" "mforms::Table *""'");  }
   arg1 = reinterpret_cast< mforms::Table * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Table_set_homogeneous" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_homogeneous(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Table_add__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Table *arg1 = (mforms::Table *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; int arg3 ; int arg4 ; int arg5 ;
  int arg6 ; int arg7 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ;
  int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:Table_add",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Table, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Table_add" "', argument " "1"" of type '" "mforms::Table *""'");  } 
  arg1 = reinterpret_cast< mforms::Table * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Table_add" "', argument " "2"" of type '" "mforms::View *""'");  } 
  arg2 = reinterpret_cast< mforms::View * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Table_add" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Table_add" "', argument " "4"" of type '" "int""'"); }  
  arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Table_add" "', argument " "5"" of type '" "int""'"); }  
  arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Table_add" "', argument " "6"" of type '" "int""'"); }  
  arg6 = static_cast< int >(val6); ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Table_add" "', argument " "7"" of type '" "int""'"); }  
  arg7 = static_cast< int >(val7); (arg1)->add(arg2,arg3,arg4,arg5,arg6,arg7); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_Table_add__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Table *arg1 = (mforms::Table *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; int arg3 ; int arg4 ; int arg5 ;
  int arg6 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ;
  int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Table_add",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Table, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Table_add" "', argument " "1"" of type '" "mforms::Table *""'");  } 
  arg1 = reinterpret_cast< mforms::Table * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Table_add" "', argument " "2"" of type '" "mforms::View *""'");  } 
  arg2 = reinterpret_cast< mforms::View * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Table_add" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Table_add" "', argument " "4"" of type '" "int""'"); }  
  arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Table_add" "', argument " "5"" of type '" "int""'"); }  
  arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Table_add" "', argument " "6"" of type '" "int""'"); }  
  arg6 = static_cast< int >(val6); (arg1)->add(arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Table_add(PyObject *self, PyObject *args) { int argc; PyObject *argv[8]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 6) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Table, 0); _v = SWIG_CheckState(res); if (_v) {
      void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_mforms__View, 0); _v = SWIG_CheckState(res);
      if (_v) { { int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
            int res = SWIG_AsVal_int(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
              int res = SWIG_AsVal_int(argv[4], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
                int res = SWIG_AsVal_int(argv[5], NULL); _v = SWIG_CheckState(res); }  if (_v) {
                return _wrap_Table_add__SWIG_1(self, args);}  }  }  }  }  }  }  if (argc == 7) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Table, 0); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_mforms__View, 0); _v = SWIG_CheckState(res); if (_v) { {
          int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
            int res = SWIG_AsVal_int(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
              int res = SWIG_AsVal_int(argv[4], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
                int res = SWIG_AsVal_int(argv[5], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
                  int res = SWIG_AsVal_int(argv[6], NULL); _v = SWIG_CheckState(res); }  if (_v) {
                  return _wrap_Table_add__SWIG_0(self, args);}  }  }  }  }  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Table_add'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Table::add(mforms::View *,int,int,int,int,int)\n"
  "    mforms::Table::add(mforms::View *,int,int,int,int)\n"); return 0; }
SWIGINTERN PyObject *_wrap_Table_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Table *arg1 = (mforms::Table *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Table_remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Table, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Table_remove" "', argument " "1"" of type '" "mforms::Table *""'");  }
   arg1 = reinterpret_cast< mforms::Table * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Table_remove" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); (arg1)->remove(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *Table_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Table, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_ScrollPanel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ScrollPanelFlags arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::ScrollPanel *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_ScrollPanel",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ScrollPanel" "', argument " "1"" of type '" "mforms::ScrollPanelFlags""'"); }
    arg1 = static_cast< mforms::ScrollPanelFlags >(val1); result = (mforms::ScrollPanel *)new mforms::ScrollPanel(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ScrollPanel, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_ScrollPanel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ScrollPanel *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_ScrollPanel")) SWIG_fail;
  result = (mforms::ScrollPanel *)new mforms::ScrollPanel();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ScrollPanel, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_ScrollPanel(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_ScrollPanel__SWIG_1(self, args);}  if (argc == 1) { int _v; { int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res); }  if (_v) { return _wrap_new_ScrollPanel__SWIG_0(self, args);}  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_ScrollPanel'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::ScrollPanel::ScrollPanel(mforms::ScrollPanelFlags)\n"
  "    mforms::ScrollPanel::ScrollPanel()\n"); return 0; }
SWIGINTERN PyObject *_wrap_delete_ScrollPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ScrollPanel *arg1 = (mforms::ScrollPanel *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_ScrollPanel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ScrollPanel, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ScrollPanel" "', argument " "1"" of type '" "mforms::ScrollPanel *""'");  }
   arg1 = reinterpret_cast< mforms::ScrollPanel * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ScrollPanel_set_visible_scrollers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ScrollPanel *arg1 = (mforms::ScrollPanel *) 0 ; bool arg2 ; bool arg3 ; void *argp1 = 0 ;
  int res1 = 0 ; bool val2 ; int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:ScrollPanel_set_visible_scrollers",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ScrollPanel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollPanel_set_visible_scrollers" "', argument " "1"" of type '" "mforms::ScrollPanel *""'");  }
   arg1 = reinterpret_cast< mforms::ScrollPanel * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollPanel_set_visible_scrollers" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollPanel_set_visible_scrollers" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->set_visible_scrollers(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_ScrollPanel_set_autohide_scrollers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ScrollPanel *arg1 = (mforms::ScrollPanel *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ScrollPanel_set_autohide_scrollers",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ScrollPanel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollPanel_set_autohide_scrollers" "', argument " "1"" of type '" "mforms::ScrollPanel *""'");  }
   arg1 = reinterpret_cast< mforms::ScrollPanel * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollPanel_set_autohide_scrollers" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_autohide_scrollers(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ScrollPanel_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ScrollPanel *arg1 = (mforms::ScrollPanel *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ScrollPanel_add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ScrollPanel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollPanel_add" "', argument " "1"" of type '" "mforms::ScrollPanel *""'");  }
   arg1 = reinterpret_cast< mforms::ScrollPanel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollPanel_add" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); (arg1)->add(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_ScrollPanel_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ScrollPanel *arg1 = (mforms::ScrollPanel *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:ScrollPanel_remove",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ScrollPanel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollPanel_remove" "', argument " "1"" of type '" "mforms::ScrollPanel *""'");  }
   arg1 = reinterpret_cast< mforms::ScrollPanel * >(argp1); (arg1)->remove(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_ScrollPanel_scroll_to_view(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ScrollPanel *arg1 = (mforms::ScrollPanel *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ScrollPanel_scroll_to_view",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ScrollPanel, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollPanel_scroll_to_view" "', argument " "1"" of type '" "mforms::ScrollPanel *""'");  }
   arg1 = reinterpret_cast< mforms::ScrollPanel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollPanel_scroll_to_view" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); (arg1)->scroll_to_view(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *ScrollPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__ScrollPanel, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_Wizard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Form *arg1 = (mforms::Form *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; mforms::Wizard *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_Wizard",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Form, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Wizard" "', argument " "1"" of type '" "mforms::Form *""'");  } 
  arg1 = reinterpret_cast< mforms::Form * >(argp1); result = (mforms::Wizard *)new mforms::Wizard(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Wizard, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_Wizard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Wizard",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Wizard" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_run(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Wizard_run",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_run" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); (arg1)->run(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_set_heading(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Wizard_set_heading",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_set_heading" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_heading((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_set_step_list(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; std::vector< std::string,std::allocator< std::string > > *arg2 = 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Wizard_set_step_list",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_set_step_list" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); { if (PyList_Check(obj1)) { arg2 = new std::vector<std::string>();
      for (int c= PyList_Size(obj1), i= 0; i < c; i++) { PyObject *item = PyList_GetItem(obj1, i); if (PyUnicode_Check(item)) {
          PyObject *tmp = PyUnicode_AsUTF8String(item); arg2->push_back(PyString_AsString(tmp)); Py_DECREF(tmp); } 
        else if (PyString_Check(item)) arg2->push_back(PyString_AsString(item)); else { delete arg2; arg2 = 0;
          SWIG_exception_fail(SWIG_TypeError, "expected vector of strings"); }  }  }  else
    SWIG_exception_fail(SWIG_TypeError, "expected vector of strings"); } 
  (arg1)->set_step_list((std::vector< std::string,std::allocator< std::string > > const &)*arg2); resultobj = SWIG_Py_Void(); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_set_allow_cancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Wizard_set_allow_cancel",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_set_allow_cancel" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Wizard_set_allow_cancel" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_allow_cancel(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_set_allow_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Wizard_set_allow_back",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_set_allow_back" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Wizard_set_allow_back" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_allow_back(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_set_allow_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Wizard_set_allow_next",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_set_allow_next" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Wizard_set_allow_next" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_allow_next(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_set_show_extra(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Wizard_set_show_extra",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_set_show_extra" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Wizard_set_show_extra" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_show_extra(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_set_extra_caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Wizard_set_extra_caption",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_set_extra_caption" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_extra_caption((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_set_next_caption__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Wizard_set_next_caption",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_set_next_caption" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_next_caption((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_set_next_caption__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Wizard_set_next_caption",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_set_next_caption" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); (arg1)->set_next_caption(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_set_next_caption(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 1) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Wizard, 0); _v = SWIG_CheckState(res);
    if (_v) { return _wrap_Wizard_set_next_caption__SWIG_1(self, args);}  }  if (argc == 2) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Wizard, 0); _v = SWIG_CheckState(res); if (_v) {
      int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
        return _wrap_Wizard_set_next_caption__SWIG_0(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Wizard_set_next_caption'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Wizard::set_next_caption(std::string const &)\n"
  "    mforms::Wizard::set_next_caption()\n"); return 0; }
SWIGINTERN PyObject *_wrap_Wizard_add_next_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Wizard_add_next_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_add_next_callback" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); arg2 = obj1; mforms_Wizard_add_next_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_call_next_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Wizard_call_next_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_call_next_callback" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); mforms_Wizard_call_next_callback(arg1); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_add_back_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Wizard_add_back_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_add_back_callback" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); arg2 = obj1; mforms_Wizard_add_back_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_call_back_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Wizard_call_back_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_call_back_callback" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); mforms_Wizard_call_back_callback(arg1); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_add_extra_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Wizard_add_extra_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_add_extra_callback" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); arg2 = obj1; mforms_Wizard_add_extra_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Wizard_call_extra_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Wizard *arg1 = (mforms::Wizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Wizard_call_extra_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Wizard, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Wizard_call_extra_callback" "', argument " "1"" of type '" "mforms::Wizard *""'");  }
   arg1 = reinterpret_cast< mforms::Wizard * >(argp1); mforms_Wizard_call_extra_callback(arg1); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *Wizard_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Wizard, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_Utilities_show_message(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; std::string *arg4 = 0 ; std::string *arg5 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Utilities_show_message",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; {
    if (PyUnicode_Check(obj0)) { PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj3)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj3); arg4 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj3)) arg4 = new std::string(PyString_AsString(obj3)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj4)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj4); arg5 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj4)) arg5 = new std::string(PyString_AsString(obj4)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)mforms::Utilities::show_message((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg1; }  { delete arg2; }  { delete arg3; }  { delete arg4; } 
  { delete arg5; }  return resultobj; fail: { delete arg1; }  { delete arg2; }  { delete arg3; }  { delete arg4; }  {
    delete arg5; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_show_error(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; std::string *arg4 = 0 ; std::string *arg5 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Utilities_show_error",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; {
    if (PyUnicode_Check(obj0)) { PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj3)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj3); arg4 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj3)) arg4 = new std::string(PyString_AsString(obj3)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj4)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj4); arg5 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj4)) arg5 = new std::string(PyString_AsString(obj4)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)mforms::Utilities::show_error((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg1; }  { delete arg2; }  { delete arg3; }  { delete arg4; } 
  { delete arg5; }  return resultobj; fail: { delete arg1; }  { delete arg2; }  { delete arg3; }  { delete arg4; }  {
    delete arg5; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_show_warning(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; std::string *arg4 = 0 ; std::string *arg5 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Utilities_show_warning",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; {
    if (PyUnicode_Check(obj0)) { PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj3)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj3); arg4 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj3)) arg4 = new std::string(PyString_AsString(obj3)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj4)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj4); arg5 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj4)) arg5 = new std::string(PyString_AsString(obj4)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)mforms::Utilities::show_warning((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg1; }  { delete arg2; }  { delete arg3; }  { delete arg4; } 
  { delete arg5; }  return resultobj; fail: { delete arg1; }  { delete arg2; }  { delete arg3; }  { delete arg4; }  {
    delete arg5; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_show_message_and_remember(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; std::string *arg4 = 0 ;
  std::string *arg5 = 0 ; std::string *arg6 = 0 ; std::string *arg7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:Utilities_show_message_and_remember",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  { if (PyUnicode_Check(obj0)) { PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj3)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj3); arg4 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj3)) arg4 = new std::string(PyString_AsString(obj3)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj4)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj4); arg5 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj4)) arg5 = new std::string(PyString_AsString(obj4)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj5)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj5); arg6 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj5)) arg6 = new std::string(PyString_AsString(obj5)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj6)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj6); arg7 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj6)) arg7 = new std::string(PyString_AsString(obj6)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)mforms::Utilities::show_message_and_remember((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,(std::string const &)*arg6,(std::string const &)*arg7);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg1; }  { delete arg2; }  { delete arg3; }  { delete arg4; } 
  { delete arg5; }  { delete arg6; }  { delete arg7; }  return resultobj; fail: { delete arg1; }  { delete arg2; }  {
    delete arg3; }  { delete arg4; }  { delete arg5; }  { delete arg6; }  { delete arg7; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_forget_message_answers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; if (!PyArg_ParseTuple(args,(char *)":Utilities_forget_message_answers")) SWIG_fail;
  mforms::Utilities::forget_message_answers(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_set_message_answers_storage_path(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::string *arg1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Utilities_set_message_answers_storage_path",&obj0)) SWIG_fail; {
    if (PyUnicode_Check(obj0)) { PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  mforms::Utilities::set_message_answers_storage_path((std::string const &)*arg1); resultobj = SWIG_Py_Void(); { delete arg1; } 
  return resultobj; fail: { delete arg1; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_show_wait_message(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::string *arg1 = 0 ; std::string *arg2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Utilities_show_wait_message",&obj0,&obj1)) SWIG_fail; { if (PyUnicode_Check(obj0)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  mforms::Utilities::show_wait_message((std::string const &)*arg1,(std::string const &)*arg2); resultobj = SWIG_Py_Void(); {
    delete arg1; }  { delete arg2; }  return resultobj; fail: { delete arg1; }  { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_hide_wait_message(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; bool result; if (!PyArg_ParseTuple(args,(char *)":Utilities_hide_wait_message")) SWIG_fail;
  result = (bool)mforms::Utilities::hide_wait_message(); resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_run_cancelable_task(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::string *arg1 = 0 ; std::string *arg2 = 0 ; boost::function< void *() > *arg3 = 0 ;
  boost::function< bool () > *arg4 = 0 ; void **arg5 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ;
  void *argp5 = 0 ; int res5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Utilities_run_cancelable_task",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; {
    if (PyUnicode_Check(obj0)) { PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_boost__functionT_void_pfF_t,  0  | 0); if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Utilities_run_cancelable_task" "', argument " "3"" of type '" "boost::function< void *() > const &""'");  }
   if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Utilities_run_cancelable_task" "', argument " "3"" of type '" "boost::function< void *() > const &""'"); }
   arg3 = reinterpret_cast< boost::function< void *() > * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_boost__functionT_bool_fF_t,  0  | 0); if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Utilities_run_cancelable_task" "', argument " "4"" of type '" "boost::function< bool () > const &""'");  }
   if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Utilities_run_cancelable_task" "', argument " "4"" of type '" "boost::function< bool () > const &""'"); }
   arg4 = reinterpret_cast< boost::function< bool () > * >(argp4); res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_void,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Utilities_run_cancelable_task" "', argument " "5"" of type '" "void *&""'");  }
   if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Utilities_run_cancelable_task" "', argument " "5"" of type '" "void *&""'"); }
   arg5 = reinterpret_cast< void ** >(argp5);
  result = (bool)mforms::Utilities::run_cancelable_task((std::string const &)*arg1,(std::string const &)*arg2,(boost::function< void *() > const &)*arg3,(boost::function< bool () > const &)*arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); { delete arg1; }  { delete arg2; }  return resultobj; fail: {
    delete arg1; }  { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_request_input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; std::string *arg4 = 0 ; std::string temp4 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; bool result; { arg4 = &temp4; } 
  if (!PyArg_ParseTuple(args,(char *)"OOO:Utilities_request_input",&obj0,&obj1,&obj2)) SWIG_fail; { if (PyUnicode_Check(obj0)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (bool)mforms::Utilities::request_input((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); {
    PyObject *o= PyUnicode_DecodeUTF8((arg4)->data(), (arg4)->size(), NULL);
    resultobj= SWIG_Python_AppendOutput(resultobj, o);  }  { delete arg1; }  { delete arg2; }  { delete arg3; } 
  return resultobj; fail: { delete arg1; }  { delete arg2; }  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_ask_for_password_check_store(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; std::string *arg4 = 0 ;
  bool *arg5 = 0 ; void *argp3 = 0 ; int res3 = 0 ; std::string temp4 ; bool temp5 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; bool result; { arg4 = &temp4; }  { temp5 = false; arg5 = &temp5; } 
  if (!PyArg_ParseTuple(args,(char *)"OOO:Utilities_ask_for_password_check_store",&obj0,&obj1,&obj2)) SWIG_fail; {
    if (PyUnicode_Check(obj0)) { PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Utilities_ask_for_password_check_store" "', argument " "3"" of type '" "std::string &""'");  }
   if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Utilities_ask_for_password_check_store" "', argument " "3"" of type '" "std::string &""'"); }
   arg3 = reinterpret_cast< std::string * >(argp3);
  result = (bool)mforms::Utilities::ask_for_password_check_store((std::string const &)*arg1,(std::string const &)*arg2,*arg3,*arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); {
    PyObject *o= PyUnicode_DecodeUTF8((arg4)->data(), (arg4)->size(), NULL);
    resultobj= SWIG_Python_AppendOutput(resultobj, o);  }  { if (*arg5) Py_INCREF(Py_True); else Py_INCREF(Py_False);
    resultobj= SWIG_Python_AppendOutput(resultobj, *arg5 ? Py_True : Py_False); }  { delete arg1; }  { delete arg2; } 
  return resultobj; fail: { delete arg1; }  { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_ask_for_password(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; std::string *arg4 = 0 ; std::string temp4 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; bool result; { arg4 = &temp4; } 
  if (!PyArg_ParseTuple(args,(char *)"OOO:Utilities_ask_for_password",&obj0,&obj1,&obj2)) SWIG_fail; {
    if (PyUnicode_Check(obj0)) { PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (bool)mforms::Utilities::ask_for_password((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); {
    PyObject *o= PyUnicode_DecodeUTF8((arg4)->data(), (arg4)->size(), NULL);
    resultobj= SWIG_Python_AppendOutput(resultobj, o);  }  { delete arg1; }  { delete arg2; }  { delete arg3; } 
  return resultobj; fail: { delete arg1; }  { delete arg2; }  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_find_or_ask_for_password(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; bool arg4 ;
  std::string *arg5 = 0 ; bool val4 ; int ecode4 = 0 ; std::string temp5 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; bool result; { arg5 = &temp5; } 
  if (!PyArg_ParseTuple(args,(char *)"OOOO:Utilities_find_or_ask_for_password",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; {
    if (PyUnicode_Check(obj0)) { PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Utilities_find_or_ask_for_password" "', argument " "4"" of type '" "bool""'"); }
    arg4 = static_cast< bool >(val4);
  result = (bool)mforms::Utilities::find_or_ask_for_password((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3,arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); {
    PyObject *o= PyUnicode_DecodeUTF8((arg5)->data(), (arg5)->size(), NULL);
    resultobj= SWIG_Python_AppendOutput(resultobj, o);  }  { delete arg1; }  { delete arg2; }  { delete arg3; } 
  return resultobj; fail: { delete arg1; }  { delete arg2; }  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_store_password(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:Utilities_store_password",&obj0,&obj1,&obj2)) SWIG_fail; {
    if (PyUnicode_Check(obj0)) { PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  mforms::Utilities::store_password((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3);
  resultobj = SWIG_Py_Void(); { delete arg1; }  { delete arg2; }  { delete arg3; }  return resultobj; fail: { delete arg1; }  {
    delete arg2; }  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_find_password(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Utilities_find_password",&obj0,&obj1,&obj2)) SWIG_fail; { if (PyUnicode_Check(obj0)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_std__string,  0 ); if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Utilities_find_password" "', argument " "3"" of type '" "std::string &""'");  }
   if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Utilities_find_password" "', argument " "3"" of type '" "std::string &""'"); }
   arg3 = reinterpret_cast< std::string * >(argp3);
  result = (bool)mforms::Utilities::find_password((std::string const &)*arg1,(std::string const &)*arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); { delete arg1; }  { delete arg2; }  return resultobj; fail: {
    delete arg1; }  { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_forget_password(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; std::string *arg2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Utilities_forget_password",&obj0,&obj1)) SWIG_fail; { if (PyUnicode_Check(obj0)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  mforms::Utilities::forget_password((std::string const &)*arg1,(std::string const &)*arg2); resultobj = SWIG_Py_Void(); {
    delete arg1; }  { delete arg2; }  return resultobj; fail: { delete arg1; }  { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_set_clipboard_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::string *arg1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Utilities_set_clipboard_text",&obj0)) SWIG_fail; { if (PyUnicode_Check(obj0)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  mforms::Utilities::set_clipboard_text((std::string const &)*arg1); resultobj = SWIG_Py_Void(); { delete arg1; } 
  return resultobj; fail: { delete arg1; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_get_clipboard_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::string result; if (!PyArg_ParseTuple(args,(char *)":Utilities_get_clipboard_text")) SWIG_fail;
  result = mforms::Utilities::get_clipboard_text(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_get_special_folder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::FolderType arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:Utilities_get_special_folder",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Utilities_get_special_folder" "', argument " "1"" of type '" "mforms::FolderType""'"); }
    arg1 = static_cast< mforms::FolderType >(val1); result = mforms::Utilities::get_special_folder(arg1); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_open_url(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:Utilities_open_url",&obj0)) SWIG_fail; {
    if (PyUnicode_Check(obj0)) { PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  mforms::Utilities::open_url((std::string const &)*arg1); resultobj = SWIG_Py_Void(); { delete arg1; }  return resultobj; fail:
  { delete arg1; }  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_move_to_trash(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:Utilities_move_to_trash",&obj0)) SWIG_fail; { if (PyUnicode_Check(obj0)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (bool)mforms::Utilities::move_to_trash((std::string const &)*arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); { delete arg1; }  return resultobj; fail: { delete arg1; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_add_end_ok_cancel_buttons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Box *arg1 = (mforms::Box *) 0 ; mforms::Button *arg2 = (mforms::Button *) 0 ;
  mforms::Button *arg3 = (mforms::Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
  void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Utilities_add_end_ok_cancel_buttons",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Box, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Utilities_add_end_ok_cancel_buttons" "', argument " "1"" of type '" "mforms::Box *""'");  }
   arg1 = reinterpret_cast< mforms::Box * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__Button, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Utilities_add_end_ok_cancel_buttons" "', argument " "2"" of type '" "mforms::Button *""'");  }
   arg2 = reinterpret_cast< mforms::Button * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_mforms__Button, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Utilities_add_end_ok_cancel_buttons" "', argument " "3"" of type '" "mforms::Button *""'");  }
   arg3 = reinterpret_cast< mforms::Button * >(argp3); mforms::Utilities::add_end_ok_cancel_buttons(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_in_main_thread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  bool result; if (!PyArg_ParseTuple(args,(char *)":Utilities_in_main_thread")) SWIG_fail;
  result = (bool)mforms::Utilities::in_main_thread(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_add_timeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  float arg1 ; PyObject *arg2 = (PyObject *) 0 ; float val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Utilities_add_timeout",&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Utilities_add_timeout" "', argument " "1"" of type '" "float""'"); }
    arg1 = static_cast< float >(val1); arg2 = obj1; mforms_Utilities_add_timeout(arg1,arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Utilities_perform_from_main_thread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; bool arg2 ; bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Utilities_perform_from_main_thread",&obj0,&obj1)) SWIG_fail;
  arg1 = obj0; ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Utilities_perform_from_main_thread" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); mforms_Utilities_perform_from_main_thread(arg1,arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Utilities(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Utilities *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_Utilities")) SWIG_fail;
  result = (mforms::Utilities *)new mforms::Utilities();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Utilities, SWIG_POINTER_NEW |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_Utilities(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Utilities *arg1 = (mforms::Utilities *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Utilities",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Utilities, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Utilities" "', argument " "1"" of type '" "mforms::Utilities *""'");  }
   arg1 = reinterpret_cast< mforms::Utilities * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *Utilities_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Utilities, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_AppView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; bool arg1 ;
  std::string *arg2 = 0 ; bool arg3 ; bool val1 ; int ecode1 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; mforms::AppView *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_AppView",&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_bool(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AppView" "', argument " "1"" of type '" "bool""'"); }  
  arg1 = static_cast< bool >(val1); { if (PyUnicode_Check(obj1)) { PyObject *tmp = PyUnicode_AsUTF8String(obj1);
      arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj1))
    arg2 = new std::string(PyString_AsString(obj1)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_AppView" "', argument " "3"" of type '" "bool""'"); }  
  arg3 = static_cast< bool >(val3); result = (mforms::AppView *)new mforms::AppView(arg1,(std::string const &)*arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__AppView, SWIG_POINTER_NEW |  0 ); { delete arg2; } 
  result->retain(); return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_delete_AppView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::AppView *arg1 = (mforms::AppView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_AppView",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AppView" "', argument " "1"" of type '" "mforms::AppView *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_AppView_set_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::AppView *arg1 = (mforms::AppView *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:AppView_set_title",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AppView_set_title" "', argument " "1"" of type '" "mforms::AppView *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_title((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_AppView_get_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::AppView *arg1 = (mforms::AppView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:AppView_get_title",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AppView_get_title" "', argument " "1"" of type '" "mforms::AppView *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1); result = (arg1)->get_title(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_AppView_set_identifier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::AppView *arg1 = (mforms::AppView *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:AppView_set_identifier",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AppView_set_identifier" "', argument " "1"" of type '" "mforms::AppView *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_identifier((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_AppView_identifier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::AppView *arg1 = (mforms::AppView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:AppView_identifier",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AppView_identifier" "', argument " "1"" of type '" "mforms::AppView const *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1); result = ((mforms::AppView const *)arg1)->identifier(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_AppView_get_menubar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::AppView *arg1 = (mforms::AppView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::MenuBar *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:AppView_get_menubar",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AppView_get_menubar" "', argument " "1"" of type '" "mforms::AppView *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1); result = (mforms::MenuBar *)(arg1)->get_menubar();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__MenuBar, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_AppView_set_menubar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::AppView *arg1 = (mforms::AppView *) 0 ; mforms::MenuBar *arg2 = (mforms::MenuBar *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:AppView_set_menubar",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AppView_set_menubar" "', argument " "1"" of type '" "mforms::AppView *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__MenuBar, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AppView_set_menubar" "', argument " "2"" of type '" "mforms::MenuBar *""'");  }
   arg2 = reinterpret_cast< mforms::MenuBar * >(argp2); (arg1)->set_menubar(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_AppView_get_toolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::AppView *arg1 = (mforms::AppView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::ToolBar *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:AppView_get_toolbar",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AppView_get_toolbar" "', argument " "1"" of type '" "mforms::AppView *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1); result = (mforms::ToolBar *)(arg1)->get_toolbar();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_AppView_set_toolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::AppView *arg1 = (mforms::AppView *) 0 ; mforms::ToolBar *arg2 = (mforms::ToolBar *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:AppView_set_toolbar",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AppView_set_toolbar" "', argument " "1"" of type '" "mforms::AppView *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__ToolBar, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AppView_set_toolbar" "', argument " "2"" of type '" "mforms::ToolBar *""'");  }
   arg2 = reinterpret_cast< mforms::ToolBar * >(argp2); (arg1)->set_toolbar(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_AppView_on_close__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::AppView *arg1 = (mforms::AppView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:AppView_on_close",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AppView_on_close" "', argument " "1"" of type '" "mforms::AppView *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1); result = (bool)(arg1)->on_close();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_AppView_is_main_form(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::AppView *arg1 = (mforms::AppView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:AppView_is_main_form",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AppView_is_main_form" "', argument " "1"" of type '" "mforms::AppView *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1); result = (bool)(arg1)->is_main_form();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_AppView_get_form_context_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::AppView *arg1 = (mforms::AppView *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:AppView_get_form_context_name",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AppView_get_form_context_name" "', argument " "1"" of type '" "mforms::AppView const *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1); result = ((mforms::AppView const *)arg1)->get_form_context_name(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_AppView_on_close__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::AppView *arg1 = (mforms::AppView *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:AppView_on_close",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AppView_on_close" "', argument " "1"" of type '" "mforms::AppView *""'");  }
   arg1 = reinterpret_cast< mforms::AppView * >(argp1); arg2 = obj1; mforms_AppView_on_close__SWIG_1(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_AppView_on_close(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 1) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__AppView, 0); _v = SWIG_CheckState(res);
    if (_v) { return _wrap_AppView_on_close__SWIG_0(self, args);}  }  if (argc == 2) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__AppView, 0); _v = SWIG_CheckState(res); if (_v) {
      _v = (argv[1] != 0); if (_v) { return _wrap_AppView_on_close__SWIG_1(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'AppView_on_close'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::AppView::on_close()\n" "    mforms::AppView::on_close(PyObject *)\n");
  return 0; }
SWIGINTERN PyObject *AppView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__AppView, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_DockingPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::DockingPoint *arg1 = (mforms::DockingPoint *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_DockingPoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DockingPoint, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockingPoint" "', argument " "1"" of type '" "mforms::DockingPoint *""'");  }
   arg1 = reinterpret_cast< mforms::DockingPoint * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_DockingPoint_get_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::DockingPoint *arg1 = (mforms::DockingPoint *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::string result; if (!PyArg_ParseTuple(args,(char *)"O:DockingPoint_get_type",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DockingPoint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockingPoint_get_type" "', argument " "1"" of type '" "mforms::DockingPoint *""'");  }
   arg1 = reinterpret_cast< mforms::DockingPoint * >(argp1); result = (arg1)->get_type(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_DockingPoint_dock_view__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::DockingPoint *arg1 = (mforms::DockingPoint *) 0 ;
  mforms::AppView *arg2 = (mforms::AppView *) 0 ; std::string *arg3 = 0 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOOO:DockingPoint_dock_view",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DockingPoint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockingPoint_dock_view" "', argument " "1"" of type '" "mforms::DockingPoint *""'");  }
   arg1 = reinterpret_cast< mforms::DockingPoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockingPoint_dock_view" "', argument " "2"" of type '" "mforms::AppView *""'");  }
   arg2 = reinterpret_cast< mforms::AppView * >(argp2); { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockingPoint_dock_view" "', argument " "4"" of type '" "int""'"); }
    arg4 = static_cast< int >(val4); (arg1)->dock_view(arg2,(std::string const &)*arg3,arg4); resultobj = SWIG_Py_Void(); {
    delete arg3; }  return resultobj; fail: { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_DockingPoint_dock_view__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::DockingPoint *arg1 = (mforms::DockingPoint *) 0 ;
  mforms::AppView *arg2 = (mforms::AppView *) 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:DockingPoint_dock_view",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DockingPoint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockingPoint_dock_view" "', argument " "1"" of type '" "mforms::DockingPoint *""'");  }
   arg1 = reinterpret_cast< mforms::DockingPoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockingPoint_dock_view" "', argument " "2"" of type '" "mforms::AppView *""'");  }
   arg2 = reinterpret_cast< mforms::AppView * >(argp2); { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->dock_view(arg2,(std::string const &)*arg3);
  resultobj = SWIG_Py_Void(); { delete arg3; }  return resultobj; fail: { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_DockingPoint_dock_view__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::DockingPoint *arg1 = (mforms::DockingPoint *) 0 ;
  mforms::AppView *arg2 = (mforms::AppView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:DockingPoint_dock_view",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DockingPoint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockingPoint_dock_view" "', argument " "1"" of type '" "mforms::DockingPoint *""'");  }
   arg1 = reinterpret_cast< mforms::DockingPoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockingPoint_dock_view" "', argument " "2"" of type '" "mforms::AppView *""'");  }
   arg2 = reinterpret_cast< mforms::AppView * >(argp2); (arg1)->dock_view(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_DockingPoint_dock_view(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__DockingPoint, 0); _v = SWIG_CheckState(res);
    if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_mforms__AppView, 0);
      _v = SWIG_CheckState(res); if (_v) { return _wrap_DockingPoint_dock_view__SWIG_2(self, args);}  }  }  if (argc == 3) {
    int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__DockingPoint, 0);
    _v = SWIG_CheckState(res); if (_v) { void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_mforms__AppView, 0); _v = SWIG_CheckState(res); if (_v) {
        int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
          return _wrap_DockingPoint_dock_view__SWIG_1(self, args);}  }  }  }  if (argc == 4) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__DockingPoint, 0); _v = SWIG_CheckState(res); if (_v) {
      void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_mforms__AppView, 0); _v = SWIG_CheckState(res);
      if (_v) { int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { {
            int res = SWIG_AsVal_int(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) {
            return _wrap_DockingPoint_dock_view__SWIG_0(self, args);}  }  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DockingPoint_dock_view'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::DockingPoint::dock_view(mforms::AppView *,std::string const &,int)\n"
  "    mforms::DockingPoint::dock_view(mforms::AppView *,std::string const &)\n"
  "    mforms::DockingPoint::dock_view(mforms::AppView *)\n"); return 0; }
SWIGINTERN PyObject *_wrap_DockingPoint_select_view(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::DockingPoint *arg1 = (mforms::DockingPoint *) 0 ; mforms::AppView *arg2 = (mforms::AppView *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:DockingPoint_select_view",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DockingPoint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockingPoint_select_view" "', argument " "1"" of type '" "mforms::DockingPoint *""'");  }
   arg1 = reinterpret_cast< mforms::DockingPoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockingPoint_select_view" "', argument " "2"" of type '" "mforms::AppView *""'");  }
   arg2 = reinterpret_cast< mforms::AppView * >(argp2); result = (bool)(arg1)->select_view(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_DockingPoint_undock_view(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::DockingPoint *arg1 = (mforms::DockingPoint *) 0 ; mforms::AppView *arg2 = (mforms::AppView *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:DockingPoint_undock_view",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DockingPoint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockingPoint_undock_view" "', argument " "1"" of type '" "mforms::DockingPoint *""'");  }
   arg1 = reinterpret_cast< mforms::DockingPoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockingPoint_undock_view" "', argument " "2"" of type '" "mforms::AppView *""'");  }
   arg2 = reinterpret_cast< mforms::AppView * >(argp2); (arg1)->undock_view(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_DockingPoint_close_view(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::DockingPoint *arg1 = (mforms::DockingPoint *) 0 ; mforms::AppView *arg2 = (mforms::AppView *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:DockingPoint_close_view",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DockingPoint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockingPoint_close_view" "', argument " "1"" of type '" "mforms::DockingPoint *""'");  }
   arg1 = reinterpret_cast< mforms::DockingPoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockingPoint_close_view" "', argument " "2"" of type '" "mforms::AppView *""'");  }
   arg2 = reinterpret_cast< mforms::AppView * >(argp2); result = (bool)(arg1)->close_view(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_DockingPoint_set_view_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::DockingPoint *arg1 = (mforms::DockingPoint *) 0 ;
  mforms::AppView *arg2 = (mforms::AppView *) 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:DockingPoint_set_view_title",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DockingPoint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockingPoint_set_view_title" "', argument " "1"" of type '" "mforms::DockingPoint *""'");  }
   arg1 = reinterpret_cast< mforms::DockingPoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__AppView, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockingPoint_set_view_title" "', argument " "2"" of type '" "mforms::AppView *""'");  }
   arg2 = reinterpret_cast< mforms::AppView * >(argp2); { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_view_title(arg2,(std::string const &)*arg3); resultobj = SWIG_Py_Void(); { delete arg3; }  return resultobj; fail:
  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_DockingPoint_get_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::DockingPoint *arg1 = (mforms::DockingPoint *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; int temp2 ; int temp3 ; PyObject * obj0 = 0 ; { arg2 = &temp2; }  { arg3 = &temp3; } 
  if (!PyArg_ParseTuple(args,(char *)"O:DockingPoint_get_size",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DockingPoint, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockingPoint_get_size" "', argument " "1"" of type '" "mforms::DockingPoint *""'");  }
   arg1 = reinterpret_cast< mforms::DockingPoint * >(argp1); (arg1)->get_size(arg2,arg3); resultobj = SWIG_Py_Void(); {
    resultobj = Py_BuildValue("(ii)", *arg2, *arg3); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *DockingPoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__DockingPoint, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_App_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::App *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":App_get")) SWIG_fail;
  result = (mforms::App *)mforms::App::get();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__App, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_App_set_status_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::App *arg1 = (mforms::App *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:App_set_status_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__App, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "App_set_status_text" "', argument " "1"" of type '" "mforms::App *""'");  }
   arg1 = reinterpret_cast< mforms::App * >(argp1); { if (PyUnicode_Check(obj1)) { PyObject *tmp = PyUnicode_AsUTF8String(obj1);
      arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj1))
    arg2 = new std::string(PyString_AsString(obj1)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_status_text((std::string const &)*arg2); resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: {
    delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_App_get_resource_path(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::App *arg1 = (mforms::App *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"OO:App_get_resource_path",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__App, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "App_get_resource_path" "', argument " "1"" of type '" "mforms::App *""'");  }
   arg1 = reinterpret_cast< mforms::App * >(argp1); { if (PyUnicode_Check(obj1)) { PyObject *tmp = PyUnicode_AsUTF8String(obj1);
      arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj1))
    arg2 = new std::string(PyString_AsString(obj1)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (arg1)->get_resource_path((std::string const &)*arg2); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  { delete arg2; }  return resultobj; fail: {
    delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_App_get_executable_path(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::App *arg1 = (mforms::App *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"OO:App_get_executable_path",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__App, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "App_get_executable_path" "', argument " "1"" of type '" "mforms::App *""'");  }
   arg1 = reinterpret_cast< mforms::App * >(argp1); { if (PyUnicode_Check(obj1)) { PyObject *tmp = PyUnicode_AsUTF8String(obj1);
      arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj1))
    arg2 = new std::string(PyString_AsString(obj1)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (arg1)->get_executable_path((std::string const &)*arg2); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  { delete arg2; }  return resultobj; fail: {
    delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_App_get_user_data_folder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::App *arg1 = (mforms::App *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:App_get_user_data_folder",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__App, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "App_get_user_data_folder" "', argument " "1"" of type '" "mforms::App *""'");  }
   arg1 = reinterpret_cast< mforms::App * >(argp1); result = (arg1)->get_user_data_folder(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_App_get_bounds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::App *arg1 = (mforms::App *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; int *arg4 = (int *) 0 ;
  int *arg5 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ;
  int temp4 ; int temp5 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; { arg4 = &temp4; }  {
    arg5 = &temp5; }  if (!PyArg_ParseTuple(args,(char *)"OOO:App_get_bounds",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__App, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "App_get_bounds" "', argument " "1"" of type '" "mforms::App *""'");  }
   arg1 = reinterpret_cast< mforms::App * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "App_get_bounds" "', argument " "2"" of type '" "int *""'");  } 
  arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 ); if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "App_get_bounds" "', argument " "3"" of type '" "int *""'");  } 
  arg3 = reinterpret_cast< int * >(argp3); (arg1)->get_bounds(arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); {
    resultobj = Py_BuildValue("(ii)", *arg4, *arg5); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_App_enter_event_loop__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::App *arg1 = (mforms::App *) 0 ; float arg2 ; void *argp1 = 0 ; int res1 = 0 ; float val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OO:App_enter_event_loop",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__App, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "App_enter_event_loop" "', argument " "1"" of type '" "mforms::App *""'");  }
   arg1 = reinterpret_cast< mforms::App * >(argp1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "App_enter_event_loop" "', argument " "2"" of type '" "float""'"); }
    arg2 = static_cast< float >(val2); result = (int)(arg1)->enter_event_loop(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_App_enter_event_loop__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::App *arg1 = (mforms::App *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  int result; if (!PyArg_ParseTuple(args,(char *)"O:App_enter_event_loop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__App, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "App_enter_event_loop" "', argument " "1"" of type '" "mforms::App *""'");  }
   arg1 = reinterpret_cast< mforms::App * >(argp1); result = (int)(arg1)->enter_event_loop();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_App_enter_event_loop(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 1) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__App, 0); _v = SWIG_CheckState(res); if (_v) {
      return _wrap_App_enter_event_loop__SWIG_1(self, args);}  }  if (argc == 2) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__App, 0); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_float(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_App_enter_event_loop__SWIG_0(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'App_enter_event_loop'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::App::enter_event_loop(float)\n" "    mforms::App::enter_event_loop()\n");
  return 0; }
SWIGINTERN PyObject *_wrap_App_exit_event_loop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::App *arg1 = (mforms::App *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:App_exit_event_loop",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__App, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "App_exit_event_loop" "', argument " "1"" of type '" "mforms::App *""'");  }
   arg1 = reinterpret_cast< mforms::App * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "App_exit_event_loop" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); (arg1)->exit_event_loop(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_App_begin_thread_loop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  if (!PyArg_ParseTuple(args,(char *)":App_begin_thread_loop")) SWIG_fail; mforms::App::begin_thread_loop();
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_App_end_thread_loop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  if (!PyArg_ParseTuple(args,(char *)":App_end_thread_loop")) SWIG_fail; mforms::App::end_thread_loop();
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_App_get_system_color(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::App *arg1 = (mforms::App *) 0 ; mforms::SystemColor arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; base::Color result;
  if (!PyArg_ParseTuple(args,(char *)"OO:App_get_system_color",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__App, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "App_get_system_color" "', argument " "1"" of type '" "mforms::App *""'");  }
   arg1 = reinterpret_cast< mforms::App * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "App_get_system_color" "', argument " "2"" of type '" "mforms::SystemColor""'"); }
    arg2 = static_cast< mforms::SystemColor >(val2); result = (arg1)->get_system_color(arg2);
  resultobj = SWIG_NewPointerObj((new base::Color(static_cast< const base::Color& >(result))), SWIGTYPE_p_base__Color, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_App_close_splash(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::App *arg1 = (mforms::App *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:App_close_splash",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__App, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "App_close_splash" "', argument " "1"" of type '" "mforms::App *""'");  }
   arg1 = reinterpret_cast< mforms::App * >(argp1); (arg1)->close_splash(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_delete_App(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::App *arg1 = (mforms::App *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_App",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__App, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_App" "', argument " "1"" of type '" "mforms::App *""'");  } 
  arg1 = reinterpret_cast< mforms::App * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *App_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__App, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_DrawBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::DrawBox *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_DrawBox")) SWIG_fail;
  result = (mforms::DrawBox *)new mforms::DrawBox();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__DrawBox, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_DrawBox_set_needs_repaint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::DrawBox *arg1 = (mforms::DrawBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:DrawBox_set_needs_repaint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DrawBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DrawBox_set_needs_repaint" "', argument " "1"" of type '" "mforms::DrawBox *""'");  }
   arg1 = reinterpret_cast< mforms::DrawBox * >(argp1); (arg1)->set_needs_repaint(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_DrawBox_get_layout_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::DrawBox *arg1 = (mforms::DrawBox *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; int temp2 ; int temp3 ; PyObject * obj0 = 0 ; { arg2 = &temp2; }  { arg3 = &temp3; } 
  if (!PyArg_ParseTuple(args,(char *)"O:DrawBox_get_layout_size",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DrawBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DrawBox_get_layout_size" "', argument " "1"" of type '" "mforms::DrawBox *""'");  }
   arg1 = reinterpret_cast< mforms::DrawBox * >(argp1); (arg1)->get_layout_size(arg2,arg3); resultobj = SWIG_Py_Void(); {
    resultobj = Py_BuildValue("(ii)", *arg2, *arg3); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_DrawBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::DrawBox *arg1 = (mforms::DrawBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_DrawBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__DrawBox, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DrawBox" "', argument " "1"" of type '" "mforms::DrawBox *""'");  }
   arg1 = reinterpret_cast< mforms::DrawBox * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *DrawBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__DrawBox, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_TabSwitcher(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabSwitcher *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_TabSwitcher")) SWIG_fail;
  result = (mforms::TabSwitcher *)new mforms::TabSwitcher();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TabSwitcher, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_TabSwitcher(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabSwitcher *arg1 = (mforms::TabSwitcher *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_TabSwitcher",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabSwitcher, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TabSwitcher" "', argument " "1"" of type '" "mforms::TabSwitcher *""'");  }
   arg1 = reinterpret_cast< mforms::TabSwitcher * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TabSwitcher_attach_to_tabview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TabSwitcher *arg1 = (mforms::TabSwitcher *) 0 ;
  mforms::TabView *arg2 = (mforms::TabView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TabSwitcher_attach_to_tabview",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabSwitcher, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabSwitcher_attach_to_tabview" "', argument " "1"" of type '" "mforms::TabSwitcher *""'");  }
   arg1 = reinterpret_cast< mforms::TabSwitcher * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__TabView, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabSwitcher_attach_to_tabview" "', argument " "2"" of type '" "mforms::TabView *""'");  }
   arg2 = reinterpret_cast< mforms::TabView * >(argp2); (arg1)->attach_to_tabview(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TabSwitcher_add_item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabSwitcher *arg1 = (mforms::TabSwitcher *) 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ;
  std::string *arg4 = 0 ; std::string *arg5 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:TabSwitcher_add_item",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabSwitcher, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabSwitcher_add_item" "', argument " "1"" of type '" "mforms::TabSwitcher *""'");  }
   arg1 = reinterpret_cast< mforms::TabSwitcher * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj3)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj3); arg4 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj3)) arg4 = new std::string(PyString_AsString(obj3)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj4)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj4); arg5 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj4)) arg5 = new std::string(PyString_AsString(obj4)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)(arg1)->add_item((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg2; }  { delete arg3; }  { delete arg4; }  { delete arg5; } 
  return resultobj; fail: { delete arg2; }  { delete arg3; }  { delete arg4; }  { delete arg5; }  return NULL; }
SWIGINTERN PyObject *_wrap_TabSwitcher_set_icon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabSwitcher *arg1 = (mforms::TabSwitcher *) 0 ; int arg2 ; std::string *arg3 = 0 ; std::string *arg4 = 0 ;
  void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOOO:TabSwitcher_set_icon",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabSwitcher, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabSwitcher_set_icon" "', argument " "1"" of type '" "mforms::TabSwitcher *""'");  }
   arg1 = reinterpret_cast< mforms::TabSwitcher * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TabSwitcher_set_icon" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); { if (PyUnicode_Check(obj2)) { PyObject *tmp = PyUnicode_AsUTF8String(obj2);
      arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj2))
    arg3 = new std::string(PyString_AsString(obj2)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  {
    if (PyUnicode_Check(obj3)) { PyObject *tmp = PyUnicode_AsUTF8String(obj3); arg4 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj3)) arg4 = new std::string(PyString_AsString(obj3)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_icon(arg2,(std::string const &)*arg3,(std::string const &)*arg4); resultobj = SWIG_Py_Void(); { delete arg3; }  {
    delete arg4; }  return resultobj; fail: { delete arg3; }  { delete arg4; }  return NULL; }
SWIGINTERN PyObject *_wrap_TabSwitcher_set_color(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabSwitcher *arg1 = (mforms::TabSwitcher *) 0 ; mforms::TabElementPart arg2 ; base::Color arg3 ; void *argp1 = 0 ;
  int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:TabSwitcher_set_color",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabSwitcher, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabSwitcher_set_color" "', argument " "1"" of type '" "mforms::TabSwitcher *""'");  }
   arg1 = reinterpret_cast< mforms::TabSwitcher * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TabSwitcher_set_color" "', argument " "2"" of type '" "mforms::TabElementPart""'"); }
    arg2 = static_cast< mforms::TabElementPart >(val2); { res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_base__Color,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TabSwitcher_set_color" "', argument " "3"" of type '" "base::Color""'");  }
       if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TabSwitcher_set_color" "', argument " "3"" of type '" "base::Color""'"); }
     else { base::Color * temp = reinterpret_cast< base::Color * >(argp3); arg3 = *temp; if (SWIG_IsNewObj(res3)) delete temp; }
     }  (arg1)->set_color(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TabSwitcher_set_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabSwitcher *arg1 = (mforms::TabSwitcher *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TabSwitcher_set_selected",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabSwitcher, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabSwitcher_set_selected" "', argument " "1"" of type '" "mforms::TabSwitcher *""'");  }
   arg1 = reinterpret_cast< mforms::TabSwitcher * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TabSwitcher_set_selected" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_selected(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TabSwitcher_get_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TabSwitcher *arg1 = (mforms::TabSwitcher *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:TabSwitcher_get_selected",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabSwitcher, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabSwitcher_get_selected" "', argument " "1"" of type '" "mforms::TabSwitcher *""'");  }
   arg1 = reinterpret_cast< mforms::TabSwitcher * >(argp1); result = (int)(arg1)->get_selected();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TabSwitcher_set_needs_relayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TabSwitcher *arg1 = (mforms::TabSwitcher *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TabSwitcher_set_needs_relayout",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabSwitcher, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabSwitcher_set_needs_relayout" "', argument " "1"" of type '" "mforms::TabSwitcher *""'");  }
   arg1 = reinterpret_cast< mforms::TabSwitcher * >(argp1); (arg1)->set_needs_relayout(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TabSwitcher_add_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TabSwitcher *arg1 = (mforms::TabSwitcher *) 0 ; PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TabSwitcher_add_changed_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabSwitcher, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabSwitcher_add_changed_callback" "', argument " "1"" of type '" "mforms::TabSwitcher *""'");  }
   arg1 = reinterpret_cast< mforms::TabSwitcher * >(argp1); arg2 = obj1; mforms_TabSwitcher_add_changed_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TabSwitcher_call_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TabSwitcher *arg1 = (mforms::TabSwitcher *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TabSwitcher_call_changed_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TabSwitcher, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabSwitcher_call_changed_callback" "', argument " "1"" of type '" "mforms::TabSwitcher *""'");  }
   arg1 = reinterpret_cast< mforms::TabSwitcher * >(argp1); mforms_TabSwitcher_call_changed_callback(arg1);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *TabSwitcher_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__TabSwitcher, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_SectionBox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  bool arg1 ; std::string *arg2 = 0 ; bool arg3 ; bool val1 ; int ecode1 = 0 ; bool val3 ; int ecode3 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; mforms::SectionBox *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_SectionBox",&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_bool(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SectionBox" "', argument " "1"" of type '" "bool""'"); }  
  arg1 = static_cast< bool >(val1); { if (PyUnicode_Check(obj1)) { PyObject *tmp = PyUnicode_AsUTF8String(obj1);
      arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj1))
    arg2 = new std::string(PyString_AsString(obj1)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SectionBox" "', argument " "3"" of type '" "bool""'"); }  
  arg3 = static_cast< bool >(val3); result = (mforms::SectionBox *)new mforms::SectionBox(arg1,(std::string const &)*arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__SectionBox, SWIG_POINTER_NEW |  0 ); {
    delete arg2; }  result->retain(); return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_new_SectionBox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  bool arg1 ; std::string *arg2 = 0 ; bool val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  mforms::SectionBox *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:new_SectionBox",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_bool(obj0, &val1); if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SectionBox" "', argument " "1"" of type '" "bool""'"); }  
  arg1 = static_cast< bool >(val1); { if (PyUnicode_Check(obj1)) { PyObject *tmp = PyUnicode_AsUTF8String(obj1);
      arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj1))
    arg2 = new std::string(PyString_AsString(obj1)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (mforms::SectionBox *)new mforms::SectionBox(arg1,(std::string const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__SectionBox, SWIG_POINTER_NEW |  0 ); {
    delete arg2; }  result->retain(); return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_new_SectionBox(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v; {
      int res = SWIG_AsVal_bool(argv[0], NULL); _v = SWIG_CheckState(res); }  if (_v) {
      int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
        return _wrap_new_SectionBox__SWIG_1(self, args);}  }  }  if (argc == 3) { int _v; {
      int res = SWIG_AsVal_bool(argv[0], NULL); _v = SWIG_CheckState(res); }  if (_v) {
      int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { {
          int res = SWIG_AsVal_bool(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_new_SectionBox__SWIG_0(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_SectionBox'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::SectionBox::SectionBox(bool,std::string const &,bool)\n"
  "    mforms::SectionBox::SectionBox(bool,std::string const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_delete_SectionBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::SectionBox *arg1 = (mforms::SectionBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_SectionBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__SectionBox, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SectionBox" "', argument " "1"" of type '" "mforms::SectionBox *""'");  }
   arg1 = reinterpret_cast< mforms::SectionBox * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_SectionBox_set_content(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::SectionBox *arg1 = (mforms::SectionBox *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:SectionBox_set_content",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__SectionBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SectionBox_set_content" "', argument " "1"" of type '" "mforms::SectionBox *""'");  }
   arg1 = reinterpret_cast< mforms::SectionBox * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SectionBox_set_content" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); (arg1)->set_content(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_SectionBox_toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::SectionBox *arg1 = (mforms::SectionBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:SectionBox_toggle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__SectionBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SectionBox_toggle" "', argument " "1"" of type '" "mforms::SectionBox *""'");  }
   arg1 = reinterpret_cast< mforms::SectionBox * >(argp1); (arg1)->toggle(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_SectionBox_set_expanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::SectionBox *arg1 = (mforms::SectionBox *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:SectionBox_set_expanded",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__SectionBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SectionBox_set_expanded" "', argument " "1"" of type '" "mforms::SectionBox *""'");  }
   arg1 = reinterpret_cast< mforms::SectionBox * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SectionBox_set_expanded" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_expanded(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_SectionBox_get_expanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::SectionBox *arg1 = (mforms::SectionBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:SectionBox_get_expanded",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__SectionBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SectionBox_get_expanded" "', argument " "1"" of type '" "mforms::SectionBox *""'");  }
   arg1 = reinterpret_cast< mforms::SectionBox * >(argp1); result = (bool)(arg1)->get_expanded();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *SectionBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__SectionBox, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_BaseWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::BaseWidget *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_BaseWidget")) SWIG_fail;
  result = (mforms::BaseWidget *)new mforms::BaseWidget();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__BaseWidget, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_BaseWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::BaseWidget *arg1 = (mforms::BaseWidget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_BaseWidget",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__BaseWidget, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BaseWidget" "', argument " "1"" of type '" "mforms::BaseWidget *""'");  }
   arg1 = reinterpret_cast< mforms::BaseWidget * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_BaseWidget_enable_auto_scale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::BaseWidget *arg1 = (mforms::BaseWidget *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:BaseWidget_enable_auto_scale",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__BaseWidget, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BaseWidget_enable_auto_scale" "', argument " "1"" of type '" "mforms::BaseWidget *""'");  }
   arg1 = reinterpret_cast< mforms::BaseWidget * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BaseWidget_enable_auto_scale" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->enable_auto_scale(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_BaseWidget_get_upper_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::BaseWidget *arg1 = (mforms::BaseWidget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result;
  if (!PyArg_ParseTuple(args,(char *)"O:BaseWidget_get_upper_range",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__BaseWidget, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BaseWidget_get_upper_range" "', argument " "1"" of type '" "mforms::BaseWidget const *""'");  }
   arg1 = reinterpret_cast< mforms::BaseWidget * >(argp1);
  result = (double)((mforms::BaseWidget const *)arg1)->get_upper_range();
  resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_BaseWidget_set_value_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::BaseWidget *arg1 = (mforms::BaseWidget *) 0 ; double arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:BaseWidget_set_value_range",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__BaseWidget, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BaseWidget_set_value_range" "', argument " "1"" of type '" "mforms::BaseWidget *""'");  }
   arg1 = reinterpret_cast< mforms::BaseWidget * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BaseWidget_set_value_range" "', argument " "2"" of type '" "double""'"); }
    arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BaseWidget_set_value_range" "', argument " "3"" of type '" "double""'"); }
    arg3 = static_cast< double >(val3); (arg1)->set_value_range(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_BaseWidget_set_thresholds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::BaseWidget *arg1 = (mforms::BaseWidget *) 0 ; mforms::ThresholdList arg2 ; mforms::ThresholdList arg3 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:BaseWidget_set_thresholds",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__BaseWidget, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BaseWidget_set_thresholds" "', argument " "1"" of type '" "mforms::BaseWidget *""'");  }
   arg1 = reinterpret_cast< mforms::BaseWidget * >(argp1); { if (PyList_Check(obj1)) {
      for (int c= PyList_Size(obj1), i= 0; i < c; i++) { PyObject *item = PyList_GetItem(obj1, i); if (PyFloat_Check(item))
        (&arg2)->push_back(PyFloat_AsDouble(item)); else if (PyInt_Check(item)) (&arg2)->push_back(PyInt_AsLong(item)); else {
          SWIG_exception_fail(SWIG_TypeError, "expected list of doubles"); }  }  }  else
    SWIG_exception_fail(SWIG_TypeError, "expected list of doubles"); }  { if (PyList_Check(obj2)) {
      for (int c= PyList_Size(obj2), i= 0; i < c; i++) { PyObject *item = PyList_GetItem(obj2, i); if (PyFloat_Check(item))
        (&arg3)->push_back(PyFloat_AsDouble(item)); else if (PyInt_Check(item)) (&arg3)->push_back(PyInt_AsLong(item)); else {
          SWIG_exception_fail(SWIG_TypeError, "expected list of doubles"); }  }  }  else
    SWIG_exception_fail(SWIG_TypeError, "expected list of doubles"); }  (arg1)->set_thresholds(arg2,arg3);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_BaseWidget_set_description(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::BaseWidget *arg1 = (mforms::BaseWidget *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:BaseWidget_set_description",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__BaseWidget, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BaseWidget_set_description" "', argument " "1"" of type '" "mforms::BaseWidget *""'");  }
   arg1 = reinterpret_cast< mforms::BaseWidget * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_description((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *BaseWidget_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__BaseWidget, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_WidgetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::WidgetSeparator *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_WidgetSeparator")) SWIG_fail;
  result = (mforms::WidgetSeparator *)new mforms::WidgetSeparator();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__WidgetSeparator, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_WidgetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::WidgetSeparator *arg1 = (mforms::WidgetSeparator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_WidgetSeparator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__WidgetSeparator, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_WidgetSeparator" "', argument " "1"" of type '" "mforms::WidgetSeparator *""'");  }
   arg1 = reinterpret_cast< mforms::WidgetSeparator * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *WidgetSeparator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__WidgetSeparator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_WidgetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; PyObject * obj0 = 0 ; mforms::WidgetContainer *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_WidgetContainer",&obj0)) SWIG_fail; { if (PyUnicode_Check(obj0)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (mforms::WidgetContainer *)new mforms::WidgetContainer((std::string const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__WidgetContainer, SWIG_POINTER_NEW |  0 ); {
    delete arg1; }  result->retain(); return resultobj; fail: { delete arg1; }  return NULL; }
SWIGINTERN PyObject *_wrap_delete_WidgetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::WidgetContainer *arg1 = (mforms::WidgetContainer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_WidgetContainer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__WidgetContainer, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_WidgetContainer" "', argument " "1"" of type '" "mforms::WidgetContainer *""'");  }
   arg1 = reinterpret_cast< mforms::WidgetContainer * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_WidgetContainer_add_widget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::WidgetContainer *arg1 = (mforms::WidgetContainer *) 0 ; mforms::BaseWidget *arg2 = (mforms::BaseWidget *) 0 ;
  bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; bool val3 ; int ecode3 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:WidgetContainer_add_widget",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__WidgetContainer, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WidgetContainer_add_widget" "', argument " "1"" of type '" "mforms::WidgetContainer *""'");  }
   arg1 = reinterpret_cast< mforms::WidgetContainer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__BaseWidget, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "WidgetContainer_add_widget" "', argument " "2"" of type '" "mforms::BaseWidget *""'");  }
   arg2 = reinterpret_cast< mforms::BaseWidget * >(argp2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "WidgetContainer_add_widget" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->add_widget(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_WidgetContainer_set_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::WidgetContainer *arg1 = (mforms::WidgetContainer *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:WidgetContainer_set_title",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__WidgetContainer, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WidgetContainer_set_title" "', argument " "1"" of type '" "mforms::WidgetContainer *""'");  }
   arg1 = reinterpret_cast< mforms::WidgetContainer * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_title((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *WidgetContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__WidgetContainer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_HeartbeatWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::HeartbeatWidget *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_HeartbeatWidget")) SWIG_fail;
  result = (mforms::HeartbeatWidget *)new mforms::HeartbeatWidget();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__HeartbeatWidget, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_HeartbeatWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::HeartbeatWidget *arg1 = (mforms::HeartbeatWidget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_HeartbeatWidget",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__HeartbeatWidget, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HeartbeatWidget" "', argument " "1"" of type '" "mforms::HeartbeatWidget *""'");  }
   arg1 = reinterpret_cast< mforms::HeartbeatWidget * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_HeartbeatWidget_set_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::HeartbeatWidget *arg1 = (mforms::HeartbeatWidget *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:HeartbeatWidget_set_value",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__HeartbeatWidget, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeartbeatWidget_set_value" "', argument " "1"" of type '" "mforms::HeartbeatWidget *""'");  }
   arg1 = reinterpret_cast< mforms::HeartbeatWidget * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HeartbeatWidget_set_value" "', argument " "2"" of type '" "double""'"); }
    arg2 = static_cast< double >(val2); (arg1)->set_value(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *HeartbeatWidget_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__HeartbeatWidget, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_ServerInfoWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ServerInfoWidget *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_ServerInfoWidget")) SWIG_fail;
  result = (mforms::ServerInfoWidget *)new mforms::ServerInfoWidget();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__ServerInfoWidget, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_ServerInfoWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::ServerInfoWidget *arg1 = (mforms::ServerInfoWidget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_ServerInfoWidget",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ServerInfoWidget, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ServerInfoWidget" "', argument " "1"" of type '" "mforms::ServerInfoWidget *""'");  }
   arg1 = reinterpret_cast< mforms::ServerInfoWidget * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_ServerInfoWidget_set_server_info(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ServerInfoWidget *arg1 = (mforms::ServerInfoWidget *) 0 ; std::string *arg2 = 0 ;
  std::string *arg3 = 0 ; std::string *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:ServerInfoWidget_set_server_info",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ServerInfoWidget, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ServerInfoWidget_set_server_info" "', argument " "1"" of type '" "mforms::ServerInfoWidget *""'");  }
   arg1 = reinterpret_cast< mforms::ServerInfoWidget * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj3)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj3); arg4 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj3)) arg4 = new std::string(PyString_AsString(obj3)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_server_info((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4);
  resultobj = SWIG_Py_Void(); { delete arg2; }  { delete arg3; }  { delete arg4; }  return resultobj; fail: { delete arg2; }  {
    delete arg3; }  { delete arg4; }  return NULL; }
SWIGINTERN PyObject *_wrap_ServerInfoWidget_set_server_status(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::ServerInfoWidget *arg1 = (mforms::ServerInfoWidget *) 0 ; int arg2 ; void *argp1 = 0 ;
  int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:ServerInfoWidget_set_server_status",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__ServerInfoWidget, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ServerInfoWidget_set_server_status" "', argument " "1"" of type '" "mforms::ServerInfoWidget *""'");  }
   arg1 = reinterpret_cast< mforms::ServerInfoWidget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ServerInfoWidget_set_server_status" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_server_status(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *ServerInfoWidget_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__ServerInfoWidget, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_BarGraphWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::BarGraphWidget *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_BarGraphWidget")) SWIG_fail;
  result = (mforms::BarGraphWidget *)new mforms::BarGraphWidget();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__BarGraphWidget, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_BarGraphWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::BarGraphWidget *arg1 = (mforms::BarGraphWidget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_BarGraphWidget",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__BarGraphWidget, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BarGraphWidget" "', argument " "1"" of type '" "mforms::BarGraphWidget *""'");  }
   arg1 = reinterpret_cast< mforms::BarGraphWidget * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_BarGraphWidget_set_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::BarGraphWidget *arg1 = (mforms::BarGraphWidget *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:BarGraphWidget_set_value",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__BarGraphWidget, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BarGraphWidget_set_value" "', argument " "1"" of type '" "mforms::BarGraphWidget *""'");  }
   arg1 = reinterpret_cast< mforms::BarGraphWidget * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BarGraphWidget_set_value" "', argument " "2"" of type '" "double""'"); }
    arg2 = static_cast< double >(val2); (arg1)->set_value(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *BarGraphWidget_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__BarGraphWidget, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_LineDiagramWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::LineDiagramWidget *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_LineDiagramWidget")) SWIG_fail;
  result = (mforms::LineDiagramWidget *)new mforms::LineDiagramWidget();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__LineDiagramWidget, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_LineDiagramWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::LineDiagramWidget *arg1 = (mforms::LineDiagramWidget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_LineDiagramWidget",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__LineDiagramWidget, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LineDiagramWidget" "', argument " "1"" of type '" "mforms::LineDiagramWidget *""'");  }
   arg1 = reinterpret_cast< mforms::LineDiagramWidget * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_LineDiagramWidget_set_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::LineDiagramWidget *arg1 = (mforms::LineDiagramWidget *) 0 ; double arg2 ; void *argp1 = 0 ;
  int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:LineDiagramWidget_set_value",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__LineDiagramWidget, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineDiagramWidget_set_value" "', argument " "1"" of type '" "mforms::LineDiagramWidget *""'");  }
   arg1 = reinterpret_cast< mforms::LineDiagramWidget * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LineDiagramWidget_set_value" "', argument " "2"" of type '" "double""'"); }
    arg2 = static_cast< double >(val2); (arg1)->set_value(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *LineDiagramWidget_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__LineDiagramWidget, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_WebBrowser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::WebBrowser *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_WebBrowser")) SWIG_fail;
  result = (mforms::WebBrowser *)new mforms::WebBrowser();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__WebBrowser, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_WebBrowser_set_html(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::WebBrowser *arg1 = (mforms::WebBrowser *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:WebBrowser_set_html",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__WebBrowser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WebBrowser_set_html" "', argument " "1"" of type '" "mforms::WebBrowser *""'");  }
   arg1 = reinterpret_cast< mforms::WebBrowser * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_html((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_WebBrowser_navigate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::WebBrowser *arg1 = (mforms::WebBrowser *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:WebBrowser_navigate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__WebBrowser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WebBrowser_navigate" "', argument " "1"" of type '" "mforms::WebBrowser *""'");  }
   arg1 = reinterpret_cast< mforms::WebBrowser * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->navigate((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_WebBrowser_get_document_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::WebBrowser *arg1 = (mforms::WebBrowser *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:WebBrowser_get_document_title",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__WebBrowser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WebBrowser_get_document_title" "', argument " "1"" of type '" "mforms::WebBrowser *""'");  }
   arg1 = reinterpret_cast< mforms::WebBrowser * >(argp1); result = (arg1)->get_document_title(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_WebBrowser_set_link_click_handler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::WebBrowser *arg1 = (mforms::WebBrowser *) 0 ;
  boost::function< bool (std::string const &) > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:WebBrowser_set_link_click_handler",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__WebBrowser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WebBrowser_set_link_click_handler" "', argument " "1"" of type '" "mforms::WebBrowser *""'");  }
   arg1 = reinterpret_cast< mforms::WebBrowser * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_boost__functionT_bool_fstd__string_const_RF_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "WebBrowser_set_link_click_handler" "', argument " "2"" of type '" "boost::function< bool (std::string const &) > const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "WebBrowser_set_link_click_handler" "', argument " "2"" of type '" "boost::function< bool (std::string const &) > const &""'"); }
   arg2 = reinterpret_cast< boost::function< bool (std::string const &) > * >(argp2);
  (arg1)->set_link_click_handler((boost::function< bool (std::string const &) > const &)*arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_WebBrowser_add_loaded_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::WebBrowser *arg1 = (mforms::WebBrowser *) 0 ; PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:WebBrowser_add_loaded_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__WebBrowser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WebBrowser_add_loaded_callback" "', argument " "1"" of type '" "mforms::WebBrowser *""'");  }
   arg1 = reinterpret_cast< mforms::WebBrowser * >(argp1); arg2 = obj1; mforms_WebBrowser_add_loaded_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_WebBrowser_call_loaded_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::WebBrowser *arg1 = (mforms::WebBrowser *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:WebBrowser_call_loaded_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__WebBrowser, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WebBrowser_call_loaded_callback" "', argument " "1"" of type '" "mforms::WebBrowser *""'");  }
   arg1 = reinterpret_cast< mforms::WebBrowser * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "WebBrowser_call_loaded_callback" "', argument " "2"" of type '" "char const *""'"); }
   arg2 = reinterpret_cast< char * >(buf2); mforms_WebBrowser_call_loaded_callback(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; }
SWIGINTERN PyObject *_wrap_delete_WebBrowser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::WebBrowser *arg1 = (mforms::WebBrowser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_WebBrowser",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__WebBrowser, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_WebBrowser" "', argument " "1"" of type '" "mforms::WebBrowser *""'");  }
   arg1 = reinterpret_cast< mforms::WebBrowser * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *WebBrowser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__WebBrowser, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::PopupStyle arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::Popup *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_Popup",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Popup" "', argument " "1"" of type '" "mforms::PopupStyle""'"); }
    arg1 = static_cast< mforms::PopupStyle >(val1); result = (mforms::Popup *)new mforms::Popup(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Popup, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Popup_set_needs_repaint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Popup *arg1 = (mforms::Popup *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Popup_set_needs_repaint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Popup, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Popup_set_needs_repaint" "', argument " "1"" of type '" "mforms::Popup *""'");  }
   arg1 = reinterpret_cast< mforms::Popup * >(argp1); (arg1)->set_needs_repaint(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_Popup_set_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Popup *arg1 = (mforms::Popup *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Popup_set_size",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Popup, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Popup_set_size" "', argument " "1"" of type '" "mforms::Popup *""'");  }
   arg1 = reinterpret_cast< mforms::Popup * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Popup_set_size" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Popup_set_size" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); (arg1)->set_size(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Popup_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Popup *arg1 = (mforms::Popup *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Popup_show",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Popup, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Popup_show" "', argument " "1"" of type '" "mforms::Popup *""'");  }
   arg1 = reinterpret_cast< mforms::Popup * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Popup_show" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Popup_show" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); result = (int)(arg1)->show(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Popup_get_content_rect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Popup *arg1 = (mforms::Popup *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; base::Rect result;
  if (!PyArg_ParseTuple(args,(char *)"O:Popup_get_content_rect",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Popup, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Popup_get_content_rect" "', argument " "1"" of type '" "mforms::Popup *""'");  }
   arg1 = reinterpret_cast< mforms::Popup * >(argp1); result = (arg1)->get_content_rect();
  resultobj = SWIG_NewPointerObj((new base::Rect(static_cast< const base::Rect& >(result))), SWIGTYPE_p_base__Rect, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Popup_set_modal_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Popup *arg1 = (mforms::Popup *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Popup_set_modal_result",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Popup, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Popup_set_modal_result" "', argument " "1"" of type '" "mforms::Popup *""'");  }
   arg1 = reinterpret_cast< mforms::Popup * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Popup_set_modal_result" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_modal_result(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_delete_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Popup *arg1 = (mforms::Popup *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Popup",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Popup, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Popup" "', argument " "1"" of type '" "mforms::Popup *""'");  }
   arg1 = reinterpret_cast< mforms::Popup * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *Popup_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Popup, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_Menu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_Menu")) SWIG_fail;
  result = (mforms::Menu *)new mforms::Menu();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Menu, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Menu_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:Menu_empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_empty" "', argument " "1"" of type '" "mforms::Menu const *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); result = (bool)((mforms::Menu const *)arg1)->empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Menu_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Menu_clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_clear" "', argument " "1"" of type '" "mforms::Menu *""'");  } 
  arg1 = reinterpret_cast< mforms::Menu * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Menu_remove_item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Menu_remove_item",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_remove_item" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Menu_remove_item" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); (arg1)->remove_item(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Menu_add_item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Menu_add_item",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_add_item" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)(arg1)->add_item((std::string const &)*arg2,(std::string const &)*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg2; }  { delete arg3; }  return resultobj; fail: {
    delete arg2; }  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_Menu_add_separator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:Menu_add_separator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_add_separator" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); result = (int)(arg1)->add_separator();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Menu_add_submenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; std::string *arg2 = 0 ; mforms::Menu *arg3 = (mforms::Menu *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Menu_add_submenu",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_add_submenu" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Menu_add_submenu" "', argument " "3"" of type '" "mforms::Menu *""'");  }
   arg3 = reinterpret_cast< mforms::Menu * >(argp3); result = (int)(arg1)->add_submenu((std::string const &)*arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg2; }  return resultobj; fail: { delete arg2; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_Menu_add_items_from_list(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; bec::MenuItemList *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Menu_add_items_from_list",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_add_items_from_list" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_bec__MenuItemList,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Menu_add_items_from_list" "', argument " "2"" of type '" "bec::MenuItemList const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Menu_add_items_from_list" "', argument " "2"" of type '" "bec::MenuItemList const &""'"); }
   arg2 = reinterpret_cast< bec::MenuItemList * >(argp2); (arg1)->add_items_from_list((bec::MenuItemList const &)*arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Menu_set_item_enabled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Menu *arg1 = (mforms::Menu *) 0 ; int arg2 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Menu_set_item_enabled",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_set_item_enabled" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Menu_set_item_enabled" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Menu_set_item_enabled" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->set_item_enabled(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Menu_set_item_enabled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Menu *arg1 = (mforms::Menu *) 0 ; std::string *arg2 = 0 ; bool arg3 ; void *argp1 = 0 ;
  int res1 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Menu_set_item_enabled",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_set_item_enabled" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Menu_set_item_enabled" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->set_item_enabled((std::string const &)*arg2,arg3); resultobj = SWIG_Py_Void(); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Menu_set_item_enabled(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 3) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Menu, 0); _v = SWIG_CheckState(res); if (_v) {
      { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
          int res = SWIG_AsVal_bool(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_Menu_set_item_enabled__SWIG_0(self, args);}  }  }  }  if (argc == 3) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Menu, 0); _v = SWIG_CheckState(res); if (_v) {
      int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { {
          int res = SWIG_AsVal_bool(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_Menu_set_item_enabled__SWIG_1(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Menu_set_item_enabled'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Menu::set_item_enabled(int,bool)\n"
  "    mforms::Menu::set_item_enabled(std::string const &,bool)\n"); return 0; }
SWIGINTERN PyObject *_wrap_Menu_popup_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; mforms::Object *arg2 = (mforms::Object *) 0 ; int arg3 ; int arg4 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:Menu_popup_at",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_popup_at" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__Object, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Menu_popup_at" "', argument " "2"" of type '" "mforms::Object *""'");  }
   arg2 = reinterpret_cast< mforms::Object * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Menu_popup_at" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Menu_popup_at" "', argument " "4"" of type '" "int""'"); }  
  arg4 = static_cast< int >(val4); (arg1)->popup_at(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Menu_popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Menu_popup",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_popup" "', argument " "1"" of type '" "mforms::Menu *""'");  } 
  arg1 = reinterpret_cast< mforms::Menu * >(argp1); (arg1)->popup(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Menu_handle_action(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Menu_handle_action",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_handle_action" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->handle_action((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Menu_get_item_index(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; int result; if (!PyArg_ParseTuple(args,(char *)"OO:Menu_get_item_index",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_get_item_index" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)(arg1)->get_item_index((std::string const &)*arg2); resultobj = SWIG_From_int(static_cast< int >(result)); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Menu_add_on_action_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Menu *arg1 = (mforms::Menu *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Menu_add_on_action_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_add_on_action_callback" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); arg2 = obj1; mforms_Menu_add_on_action_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Menu_call_on_action_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Menu *arg1 = (mforms::Menu *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Menu_call_on_action_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_call_on_action_callback" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Menu_call_on_action_callback" "', argument " "2"" of type '" "char const *""'"); }
   arg2 = reinterpret_cast< char * >(buf2); mforms_Menu_call_on_action_callback(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; }
SWIGINTERN PyObject *_wrap_Menu_set_handler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Menu_set_handler",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Menu_set_handler" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); arg2 = obj1; mforms_Menu_set_handler(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_Menu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Menu *arg1 = (mforms::Menu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Menu",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Menu, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Menu" "', argument " "1"" of type '" "mforms::Menu *""'");  }
   arg1 = reinterpret_cast< mforms::Menu * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *Menu_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Menu, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_Splitter__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  bool arg1 ; bool arg2 ; bool val1 ; int ecode1 = 0 ; bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  mforms::Splitter *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:new_Splitter",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_bool(obj0, &val1); if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Splitter" "', argument " "1"" of type '" "bool""'"); }  
  arg1 = static_cast< bool >(val1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Splitter" "', argument " "2"" of type '" "bool""'"); }  
  arg2 = static_cast< bool >(val2); result = (mforms::Splitter *)new mforms::Splitter(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Splitter, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Splitter__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  bool arg1 ; bool val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::Splitter *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_Splitter",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_bool(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Splitter" "', argument " "1"" of type '" "bool""'"); }  
  arg1 = static_cast< bool >(val1); result = (mforms::Splitter *)new mforms::Splitter(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Splitter, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Splitter(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 1) { int _v; {
      int res = SWIG_AsVal_bool(argv[0], NULL); _v = SWIG_CheckState(res); }  if (_v) {
      return _wrap_new_Splitter__SWIG_1(self, args);}  }  if (argc == 2) { int _v; { int res = SWIG_AsVal_bool(argv[0], NULL);
      _v = SWIG_CheckState(res); }  if (_v) { { int res = SWIG_AsVal_bool(argv[1], NULL); _v = SWIG_CheckState(res); } 
      if (_v) { return _wrap_new_Splitter__SWIG_0(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Splitter'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Splitter::Splitter(bool,bool)\n" "    mforms::Splitter::Splitter(bool)\n");
  return 0; }
SWIGINTERN PyObject *_wrap_Splitter_add__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Splitter *arg1 = (mforms::Splitter *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; int arg3 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:Splitter_add",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Splitter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Splitter_add" "', argument " "1"" of type '" "mforms::Splitter *""'");  }
   arg1 = reinterpret_cast< mforms::Splitter * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Splitter_add" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Splitter_add" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); (arg1)->add(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Splitter_add__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Splitter *arg1 = (mforms::Splitter *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Splitter_add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Splitter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Splitter_add" "', argument " "1"" of type '" "mforms::Splitter *""'");  }
   arg1 = reinterpret_cast< mforms::Splitter * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Splitter_add" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); (arg1)->add(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Splitter_add(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Splitter, 0); _v = SWIG_CheckState(res);
    if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_mforms__View, 0); _v = SWIG_CheckState(res);
      if (_v) { return _wrap_Splitter_add__SWIG_1(self, args);}  }  }  if (argc == 3) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Splitter, 0); _v = SWIG_CheckState(res); if (_v) {
      void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_mforms__View, 0); _v = SWIG_CheckState(res);
      if (_v) { { int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_Splitter_add__SWIG_0(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Splitter_add'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Splitter::add(mforms::View *,int)\n"
  "    mforms::Splitter::add(mforms::View *)\n"); return 0; }
SWIGINTERN PyObject *_wrap_Splitter_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Splitter *arg1 = (mforms::Splitter *) 0 ; mforms::View *arg2 = (mforms::View *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Splitter_remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Splitter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Splitter_remove" "', argument " "1"" of type '" "mforms::Splitter *""'");  }
   arg1 = reinterpret_cast< mforms::Splitter * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__View, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Splitter_remove" "', argument " "2"" of type '" "mforms::View *""'");  }
   arg2 = reinterpret_cast< mforms::View * >(argp2); (arg1)->remove(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Splitter_set_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Splitter *arg1 = (mforms::Splitter *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Splitter_set_position",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Splitter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Splitter_set_position" "', argument " "1"" of type '" "mforms::Splitter *""'");  }
   arg1 = reinterpret_cast< mforms::Splitter * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Splitter_set_position" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_position(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Splitter_get_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Splitter *arg1 = (mforms::Splitter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:Splitter_get_position",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Splitter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Splitter_get_position" "', argument " "1"" of type '" "mforms::Splitter *""'");  }
   arg1 = reinterpret_cast< mforms::Splitter * >(argp1); result = (int)(arg1)->get_position();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Splitter_set_expanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Splitter *arg1 = (mforms::Splitter *) 0 ; bool arg2 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ;
  int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Splitter_set_expanded",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Splitter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Splitter_set_expanded" "', argument " "1"" of type '" "mforms::Splitter *""'");  }
   arg1 = reinterpret_cast< mforms::Splitter * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Splitter_set_expanded" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Splitter_set_expanded" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->set_expanded(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Splitter_position_changed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Splitter *arg1 = (mforms::Splitter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Splitter_position_changed",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Splitter, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Splitter_position_changed" "', argument " "1"" of type '" "mforms::Splitter *""'");  }
   arg1 = reinterpret_cast< mforms::Splitter * >(argp1); (arg1)->position_changed(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_Splitter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Splitter *arg1 = (mforms::Splitter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Splitter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Splitter, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Splitter" "', argument " "1"" of type '" "mforms::Splitter *""'");  }
   arg1 = reinterpret_cast< mforms::Splitter * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *Splitter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Splitter, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_CodeEditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_CodeEditor")) SWIG_fail;
  result = (mforms::CodeEditor *)new mforms::CodeEditor();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__CodeEditor, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_CodeEditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_CodeEditor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CodeEditor" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ;
  char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_set_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_text" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CodeEditor_set_text" "', argument " "2"" of type '" "char const *""'"); }
   arg2 = reinterpret_cast< char * >(buf2); (arg1)->set_text((char const *)arg2); resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_set_value",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_value" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_value((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_text_keeping_state(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_set_text_keeping_state",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_text_keeping_state" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CodeEditor_set_text_keeping_state" "', argument " "2"" of type '" "char const *""'"); }
   arg2 = reinterpret_cast< char * >(buf2); (arg1)->set_text_keeping_state((char const *)arg2); resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_append_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:CodeEditor_append_text",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_append_text" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CodeEditor_append_text" "', argument " "2"" of type '" "char const *""'"); }
   arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_append_text" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); (arg1)->append_text((char const *)arg2,arg3); resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_replace_selected_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_replace_selected_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_replace_selected_text" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->replace_selected_text((std::string const &)*arg2); resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj;
  fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_get_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_get_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_get_text" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_get_text" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); result = (arg1)->get_text(arg2);
  resultobj = SWIG_From_std_string(static_cast< std::string >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_get_text_in_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ;
  int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"OOO:CodeEditor_get_text_in_range",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_get_text_in_range" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_get_text_in_range" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_get_text_in_range" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); result = (arg1)->get_text_in_range(arg2,arg3);
  resultobj = SWIG_From_std_string(static_cast< std::string >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_get_text_ptr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::pair< char const *,size_t > result; if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_get_text_ptr",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_get_text_ptr" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (arg1)->get_text_ptr();
  resultobj = SWIG_NewPointerObj((new std::pair< char const *,size_t >(static_cast< const std::pair< char const *,size_t >& >(result))), SWIGTYPE_p_std__pairT_char_const_p_size_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:CodeEditor_set_selection",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_selection" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_set_selection" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_set_selection" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); (arg1)->set_selection(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_get_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int *arg2 = 0 ; int *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:CodeEditor_get_selection",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_get_selection" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CodeEditor_get_selection" "', argument " "2"" of type '" "int &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CodeEditor_get_selection" "', argument " "2"" of type '" "int &""'"); }
   arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 ); if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CodeEditor_get_selection" "', argument " "3"" of type '" "int &""'");  }
   if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CodeEditor_get_selection" "', argument " "3"" of type '" "int &""'"); }
   arg3 = reinterpret_cast< int * >(argp3); (arg1)->get_selection(*arg2,*arg3); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_clear_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_clear_selection",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_clear_selection" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); (arg1)->clear_selection(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_get_range_of_line(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int arg2 ; int *arg3 = 0 ; int *arg4 = 0 ;
  void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:CodeEditor_get_range_of_line",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_get_range_of_line" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_get_range_of_line" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 ); if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CodeEditor_get_range_of_line" "', argument " "3"" of type '" "int &""'");  }
   if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CodeEditor_get_range_of_line" "', argument " "3"" of type '" "int &""'"); }
   arg3 = reinterpret_cast< int * >(argp3); res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int,  0 ); if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CodeEditor_get_range_of_line" "', argument " "4"" of type '" "int &""'");  }
   if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CodeEditor_get_range_of_line" "', argument " "4"" of type '" "int &""'"); }
   arg4 = reinterpret_cast< int * >(argp4); result = (bool)(arg1)->get_range_of_line(arg2,*arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_language(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; mforms::SyntaxHighlighterLanguage arg2 ; void *argp1 = 0 ;
  int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_set_language",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_language" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_set_language" "', argument " "2"" of type '" "mforms::SyntaxHighlighterLanguage""'"); }
    arg2 = static_cast< mforms::SyntaxHighlighterLanguage >(val2); (arg1)->set_language(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_show_markup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; mforms::LineMarkup arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:CodeEditor_show_markup",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_show_markup" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_show_markup" "', argument " "2"" of type '" "mforms::LineMarkup""'"); }
    arg2 = static_cast< mforms::LineMarkup >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_show_markup" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); (arg1)->show_markup(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_remove_markup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; mforms::LineMarkup arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:CodeEditor_remove_markup",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_remove_markup" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_remove_markup" "', argument " "2"" of type '" "mforms::LineMarkup""'"); }
    arg2 = static_cast< mforms::LineMarkup >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_remove_markup" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); (arg1)->remove_markup(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_show_indicator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; mforms::RangeIndicator arg2 ; int arg3 ; int arg4 ; void *argp1 = 0 ;
  int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:CodeEditor_show_indicator",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_show_indicator" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_show_indicator" "', argument " "2"" of type '" "mforms::RangeIndicator""'"); }
    arg2 = static_cast< mforms::RangeIndicator >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_show_indicator" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CodeEditor_show_indicator" "', argument " "4"" of type '" "int""'"); }
    arg4 = static_cast< int >(val4); (arg1)->show_indicator(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_indicator_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::RangeIndicator result;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_indicator_at",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_indicator_at" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_indicator_at" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (mforms::RangeIndicator)(arg1)->indicator_at(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_remove_indicator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; mforms::RangeIndicator arg2 ; int arg3 ;
  int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ;
  int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:CodeEditor_remove_indicator",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_remove_indicator" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_remove_indicator" "', argument " "2"" of type '" "mforms::RangeIndicator""'"); }
    arg2 = static_cast< mforms::RangeIndicator >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_remove_indicator" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CodeEditor_remove_indicator" "', argument " "4"" of type '" "int""'"); }
    arg4 = static_cast< int >(val4); (arg1)->remove_indicator(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_line_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_line_count",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_line_count" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (int)(arg1)->line_count();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_text_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_text_length",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_text_length" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (int)(arg1)->text_length();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_position_from_line(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_position_from_line",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_position_from_line" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_position_from_line" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (int)(arg1)->position_from_line(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_line_from_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_line_from_position",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_line_from_position" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_line_from_position" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (int)(arg1)->line_from_position(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_font(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_set_font",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_font" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_font((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_features(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; mforms::CodeEditorFeature arg2 ; bool arg3 ; void *argp1 = 0 ;
  int res1 = 0 ; int val2 ; int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:CodeEditor_set_features",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_features" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_set_features" "', argument " "2"" of type '" "mforms::CodeEditorFeature""'"); }
    arg2 = static_cast< mforms::CodeEditorFeature >(val2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_set_features" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->set_features(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_toggle_features(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; mforms::CodeEditorFeature arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_toggle_features",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_toggle_features" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_toggle_features" "', argument " "2"" of type '" "mforms::CodeEditorFeature""'"); }
    arg2 = static_cast< mforms::CodeEditorFeature >(val2); (arg1)->toggle_features(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_reset_dirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_reset_dirty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_reset_dirty" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); (arg1)->reset_dirty(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_is_dirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_is_dirty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_is_dirty" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (bool)(arg1)->is_dirty();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_get_caret_pos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_get_caret_pos",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_get_caret_pos" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (int)(arg1)->get_caret_pos();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_caret_pos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_set_caret_pos",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_caret_pos" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_set_caret_pos" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_caret_pos(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_get_line_column_pos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int arg2 ; int *arg3 = 0 ; int *arg4 = 0 ;
  void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:CodeEditor_get_line_column_pos",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_get_line_column_pos" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_get_line_column_pos" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 ); if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CodeEditor_get_line_column_pos" "', argument " "3"" of type '" "int &""'");  }
   if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CodeEditor_get_line_column_pos" "', argument " "3"" of type '" "int &""'"); }
   arg3 = reinterpret_cast< int * >(argp3); res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int,  0 ); if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CodeEditor_get_line_column_pos" "', argument " "4"" of type '" "int &""'");  }
   if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CodeEditor_get_line_column_pos" "', argument " "4"" of type '" "int &""'"); }
   arg4 = reinterpret_cast< int * >(argp4); (arg1)->get_line_column_pos(arg2,*arg3,*arg4); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_can_undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_can_undo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_can_undo" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (bool)(arg1)->can_undo();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_undo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_undo" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); (arg1)->undo(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_can_redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_can_redo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_can_redo" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (bool)(arg1)->can_redo();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_redo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_redo" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); (arg1)->redo(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_can_cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_can_cut",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_can_cut" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (bool)(arg1)->can_cut();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_cut",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_cut" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); (arg1)->cut(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_can_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_can_copy",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_can_copy" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (bool)(arg1)->can_copy();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_copy",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_copy" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); (arg1)->copy(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_can_paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_can_paste",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_can_paste" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (bool)(arg1)->can_paste();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_paste",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_paste" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); (arg1)->paste(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_can_delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_can_delete",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_can_delete" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (bool)(arg1)->can_delete();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_do_delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_do_delete",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_do_delete" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); (arg1)->do_delete(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_select_all(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_select_all",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_select_all" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); (arg1)->select_all(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_status_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_set_status_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_status_text" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_status_text((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_enable_folding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_enable_folding",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_enable_folding" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_enable_folding" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->enable_folding(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_show_find_panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_show_find_panel",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_show_find_panel" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_show_find_panel" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->show_find_panel(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_hide_find_panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_hide_find_panel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_hide_find_panel" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); (arg1)->hide_find_panel(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_get_find_panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::FindPanel *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_get_find_panel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_get_find_panel" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (mforms::FindPanel *)(arg1)->get_find_panel();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__FindPanel, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_show_find_panel_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ;
  boost::function< void (mforms::CodeEditor *,bool) > arg2 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_set_show_find_panel_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_show_find_panel_callback" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_boost__functionT_void_fmforms__CodeEditor_p_boolF_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CodeEditor_set_show_find_panel_callback" "', argument " "2"" of type '" "boost::function< void (mforms::CodeEditor *,bool) >""'");  }
       if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CodeEditor_set_show_find_panel_callback" "', argument " "2"" of type '" "boost::function< void (mforms::CodeEditor *,bool) >""'"); }
     else {
      boost::function< void (mforms::CodeEditor *,bool) > * temp = reinterpret_cast< boost::function< void (mforms::CodeEditor *,bool) > * >(argp2);
      arg2 = *temp; if (SWIG_IsNewObj(res2)) delete temp; }  }  (arg1)->set_show_find_panel_callback(arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_find_and_highlight_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; std::string *arg2 = 0 ;
  mforms::FindFlags arg3 ; bool arg4 ; bool arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val3 ; int ecode3 = 0 ; bool val4 ;
  int ecode4 = 0 ; bool val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:CodeEditor_find_and_highlight_text",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_find_and_highlight_text" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_find_and_highlight_text" "', argument " "3"" of type '" "mforms::FindFlags""'"); }
    arg3 = static_cast< mforms::FindFlags >(val3); ecode4 = SWIG_AsVal_bool(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CodeEditor_find_and_highlight_text" "', argument " "4"" of type '" "bool""'"); }
    arg4 = static_cast< bool >(val4); ecode5 = SWIG_AsVal_bool(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CodeEditor_find_and_highlight_text" "', argument " "5"" of type '" "bool""'"); }
    arg5 = static_cast< bool >(val5); result = (bool)(arg1)->find_and_highlight_text((std::string const &)*arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); { delete arg2; }  return resultobj; fail: { delete arg2; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_find_and_replace_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ;
  mforms::FindFlags arg4 ; bool arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val4 ; int ecode4 = 0 ; bool val5 ; int ecode5 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:CodeEditor_find_and_replace_text",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_find_and_replace_text" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CodeEditor_find_and_replace_text" "', argument " "4"" of type '" "mforms::FindFlags""'"); }
    arg4 = static_cast< mforms::FindFlags >(val4); ecode5 = SWIG_AsVal_bool(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CodeEditor_find_and_replace_text" "', argument " "5"" of type '" "bool""'"); }
    arg5 = static_cast< bool >(val5);
  result = (int)(arg1)->find_and_replace_text((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg2; }  { delete arg3; }  return resultobj; fail: {
    delete arg2; }  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_jump_to_next_placeholder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_jump_to_next_placeholder",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_jump_to_next_placeholder" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); (arg1)->jump_to_next_placeholder(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_auto_completion_show__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int arg2 ;
  std::vector< std::pair< int,std::string >,std::allocator< std::pair< int,std::string > > > *arg3 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:CodeEditor_auto_completion_show",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_auto_completion_show" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_auto_completion_show" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_std__vectorT_std__pairT_int_std__string_t_std__allocatorT_std__pairT_int_std__string_t_t_t,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CodeEditor_auto_completion_show" "', argument " "3"" of type '" "std::vector< std::pair< int,std::string >,std::allocator< std::pair< int,std::string > > > const &""'");  }
   if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CodeEditor_auto_completion_show" "', argument " "3"" of type '" "std::vector< std::pair< int,std::string >,std::allocator< std::pair< int,std::string > > > const &""'"); }
  
  arg3 = reinterpret_cast< std::vector< std::pair< int,std::string >,std::allocator< std::pair< int,std::string > > > * >(argp3);
  (arg1)->auto_completion_show(arg2,(std::vector< std::pair< int,std::string >,std::allocator< std::pair< int,std::string > > > const &)*arg3);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_auto_completion_show__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int arg2 ;
  std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:CodeEditor_auto_completion_show",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_auto_completion_show" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_auto_completion_show" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); { if (PyList_Check(obj2)) { arg3 = new std::vector<std::string>();
      for (int c= PyList_Size(obj2), i= 0; i < c; i++) { PyObject *item = PyList_GetItem(obj2, i); if (PyUnicode_Check(item)) {
          PyObject *tmp = PyUnicode_AsUTF8String(item); arg3->push_back(PyString_AsString(tmp)); Py_DECREF(tmp); } 
        else if (PyString_Check(item)) arg3->push_back(PyString_AsString(item)); else { delete arg3; arg3 = 0;
          SWIG_exception_fail(SWIG_TypeError, "expected vector of strings"); }  }  }  else
    SWIG_exception_fail(SWIG_TypeError, "expected vector of strings"); } 
  (arg1)->auto_completion_show(arg2,(std::vector< std::string,std::allocator< std::string > > const &)*arg3);
  resultobj = SWIG_Py_Void(); { delete arg3; }  return resultobj; fail: { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_auto_completion_show(PyObject *self, PyObject *args) { int argc; PyObject *argv[4];
  int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 3) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__CodeEditor, 0); _v = SWIG_CheckState(res);
    if (_v) { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_std__vectorT_std__pairT_int_std__string_t_std__allocatorT_std__pairT_int_std__string_t_t_t, 0);
        _v = SWIG_CheckState(res); if (_v) { return _wrap_CodeEditor_auto_completion_show__SWIG_0(self, args);}  }  }  } 
  if (argc == 3) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__CodeEditor, 0);
    _v = SWIG_CheckState(res); if (_v) { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0);
        _v = SWIG_CheckState(res); if (_v) { return _wrap_CodeEditor_auto_completion_show__SWIG_1(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CodeEditor_auto_completion_show'.\n"
  "  Possible C/C++ prototypes are:\n"
  "    mforms::CodeEditor::auto_completion_show(int,std::vector< std::pair< int,std::string >,std::allocator< std::pair< int,std::string > > > const &)\n"
  "    mforms::CodeEditor::auto_completion_show(int,std::vector< std::string,std::allocator< std::string > > const &)\n");
  return 0; }
SWIGINTERN PyObject *_wrap_CodeEditor_auto_completion_cancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_auto_completion_cancel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_auto_completion_cancel" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); (arg1)->auto_completion_cancel(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_auto_completion_options(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; bool arg2 ; bool arg3 ; bool arg4 ; bool arg5 ;
  bool arg6 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; bool val4 ;
  int ecode4 = 0 ; bool val5 ; int ecode5 = 0 ; bool val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:CodeEditor_auto_completion_options",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_auto_completion_options" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_auto_completion_options" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_auto_completion_options" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); ecode4 = SWIG_AsVal_bool(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CodeEditor_auto_completion_options" "', argument " "4"" of type '" "bool""'"); }
    arg4 = static_cast< bool >(val4); ecode5 = SWIG_AsVal_bool(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CodeEditor_auto_completion_options" "', argument " "5"" of type '" "bool""'"); }
    arg5 = static_cast< bool >(val5); ecode6 = SWIG_AsVal_bool(obj5, &val6); if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CodeEditor_auto_completion_options" "', argument " "6"" of type '" "bool""'"); }
    arg6 = static_cast< bool >(val6); (arg1)->auto_completion_options(arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_auto_completion_max_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ;
  int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:CodeEditor_auto_completion_max_size",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_auto_completion_max_size" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_auto_completion_max_size" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_auto_completion_max_size" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); (arg1)->auto_completion_max_size(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_auto_completion_register_images(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ;
  std::vector< std::pair< int,std::string >,std::allocator< std::pair< int,std::string > > > *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_auto_completion_register_images",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_auto_completion_register_images" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_std__pairT_int_std__string_t_std__allocatorT_std__pairT_int_std__string_t_t_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CodeEditor_auto_completion_register_images" "', argument " "2"" of type '" "std::vector< std::pair< int,std::string >,std::allocator< std::pair< int,std::string > > > const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CodeEditor_auto_completion_register_images" "', argument " "2"" of type '" "std::vector< std::pair< int,std::string >,std::allocator< std::pair< int,std::string > > > const &""'"); }
  
  arg2 = reinterpret_cast< std::vector< std::pair< int,std::string >,std::allocator< std::pair< int,std::string > > > * >(argp2);
  (arg1)->auto_completion_register_images((std::vector< std::pair< int,std::string >,std::allocator< std::pair< int,std::string > > > const &)*arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_auto_completion_active(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; bool result; if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_auto_completion_active",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_auto_completion_active" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (bool)(arg1)->auto_completion_active();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_auto_completion_stops(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_auto_completion_stops",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_auto_completion_stops" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->auto_completion_stops((std::string const &)*arg2); resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj;
  fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_auto_completion_fillups(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_auto_completion_fillups",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_auto_completion_fillups" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->auto_completion_fillups((std::string const &)*arg2); resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj;
  fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_show_calltip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; bool arg2 ; int arg3 ; std::string *arg4 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; bool val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:CodeEditor_show_calltip",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_show_calltip" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_show_calltip" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_show_calltip" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); { if (PyUnicode_Check(obj3)) { PyObject *tmp = PyUnicode_AsUTF8String(obj3);
      arg4 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj3))
    arg4 = new std::string(PyString_AsString(obj3)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->show_calltip(arg2,arg3,(std::string const &)*arg4); resultobj = SWIG_Py_Void(); { delete arg4; }  return resultobj;
  fail: { delete arg4; }  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_eol_mode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; mforms::EndOfLineMode arg2 ; bool arg3 ;
  void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:CodeEditor_set_eol_mode",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_eol_mode" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_set_eol_mode" "', argument " "2"" of type '" "mforms::EndOfLineMode""'"); }
    arg2 = static_cast< mforms::EndOfLineMode >(val2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_set_eol_mode" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->set_eol_mode(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_eol_mode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; mforms::EndOfLineMode arg2 ; void *argp1 = 0 ;
  int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_set_eol_mode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_eol_mode" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_set_eol_mode" "', argument " "2"" of type '" "mforms::EndOfLineMode""'"); }
    arg2 = static_cast< mforms::EndOfLineMode >(val2); (arg1)->set_eol_mode(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_eol_mode(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__CodeEditor, 0); _v = SWIG_CheckState(res);
    if (_v) { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_CodeEditor_set_eol_mode__SWIG_1(self, args);}  }  }  if (argc == 3) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__CodeEditor, 0); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
          int res = SWIG_AsVal_bool(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_CodeEditor_set_eol_mode__SWIG_0(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CodeEditor_set_eol_mode'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::CodeEditor::set_eol_mode(mforms::EndOfLineMode,bool)\n"
  "    mforms::CodeEditor::set_eol_mode(mforms::EndOfLineMode)\n"); return 0; }
SWIGINTERN PyObject *_wrap_CodeEditor_set_context_menu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; mforms::Menu *arg2 = (mforms::Menu *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_set_context_menu",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_set_context_menu" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CodeEditor_set_context_menu" "', argument " "2"" of type '" "mforms::Menu *""'");  }
   arg2 = reinterpret_cast< mforms::Menu * >(argp2); (arg1)->set_context_menu(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_get_context_menu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; mforms::Menu *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:CodeEditor_get_context_menu",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_get_context_menu" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); result = (mforms::Menu *)(arg1)->get_context_menu();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Menu, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_send_editor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; unsigned int arg2 ; uptr_t arg3 ; sptr_t arg4 ; void *argp1 = 0 ;
  int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; void *argp3 ; int res3 = 0 ; void *argp4 ; int res4 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; sptr_t result;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:CodeEditor_send_editor",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_send_editor" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_send_editor" "', argument " "2"" of type '" "unsigned int""'"); }
    arg2 = static_cast< unsigned int >(val2); { res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uptr_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CodeEditor_send_editor" "', argument " "3"" of type '" "uptr_t""'");  }
       if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CodeEditor_send_editor" "', argument " "3"" of type '" "uptr_t""'"); }
     else { uptr_t * temp = reinterpret_cast< uptr_t * >(argp3); arg3 = *temp; if (SWIG_IsNewObj(res3)) delete temp; }  }  {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_sptr_t,  0  | 0); if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CodeEditor_send_editor" "', argument " "4"" of type '" "sptr_t""'");  }
       if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CodeEditor_send_editor" "', argument " "4"" of type '" "sptr_t""'"); }
     else { sptr_t * temp = reinterpret_cast< sptr_t * >(argp4); arg4 = *temp; if (SWIG_IsNewObj(res4)) delete temp; }  } 
  result = (arg1)->send_editor(arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj((new sptr_t(static_cast< const sptr_t& >(result))), SWIGTYPE_p_sptr_t, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_add_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:CodeEditor_add_changed_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_add_changed_callback" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); arg2 = obj1; mforms_CodeEditor_add_changed_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_CodeEditor_call_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::CodeEditor *arg1 = (mforms::CodeEditor *) 0 ; int arg2 ; int arg3 ; int arg4 ; bool arg5 ;
  void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ;
  bool val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:CodeEditor_call_changed_callback",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__CodeEditor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CodeEditor_call_changed_callback" "', argument " "1"" of type '" "mforms::CodeEditor *""'");  }
   arg1 = reinterpret_cast< mforms::CodeEditor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CodeEditor_call_changed_callback" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CodeEditor_call_changed_callback" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CodeEditor_call_changed_callback" "', argument " "4"" of type '" "int""'"); }
    arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_bool(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CodeEditor_call_changed_callback" "', argument " "5"" of type '" "bool""'"); }
    arg5 = static_cast< bool >(val5); mforms_CodeEditor_call_changed_callback(arg1,arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *CodeEditor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__CodeEditor, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_TaskSidebar_create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TaskSidebar *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":TaskSidebar_create")) SWIG_fail;
  result = (mforms::TaskSidebar *)mforms::TaskSidebar::create();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_refresh_model(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TaskSidebar_refresh_model",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_refresh_model" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); (arg1)->refresh_model(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_set_schema_model(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ;
  wb::LiveSchemaTree *arg2 = (wb::LiveSchemaTree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TaskSidebar_set_schema_model",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_set_schema_model" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wb__LiveSchemaTree, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskSidebar_set_schema_model" "', argument " "2"" of type '" "wb::LiveSchemaTree *""'");  }
   arg2 = reinterpret_cast< wb::LiveSchemaTree * >(argp2); (arg1)->set_schema_model(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_set_filtered_schema_model(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ;
  wb::LiveSchemaTree *arg2 = (wb::LiveSchemaTree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TaskSidebar_set_filtered_schema_model",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_set_filtered_schema_model" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wb__LiveSchemaTree, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskSidebar_set_filtered_schema_model" "', argument " "2"" of type '" "wb::LiveSchemaTree *""'");  }
   arg2 = reinterpret_cast< wb::LiveSchemaTree * >(argp2); (arg1)->set_filtered_schema_model(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_enable_server_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TaskSidebar_enable_server_search",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_enable_server_search" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TaskSidebar_enable_server_search" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->enable_server_search(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_get_schema_tree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; mforms::TreeNodeView *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TaskSidebar_get_schema_tree",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_get_schema_tree" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); result = (mforms::TreeNodeView *)(arg1)->get_schema_tree();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_get_filter_entry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; mforms::TextEntry *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TaskSidebar_get_filter_entry",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_get_filter_entry" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); result = (mforms::TextEntry *)(arg1)->get_filter_entry();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TextEntry, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_add_section__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; std::string *arg2 = 0 ; bool arg3 ;
  void *argp1 = 0 ; int res1 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TaskSidebar_add_section",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_add_section" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TaskSidebar_add_section" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); result = (int)(arg1)->add_section((std::string const &)*arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg2; }  return resultobj; fail: { delete arg2; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_add_section__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TaskSidebar_add_section",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_add_section" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)(arg1)->add_section((std::string const &)*arg2); resultobj = SWIG_From_int(static_cast< int >(result)); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_add_section(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TaskSidebar, 0); _v = SWIG_CheckState(res);
    if (_v) { int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
        return _wrap_TaskSidebar_add_section__SWIG_1(self, args);}  }  }  if (argc == 3) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TaskSidebar, 0); _v = SWIG_CheckState(res); if (_v) {
      int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { {
          int res = SWIG_AsVal_bool(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_TaskSidebar_add_section__SWIG_0(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'TaskSidebar_add_section'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::TaskSidebar::add_section(std::string const &,bool)\n"
  "    mforms::TaskSidebar::add_section(std::string const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_TaskSidebar_remove_section(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TaskSidebar_remove_section",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_remove_section" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->remove_section((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_add_section_entry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; std::string *arg2 = 0 ;
  std::string *arg3 = 0 ; std::string *arg4 = 0 ; std::string *arg5 = 0 ; mforms::TaskEntryType arg6 ; void *argp1 = 0 ;
  int res1 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:TaskSidebar_add_section_entry",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_add_section_entry" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj3)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj3); arg4 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj3)) arg4 = new std::string(PyString_AsString(obj3)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj4)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj4); arg5 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj4)) arg5 = new std::string(PyString_AsString(obj4)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TaskSidebar_add_section_entry" "', argument " "6"" of type '" "mforms::TaskEntryType""'"); }
    arg6 = static_cast< mforms::TaskEntryType >(val6);
  result = (int)(arg1)->add_section_entry((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg2; }  { delete arg3; }  { delete arg4; }  { delete arg5; } 
  return resultobj; fail: { delete arg2; }  { delete arg3; }  { delete arg4; }  { delete arg5; }  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_set_section_entry_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; std::string *arg2 = 0 ; int arg3 ;
  std::string *arg4 = 0 ; std::string *arg5 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val3 ; int ecode3 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:TaskSidebar_set_section_entry_text",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_set_section_entry_text" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TaskSidebar_set_section_entry_text" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); { if (PyUnicode_Check(obj3)) { PyObject *tmp = PyUnicode_AsUTF8String(obj3);
      arg4 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj3))
    arg4 = new std::string(PyString_AsString(obj3)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  {
    if (PyUnicode_Check(obj4)) { PyObject *tmp = PyUnicode_AsUTF8String(obj4); arg5 = new std::string(PyString_AsString(tmp));
      Py_DECREF(tmp); }  else if (PyString_Check(obj4)) arg5 = new std::string(PyString_AsString(obj4)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_section_entry_text((std::string const &)*arg2,arg3,(std::string const &)*arg4,(std::string const &)*arg5);
  resultobj = SWIG_Py_Void(); { delete arg2; }  { delete arg4; }  { delete arg5; }  return resultobj; fail: { delete arg2; }  {
    delete arg4; }  { delete arg5; }  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_mark_section_busy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; std::string *arg2 = 0 ; bool arg3 ;
  void *argp1 = 0 ; int res1 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:TaskSidebar_mark_section_busy",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_mark_section_busy" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TaskSidebar_mark_section_busy" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->mark_section_busy((std::string const &)*arg2,arg3); resultobj = SWIG_Py_Void(); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_remove_section_entry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; std::string *arg2 = 0 ;
  std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TaskSidebar_remove_section_entry",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_remove_section_entry" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->remove_section_entry((std::string const &)*arg2,(std::string const &)*arg3); resultobj = SWIG_Py_Void(); {
    delete arg2; }  { delete arg3; }  return resultobj; fail: { delete arg2; }  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_set_collapse_states(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TaskSidebar_set_collapse_states",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_set_collapse_states" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_collapse_states((std::string const &)*arg2); resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail:
  { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_get_collapse_states(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:TaskSidebar_get_collapse_states",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_get_collapse_states" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); result = (arg1)->get_collapse_states(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_clear_sections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TaskSidebar_clear_sections",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_clear_sections" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); (arg1)->clear_sections(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_clear_section(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TaskSidebar_clear_section",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_clear_section" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->clear_section((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_set_selection_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TaskSidebar_set_selection_color",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_set_selection_color" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_selection_color((std::string const &)*arg2); resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail:
  { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_set_selection_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; mforms::SystemColor arg2 ; void *argp1 = 0 ;
  int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TaskSidebar_set_selection_color",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_set_selection_color" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TaskSidebar_set_selection_color" "', argument " "2"" of type '" "mforms::SystemColor""'"); }
    arg2 = static_cast< mforms::SystemColor >(val2); (arg1)->set_selection_color(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_set_selection_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[3];
  int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TaskSidebar, 0); _v = SWIG_CheckState(res);
    if (_v) { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        return _wrap_TaskSidebar_set_selection_color__SWIG_1(self, args);}  }  }  if (argc == 2) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TaskSidebar, 0); _v = SWIG_CheckState(res); if (_v) {
      int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
        return _wrap_TaskSidebar_set_selection_color__SWIG_0(self, args);}  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'TaskSidebar_set_selection_color'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::TaskSidebar::set_selection_color(std::string const &)\n"
  "    mforms::TaskSidebar::set_selection_color(mforms::SystemColor const)\n"); return 0; }
SWIGINTERN PyObject *_wrap_TaskSidebar_signal_filter_changed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; boost::signals2::signal< void (std::string const &) > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TaskSidebar_signal_filter_changed",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_signal_filter_changed" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1);
  result = (boost::signals2::signal< void (std::string const &) > *)(arg1)->signal_filter_changed();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_boost__signals2__signalT_void_fstd__string_const_RF_t, 0 |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_tree_node_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; boost::signals2::signal< void (void) > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TaskSidebar_tree_node_selected",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_tree_node_selected" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1);
  result = (boost::signals2::signal< void (void) > *)(arg1)->tree_node_selected();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_boost__signals2__signalT_void_fvoidF_t, 0 |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_expand_schema(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TaskSidebar_expand_schema",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_expand_schema" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TaskSidebar_expand_schema" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->expand_schema(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_select_entry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TaskSidebar_select_entry",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_select_entry" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)(arg1)->select_entry((std::string const &)*arg2,(std::string const &)*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg2; }  { delete arg3; }  return resultobj; fail: {
    delete arg2; }  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_clear_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TaskSidebar_clear_selection",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_clear_selection" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); (arg1)->clear_selection(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_on_section_command(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; boost::signals2::signal< void (std::string const &) > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TaskSidebar_on_section_command",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_on_section_command" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1);
  result = (boost::signals2::signal< void (std::string const &) > *)(arg1)->on_section_command();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_boost__signals2__signalT_void_fstd__string_const_RF_t, 0 |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_register_factory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *(*arg1)() = (mforms::TaskSidebar *(*)()) 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TaskSidebar_register_factory",&obj0)) SWIG_fail; {
    int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f___p_mforms__TaskSidebar); if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "TaskSidebar_register_factory" "', argument " "1"" of type '" "mforms::TaskSidebar *(*)()""'");  }
     }  mforms::TaskSidebar::register_factory(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_add_on_section_command_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TaskSidebar_add_on_section_command_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_add_on_section_command_callback" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); arg2 = obj1;
  mforms_TaskSidebar_add_on_section_command_callback(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TaskSidebar_call_on_section_command_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TaskSidebar_call_on_section_command_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskSidebar_call_on_section_command_callback" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskSidebar_call_on_section_command_callback" "', argument " "2"" of type '" "char const *""'"); }
   arg2 = reinterpret_cast< char * >(buf2); mforms_TaskSidebar_call_on_section_command_callback(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; }
SWIGINTERN PyObject *_wrap_delete_TaskSidebar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TaskSidebar *arg1 = (mforms::TaskSidebar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_TaskSidebar",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TaskSidebar, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskSidebar" "', argument " "1"" of type '" "mforms::TaskSidebar *""'");  }
   arg1 = reinterpret_cast< mforms::TaskSidebar * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *TaskSidebar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__TaskSidebar, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_GridPath_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::GridPath *arg1 = (mforms::GridPath *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:GridPath_size",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__GridPath, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridPath_size" "', argument " "1"" of type '" "mforms::GridPath const *""'");  }
   arg1 = reinterpret_cast< mforms::GridPath * >(argp1); result = (int)((mforms::GridPath const *)arg1)->size();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_GridPath_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::GridPath *arg1 = (mforms::GridPath *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:GridPath_append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__GridPath, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridPath_append" "', argument " "1"" of type '" "mforms::GridPath *""'");  }
   arg1 = reinterpret_cast< mforms::GridPath * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GridPath_append" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); (arg1)->append(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_GridPath_up(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::GridPath *arg1 = (mforms::GridPath *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:GridPath_up",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__GridPath, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridPath_up" "', argument " "1"" of type '" "mforms::GridPath *""'");  }
   arg1 = reinterpret_cast< mforms::GridPath * >(argp1); (arg1)->up(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_GridPath_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::GridPath *arg1 = (mforms::GridPath *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:GridPath_next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__GridPath, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridPath_next" "', argument " "1"" of type '" "mforms::GridPath *""'");  }
   arg1 = reinterpret_cast< mforms::GridPath * >(argp1); (arg1)->next(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_GridPath_prev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::GridPath *arg1 = (mforms::GridPath *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:GridPath_prev",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__GridPath, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridPath_prev" "', argument " "1"" of type '" "mforms::GridPath *""'");  }
   arg1 = reinterpret_cast< mforms::GridPath * >(argp1); (arg1)->prev(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_GridPath_index(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::GridPath *arg1 = (mforms::GridPath *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OO:GridPath_index",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__GridPath, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridPath_index" "', argument " "1"" of type '" "mforms::GridPath *""'");  }
   arg1 = reinterpret_cast< mforms::GridPath * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GridPath_index" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); result = (int)(arg1)->index(arg2); resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_GridPath_set_index(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::GridPath *arg1 = (mforms::GridPath *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:GridPath_set_index",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__GridPath, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridPath_set_index" "', argument " "1"" of type '" "mforms::GridPath *""'");  }
   arg1 = reinterpret_cast< mforms::GridPath * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GridPath_set_index" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GridPath_set_index" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); (arg1)->set_index(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_GridPath___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::GridPath *arg1 = (mforms::GridPath *) 0 ; mforms::GridPath *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:GridPath___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__GridPath, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridPath___eq__" "', argument " "1"" of type '" "mforms::GridPath *""'");  }
   arg1 = reinterpret_cast< mforms::GridPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GridPath___eq__" "', argument " "2"" of type '" "mforms::GridPath const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GridPath___eq__" "', argument " "2"" of type '" "mforms::GridPath const &""'"); }
   arg2 = reinterpret_cast< mforms::GridPath * >(argp2); result = (bool)(arg1)->operator ==((mforms::GridPath const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_GridPath___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::GridPath *arg1 = (mforms::GridPath *) 0 ; mforms::GridPath *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:GridPath___lt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__GridPath, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridPath___lt__" "', argument " "1"" of type '" "mforms::GridPath *""'");  }
   arg1 = reinterpret_cast< mforms::GridPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GridPath___lt__" "', argument " "2"" of type '" "mforms::GridPath const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GridPath___lt__" "', argument " "2"" of type '" "mforms::GridPath const &""'"); }
   arg2 = reinterpret_cast< mforms::GridPath * >(argp2); result = (bool)(arg1)->operator <((mforms::GridPath const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_GridPath___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::GridPath *arg1 = (mforms::GridPath *) 0 ; mforms::GridPath *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:GridPath___gt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__GridPath, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridPath___gt__" "', argument " "1"" of type '" "mforms::GridPath *""'");  }
   arg1 = reinterpret_cast< mforms::GridPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GridPath___gt__" "', argument " "2"" of type '" "mforms::GridPath const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GridPath___gt__" "', argument " "2"" of type '" "mforms::GridPath const &""'"); }
   arg2 = reinterpret_cast< mforms::GridPath * >(argp2); result = (bool)(arg1)->operator >((mforms::GridPath const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_GridPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::GridPath *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_GridPath")) SWIG_fail;
  result = (mforms::GridPath *)new mforms::GridPath();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__GridPath, SWIG_POINTER_NEW |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_GridPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::GridPath *arg1 = (mforms::GridPath *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_GridPath",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__GridPath, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GridPath" "', argument " "1"" of type '" "mforms::GridPath *""'");  }
   arg1 = reinterpret_cast< mforms::GridPath * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *GridPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__GridPath, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_Grid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_Grid")) SWIG_fail;
  result = (mforms::Grid *)new mforms::Grid();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Grid, SWIG_POINTER_NEW |  0 ); result->retain();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_add_column(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; int result; if (!PyArg_ParseTuple(args,(char *)"OO:Grid_add_column",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_add_column" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (int)(arg1)->add_column((std::string const &)*arg2); resultobj = SWIG_From_int(static_cast< int >(result)); {
    delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Grid_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Grid_clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_clear" "', argument " "1"" of type '" "mforms::Grid *""'");  } 
  arg1 = reinterpret_cast< mforms::Grid * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Grid_get_children_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_get_children_count",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_get_children_count" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_get_children_count" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_get_children_count" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2);
  result = (int)(arg1)->get_children_count((mforms::Grid::Path const &)*arg2);
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_is_node_expanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_is_node_expanded",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_is_node_expanded" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_is_node_expanded" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_is_node_expanded" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2);
  result = (bool)(arg1)->is_node_expanded((mforms::Grid::Path const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_set_node_expanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:Grid_set_node_expanded",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_set_node_expanded" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_set_node_expanded" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_set_node_expanded" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_set_node_expanded" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->set_node_expanded((mforms::Grid::Path const &)*arg2,arg3);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_set_column_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Grid_set_column_width",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_set_column_width" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Grid_set_column_width" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_set_column_width" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); (arg1)->set_column_width(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Grid_append_header(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; mforms::Grid::Path result;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_append_header",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_append_header" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (arg1)->append_header((std::string const &)*arg2);
  resultobj = SWIG_NewPointerObj((new mforms::Grid::Path(static_cast< const mforms::Grid::Path& >(result))), SWIGTYPE_p_mforms__GridPath, SWIG_POINTER_OWN |  0 );
  { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_Grid_append_row(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::Grid::Path result;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_append_row",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_append_row" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_append_row" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_append_row" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); result = (arg1)->append_row((mforms::Grid::Path const &)*arg2);
  resultobj = SWIG_NewPointerObj((new mforms::Grid::Path(static_cast< const mforms::Grid::Path& >(result))), SWIGTYPE_p_mforms__GridPath, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_insert_row(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::Grid::Path result;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_insert_row",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_insert_row" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_insert_row" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_insert_row" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); result = (arg1)->insert_row((mforms::Grid::Path const &)*arg2);
  resultobj = SWIG_NewPointerObj((new mforms::Grid::Path(static_cast< const mforms::Grid::Path& >(result))), SWIGTYPE_p_mforms__GridPath, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_remove_row(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_remove_row",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_remove_row" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_remove_row" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_remove_row" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); (arg1)->remove_row((mforms::Grid::Path const &)*arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_set_str_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; int arg3 ; std::string *arg4 = 0 ; bool arg5 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; bool val5 ; int ecode5 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Grid_set_str_value",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_set_str_value" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_set_str_value" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_set_str_value" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_set_str_value" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); { if (PyUnicode_Check(obj3)) { PyObject *tmp = PyUnicode_AsUTF8String(obj3);
      arg4 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj3))
    arg4 = new std::string(PyString_AsString(obj3)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  ecode5 = SWIG_AsVal_bool(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Grid_set_str_value" "', argument " "5"" of type '" "bool""'"); }  
  arg5 = static_cast< bool >(val5);
  result = (bool)(arg1)->set_str_value((mforms::Grid::Path const &)*arg2,arg3,(std::string const &)*arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); { delete arg4; }  return resultobj; fail: { delete arg4; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_Grid_set_bool_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; int arg3 ; bool arg4 ; bool arg5 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; bool val4 ; int ecode4 = 0 ; bool val5 ;
  int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ;
  bool result; if (!PyArg_ParseTuple(args,(char *)"OOOOO:Grid_set_bool_value",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_set_bool_value" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_set_bool_value" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_set_bool_value" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_set_bool_value" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_bool(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Grid_set_bool_value" "', argument " "4"" of type '" "bool""'"); }
    arg4 = static_cast< bool >(val4); ecode5 = SWIG_AsVal_bool(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Grid_set_bool_value" "', argument " "5"" of type '" "bool""'"); }
    arg5 = static_cast< bool >(val5); result = (bool)(arg1)->set_bool_value((mforms::Grid::Path const &)*arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_get_cell_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  std::string result; if (!PyArg_ParseTuple(args,(char *)"OOO:Grid_get_cell_value",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_get_cell_value" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_get_cell_value" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_get_cell_value" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_get_cell_value" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); result = (arg1)->get_cell_value((mforms::Grid::Path const &)*arg2,arg3); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_get_cell_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  mforms::CellType result; if (!PyArg_ParseTuple(args,(char *)"OOO:Grid_get_cell_type",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_get_cell_type" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_get_cell_type" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_get_cell_type" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_get_cell_type" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); result = (mforms::CellType)(arg1)->get_cell_type((mforms::Grid::Path const &)*arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_set_cell_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; int arg3 ; mforms::CellType arg4 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:Grid_set_cell_type",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_set_cell_type" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_set_cell_type" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_set_cell_type" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_set_cell_type" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Grid_set_cell_type" "', argument " "4"" of type '" "mforms::CellType""'"); }
    arg4 = static_cast< mforms::CellType >(val4); (arg1)->set_cell_type((mforms::Grid::Path const &)*arg2,arg3,arg4);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_set_cell_attr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; int arg3 ; int arg4 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:Grid_set_cell_attr",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_set_cell_attr" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_set_cell_attr" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_set_cell_attr" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_set_cell_attr" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Grid_set_cell_attr" "', argument " "4"" of type '" "int""'"); }  
  arg4 = static_cast< int >(val4); (arg1)->set_cell_attr((mforms::Grid::Path const &)*arg2,arg3,arg4);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_set_enum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; int arg3 ;
  std::vector< std::string,std::allocator< std::string > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:Grid_set_enum",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_set_enum" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_set_enum" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_set_enum" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_set_enum" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); { if (PyList_Check(obj3)) { arg4 = new std::vector<std::string>();
      for (int c= PyList_Size(obj3), i= 0; i < c; i++) { PyObject *item = PyList_GetItem(obj3, i); if (PyUnicode_Check(item)) {
          PyObject *tmp = PyUnicode_AsUTF8String(item); arg4->push_back(PyString_AsString(tmp)); Py_DECREF(tmp); } 
        else if (PyString_Check(item)) arg4->push_back(PyString_AsString(item)); else { delete arg4; arg4 = 0;
          SWIG_exception_fail(SWIG_TypeError, "expected vector of strings"); }  }  }  else
    SWIG_exception_fail(SWIG_TypeError, "expected vector of strings"); } 
  result = (bool)(arg1)->set_enum((mforms::Grid::Path const &)*arg2,arg3,(std::vector< std::string,std::allocator< std::string > > const &)*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); { delete arg4; }  return resultobj; fail: { delete arg4; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_Grid_set_row_tag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Grid_set_row_tag",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_set_row_tag" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_set_row_tag" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_set_row_tag" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_row_tag((mforms::Grid::Path const &)*arg2,(std::string const &)*arg3); resultobj = SWIG_Py_Void(); { delete arg3; }
   return resultobj; fail: { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_Grid_get_row_tag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_get_row_tag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_get_row_tag" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_get_row_tag" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_get_row_tag" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); result = (arg1)->get_row_tag((mforms::Grid::Path const &)*arg2); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_set_row_caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; std::string *arg3 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Grid_set_row_caption",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_set_row_caption" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_set_row_caption" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_set_row_caption" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_row_caption((mforms::Grid::Path const &)*arg2,(std::string const &)*arg3); resultobj = SWIG_Py_Void(); {
    delete arg3; }  return resultobj; fail: { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_Grid_get_row_caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_get_row_caption",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_get_row_caption" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_get_row_caption" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_get_row_caption" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); result = (arg1)->get_row_caption((mforms::Grid::Path const &)*arg2);
  { resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_set_action_icon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; int arg3 ; std::string *arg4 = 0 ;
  mforms::IconVisibility arg5 ; mforms::IconPos arg6 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
  int val3 ; int ecode3 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Grid_set_action_icon",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_set_action_icon" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_set_action_icon" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_set_action_icon" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_set_action_icon" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); { if (PyUnicode_Check(obj3)) { PyObject *tmp = PyUnicode_AsUTF8String(obj3);
      arg4 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj3))
    arg4 = new std::string(PyString_AsString(obj3)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Grid_set_action_icon" "', argument " "5"" of type '" "mforms::IconVisibility""'"); }
    arg5 = static_cast< mforms::IconVisibility >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Grid_set_action_icon" "', argument " "6"" of type '" "mforms::IconPos""'"); }
    arg6 = static_cast< mforms::IconPos >(val6);
  (arg1)->set_action_icon((mforms::Grid::Path const &)*arg2,arg3,(std::string const &)*arg4,arg5,arg6);
  resultobj = SWIG_Py_Void(); { delete arg4; }  return resultobj; fail: { delete arg4; }  return NULL; }
SWIGINTERN PyObject *_wrap_Grid_get_context_menu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; mforms::Menu *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Grid_get_context_menu",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_get_context_menu" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); result = (mforms::Menu *)(arg1)->get_context_menu();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Menu, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Grid_popup_context_menu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:Grid_popup_context_menu",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_popup_context_menu" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); (arg1)->popup_context_menu(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_scroll_to_row(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_scroll_to_row",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_scroll_to_row" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_scroll_to_row" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_scroll_to_row" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); (arg1)->scroll_to_row((mforms::Grid::Path const &)*arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_set_fg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; int arg3 ; double arg4 ; double arg5 ; double arg6 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ;
  double val5 ; int ecode5 = 0 ; double val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Grid_set_fg",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_set_fg" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_set_fg" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_set_fg" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_set_fg" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_double(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Grid_set_fg" "', argument " "4"" of type '" "double""'"); }  
  arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_double(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Grid_set_fg" "', argument " "5"" of type '" "double""'"); }  
  arg5 = static_cast< double >(val5); ecode6 = SWIG_AsVal_double(obj5, &val6); if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Grid_set_fg" "', argument " "6"" of type '" "double""'"); }  
  arg6 = static_cast< double >(val6); result = (bool)(arg1)->set_fg((mforms::Grid::Path const &)*arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_set_bg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; int arg3 ; double arg4 ; double arg5 ; double arg6 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ;
  double val5 ; int ecode5 = 0 ; double val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Grid_set_bg",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_set_bg" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_set_bg" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_set_bg" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_set_bg" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_double(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Grid_set_bg" "', argument " "4"" of type '" "double""'"); }  
  arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_double(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Grid_set_bg" "', argument " "5"" of type '" "double""'"); }  
  arg5 = static_cast< double >(val5); ecode6 = SWIG_AsVal_double(obj5, &val6); if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Grid_set_bg" "', argument " "6"" of type '" "double""'"); }  
  arg6 = static_cast< double >(val6); result = (bool)(arg1)->set_bg((mforms::Grid::Path const &)*arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_shade__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; mforms::Shade arg3 ; int arg4 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:Grid_shade",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_shade" "', argument " "1"" of type '" "mforms::Grid *""'");  } 
  arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_shade" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_shade" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_shade" "', argument " "3"" of type '" "mforms::Shade""'"); }
    arg3 = static_cast< mforms::Shade >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Grid_shade" "', argument " "4"" of type '" "int""'"); }  
  arg4 = static_cast< int >(val4); (arg1)->shade((mforms::Grid::Path const &)*arg2,arg3,arg4); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_shade__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; mforms::Shade arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Grid_shade",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_shade" "', argument " "1"" of type '" "mforms::Grid *""'");  } 
  arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_shade" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_shade" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_shade" "', argument " "3"" of type '" "mforms::Shade""'"); }
    arg3 = static_cast< mforms::Shade >(val3); (arg1)->shade((mforms::Grid::Path const &)*arg2,arg3);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_shade(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 3) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Grid, 0); _v = SWIG_CheckState(res); if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_mforms__GridPath, 0); _v = SWIG_CheckState(res); if (_v) { {
          int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_Grid_shade__SWIG_1(self, args);}  }  }  }  if (argc == 4) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Grid, 0); _v = SWIG_CheckState(res); if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_mforms__GridPath, 0); _v = SWIG_CheckState(res); if (_v) { {
          int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
            int res = SWIG_AsVal_int(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) {
            return _wrap_Grid_shade__SWIG_0(self, args);}  }  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Grid_shade'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Grid::shade(mforms::Grid::Path const &,mforms::Shade const,int const)\n"
  "    mforms::Grid::shade(mforms::Grid::Path const &,mforms::Shade const)\n"); return 0; }
SWIGINTERN PyObject *_wrap_Grid_unshade__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; mforms::Shade arg3 ; int arg4 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:Grid_unshade",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_unshade" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_unshade" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_unshade" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_unshade" "', argument " "3"" of type '" "mforms::Shade""'"); }
    arg3 = static_cast< mforms::Shade >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Grid_unshade" "', argument " "4"" of type '" "int""'"); }  
  arg4 = static_cast< int >(val4); (arg1)->unshade((mforms::Grid::Path const &)*arg2,arg3,arg4); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_unshade__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; mforms::Shade arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:Grid_unshade",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_unshade" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_unshade" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_unshade" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_unshade" "', argument " "3"" of type '" "mforms::Shade""'"); }
    arg3 = static_cast< mforms::Shade >(val3); (arg1)->unshade((mforms::Grid::Path const &)*arg2,arg3);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_unshade(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 3) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Grid, 0); _v = SWIG_CheckState(res); if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_mforms__GridPath, 0); _v = SWIG_CheckState(res); if (_v) { {
          int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_Grid_unshade__SWIG_1(self, args);}  }  }  }  if (argc == 4) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__Grid, 0); _v = SWIG_CheckState(res); if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_mforms__GridPath, 0); _v = SWIG_CheckState(res); if (_v) { {
          int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
            int res = SWIG_AsVal_int(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) {
            return _wrap_Grid_unshade__SWIG_0(self, args);}  }  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Grid_unshade'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::Grid::unshade(mforms::Grid::Path const &,mforms::Shade const,int const)\n"
  "    mforms::Grid::unshade(mforms::Grid::Path const &,mforms::Shade const)\n"); return 0; }
SWIGINTERN PyObject *_wrap_Grid_has_shade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; mforms::Grid::Path *arg2 = 0 ; int arg3 ; mforms::Shade arg4 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:Grid_has_shade",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_has_shade" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__GridPath,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Grid_has_shade" "', argument " "2"" of type '" "mforms::Grid::Path const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Grid_has_shade" "', argument " "2"" of type '" "mforms::Grid::Path const &""'"); }
   arg2 = reinterpret_cast< mforms::Grid::Path * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Grid_has_shade" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Grid_has_shade" "', argument " "4"" of type '" "mforms::Shade""'"); }
    arg4 = static_cast< mforms::Shade >(val4); result = (bool)(arg1)->has_shade((mforms::Grid::Path const &)*arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_add_content_edited_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Grid *arg1 = (mforms::Grid *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_add_content_edited_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_add_content_edited_callback" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); arg2 = obj1; mforms_Grid_add_content_edited_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_add_ro_content_clicked_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Grid *arg1 = (mforms::Grid *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_add_ro_content_clicked_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_add_ro_content_clicked_callback" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); arg2 = obj1; mforms_Grid_add_ro_content_clicked_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_add_content_action_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Grid *arg1 = (mforms::Grid *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_add_content_action_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_add_content_action_callback" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); arg2 = obj1; mforms_Grid_add_content_action_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Grid_add_context_menu_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::Grid *arg1 = (mforms::Grid *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:Grid_add_context_menu_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Grid_add_context_menu_callback" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); arg2 = obj1; mforms_Grid_add_context_menu_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_Grid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Grid *arg1 = (mforms::Grid *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Grid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Grid, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Grid" "', argument " "1"" of type '" "mforms::Grid *""'");  }
   arg1 = reinterpret_cast< mforms::Grid * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *Grid_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__Grid, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_HyperText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::HyperText *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_HyperText")) SWIG_fail;
  result = (mforms::HyperText *)new mforms::HyperText();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__HyperText, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_HyperText_set_markup_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::HyperText *arg1 = (mforms::HyperText *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:HyperText_set_markup_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__HyperText, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperText_set_markup_text" "', argument " "1"" of type '" "mforms::HyperText *""'");  }
   arg1 = reinterpret_cast< mforms::HyperText * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_markup_text((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_HyperText_handle_url_click(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::HyperText *arg1 = (mforms::HyperText *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:HyperText_handle_url_click",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__HyperText, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperText_handle_url_click" "', argument " "1"" of type '" "mforms::HyperText *""'");  }
   arg1 = reinterpret_cast< mforms::HyperText * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->handle_url_click((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_HyperText_add_link_click_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::HyperText *arg1 = (mforms::HyperText *) 0 ; PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:HyperText_add_link_click_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__HyperText, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperText_add_link_click_callback" "', argument " "1"" of type '" "mforms::HyperText *""'");  }
   arg1 = reinterpret_cast< mforms::HyperText * >(argp1); arg2 = obj1; mforms_HyperText_add_link_click_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_HyperText_call_link_click_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::HyperText *arg1 = (mforms::HyperText *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:HyperText_call_link_click_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__HyperText, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperText_call_link_click_callback" "', argument " "1"" of type '" "mforms::HyperText *""'");  }
   arg1 = reinterpret_cast< mforms::HyperText * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperText_call_link_click_callback" "', argument " "2"" of type '" "char const *""'"); }
   arg2 = reinterpret_cast< char * >(buf2); mforms_HyperText_call_link_click_callback(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; }
SWIGINTERN PyObject *_wrap_delete_HyperText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::HyperText *arg1 = (mforms::HyperText *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_HyperText",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__HyperText, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HyperText" "', argument " "1"" of type '" "mforms::HyperText *""'");  }
   arg1 = reinterpret_cast< mforms::HyperText * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *HyperText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__HyperText, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_TreeNodeSkeleton__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeSkeleton *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)":new_TreeNodeSkeleton")) SWIG_fail;
  result = (mforms::TreeNodeSkeleton *)new mforms::TreeNodeSkeleton();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNodeSkeleton, SWIG_POINTER_NEW |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_TreeNodeSkeleton__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::string *arg1 = 0 ; std::string *arg2 = 0 ; std::string *arg3 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; mforms::TreeNodeSkeleton *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_TreeNodeSkeleton",&obj0,&obj1,&obj2)) SWIG_fail; { if (PyUnicode_Check(obj0)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (mforms::TreeNodeSkeleton *)new mforms::TreeNodeSkeleton((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNodeSkeleton, SWIG_POINTER_NEW |  0 ); {
    delete arg1; }  { delete arg2; }  { delete arg3; }  return resultobj; fail: { delete arg1; }  { delete arg2; }  {
    delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_new_TreeNodeSkeleton(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_TreeNodeSkeleton__SWIG_0(self, args);}  if (argc == 3) { int _v;
    int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
      int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
        int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
          return _wrap_new_TreeNodeSkeleton__SWIG_1(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_TreeNodeSkeleton'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::TreeNodeSkeleton::TreeNodeSkeleton()\n"
  "    mforms::TreeNodeSkeleton::TreeNodeSkeleton(std::string const &,std::string const &,std::string const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_TreeNodeSkeleton_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeSkeleton *arg1 = (mforms::TreeNodeSkeleton *) 0 ; std::string *arg2 = 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeSkeleton_caption_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeSkeleton_caption_set" "', argument " "1"" of type '" "mforms::TreeNodeSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeSkeleton * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  if (arg1) (arg1)->caption = *arg2;
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeSkeleton_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeSkeleton *arg1 = (mforms::TreeNodeSkeleton *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; std::string *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeSkeleton_caption_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeSkeleton_caption_get" "', argument " "1"" of type '" "mforms::TreeNodeSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeSkeleton * >(argp1); result = (std::string *) & ((arg1)->caption);
  resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeSkeleton_icon_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeSkeleton *arg1 = (mforms::TreeNodeSkeleton *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeSkeleton_icon_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeSkeleton_icon_set" "', argument " "1"" of type '" "mforms::TreeNodeSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeSkeleton * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  if (arg1) (arg1)->icon = *arg2;
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeSkeleton_icon_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeSkeleton *arg1 = (mforms::TreeNodeSkeleton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::string *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeSkeleton_icon_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeSkeleton_icon_get" "', argument " "1"" of type '" "mforms::TreeNodeSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeSkeleton * >(argp1); result = (std::string *) & ((arg1)->icon);
  resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeSkeleton_tag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeSkeleton *arg1 = (mforms::TreeNodeSkeleton *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeSkeleton_tag_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeSkeleton_tag_set" "', argument " "1"" of type '" "mforms::TreeNodeSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeSkeleton * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  if (arg1) (arg1)->tag = *arg2;
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeSkeleton_tag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeSkeleton *arg1 = (mforms::TreeNodeSkeleton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::string *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeSkeleton_tag_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeSkeleton_tag_get" "', argument " "1"" of type '" "mforms::TreeNodeSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeSkeleton * >(argp1); result = (std::string *) & ((arg1)->tag);
  resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeSkeleton_children_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeSkeleton *arg1 = (mforms::TreeNodeSkeleton *) 0 ;
  std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > *arg2 = (std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeSkeleton_children_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeSkeleton_children_set" "', argument " "1"" of type '" "mforms::TreeNodeSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeSkeleton * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__vectorT_mforms__TreeNodeSkeleton_std__allocatorT_mforms__TreeNodeSkeleton_t_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNodeSkeleton_children_set" "', argument " "2"" of type '" "std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > *""'");  }
   arg2 = reinterpret_cast< std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > * >(argp2);
  if (arg1) (arg1)->children = *arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeSkeleton_children_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeSkeleton *arg1 = (mforms::TreeNodeSkeleton *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeSkeleton_children_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeSkeleton_children_get" "', argument " "1"" of type '" "mforms::TreeNodeSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeSkeleton * >(argp1);
  result = (std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > *)& ((arg1)->children);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_mforms__TreeNodeSkeleton_std__allocatorT_mforms__TreeNodeSkeleton_t_t, 0 |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_TreeNodeSkeleton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeSkeleton *arg1 = (mforms::TreeNodeSkeleton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_TreeNodeSkeleton",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeSkeleton, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeNodeSkeleton" "', argument " "1"" of type '" "mforms::TreeNodeSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeSkeleton * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *TreeNodeSkeleton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__TreeNodeSkeleton, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_TreeNodeCollectionSkeleton__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeCollectionSkeleton *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)":new_TreeNodeCollectionSkeleton")) SWIG_fail;
  result = (mforms::TreeNodeCollectionSkeleton *)new mforms::TreeNodeCollectionSkeleton();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, SWIG_POINTER_NEW |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_TreeNodeCollectionSkeleton__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; std::string *arg1 = 0 ; PyObject * obj0 = 0 ; mforms::TreeNodeCollectionSkeleton *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_TreeNodeCollectionSkeleton",&obj0)) SWIG_fail; { if (PyUnicode_Check(obj0)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (mforms::TreeNodeCollectionSkeleton *)new mforms::TreeNodeCollectionSkeleton((std::string const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, SWIG_POINTER_NEW |  0 );
  { delete arg1; }  return resultobj; fail: { delete arg1; }  return NULL; }
SWIGINTERN PyObject *_wrap_new_TreeNodeCollectionSkeleton(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_TreeNodeCollectionSkeleton__SWIG_0(self, args);}  if (argc == 1) { int _v;
    int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) {
      return _wrap_new_TreeNodeCollectionSkeleton__SWIG_1(self, args);}  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_TreeNodeCollectionSkeleton'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::TreeNodeCollectionSkeleton::TreeNodeCollectionSkeleton()\n"
  "    mforms::TreeNodeCollectionSkeleton::TreeNodeCollectionSkeleton(std::string const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_TreeNodeCollectionSkeleton_icon_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeCollectionSkeleton *arg1 = (mforms::TreeNodeCollectionSkeleton *) 0 ;
  std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeCollectionSkeleton_icon_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeCollectionSkeleton_icon_set" "', argument " "1"" of type '" "mforms::TreeNodeCollectionSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeCollectionSkeleton * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  if (arg1) (arg1)->icon = *arg2;
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeCollectionSkeleton_icon_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeCollectionSkeleton *arg1 = (mforms::TreeNodeCollectionSkeleton *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; std::string *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeCollectionSkeleton_icon_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeCollectionSkeleton_icon_get" "', argument " "1"" of type '" "mforms::TreeNodeCollectionSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeCollectionSkeleton * >(argp1); result = (std::string *) & ((arg1)->icon);
  resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeCollectionSkeleton_children_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeCollectionSkeleton *arg1 = (mforms::TreeNodeCollectionSkeleton *) 0 ;
  std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > *arg2 = (std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeCollectionSkeleton_children_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeCollectionSkeleton_children_set" "', argument " "1"" of type '" "mforms::TreeNodeCollectionSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeCollectionSkeleton * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__vectorT_mforms__TreeNodeSkeleton_std__allocatorT_mforms__TreeNodeSkeleton_t_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNodeCollectionSkeleton_children_set" "', argument " "2"" of type '" "std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > *""'");  }
   arg2 = reinterpret_cast< std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > * >(argp2);
  if (arg1) (arg1)->children = *arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeCollectionSkeleton_children_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeCollectionSkeleton *arg1 = (mforms::TreeNodeCollectionSkeleton *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeCollectionSkeleton_children_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeCollectionSkeleton_children_get" "', argument " "1"" of type '" "mforms::TreeNodeCollectionSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeCollectionSkeleton * >(argp1);
  result = (std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > *)& ((arg1)->children);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_mforms__TreeNodeSkeleton_std__allocatorT_mforms__TreeNodeSkeleton_t_t, 0 |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeCollectionSkeleton_captions_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeCollectionSkeleton *arg1 = (mforms::TreeNodeCollectionSkeleton *) 0 ;
  std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeCollectionSkeleton_captions_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeCollectionSkeleton_captions_set" "', argument " "1"" of type '" "mforms::TreeNodeCollectionSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeCollectionSkeleton * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNodeCollectionSkeleton_captions_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'");  }
   arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2);
  if (arg1) (arg1)->captions = *arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeCollectionSkeleton_captions_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeCollectionSkeleton *arg1 = (mforms::TreeNodeCollectionSkeleton *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; std::vector< std::string,std::allocator< std::string > > *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeCollectionSkeleton_captions_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeCollectionSkeleton_captions_get" "', argument " "1"" of type '" "mforms::TreeNodeCollectionSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeCollectionSkeleton * >(argp1);
  result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->captions);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_TreeNodeCollectionSkeleton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeCollectionSkeleton *arg1 = (mforms::TreeNodeCollectionSkeleton *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_TreeNodeCollectionSkeleton",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeNodeCollectionSkeleton" "', argument " "1"" of type '" "mforms::TreeNodeCollectionSkeleton *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeCollectionSkeleton * >(argp1); delete arg1; resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *TreeNodeCollectionSkeleton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_TreeNodeData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeData *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_TreeNodeData")) SWIG_fail;
  result = (mforms::TreeNodeData *)new mforms::TreeNodeData();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNodeData, SWIG_POINTER_NEW |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_TreeNodeData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeData *arg1 = (mforms::TreeNodeData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_TreeNodeData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeData, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeNodeData" "', argument " "1"" of type '" "mforms::TreeNodeData *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeData * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeData_retain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeData *arg1 = (mforms::TreeNodeData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeData_retain",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeData_retain" "', argument " "1"" of type '" "mforms::TreeNodeData *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeData * >(argp1); (arg1)->retain(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeData_release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeData *arg1 = (mforms::TreeNodeData *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeData_release",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeData, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeData_release" "', argument " "1"" of type '" "mforms::TreeNodeData *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeData * >(argp1); (arg1)->release(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *TreeNodeData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__TreeNodeData, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_TreeNodeRef__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_TreeNodeRef")) SWIG_fail;
  result = (mforms::TreeNodeRef *)new mforms::TreeNodeRef();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_NEW |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_TreeNodeRef__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; mforms::TreeNodeRef *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_TreeNodeRef",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_mforms__TreeNodeRef,  0  | 0); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeNodeRef" "', argument " "1"" of type '" "mforms::TreeNodeRef const &""'");  }
   if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeNodeRef" "', argument " "1"" of type '" "mforms::TreeNodeRef const &""'"); }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1);
  result = (mforms::TreeNodeRef *)new mforms::TreeNodeRef((mforms::TreeNodeRef const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_NEW |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_TreeNodeRef(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_TreeNodeRef__SWIG_0(self, args);}  if (argc == 1) { int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_mforms__TreeNodeRef, 0); _v = SWIG_CheckState(res); if (_v) {
      return _wrap_new_TreeNodeRef__SWIG_1(self, args);}  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_TreeNodeRef'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::TreeNodeRef::TreeNodeRef()\n"
  "    mforms::TreeNodeRef::TreeNodeRef(mforms::TreeNodeRef const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_delete_TreeNodeRef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_TreeNodeRef",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeNodeRef" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef___deref____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; mforms::TreeNode *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef___deref__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef___deref__" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1);
  result = (mforms::TreeNode *)((mforms::TreeNodeRef const *)arg1)->operator ->();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef___deref____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; mforms::TreeNode *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef___deref__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef___deref__" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); result = (mforms::TreeNode *)(arg1)->operator ->();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef___deref__(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 1) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TreeNodeRef, 0); _v = SWIG_CheckState(res);
    if (_v) { return _wrap_TreeNodeRef___deref____SWIG_1(self, args);}  }  if (argc == 1) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TreeNodeRef, 0); _v = SWIG_CheckState(res); if (_v) {
      return _wrap_TreeNodeRef___deref____SWIG_0(self, args);}  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'TreeNodeRef___deref__'.\n"
  "  Possible C/C++ prototypes are:\n" "    mforms::TreeNodeRef::operator ->() const\n"
  "    mforms::TreeNodeRef::operator ->()\n"); return 0; }
SWIGINTERN PyObject *_wrap_TreeNodeRef___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef___nonzero__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef___nonzero__" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); result = (bool)((mforms::TreeNodeRef const *)arg1)->operator bool();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; mforms::TreeNodeRef *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef___eq__" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__TreeNodeRef,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNodeRef___eq__" "', argument " "2"" of type '" "mforms::TreeNodeRef const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNodeRef___eq__" "', argument " "2"" of type '" "mforms::TreeNodeRef const &""'"); }
   arg2 = reinterpret_cast< mforms::TreeNodeRef * >(argp2);
  result = (bool)((mforms::TreeNodeRef const *)arg1)->operator ==((mforms::TreeNodeRef const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; mforms::TreeNodeRef *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef___ne__" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__TreeNodeRef,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNodeRef___ne__" "', argument " "2"" of type '" "mforms::TreeNodeRef const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNodeRef___ne__" "', argument " "2"" of type '" "mforms::TreeNodeRef const &""'"); }
   arg2 = reinterpret_cast< mforms::TreeNodeRef * >(argp2);
  result = (bool)((mforms::TreeNodeRef const *)arg1)->operator !=((mforms::TreeNodeRef const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_is_valid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef_is_valid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_is_valid" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); result = (bool)(arg1)->is_valid();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; mforms::TreeNode *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef_equals",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_equals" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__TreeNode,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNodeRef_equals" "', argument " "2"" of type '" "mforms::TreeNode const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNodeRef_equals" "', argument " "2"" of type '" "mforms::TreeNode const &""'"); }
   arg2 = reinterpret_cast< mforms::TreeNode * >(argp2); result = (bool)(*arg1)->equals((mforms::TreeNode const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_set_icon_path(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; int arg2 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNodeRef_set_icon_path",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_set_icon_path" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeRef_set_icon_path" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); { if (PyUnicode_Check(obj2)) { PyObject *tmp = PyUnicode_AsUTF8String(obj2);
      arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj2))
    arg3 = new std::string(PyString_AsString(obj2)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (*arg1)->set_icon_path(arg2,(std::string const &)*arg3); resultobj = SWIG_Py_Void(); { delete arg3; }  return resultobj; fail:
  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_set_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; int arg2 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNodeRef_set_string",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_set_string" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeRef_set_string" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); { if (PyUnicode_Check(obj2)) { PyObject *tmp = PyUnicode_AsUTF8String(obj2);
      arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj2))
    arg3 = new std::string(PyString_AsString(obj2)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (*arg1)->set_string(arg2,(std::string const &)*arg3); resultobj = SWIG_Py_Void(); { delete arg3; }  return resultobj; fail: {
    delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_set_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNodeRef_set_int",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_set_int" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeRef_set_int" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeNodeRef_set_int" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); (*arg1)->set_int(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_set_long(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; int arg2 ; boost::int64_t arg3 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; long long val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNodeRef_set_long",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_set_long" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeRef_set_long" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeNodeRef_set_long" "', argument " "3"" of type '" "boost::int64_t""'"); }
    arg3 = static_cast< boost::int64_t >(val3); (*arg1)->set_long(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_set_bool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; int arg2 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNodeRef_set_bool",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_set_bool" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeRef_set_bool" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeNodeRef_set_bool" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (*arg1)->set_bool(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_set_attributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; int arg2 ; mforms::TreeNodeTextAttributes *arg3 = 0 ;
  void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNodeRef_set_attributes",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_set_attributes" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeRef_set_attributes" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_mforms__TextAttributes,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeNodeRef_set_attributes" "', argument " "3"" of type '" "mforms::TreeNodeTextAttributes const &""'");  }
   if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNodeRef_set_attributes" "', argument " "3"" of type '" "mforms::TreeNodeTextAttributes const &""'"); }
   arg3 = reinterpret_cast< mforms::TreeNodeTextAttributes * >(argp3);
  (*arg1)->set_attributes(arg2,(mforms::TreeNodeTextAttributes const &)*arg3); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_get_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef_get_string",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_get_string" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeRef_get_string" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (*arg1)->get_string(arg2); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_get_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef_get_int",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_get_int" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeRef_get_int" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); result = (int)(*arg1)->get_int(arg2); resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_get_long(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; boost::int64_t result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef_get_long",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_get_long" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeRef_get_long" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (*arg1)->get_long(arg2);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_get_bool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef_get_bool",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_get_bool" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeRef_get_bool" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (bool)(*arg1)->get_bool(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef_count",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_count" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); result = (int)(*arg1)->count();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_add_child(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::TreeNodeRef result; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef_add_child",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_add_child" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); result = (*arg1)->add_child(); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_insert_child(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::TreeNodeRef result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef_insert_child",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_insert_child" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeRef_insert_child" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (*arg1)->insert_child(arg2); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_remove_from_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef_remove_from_parent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_remove_from_parent" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); (*arg1)->remove_from_parent(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_remove_children(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef_remove_children",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_remove_children" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); (*arg1)->remove_children(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_get_child(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::TreeNodeRef result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef_get_child",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_get_child" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeRef_get_child" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (*arg1)->get_child(arg2); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_get_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::TreeNodeRef result; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef_get_parent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_get_parent" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); result = (*arg1)->get_parent(); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_find_child_with_tag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::TreeNodeRef result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef_find_child_with_tag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_find_child_with_tag" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (*arg1)->find_child_with_tag((std::string const &)*arg2); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  { delete arg2; }  return resultobj; fail: { delete arg2; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_add_node_collection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ;
  mforms::TreeNodeCollectionSkeleton *arg2 = 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
  int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  SwigValueWrapper< std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > > > result;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNodeRef_add_node_collection",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_add_node_collection" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNodeRef_add_node_collection" "', argument " "2"" of type '" "mforms::TreeNodeCollectionSkeleton const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNodeRef_add_node_collection" "', argument " "2"" of type '" "mforms::TreeNodeCollectionSkeleton const &""'"); }
   arg2 = reinterpret_cast< mforms::TreeNodeCollectionSkeleton * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeNodeRef_add_node_collection" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3);
  result = (*arg1)->add_node_collection((mforms::TreeNodeCollectionSkeleton const &)*arg2,arg3);
  resultobj = SWIG_NewPointerObj((new std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > >(static_cast< const std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > >& >(result))), SWIGTYPE_p_std__vectorT_mforms__TreeNodeRef_std__allocatorT_mforms__TreeNodeRef_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_add_node_collection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ;
  mforms::TreeNodeCollectionSkeleton *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  SwigValueWrapper< std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > > > result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef_add_node_collection",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_add_node_collection" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNodeRef_add_node_collection" "', argument " "2"" of type '" "mforms::TreeNodeCollectionSkeleton const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNodeRef_add_node_collection" "', argument " "2"" of type '" "mforms::TreeNodeCollectionSkeleton const &""'"); }
   arg2 = reinterpret_cast< mforms::TreeNodeCollectionSkeleton * >(argp2);
  result = (*arg1)->add_node_collection((mforms::TreeNodeCollectionSkeleton const &)*arg2);
  resultobj = SWIG_NewPointerObj((new std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > >(static_cast< const std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > >& >(result))), SWIGTYPE_p_std__vectorT_mforms__TreeNodeRef_std__allocatorT_mforms__TreeNodeRef_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_add_node_collection(PyObject *self, PyObject *args) { int argc; PyObject *argv[4];
  int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TreeNodeRef, 0); _v = SWIG_CheckState(res);
    if (_v) { int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, 0);
      _v = SWIG_CheckState(res); if (_v) { return _wrap_TreeNodeRef_add_node_collection__SWIG_1(self, args);}  }  } 
  if (argc == 3) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TreeNodeRef, 0);
    _v = SWIG_CheckState(res); if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, 0); _v = SWIG_CheckState(res);
      if (_v) { { int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_TreeNodeRef_add_node_collection__SWIG_0(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'TreeNodeRef_add_node_collection'.\n"
  "  Possible C/C++ prototypes are:\n"
  "    mforms::TreeNode::add_node_collection(mforms::TreeNodeCollectionSkeleton const &,int)\n"
  "    mforms::TreeNode::add_node_collection(mforms::TreeNodeCollectionSkeleton const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef_expand",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_expand" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); (*arg1)->expand(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef_collapse",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_collapse" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); (*arg1)->collapse(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_is_expanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef_is_expanded",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_is_expanded" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); result = (bool)(*arg1)->is_expanded();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_set_tag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef_set_tag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_set_tag" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (*arg1)->set_tag((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_get_tag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  std::string result; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef_get_tag",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_get_tag" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); result = (*arg1)->get_tag(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_set_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; mforms::TreeNodeData *arg2 = (mforms::TreeNodeData *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeRef_set_data",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_set_data" "', argument " "1"" of type '" "mforms::TreeNodeRef *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__TreeNodeData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNodeRef_set_data" "', argument " "2"" of type '" "mforms::TreeNodeData *""'");  }
   arg2 = reinterpret_cast< mforms::TreeNodeData * >(argp2); (*arg1)->set_data(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeRef_get_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeRef *arg1 = (mforms::TreeNodeRef *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::TreeNodeData *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeRef_get_data",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeRef, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeRef_get_data" "', argument " "1"" of type '" "mforms::TreeNodeRef const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeRef * >(argp1); result = (mforms::TreeNodeData *)(*arg1)->get_data();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNodeData, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *TreeNodeRef_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__TreeNodeRef, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_TreeNode_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; mforms::TreeNode *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNode_equals",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_equals" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__TreeNode,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNode_equals" "', argument " "2"" of type '" "mforms::TreeNode const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNode_equals" "', argument " "2"" of type '" "mforms::TreeNode const &""'"); }
   arg2 = reinterpret_cast< mforms::TreeNode * >(argp2); result = (bool)(arg1)->equals((mforms::TreeNode const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_is_valid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNode_is_valid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_is_valid" "', argument " "1"" of type '" "mforms::TreeNode const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); result = (bool)((mforms::TreeNode const *)arg1)->is_valid();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_set_icon_path(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; int arg2 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNode_set_icon_path",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_set_icon_path" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNode_set_icon_path" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); { if (PyUnicode_Check(obj2)) { PyObject *tmp = PyUnicode_AsUTF8String(obj2);
      arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj2))
    arg3 = new std::string(PyString_AsString(obj2)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_icon_path(arg2,(std::string const &)*arg3); resultobj = SWIG_Py_Void(); { delete arg3; }  return resultobj; fail:
  { delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_set_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; int arg2 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNode_set_string",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_set_string" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNode_set_string" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); { if (PyUnicode_Check(obj2)) { PyObject *tmp = PyUnicode_AsUTF8String(obj2);
      arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); }  else if (PyString_Check(obj2))
    arg3 = new std::string(PyString_AsString(obj2)); else { PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  (arg1)->set_string(arg2,(std::string const &)*arg3); resultobj = SWIG_Py_Void(); { delete arg3; }  return resultobj; fail: {
    delete arg3; }  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_set_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNode_set_int",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_set_int" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNode_set_int" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeNode_set_int" "', argument " "3"" of type '" "int""'"); }  
  arg3 = static_cast< int >(val3); (arg1)->set_int(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_set_long(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; int arg2 ; boost::int64_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; long long val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNode_set_long",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_set_long" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNode_set_long" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeNode_set_long" "', argument " "3"" of type '" "boost::int64_t""'"); }
    arg3 = static_cast< boost::int64_t >(val3); (arg1)->set_long(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_set_bool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; int arg2 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNode_set_bool",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_set_bool" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNode_set_bool" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeNode_set_bool" "', argument " "3"" of type '" "bool""'"); }  
  arg3 = static_cast< bool >(val3); (arg1)->set_bool(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_set_attributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; int arg2 ; mforms::TreeNodeTextAttributes *arg3 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNode_set_attributes",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_set_attributes" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNode_set_attributes" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_mforms__TextAttributes,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeNode_set_attributes" "', argument " "3"" of type '" "mforms::TreeNodeTextAttributes const &""'");  }
   if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNode_set_attributes" "', argument " "3"" of type '" "mforms::TreeNodeTextAttributes const &""'"); }
   arg3 = reinterpret_cast< mforms::TreeNodeTextAttributes * >(argp3);
  (arg1)->set_attributes(arg2,(mforms::TreeNodeTextAttributes const &)*arg3); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_get_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNode_get_string",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_get_string" "', argument " "1"" of type '" "mforms::TreeNode const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNode_get_string" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); result = ((mforms::TreeNode const *)arg1)->get_string(arg2); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_get_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNode_get_int",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_get_int" "', argument " "1"" of type '" "mforms::TreeNode const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNode_get_int" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); result = (int)((mforms::TreeNode const *)arg1)->get_int(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_get_long(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; boost::int64_t result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNode_get_long",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_get_long" "', argument " "1"" of type '" "mforms::TreeNode const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNode_get_long" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); result = ((mforms::TreeNode const *)arg1)->get_long(arg2);
  resultobj = SWIG_From_long_SS_long(static_cast< long long >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_get_bool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNode_get_bool",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_get_bool" "', argument " "1"" of type '" "mforms::TreeNode const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNode_get_bool" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); result = (bool)((mforms::TreeNode const *)arg1)->get_bool(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNode_count",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_count" "', argument " "1"" of type '" "mforms::TreeNode const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); result = (int)((mforms::TreeNode const *)arg1)->count();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_add_child(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::TreeNodeRef result; if (!PyArg_ParseTuple(args,(char *)"O:TreeNode_add_child",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_add_child" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); result = (arg1)->add_child(); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_insert_child(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::TreeNodeRef result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNode_insert_child",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_insert_child" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNode_insert_child" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (arg1)->insert_child(arg2); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_remove_from_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TreeNode_remove_from_parent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_remove_from_parent" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); (arg1)->remove_from_parent(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_remove_children(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNode_remove_children",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_remove_children" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); (arg1)->remove_children(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_get_child(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::TreeNodeRef result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNode_get_child",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_get_child" "', argument " "1"" of type '" "mforms::TreeNode const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNode_get_child" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); result = ((mforms::TreeNode const *)arg1)->get_child(arg2); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_get_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::TreeNodeRef result; if (!PyArg_ParseTuple(args,(char *)"O:TreeNode_get_parent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_get_parent" "', argument " "1"" of type '" "mforms::TreeNode const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); result = ((mforms::TreeNode const *)arg1)->get_parent(); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_find_child_with_tag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ;
  int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::TreeNodeRef result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNode_find_child_with_tag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_find_child_with_tag" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (arg1)->find_child_with_tag((std::string const &)*arg2); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  { delete arg2; }  return resultobj; fail: { delete arg2; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_add_node_collection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; mforms::TreeNodeCollectionSkeleton *arg2 = 0 ;
  int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  SwigValueWrapper< std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > > > result;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNode_add_node_collection",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_add_node_collection" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNode_add_node_collection" "', argument " "2"" of type '" "mforms::TreeNodeCollectionSkeleton const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNode_add_node_collection" "', argument " "2"" of type '" "mforms::TreeNodeCollectionSkeleton const &""'"); }
   arg2 = reinterpret_cast< mforms::TreeNodeCollectionSkeleton * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeNode_add_node_collection" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3);
  result = (arg1)->add_node_collection((mforms::TreeNodeCollectionSkeleton const &)*arg2,arg3);
  resultobj = SWIG_NewPointerObj((new std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > >(static_cast< const std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > >& >(result))), SWIGTYPE_p_std__vectorT_mforms__TreeNodeRef_std__allocatorT_mforms__TreeNodeRef_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_add_node_collection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; mforms::TreeNodeCollectionSkeleton *arg2 = 0 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  SwigValueWrapper< std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > > > result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNode_add_node_collection",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_add_node_collection" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton,  0  | 0); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNode_add_node_collection" "', argument " "2"" of type '" "mforms::TreeNodeCollectionSkeleton const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNode_add_node_collection" "', argument " "2"" of type '" "mforms::TreeNodeCollectionSkeleton const &""'"); }
   arg2 = reinterpret_cast< mforms::TreeNodeCollectionSkeleton * >(argp2);
  result = (arg1)->add_node_collection((mforms::TreeNodeCollectionSkeleton const &)*arg2);
  resultobj = SWIG_NewPointerObj((new std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > >(static_cast< const std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > >& >(result))), SWIGTYPE_p_std__vectorT_mforms__TreeNodeRef_std__allocatorT_mforms__TreeNodeRef_t_t, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_add_node_collection(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 2) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TreeNode, 0); _v = SWIG_CheckState(res);
    if (_v) { int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, 0);
      _v = SWIG_CheckState(res); if (_v) { return _wrap_TreeNode_add_node_collection__SWIG_1(self, args);}  }  } 
  if (argc == 3) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TreeNode, 0);
    _v = SWIG_CheckState(res); if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_mforms__TreeNodeCollectionSkeleton, 0); _v = SWIG_CheckState(res);
      if (_v) { { int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_TreeNode_add_node_collection__SWIG_0(self, args);}  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'TreeNode_add_node_collection'.\n"
  "  Possible C/C++ prototypes are:\n"
  "    mforms::TreeNode::add_node_collection(mforms::TreeNodeCollectionSkeleton const &,int)\n"
  "    mforms::TreeNode::add_node_collection(mforms::TreeNodeCollectionSkeleton const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_TreeNode_expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNode_expand",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_expand" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); (arg1)->expand(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNode_collapse",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_collapse" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); (arg1)->collapse(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_is_expanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNode_is_expanded",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_is_expanded" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); result = (bool)(arg1)->is_expanded();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_set_tag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:TreeNode_set_tag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_set_tag" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  (arg1)->set_tag((std::string const &)*arg2);
  resultobj = SWIG_Py_Void(); { delete arg2; }  return resultobj; fail: { delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_get_tag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNode_get_tag",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_get_tag" "', argument " "1"" of type '" "mforms::TreeNode const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); result = ((mforms::TreeNode const *)arg1)->get_tag(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_set_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; mforms::TreeNodeData *arg2 = (mforms::TreeNodeData *) 0 ; void *argp1 = 0 ;
  int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNode_set_data",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_set_data" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__TreeNodeData, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNode_set_data" "', argument " "2"" of type '" "mforms::TreeNodeData *""'");  }
   arg2 = reinterpret_cast< mforms::TreeNodeData * >(argp2); (arg1)->set_data(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNode_get_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::TreeNodeData *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TreeNode_get_data",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNode_get_data" "', argument " "1"" of type '" "mforms::TreeNode const *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1);
  result = (mforms::TreeNodeData *)((mforms::TreeNode const *)arg1)->get_data();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNodeData, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_delete_TreeNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNode *arg1 = (mforms::TreeNode *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_TreeNode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNode, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeNode" "', argument " "1"" of type '" "mforms::TreeNode *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNode * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *TreeNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__TreeNode, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_TreeNodeView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeOptions arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; mforms::TreeNodeView *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_TreeNodeView",&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeNodeView" "', argument " "1"" of type '" "mforms::TreeOptions""'"); }
    arg1 = static_cast< mforms::TreeOptions >(val1); result = (mforms::TreeNodeView *)new mforms::TreeNodeView(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__TreeNodeView, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_TreeNodeView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_TreeNodeView",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeNodeView" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_add_column__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; mforms::TreeColumnType arg2 ;
  std::string *arg3 = 0 ; int arg4 ; bool arg5 ; bool arg6 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  int val4 ; int ecode4 = 0 ; bool val5 ; int ecode5 = 0 ; bool val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:TreeNodeView_add_column",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_add_column" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeView_add_column" "', argument " "2"" of type '" "mforms::TreeColumnType""'"); }
    arg2 = static_cast< mforms::TreeColumnType >(val2); { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeNodeView_add_column" "', argument " "4"" of type '" "int""'"); }
    arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_bool(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeNodeView_add_column" "', argument " "5"" of type '" "bool""'"); }
    arg5 = static_cast< bool >(val5); ecode6 = SWIG_AsVal_bool(obj5, &val6); if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeNodeView_add_column" "', argument " "6"" of type '" "bool""'"); }
    arg6 = static_cast< bool >(val6); result = (int)(arg1)->add_column(arg2,(std::string const &)*arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg3; }  return resultobj; fail: { delete arg3; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_add_column__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; mforms::TreeColumnType arg2 ;
  std::string *arg3 = 0 ; int arg4 ; bool arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val4 ;
  int ecode4 = 0 ; bool val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:TreeNodeView_add_column",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_add_column" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeView_add_column" "', argument " "2"" of type '" "mforms::TreeColumnType""'"); }
    arg2 = static_cast< mforms::TreeColumnType >(val2); { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeNodeView_add_column" "', argument " "4"" of type '" "int""'"); }
    arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_bool(obj4, &val5); if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeNodeView_add_column" "', argument " "5"" of type '" "bool""'"); }
    arg5 = static_cast< bool >(val5); result = (int)(arg1)->add_column(arg2,(std::string const &)*arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg3; }  return resultobj; fail: { delete arg3; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_add_column__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; mforms::TreeColumnType arg2 ;
  std::string *arg3 = 0 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val4 ; int ecode4 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:TreeNodeView_add_column",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_add_column" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeView_add_column" "', argument " "2"" of type '" "mforms::TreeColumnType""'"); }
    arg2 = static_cast< mforms::TreeColumnType >(val2); { if (PyUnicode_Check(obj2)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj2); arg3 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj2)) arg3 = new std::string(PyString_AsString(obj2)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  }  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeNodeView_add_column" "', argument " "4"" of type '" "int""'"); }
    arg4 = static_cast< int >(val4); result = (int)(arg1)->add_column(arg2,(std::string const &)*arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result)); { delete arg3; }  return resultobj; fail: { delete arg3; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_add_column(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 4) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TreeNodeView, 0); _v = SWIG_CheckState(res);
    if (_v) { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { {
            int res = SWIG_AsVal_int(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) {
            return _wrap_TreeNodeView_add_column__SWIG_2(self, args);}  }  }  }  }  if (argc == 5) { int _v; void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TreeNodeView, 0); _v = SWIG_CheckState(res); if (_v) { {
        int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { {
            int res = SWIG_AsVal_int(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
              int res = SWIG_AsVal_bool(argv[4], NULL); _v = SWIG_CheckState(res); }  if (_v) {
              return _wrap_TreeNodeView_add_column__SWIG_1(self, args);}  }  }  }  }  }  if (argc == 6) { int _v;
    void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_mforms__TreeNodeView, 0); _v = SWIG_CheckState(res);
    if (_v) { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) {
        int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { {
            int res = SWIG_AsVal_int(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
              int res = SWIG_AsVal_bool(argv[4], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
                int res = SWIG_AsVal_bool(argv[5], NULL); _v = SWIG_CheckState(res); }  if (_v) {
                return _wrap_TreeNodeView_add_column__SWIG_0(self, args);}  }  }  }  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'TreeNodeView_add_column'.\n"
  "  Possible C/C++ prototypes are:\n"
  "    mforms::TreeNodeView::add_column(mforms::TreeColumnType,std::string const &,int,bool,bool)\n"
  "    mforms::TreeNodeView::add_column(mforms::TreeColumnType,std::string const &,int,bool)\n"
  "    mforms::TreeNodeView::add_column(mforms::TreeColumnType,std::string const &,int)\n"); return 0; }
SWIGINTERN PyObject *_wrap_TreeNodeView_end_columns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_end_columns",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_end_columns" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); (arg1)->end_columns(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_get_column_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::TreeColumnType result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeView_get_column_type",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_get_column_type" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeView_get_column_type" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (mforms::TreeColumnType)(arg1)->get_column_type(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_clear" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_root_node(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::TreeNodeRef result; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_root_node",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_root_node" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); result = (arg1)->root_node(); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_add_node(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  mforms::TreeNodeRef result; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_add_node",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_add_node" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); result = (arg1)->add_node(); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_set_selection_mode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; mforms::TreeSelectionMode arg2 ;
  void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeView_set_selection_mode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_set_selection_mode" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeView_set_selection_mode" "', argument " "2"" of type '" "mforms::TreeSelectionMode""'"); }
    arg2 = static_cast< mforms::TreeSelectionMode >(val2); (arg1)->set_selection_mode(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_get_selection_mode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; mforms::TreeSelectionMode result;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_get_selection_mode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_get_selection_mode" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); result = (mforms::TreeSelectionMode)(arg1)->get_selection_mode();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_get_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  SwigValueWrapper< std::list< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > > > result;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_get_selection",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_get_selection" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); result = (arg1)->get_selection(); { resultobj = PyList_New(0);
    for (std::list<mforms::TreeNodeRef>::const_iterator iter = (&result)->begin(); iter != (&result)->end(); ++iter) {
      PyObject *obj = SWIG_NewPointerObj((new mforms::TreeNodeRef(*iter)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
      PyList_Append(resultobj, obj); Py_DECREF(obj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_get_selected_node(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; mforms::TreeNodeRef result;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_get_selected_node",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_get_selected_node" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); result = (arg1)->get_selected_node(); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_get_selected_row(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; int result; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_get_selected_row",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_get_selected_row" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); result = (int)(arg1)->get_selected_row();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_clear_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_clear_selection",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_clear_selection" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); (arg1)->clear_selection(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_select_node(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; mforms::TreeNodeRef arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeView_select_node",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_select_node" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); { if (obj1 == Py_None) arg2 = mforms::TreeNodeRef(); else {
      void *argp; int r = SWIG_ConvertPtr(obj1, &argp, SWIGTYPE_p_mforms__TreeNodeRef,  0  | 0); if (!SWIG_IsOK(r)) {
        SWIG_exception_fail(SWIG_ArgError(r), "in method '" "TreeNodeView_select_node" "', argument of type '" "mforms::TreeNodeRef""'"); }
       if (!argp) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNodeView_select_node" "', argument " "2"" of type '" "mforms::TreeNodeRef""'"); }
       else { mforms::TreeNodeRef * temp = reinterpret_cast< mforms::TreeNodeRef * >(argp); arg2 = *temp;
        if (SWIG_IsNewObj(r)) delete temp; }  }  }  (arg1)->select_node(arg2); resultobj = SWIG_Py_Void(); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_set_node_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; mforms::TreeNodeRef arg2 ; bool arg3 ;
  void *argp1 = 0 ; int res1 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNodeView_set_node_selected",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_set_node_selected" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); { if (obj1 == Py_None) arg2 = mforms::TreeNodeRef(); else {
      void *argp; int r = SWIG_ConvertPtr(obj1, &argp, SWIGTYPE_p_mforms__TreeNodeRef,  0  | 0); if (!SWIG_IsOK(r)) {
        SWIG_exception_fail(SWIG_ArgError(r), "in method '" "TreeNodeView_select_node" "', argument of type '" "mforms::TreeNodeRef""'"); }
       if (!argp) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNodeView_select_node" "', argument " "2"" of type '" "mforms::TreeNodeRef""'"); }
       else { mforms::TreeNodeRef * temp = reinterpret_cast< mforms::TreeNodeRef * >(argp); arg2 = *temp;
        if (SWIG_IsNewObj(r)) delete temp; }  }  }  ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeNodeView_set_node_selected" "', argument " "3"" of type '" "bool""'"); }
    arg3 = static_cast< bool >(val3); (arg1)->set_node_selected(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_row_for_node(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; mforms::TreeNodeRef arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeView_row_for_node",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_row_for_node" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); { if (obj1 == Py_None) arg2 = mforms::TreeNodeRef(); else {
      void *argp; int r = SWIG_ConvertPtr(obj1, &argp, SWIGTYPE_p_mforms__TreeNodeRef,  0  | 0); if (!SWIG_IsOK(r)) {
        SWIG_exception_fail(SWIG_ArgError(r), "in method '" "TreeNodeView_select_node" "', argument of type '" "mforms::TreeNodeRef""'"); }
       if (!argp) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNodeView_select_node" "', argument " "2"" of type '" "mforms::TreeNodeRef""'"); }
       else { mforms::TreeNodeRef * temp = reinterpret_cast< mforms::TreeNodeRef * >(argp); arg2 = *temp;
        if (SWIG_IsNewObj(r)) delete temp; }  }  }  result = (int)(arg1)->row_for_node(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_node_at_row(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ;
  int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::TreeNodeRef result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeView_node_at_row",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_node_at_row" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeView_node_at_row" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); result = (arg1)->node_at_row(arg2); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_node_with_tag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; mforms::TreeNodeRef result;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeView_node_with_tag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_node_with_tag" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (arg1)->node_with_tag((std::string const &)*arg2); { if (result)
    resultobj = SWIG_NewPointerObj((new mforms::TreeNodeRef(result)), SWIGTYPE_p_mforms__TreeNodeRef, SWIG_POINTER_OWN |  0 );
    else { resultobj = Py_None; Py_INCREF(resultobj); }  }  { delete arg2; }  return resultobj; fail: { delete arg2; } 
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_set_row_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ;
  int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeView_set_row_height",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_set_row_height" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeView_set_row_height" "', argument " "2"" of type '" "int""'"); }
    arg2 = static_cast< int >(val2); (arg1)->set_row_height(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_set_allow_sorting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; bool arg2 ; void *argp1 = 0 ;
  int res1 = 0 ; bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeView_set_allow_sorting",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_set_allow_sorting" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeNodeView_set_allow_sorting" "', argument " "2"" of type '" "bool""'"); }
    arg2 = static_cast< bool >(val2); (arg1)->set_allow_sorting(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_freeze_refresh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_freeze_refresh",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_freeze_refresh" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); (arg1)->freeze_refresh(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_thaw_refresh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_thaw_refresh",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_thaw_refresh" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); (arg1)->thaw_refresh(); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_set_context_menu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; mforms::Menu *arg2 = (mforms::Menu *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeView_set_context_menu",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_set_context_menu" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_mforms__Menu, 0 |  0 ); if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeNodeView_set_context_menu" "', argument " "2"" of type '" "mforms::Menu *""'");  }
   arg2 = reinterpret_cast< mforms::Menu * >(argp2); (arg1)->set_context_menu(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_get_context_menu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; mforms::Menu *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_get_context_menu",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_get_context_menu" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); result = (mforms::Menu *)(arg1)->get_context_menu();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__Menu, 0 |  0 ); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_count",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_count" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); result = (int)(arg1)->count();
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_add_activated_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeView_add_activated_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_add_activated_callback" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); arg2 = obj1; mforms_TreeNodeView_add_activated_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_call_activated_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; mforms::TreeNodeRef arg2 ; int arg3 ;
  void *argp1 = 0 ; int res1 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:TreeNodeView_call_activated_callback",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_call_activated_callback" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); { if (obj1 == Py_None) arg2 = mforms::TreeNodeRef(); else {
      void *argp; int r = SWIG_ConvertPtr(obj1, &argp, SWIGTYPE_p_mforms__TreeNodeRef,  0  | 0); if (!SWIG_IsOK(r)) {
        SWIG_exception_fail(SWIG_ArgError(r), "in method '" "TreeNodeView_select_node" "', argument of type '" "mforms::TreeNodeRef""'"); }
       if (!argp) {
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeNodeView_select_node" "', argument " "2"" of type '" "mforms::TreeNodeRef""'"); }
       else { mforms::TreeNodeRef * temp = reinterpret_cast< mforms::TreeNodeRef * >(argp); arg2 = *temp;
        if (SWIG_IsNewObj(r)) delete temp; }  }  }  ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeNodeView_call_activated_callback" "', argument " "3"" of type '" "int""'"); }
    arg3 = static_cast< int >(val3); mforms_TreeNodeView_call_activated_callback(arg1,arg2,arg3); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_add_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeView_add_changed_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_add_changed_callback" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); arg2 = obj1; mforms_TreeNodeView_add_changed_callback(arg1,arg2);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_call_changed_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; if (!PyArg_ParseTuple(args,(char *)"O:TreeNodeView_call_changed_callback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_call_changed_callback" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); mforms_TreeNodeView_call_changed_callback(arg1);
  resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_TreeNodeView_set_cell_edited_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0; mforms::TreeNodeView *arg1 = (mforms::TreeNodeView *) 0 ; PyObject *arg2 = (PyObject *) 0 ;
  void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:TreeNodeView_set_cell_edited_callback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__TreeNodeView, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeNodeView_set_cell_edited_callback" "', argument " "1"" of type '" "mforms::TreeNodeView *""'");  }
   arg1 = reinterpret_cast< mforms::TreeNodeView * >(argp1); arg2 = obj1;
  mforms_TreeNodeView_set_cell_edited_callback(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *TreeNodeView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__TreeNodeView, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_Color_red_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = (base::Color *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Color_red_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__Color, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Color_red_set" "', argument " "1"" of type '" "base::Color *""'");  }
   arg1 = reinterpret_cast< base::Color * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Color_red_set" "', argument " "2"" of type '" "double""'"); }  
  arg2 = static_cast< double >(val2); if (arg1) (arg1)->red = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Color_red_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = (base::Color *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result;
  if (!PyArg_ParseTuple(args,(char *)"O:Color_red_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__Color, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Color_red_get" "', argument " "1"" of type '" "base::Color *""'");  }
   arg1 = reinterpret_cast< base::Color * >(argp1); result = (double) ((arg1)->red);
  resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Color_green_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = (base::Color *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Color_green_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__Color, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Color_green_set" "', argument " "1"" of type '" "base::Color *""'");  }
   arg1 = reinterpret_cast< base::Color * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Color_green_set" "', argument " "2"" of type '" "double""'"); }  
  arg2 = static_cast< double >(val2); if (arg1) (arg1)->green = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Color_green_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = (base::Color *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result;
  if (!PyArg_ParseTuple(args,(char *)"O:Color_green_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__Color, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Color_green_get" "', argument " "1"" of type '" "base::Color *""'");  }
   arg1 = reinterpret_cast< base::Color * >(argp1); result = (double) ((arg1)->green);
  resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Color_blue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = (base::Color *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Color_blue_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__Color, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Color_blue_set" "', argument " "1"" of type '" "base::Color *""'");  }
   arg1 = reinterpret_cast< base::Color * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Color_blue_set" "', argument " "2"" of type '" "double""'"); }  
  arg2 = static_cast< double >(val2); if (arg1) (arg1)->blue = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Color_blue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = (base::Color *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result;
  if (!PyArg_ParseTuple(args,(char *)"O:Color_blue_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__Color, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Color_blue_get" "', argument " "1"" of type '" "base::Color *""'");  }
   arg1 = reinterpret_cast< base::Color * >(argp1); result = (double) ((arg1)->blue);
  resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Color_alpha_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = (base::Color *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:Color_alpha_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__Color, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Color_alpha_set" "', argument " "1"" of type '" "base::Color *""'");  }
   arg1 = reinterpret_cast< base::Color * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Color_alpha_set" "', argument " "2"" of type '" "double""'"); }  
  arg2 = static_cast< double >(val2); if (arg1) (arg1)->alpha = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_Color_alpha_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = (base::Color *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result;
  if (!PyArg_ParseTuple(args,(char *)"O:Color_alpha_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__Color, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Color_alpha_get" "', argument " "1"" of type '" "base::Color *""'");  }
   arg1 = reinterpret_cast< base::Color * >(argp1); result = (double) ((arg1)->alpha);
  resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_Color")) SWIG_fail;
  result = (base::Color *)new base::Color();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_base__Color, SWIG_POINTER_NEW |  0 ); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  double arg1 ; double arg2 ; double arg3 ; double arg4 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ;
  double val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; base::Color *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_Color",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Color" "', argument " "1"" of type '" "double""'"); }  
  arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Color" "', argument " "2"" of type '" "double""'"); }  
  arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Color" "', argument " "3"" of type '" "double""'"); }  
  arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Color" "', argument " "4"" of type '" "double""'"); }  
  arg4 = static_cast< double >(val4); result = (base::Color *)new base::Color(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_base__Color, SWIG_POINTER_NEW |  0 ); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Color__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  double arg1 ; double arg2 ; double arg3 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ;
  int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; base::Color *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_Color",&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Color" "', argument " "1"" of type '" "double""'"); }  
  arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Color" "', argument " "2"" of type '" "double""'"); }  
  arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Color" "', argument " "3"" of type '" "double""'"); }  
  arg3 = static_cast< double >(val3); result = (base::Color *)new base::Color(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_base__Color, SWIG_POINTER_NEW |  0 ); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Color__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::HSVColor *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; base::Color *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_Color",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_base__HSVColor,  0  | 0); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Color" "', argument " "1"" of type '" "base::HSVColor const &""'");  }
   if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Color" "', argument " "1"" of type '" "base::HSVColor const &""'"); }
   arg1 = reinterpret_cast< base::HSVColor * >(argp1); result = (base::Color *)new base::Color((base::HSVColor const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_base__Color, SWIG_POINTER_NEW |  0 ); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_Color(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_Color__SWIG_0(self, args);}  if (argc == 1) { int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_base__HSVColor, 0); _v = SWIG_CheckState(res); if (_v) {
      return _wrap_new_Color__SWIG_3(self, args);}  }  if (argc == 3) { int _v; { int res = SWIG_AsVal_double(argv[0], NULL);
      _v = SWIG_CheckState(res); }  if (_v) { { int res = SWIG_AsVal_double(argv[1], NULL); _v = SWIG_CheckState(res); } 
      if (_v) { { int res = SWIG_AsVal_double(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_new_Color__SWIG_2(self, args);}  }  }  }  if (argc == 4) { int _v; {
      int res = SWIG_AsVal_double(argv[0], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
        int res = SWIG_AsVal_double(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
          int res = SWIG_AsVal_double(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
            int res = SWIG_AsVal_double(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) {
            return _wrap_new_Color__SWIG_1(self, args);}  }  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Color'.\n"
  "  Possible C/C++ prototypes are:\n" "    base::Color::Color()\n" "    base::Color::Color(double,double,double,double)\n"
  "    base::Color::Color(double,double,double)\n" "    base::Color::Color(base::HSVColor const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_Color___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = (base::Color *) 0 ; base::Color *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ;
  int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"OO:Color___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__Color, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Color___ne__" "', argument " "1"" of type '" "base::Color *""'");  }
   arg1 = reinterpret_cast< base::Color * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_base__Color,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Color___ne__" "', argument " "2"" of type '" "base::Color const &""'");  }
   if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Color___ne__" "', argument " "2"" of type '" "base::Color const &""'"); }
   arg2 = reinterpret_cast< base::Color * >(argp2); result = (bool)(arg1)->operator !=((base::Color const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Color_to_html(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = (base::Color *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; std::string result;
  if (!PyArg_ParseTuple(args,(char *)"O:Color_to_html",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__Color, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Color_to_html" "', argument " "1"" of type '" "base::Color const *""'");  }
   arg1 = reinterpret_cast< base::Color * >(argp1); result = ((base::Color const *)arg1)->to_html(); {
    resultobj = PyUnicode_DecodeUTF8((&result)->data(), (&result)->size(), NULL); }  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Color_is_valid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = (base::Color *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result;
  if (!PyArg_ParseTuple(args,(char *)"O:Color_is_valid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__Color, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Color_is_valid" "', argument " "1"" of type '" "base::Color const *""'");  }
   arg1 = reinterpret_cast< base::Color * >(argp1); result = (bool)((base::Color const *)arg1)->is_valid();
  resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Color_parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  std::string *arg1 = 0 ; PyObject * obj0 = 0 ; base::Color result;
  if (!PyArg_ParseTuple(args,(char *)"O:Color_parse",&obj0)) SWIG_fail; { if (PyUnicode_Check(obj0)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj0); arg1 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj0)) arg1 = new std::string(PyString_AsString(obj0)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = base::Color::parse((std::string const &)*arg1);
  resultobj = SWIG_NewPointerObj((new base::Color(static_cast< const base::Color& >(result))), SWIGTYPE_p_base__Color, SWIG_POINTER_OWN |  0 );
  { delete arg1; }  return resultobj; fail: { delete arg1; }  return NULL; }
SWIGINTERN PyObject *_wrap_Color_Black(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color result; if (!PyArg_ParseTuple(args,(char *)":Color_Black")) SWIG_fail; result = base::Color::Black();
  resultobj = SWIG_NewPointerObj((new base::Color(static_cast< const base::Color& >(result))), SWIGTYPE_p_base__Color, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Color_White(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color result; if (!PyArg_ParseTuple(args,(char *)":Color_White")) SWIG_fail; result = base::Color::White();
  resultobj = SWIG_NewPointerObj((new base::Color(static_cast< const base::Color& >(result))), SWIGTYPE_p_base__Color, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_Color_Invalid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color result; if (!PyArg_ParseTuple(args,(char *)":Color_Invalid")) SWIG_fail; result = base::Color::Invalid();
  resultobj = SWIG_NewPointerObj((new base::Color(static_cast< const base::Color& >(result))), SWIGTYPE_p_base__Color, SWIG_POINTER_OWN |  0 );
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_Color(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = (base::Color *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_Color",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__Color, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Color" "', argument " "1"" of type '" "base::Color *""'");  }
   arg1 = reinterpret_cast< base::Color * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *Color_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_base__Color, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_HSVColor_h_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::HSVColor *arg1 = (base::HSVColor *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:HSVColor_h_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__HSVColor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HSVColor_h_set" "', argument " "1"" of type '" "base::HSVColor *""'");  }
   arg1 = reinterpret_cast< base::HSVColor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HSVColor_h_set" "', argument " "2"" of type '" "int""'"); }  
  arg2 = static_cast< int >(val2); if (arg1) (arg1)->h = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_HSVColor_h_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::HSVColor *arg1 = (base::HSVColor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result;
  if (!PyArg_ParseTuple(args,(char *)"O:HSVColor_h_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__HSVColor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HSVColor_h_get" "', argument " "1"" of type '" "base::HSVColor *""'");  }
   arg1 = reinterpret_cast< base::HSVColor * >(argp1); result = (int) ((arg1)->h);
  resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_HSVColor_s_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::HSVColor *arg1 = (base::HSVColor *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:HSVColor_s_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__HSVColor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HSVColor_s_set" "', argument " "1"" of type '" "base::HSVColor *""'");  }
   arg1 = reinterpret_cast< base::HSVColor * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HSVColor_s_set" "', argument " "2"" of type '" "double""'"); }  
  arg2 = static_cast< double >(val2); if (arg1) (arg1)->s = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_HSVColor_s_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::HSVColor *arg1 = (base::HSVColor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result;
  if (!PyArg_ParseTuple(args,(char *)"O:HSVColor_s_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__HSVColor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HSVColor_s_get" "', argument " "1"" of type '" "base::HSVColor *""'");  }
   arg1 = reinterpret_cast< base::HSVColor * >(argp1); result = (double) ((arg1)->s);
  resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_HSVColor_v_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::HSVColor *arg1 = (base::HSVColor *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:HSVColor_v_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__HSVColor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HSVColor_v_set" "', argument " "1"" of type '" "base::HSVColor *""'");  }
   arg1 = reinterpret_cast< base::HSVColor * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HSVColor_v_set" "', argument " "2"" of type '" "double""'"); }  
  arg2 = static_cast< double >(val2); if (arg1) (arg1)->v = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_HSVColor_v_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::HSVColor *arg1 = (base::HSVColor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result;
  if (!PyArg_ParseTuple(args,(char *)"O:HSVColor_v_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__HSVColor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HSVColor_v_get" "', argument " "1"" of type '" "base::HSVColor *""'");  }
   arg1 = reinterpret_cast< base::HSVColor * >(argp1); result = (double) ((arg1)->v);
  resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_HSVColor_a_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::HSVColor *arg1 = (base::HSVColor *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:HSVColor_a_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__HSVColor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HSVColor_a_set" "', argument " "1"" of type '" "base::HSVColor *""'");  }
   arg1 = reinterpret_cast< base::HSVColor * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HSVColor_a_set" "', argument " "2"" of type '" "double""'"); }  
  arg2 = static_cast< double >(val2); if (arg1) (arg1)->a = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *_wrap_HSVColor_a_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::HSVColor *arg1 = (base::HSVColor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result;
  if (!PyArg_ParseTuple(args,(char *)"O:HSVColor_a_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__HSVColor, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HSVColor_a_get" "', argument " "1"" of type '" "base::HSVColor *""'");  }
   arg1 = reinterpret_cast< base::HSVColor * >(argp1); result = (double) ((arg1)->a);
  resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_HSVColor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::HSVColor *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_HSVColor")) SWIG_fail;
  result = (base::HSVColor *)new base::HSVColor();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_base__HSVColor, SWIG_POINTER_NEW |  0 ); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_HSVColor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  int arg1 ; double arg2 ; double arg3 ; double arg4 ; int val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ;
  int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ; base::HSVColor *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_HSVColor",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HSVColor" "', argument " "1"" of type '" "int""'"); }  
  arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HSVColor" "', argument " "2"" of type '" "double""'"); }  
  arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_HSVColor" "', argument " "3"" of type '" "double""'"); }  
  arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double(obj3, &val4); if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HSVColor" "', argument " "4"" of type '" "double""'"); }  
  arg4 = static_cast< double >(val4); result = (base::HSVColor *)new base::HSVColor(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_base__HSVColor, SWIG_POINTER_NEW |  0 ); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_HSVColor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  int arg1 ; double arg2 ; double arg3 ; int val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ;
  int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; base::HSVColor *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_HSVColor",&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HSVColor" "', argument " "1"" of type '" "int""'"); }  
  arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HSVColor" "', argument " "2"" of type '" "double""'"); }  
  arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_HSVColor" "', argument " "3"" of type '" "double""'"); }  
  arg3 = static_cast< double >(val3); result = (base::HSVColor *)new base::HSVColor(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_base__HSVColor, SWIG_POINTER_NEW |  0 ); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_HSVColor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::Color *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; base::HSVColor *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:new_HSVColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_base__Color,  0  | 0); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HSVColor" "', argument " "1"" of type '" "base::Color const &""'");  }
   if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HSVColor" "', argument " "1"" of type '" "base::Color const &""'"); }
   arg1 = reinterpret_cast< base::Color * >(argp1); result = (base::HSVColor *)new base::HSVColor((base::Color const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_base__HSVColor, SWIG_POINTER_NEW |  0 ); return resultobj;
  fail: return NULL; }
SWIGINTERN PyObject *_wrap_new_HSVColor(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii;
  if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0;
  for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); }  if (argc == 0) {
    return _wrap_new_HSVColor__SWIG_0(self, args);}  if (argc == 1) { int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_base__Color, 0); _v = SWIG_CheckState(res); if (_v) {
      return _wrap_new_HSVColor__SWIG_3(self, args);}  }  if (argc == 3) { int _v; { int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res); }  if (_v) { { int res = SWIG_AsVal_double(argv[1], NULL); _v = SWIG_CheckState(res); } 
      if (_v) { { int res = SWIG_AsVal_double(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) {
          return _wrap_new_HSVColor__SWIG_2(self, args);}  }  }  }  if (argc == 4) { int _v; {
      int res = SWIG_AsVal_int(argv[0], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
        int res = SWIG_AsVal_double(argv[1], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
          int res = SWIG_AsVal_double(argv[2], NULL); _v = SWIG_CheckState(res); }  if (_v) { {
            int res = SWIG_AsVal_double(argv[3], NULL); _v = SWIG_CheckState(res); }  if (_v) {
            return _wrap_new_HSVColor__SWIG_1(self, args);}  }  }  }  }  fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_HSVColor'.\n"
  "  Possible C/C++ prototypes are:\n" "    base::HSVColor::HSVColor()\n"
  "    base::HSVColor::HSVColor(int,double,double,double)\n" "    base::HSVColor::HSVColor(int,double,double)\n"
  "    base::HSVColor::HSVColor(base::Color const &)\n"); return 0; }
SWIGINTERN PyObject *_wrap_delete_HSVColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  base::HSVColor *arg1 = (base::HSVColor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_HSVColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_base__HSVColor, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HSVColor" "', argument " "1"" of type '" "base::HSVColor *""'");  }
   arg1 = reinterpret_cast< base::HSVColor * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *HSVColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_base__HSVColor, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_fromgrt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  PyObject *arg1 = (PyObject *) 0 ; PyObject * obj0 = 0 ; PyObject *result = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:fromgrt",&obj0)) SWIG_fail; arg1 = obj0; result = (PyObject *)fromgrt(arg1);
  resultobj = result; return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_togrt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::Object *arg1 = (mforms::Object *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ; PyObject *result = 0 ; if (!PyArg_ParseTuple(args,(char *)"OO:togrt",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__Object, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "togrt" "', argument " "1"" of type '" "mforms::Object *""'");  } 
  arg1 = reinterpret_cast< mforms::Object * >(argp1); { if (PyUnicode_Check(obj1)) {
      PyObject *tmp = PyUnicode_AsUTF8String(obj1); arg2 = new std::string(PyString_AsString(tmp)); Py_DECREF(tmp); } 
    else if (PyString_Check(obj1)) arg2 = new std::string(PyString_AsString(obj1)); else {
      PyErr_SetString(PyExc_TypeError, "not a string"); SWIG_fail; }  } 
  result = (PyObject *)togrt(arg1,(std::string const &)*arg2); resultobj = result; { delete arg2; }  return resultobj; fail: {
    delete arg2; }  return NULL; }
SWIGINTERN PyObject *_wrap_new_PyDrawBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::PyDrawBox *result = 0 ; if (!PyArg_ParseTuple(args,(char *)":new_PyDrawBox")) SWIG_fail;
  result = (mforms::PyDrawBox *)new mforms::PyDrawBox();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mforms__PyDrawBox, SWIG_POINTER_NEW |  0 );
  result->retain(); return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_PyDrawBox_set_instance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::PyDrawBox *arg1 = (mforms::PyDrawBox *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ;
  PyObject * obj0 = 0 ; PyObject * obj1 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"OO:PyDrawBox_set_instance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__PyDrawBox, 0 |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDrawBox_set_instance" "', argument " "1"" of type '" "mforms::PyDrawBox *""'");  }
   arg1 = reinterpret_cast< mforms::PyDrawBox * >(argp1); arg2 = obj1; (arg1)->set_instance(arg2); resultobj = SWIG_Py_Void();
  return resultobj; fail: return NULL; }
SWIGINTERN PyObject *_wrap_delete_PyDrawBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;
  mforms::PyDrawBox *arg1 = (mforms::PyDrawBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ;
  if (!PyArg_ParseTuple(args,(char *)"O:delete_PyDrawBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_mforms__PyDrawBox, SWIG_POINTER_DISOWN |  0 ); if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PyDrawBox" "', argument " "1"" of type '" "mforms::PyDrawBox *""'");  }
   arg1 = reinterpret_cast< mforms::PyDrawBox * >(argp1); arg1->release(); resultobj = SWIG_Py_Void(); return resultobj; fail:
  return NULL; }
SWIGINTERN PyObject *PyDrawBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_mforms__PyDrawBox, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

static PyMethodDef SwigMethods[] = {
	 { (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL},
	 { (char *)"delete_SwigPyIterator", _wrap_delete_SwigPyIterator, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator_value", _wrap_SwigPyIterator_value, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator_incr", _wrap_SwigPyIterator_incr, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator_decr", _wrap_SwigPyIterator_decr, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator_distance", _wrap_SwigPyIterator_distance, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator_equal", _wrap_SwigPyIterator_equal, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator_copy", _wrap_SwigPyIterator_copy, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator_next", _wrap_SwigPyIterator_next, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator___next__", _wrap_SwigPyIterator___next__, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator_previous", _wrap_SwigPyIterator_previous, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator_advance", _wrap_SwigPyIterator_advance, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator___eq__", _wrap_SwigPyIterator___eq__, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator___ne__", _wrap_SwigPyIterator___ne__, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator___iadd__", _wrap_SwigPyIterator___iadd__, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator___isub__", _wrap_SwigPyIterator___isub__, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator___add__", _wrap_SwigPyIterator___add__, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator___sub__", _wrap_SwigPyIterator___sub__, METH_VARARGS, NULL},
	 { (char *)"SwigPyIterator_swigregister", SwigPyIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"doubleList_iterator", _wrap_doubleList_iterator, METH_VARARGS, NULL},
	 { (char *)"doubleList___nonzero__", _wrap_doubleList___nonzero__, METH_VARARGS, NULL},
	 { (char *)"doubleList___bool__", _wrap_doubleList___bool__, METH_VARARGS, NULL},
	 { (char *)"doubleList___len__", _wrap_doubleList___len__, METH_VARARGS, NULL},
	 { (char *)"doubleList_pop", _wrap_doubleList_pop, METH_VARARGS, NULL},
	 { (char *)"doubleList___getslice__", _wrap_doubleList___getslice__, METH_VARARGS, NULL},
	 { (char *)"doubleList___setslice__", _wrap_doubleList___setslice__, METH_VARARGS, NULL},
	 { (char *)"doubleList___delslice__", _wrap_doubleList___delslice__, METH_VARARGS, NULL},
	 { (char *)"doubleList___delitem__", _wrap_doubleList___delitem__, METH_VARARGS, NULL},
	 { (char *)"doubleList___getitem__", _wrap_doubleList___getitem__, METH_VARARGS, NULL},
	 { (char *)"doubleList___setitem__", _wrap_doubleList___setitem__, METH_VARARGS, NULL},
	 { (char *)"doubleList_append", _wrap_doubleList_append, METH_VARARGS, NULL},
	 { (char *)"doubleList_empty", _wrap_doubleList_empty, METH_VARARGS, NULL},
	 { (char *)"doubleList_size", _wrap_doubleList_size, METH_VARARGS, NULL},
	 { (char *)"doubleList_clear", _wrap_doubleList_clear, METH_VARARGS, NULL},
	 { (char *)"doubleList_swap", _wrap_doubleList_swap, METH_VARARGS, NULL},
	 { (char *)"doubleList_get_allocator", _wrap_doubleList_get_allocator, METH_VARARGS, NULL},
	 { (char *)"doubleList_begin", _wrap_doubleList_begin, METH_VARARGS, NULL},
	 { (char *)"doubleList_end", _wrap_doubleList_end, METH_VARARGS, NULL},
	 { (char *)"doubleList_rbegin", _wrap_doubleList_rbegin, METH_VARARGS, NULL},
	 { (char *)"doubleList_rend", _wrap_doubleList_rend, METH_VARARGS, NULL},
	 { (char *)"doubleList_pop_back", _wrap_doubleList_pop_back, METH_VARARGS, NULL},
	 { (char *)"doubleList_erase", _wrap_doubleList_erase, METH_VARARGS, NULL},
	 { (char *)"new_doubleList", _wrap_new_doubleList, METH_VARARGS, NULL},
	 { (char *)"doubleList_push_back", _wrap_doubleList_push_back, METH_VARARGS, NULL},
	 { (char *)"doubleList_front", _wrap_doubleList_front, METH_VARARGS, NULL},
	 { (char *)"doubleList_back", _wrap_doubleList_back, METH_VARARGS, NULL},
	 { (char *)"doubleList_assign", _wrap_doubleList_assign, METH_VARARGS, NULL},
	 { (char *)"doubleList_resize", _wrap_doubleList_resize, METH_VARARGS, NULL},
	 { (char *)"doubleList_insert", _wrap_doubleList_insert, METH_VARARGS, NULL},
	 { (char *)"doubleList_pop_front", _wrap_doubleList_pop_front, METH_VARARGS, NULL},
	 { (char *)"doubleList_push_front", _wrap_doubleList_push_front, METH_VARARGS, NULL},
	 { (char *)"doubleList_reverse", _wrap_doubleList_reverse, METH_VARARGS, NULL},
	 { (char *)"delete_doubleList", _wrap_delete_doubleList, METH_VARARGS, NULL},
	 { (char *)"doubleList_swigregister", doubleList_swigregister, METH_VARARGS, NULL},
	 { (char *)"Object_retain", _wrap_Object_retain, METH_VARARGS, NULL},
	 { (char *)"Object_release", _wrap_Object_release, METH_VARARGS, NULL},
	 { (char *)"Object_set_managed", _wrap_Object_set_managed, METH_VARARGS, NULL},
	 { (char *)"Object_set_release_on_add", _wrap_Object_set_release_on_add, METH_VARARGS, NULL},
	 { (char *)"Object_is_managed", _wrap_Object_is_managed, METH_VARARGS, NULL},
	 { (char *)"Object_release_on_add", _wrap_Object_release_on_add, METH_VARARGS, NULL},
	 { (char *)"Object_retain_count", _wrap_Object_retain_count, METH_VARARGS, NULL},
	 { (char *)"Object_set_destroying", _wrap_Object_set_destroying, METH_VARARGS, NULL},
	 { (char *)"Object_is_destroying", _wrap_Object_is_destroying, METH_VARARGS, NULL},
	 { (char *)"new_Object", _wrap_new_Object, METH_VARARGS, NULL},
	 { (char *)"delete_Object", _wrap_delete_Object, METH_VARARGS, NULL},
	 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_TextAttributes", _wrap_new_TextAttributes, METH_VARARGS, NULL},
	 { (char *)"delete_TextAttributes", _wrap_delete_TextAttributes, METH_VARARGS, NULL},
	 { (char *)"TextAttributes_swigregister", TextAttributes_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_View", _wrap_delete_View, METH_VARARGS, NULL},
	 { (char *)"View_find_subview", _wrap_View_find_subview, METH_VARARGS, NULL},
	 { (char *)"View_contains_subview", _wrap_View_contains_subview, METH_VARARGS, NULL},
	 { (char *)"View_clear_subviews", _wrap_View_clear_subviews, METH_VARARGS, NULL},
	 { (char *)"View_get_resize_mode", _wrap_View_get_resize_mode, METH_VARARGS, NULL},
	 { (char *)"View_set_resize_mode", _wrap_View_set_resize_mode, METH_VARARGS, NULL},
	 { (char *)"View_signal_resized", _wrap_View_signal_resized, METH_VARARGS, NULL},
	 { (char *)"View_set_name", _wrap_View_set_name, METH_VARARGS, NULL},
	 { (char *)"View_set_tooltip", _wrap_View_set_tooltip, METH_VARARGS, NULL},
	 { (char *)"View_set_font", _wrap_View_set_font, METH_VARARGS, NULL},
	 { (char *)"View_get_name", _wrap_View_get_name, METH_VARARGS, NULL},
	 { (char *)"View_set_parent", _wrap_View_set_parent, METH_VARARGS, NULL},
	 { (char *)"View_get_parent", _wrap_View_get_parent, METH_VARARGS, NULL},
	 { (char *)"View_get_parent_form", _wrap_View_get_parent_form, METH_VARARGS, NULL},
	 { (char *)"View_get_width", _wrap_View_get_width, METH_VARARGS, NULL},
	 { (char *)"View_get_height", _wrap_View_get_height, METH_VARARGS, NULL},
	 { (char *)"View_get_preferred_width", _wrap_View_get_preferred_width, METH_VARARGS, NULL},
	 { (char *)"View_get_preferred_height", _wrap_View_get_preferred_height, METH_VARARGS, NULL},
	 { (char *)"View_get_x", _wrap_View_get_x, METH_VARARGS, NULL},
	 { (char *)"View_get_y", _wrap_View_get_y, METH_VARARGS, NULL},
	 { (char *)"View_set_position", _wrap_View_set_position, METH_VARARGS, NULL},
	 { (char *)"View_set_size", _wrap_View_set_size, METH_VARARGS, NULL},
	 { (char *)"View_client_to_screen", _wrap_View_client_to_screen, METH_VARARGS, NULL},
	 { (char *)"View_show", _wrap_View_show, METH_VARARGS, NULL},
	 { (char *)"View_is_shown", _wrap_View_is_shown, METH_VARARGS, NULL},
	 { (char *)"View_set_enabled", _wrap_View_set_enabled, METH_VARARGS, NULL},
	 { (char *)"View_is_enabled", _wrap_View_is_enabled, METH_VARARGS, NULL},
	 { (char *)"View_set_needs_repaint", _wrap_View_set_needs_repaint, METH_VARARGS, NULL},
	 { (char *)"View_relayout", _wrap_View_relayout, METH_VARARGS, NULL},
	 { (char *)"View_set_layout_dirty", _wrap_View_set_layout_dirty, METH_VARARGS, NULL},
	 { (char *)"View_is_layout_dirty", _wrap_View_is_layout_dirty, METH_VARARGS, NULL},
	 { (char *)"View_suspend_layout", _wrap_View_suspend_layout, METH_VARARGS, NULL},
	 { (char *)"View_resume_layout", _wrap_View_resume_layout, METH_VARARGS, NULL},
	 { (char *)"View_set_front_color", _wrap_View_set_front_color, METH_VARARGS, NULL},
	 { (char *)"View_get_front_color", _wrap_View_get_front_color, METH_VARARGS, NULL},
	 { (char *)"View_set_back_color", _wrap_View_set_back_color, METH_VARARGS, NULL},
	 { (char *)"View_get_back_color", _wrap_View_get_back_color, METH_VARARGS, NULL},
	 { (char *)"View_show_retain_counts", _wrap_View_show_retain_counts, METH_VARARGS, NULL},
	 { (char *)"View_get_string_value", _wrap_View_get_string_value, METH_VARARGS, NULL},
	 { (char *)"View_get_int_value", _wrap_View_get_int_value, METH_VARARGS, NULL},
	 { (char *)"View_get_bool_value", _wrap_View_get_bool_value, METH_VARARGS, NULL},
	 { (char *)"View_flush_events", _wrap_View_flush_events, METH_VARARGS, NULL},
	 { (char *)"View_focus", _wrap_View_focus, METH_VARARGS, NULL},
	 { (char *)"View_swigregister", View_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_Container", _wrap_new_Container, METH_VARARGS, NULL},
	 { (char *)"Container_set_padding", _wrap_Container_set_padding, METH_VARARGS, NULL},
	 { (char *)"Container_set_back_image", _wrap_Container_set_back_image, METH_VARARGS, NULL},
	 { (char *)"delete_Container", _wrap_delete_Container, METH_VARARGS, NULL},
	 { (char *)"Container_swigregister", Container_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_Form", _wrap_new_Form, METH_VARARGS, NULL},
	 { (char *)"delete_Form", _wrap_delete_Form, METH_VARARGS, NULL},
	 { (char *)"Form_main_form", _wrap_Form_main_form, METH_VARARGS, NULL},
	 { (char *)"Form_set_content", _wrap_Form_set_content, METH_VARARGS, NULL},
	 { (char *)"Form_set_title", _wrap_Form_set_title, METH_VARARGS, NULL},
	 { (char *)"Form_show_modal", _wrap_Form_show_modal, METH_VARARGS, NULL},
	 { (char *)"Form_run_modal", _wrap_Form_run_modal, METH_VARARGS, NULL},
	 { (char *)"Form_end_modal", _wrap_Form_end_modal, METH_VARARGS, NULL},
	 { (char *)"Form_close", _wrap_Form_close, METH_VARARGS, NULL},
	 { (char *)"Form_center", _wrap_Form_center, METH_VARARGS, NULL},
	 { (char *)"Form_set_release_on_close", _wrap_Form_set_release_on_close, METH_VARARGS, NULL},
	 { (char *)"Form_was_closed", _wrap_Form_was_closed, METH_VARARGS, NULL},
	 { (char *)"Form_add_closed_callback", _wrap_Form_add_closed_callback, METH_VARARGS, NULL},
	 { (char *)"Form_call_closed_callback", _wrap_Form_call_closed_callback, METH_VARARGS, NULL},
	 { (char *)"Form_swigregister", Form_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_Button", _wrap_new_Button, METH_VARARGS, NULL},
	 { (char *)"Button_enable_internal_padding", _wrap_Button_enable_internal_padding, METH_VARARGS, NULL},
	 { (char *)"Button_set_text", _wrap_Button_set_text, METH_VARARGS, NULL},
	 { (char *)"Button_set_icon", _wrap_Button_set_icon, METH_VARARGS, NULL},
	 { (char *)"Button_add_clicked_callback", _wrap_Button_add_clicked_callback, METH_VARARGS, NULL},
	 { (char *)"Button_call_clicked_callback", _wrap_Button_call_clicked_callback, METH_VARARGS, NULL},
	 { (char *)"delete_Button", _wrap_delete_Button, METH_VARARGS, NULL},
	 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_CheckBox", _wrap_new_CheckBox, METH_VARARGS, NULL},
	 { (char *)"CheckBox_set_active", _wrap_CheckBox_set_active, METH_VARARGS, NULL},
	 { (char *)"CheckBox_get_active", _wrap_CheckBox_get_active, METH_VARARGS, NULL},
	 { (char *)"delete_CheckBox", _wrap_delete_CheckBox, METH_VARARGS, NULL},
	 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_TextEntry", _wrap_new_TextEntry, METH_VARARGS, NULL},
	 { (char *)"TextEntry_set_max_length", _wrap_TextEntry_set_max_length, METH_VARARGS, NULL},
	 { (char *)"TextEntry_set_value", _wrap_TextEntry_set_value, METH_VARARGS, NULL},
	 { (char *)"TextEntry_set_read_only", _wrap_TextEntry_set_read_only, METH_VARARGS, NULL},
	 { (char *)"TextEntry_set_placeholder_text", _wrap_TextEntry_set_placeholder_text, METH_VARARGS, NULL},
	 { (char *)"TextEntry_add_changed_callback", _wrap_TextEntry_add_changed_callback, METH_VARARGS, NULL},
	 { (char *)"TextEntry_call_changed_callback", _wrap_TextEntry_call_changed_callback, METH_VARARGS, NULL},
	 { (char *)"TextEntry_add_action_callback", _wrap_TextEntry_add_action_callback, METH_VARARGS, NULL},
	 { (char *)"delete_TextEntry", _wrap_delete_TextEntry, METH_VARARGS, NULL},
	 { (char *)"TextEntry_swigregister", TextEntry_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_TextBox", _wrap_new_TextBox, METH_VARARGS, NULL},
	 { (char *)"TextBox_set_bordered", _wrap_TextBox_set_bordered, METH_VARARGS, NULL},
	 { (char *)"TextBox_set_monospaced", _wrap_TextBox_set_monospaced, METH_VARARGS, NULL},
	 { (char *)"TextBox_set_read_only", _wrap_TextBox_set_read_only, METH_VARARGS, NULL},
	 { (char *)"TextBox_set_value", _wrap_TextBox_set_value, METH_VARARGS, NULL},
	 { (char *)"TextBox_get_selected_range", _wrap_TextBox_get_selected_range, METH_VARARGS, NULL},
	 { (char *)"TextBox_append_text_and_scroll", _wrap_TextBox_append_text_and_scroll, METH_VARARGS, NULL},
	 { (char *)"TextBox_append_text", _wrap_TextBox_append_text, METH_VARARGS, NULL},
	 { (char *)"TextBox_append_text_with_encoding_and_scroll", _wrap_TextBox_append_text_with_encoding_and_scroll, METH_VARARGS, NULL},
	 { (char *)"TextBox_append_text_with_encoding", _wrap_TextBox_append_text_with_encoding, METH_VARARGS, NULL},
	 { (char *)"TextBox_set_padding", _wrap_TextBox_set_padding, METH_VARARGS, NULL},
	 { (char *)"TextBox_clear", _wrap_TextBox_clear, METH_VARARGS, NULL},
	 { (char *)"TextBox_add_changed_callback", _wrap_TextBox_add_changed_callback, METH_VARARGS, NULL},
	 { (char *)"TextBox_call_changed_callback", _wrap_TextBox_call_changed_callback, METH_VARARGS, NULL},
	 { (char *)"delete_TextBox", _wrap_delete_TextBox, METH_VARARGS, NULL},
	 { (char *)"TextBox_swigregister", TextBox_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_Label", _wrap_new_Label, METH_VARARGS, NULL},
	 { (char *)"Label_set_wrap_text", _wrap_Label_set_wrap_text, METH_VARARGS, NULL},
	 { (char *)"Label_set_text_align", _wrap_Label_set_text_align, METH_VARARGS, NULL},
	 { (char *)"Label_set_text", _wrap_Label_set_text, METH_VARARGS, NULL},
	 { (char *)"Label_set_style", _wrap_Label_set_style, METH_VARARGS, NULL},
	 { (char *)"Label_set_color", _wrap_Label_set_color, METH_VARARGS, NULL},
	 { (char *)"delete_Label", _wrap_delete_Label, METH_VARARGS, NULL},
	 { (char *)"Label_swigregister", Label_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_Selector", _wrap_new_Selector, METH_VARARGS, NULL},
	 { (char *)"Selector_clear", _wrap_Selector_clear, METH_VARARGS, NULL},
	 { (char *)"Selector_add_item", _wrap_Selector_add_item, METH_VARARGS, NULL},
	 { (char *)"Selector_add_items", _wrap_Selector_add_items, METH_VARARGS, NULL},
	 { (char *)"Selector_get_item_title", _wrap_Selector_get_item_title, METH_VARARGS, NULL},
	 { (char *)"Selector_set_selected", _wrap_Selector_set_selected, METH_VARARGS, NULL},
	 { (char *)"Selector_index_of_item_with_title", _wrap_Selector_index_of_item_with_title, METH_VARARGS, NULL},
	 { (char *)"Selector_get_selected_index", _wrap_Selector_get_selected_index, METH_VARARGS, NULL},
	 { (char *)"Selector_set_value", _wrap_Selector_set_value, METH_VARARGS, NULL},
	 { (char *)"Selector_get_item_count", _wrap_Selector_get_item_count, METH_VARARGS, NULL},
	 { (char *)"Selector_add_changed_callback", _wrap_Selector_add_changed_callback, METH_VARARGS, NULL},
	 { (char *)"Selector_call_changed_callback", _wrap_Selector_call_changed_callback, METH_VARARGS, NULL},
	 { (char *)"delete_Selector", _wrap_delete_Selector, METH_VARARGS, NULL},
	 { (char *)"Selector_swigregister", Selector_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_ListBox", _wrap_new_ListBox, METH_VARARGS, NULL},
	 { (char *)"ListBox_clear", _wrap_ListBox_clear, METH_VARARGS, NULL},
	 { (char *)"ListBox_set_heading", _wrap_ListBox_set_heading, METH_VARARGS, NULL},
	 { (char *)"ListBox_add_item", _wrap_ListBox_add_item, METH_VARARGS, NULL},
	 { (char *)"ListBox_add_items", _wrap_ListBox_add_items, METH_VARARGS, NULL},
	 { (char *)"ListBox_set_selected", _wrap_ListBox_set_selected, METH_VARARGS, NULL},
	 { (char *)"ListBox_get_selected_index", _wrap_ListBox_get_selected_index, METH_VARARGS, NULL},
	 { (char *)"ListBox_get_selected_indices", _wrap_ListBox_get_selected_indices, METH_VARARGS, NULL},
	 { (char *)"ListBox_add_changed_callback", _wrap_ListBox_add_changed_callback, METH_VARARGS, NULL},
	 { (char *)"ListBox_call_changed_callback", _wrap_ListBox_call_changed_callback, METH_VARARGS, NULL},
	 { (char *)"delete_ListBox", _wrap_delete_ListBox, METH_VARARGS, NULL},
	 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_TabView", _wrap_new_TabView, METH_VARARGS, NULL},
	 { (char *)"delete_TabView", _wrap_delete_TabView, METH_VARARGS, NULL},
	 { (char *)"TabView_set_active_tab", _wrap_TabView_set_active_tab, METH_VARARGS, NULL},
	 { (char *)"TabView_get_active_tab", _wrap_TabView_get_active_tab, METH_VARARGS, NULL},
	 { (char *)"TabView_add_page", _wrap_TabView_add_page, METH_VARARGS, NULL},
	 { (char *)"TabView_remove_page", _wrap_TabView_remove_page, METH_VARARGS, NULL},
	 { (char *)"TabView_set_tab_title", _wrap_TabView_set_tab_title, METH_VARARGS, NULL},
	 { (char *)"TabView_get_page_index", _wrap_TabView_get_page_index, METH_VARARGS, NULL},
	 { (char *)"TabView_get_page", _wrap_TabView_get_page, METH_VARARGS, NULL},
	 { (char *)"TabView_can_close_tab", _wrap_TabView_can_close_tab, METH_VARARGS, NULL},
	 { (char *)"TabView_add_tab_changed_callback", _wrap_TabView_add_tab_changed_callback, METH_VARARGS, NULL},
	 { (char *)"TabView_call_tab_changed_callback", _wrap_TabView_call_tab_changed_callback, METH_VARARGS, NULL},
	 { (char *)"TabView_add_tab_closed_callback", _wrap_TabView_add_tab_closed_callback, METH_VARARGS, NULL},
	 { (char *)"TabView_call_tab_closed_callback", _wrap_TabView_call_tab_closed_callback, METH_VARARGS, NULL},
	 { (char *)"TabView_swigregister", TabView_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_Box", _wrap_new_Box, METH_VARARGS, NULL},
	 { (char *)"delete_Box", _wrap_delete_Box, METH_VARARGS, NULL},
	 { (char *)"Box_add", _wrap_Box_add, METH_VARARGS, NULL},
	 { (char *)"Box_add_end", _wrap_Box_add_end, METH_VARARGS, NULL},
	 { (char *)"Box_remove", _wrap_Box_remove, METH_VARARGS, NULL},
	 { (char *)"Box_set_homogeneous", _wrap_Box_set_homogeneous, METH_VARARGS, NULL},
	 { (char *)"Box_set_spacing", _wrap_Box_set_spacing, METH_VARARGS, NULL},
	 { (char *)"Box_is_horizontal", _wrap_Box_is_horizontal, METH_VARARGS, NULL},
	 { (char *)"Box_swigregister", Box_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_Panel", _wrap_new_Panel, METH_VARARGS, NULL},
	 { (char *)"delete_Panel", _wrap_delete_Panel, METH_VARARGS, NULL},
	 { (char *)"Panel_set_title", _wrap_Panel_set_title, METH_VARARGS, NULL},
	 { (char *)"Panel_set_back_color", _wrap_Panel_set_back_color, METH_VARARGS, NULL},
	 { (char *)"Panel_set_active", _wrap_Panel_set_active, METH_VARARGS, NULL},
	 { (char *)"Panel_get_active", _wrap_Panel_get_active, METH_VARARGS, NULL},
	 { (char *)"Panel_add", _wrap_Panel_add, METH_VARARGS, NULL},
	 { (char *)"Panel_remove", _wrap_Panel_remove, METH_VARARGS, NULL},
	 { (char *)"Panel_add_toggled_callback", _wrap_Panel_add_toggled_callback, METH_VARARGS, NULL},
	 { (char *)"Panel_call_toggled_callback", _wrap_Panel_call_toggled_callback, METH_VARARGS, NULL},
	 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_ToolBar", _wrap_new_ToolBar, METH_VARARGS, NULL},
	 { (char *)"delete_ToolBar", _wrap_delete_ToolBar, METH_VARARGS, NULL},
	 { (char *)"ToolBar_get_type", _wrap_ToolBar_get_type, METH_VARARGS, NULL},
	 { (char *)"ToolBar_get_items", _wrap_ToolBar_get_items, METH_VARARGS, NULL},
	 { (char *)"ToolBar_find_item", _wrap_ToolBar_find_item, METH_VARARGS, NULL},
	 { (char *)"ToolBar_set_item_enabled", _wrap_ToolBar_set_item_enabled, METH_VARARGS, NULL},
	 { (char *)"ToolBar_set_item_checked", _wrap_ToolBar_set_item_checked, METH_VARARGS, NULL},
	 { (char *)"ToolBar_get_item_checked", _wrap_ToolBar_get_item_checked, METH_VARARGS, NULL},
	 { (char *)"ToolBar_add_item", _wrap_ToolBar_add_item, METH_VARARGS, NULL},
	 { (char *)"ToolBar_insert_item", _wrap_ToolBar_insert_item, METH_VARARGS, NULL},
	 { (char *)"ToolBar_remove_all", _wrap_ToolBar_remove_all, METH_VARARGS, NULL},
	 { (char *)"ToolBar_remove_item", _wrap_ToolBar_remove_item, METH_VARARGS, NULL},
	 { (char *)"ToolBar_validate", _wrap_ToolBar_validate, METH_VARARGS, NULL},
	 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_ToolBarItem", _wrap_new_ToolBarItem, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_get_type", _wrap_ToolBarItem_get_type, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_get_expandable", _wrap_ToolBarItem_get_expandable, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_set_text", _wrap_ToolBarItem_set_text, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_get_text", _wrap_ToolBarItem_get_text, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_set_tooltip", _wrap_ToolBarItem_set_tooltip, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_set_icon", _wrap_ToolBarItem_set_icon, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_set_alt_icon", _wrap_ToolBarItem_set_alt_icon, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_set_enabled", _wrap_ToolBarItem_set_enabled, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_get_enabled", _wrap_ToolBarItem_get_enabled, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_set_checked", _wrap_ToolBarItem_set_checked, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_get_checked", _wrap_ToolBarItem_get_checked, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_signal_activated", _wrap_ToolBarItem_signal_activated, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_set_name", _wrap_ToolBarItem_set_name, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_get_name", _wrap_ToolBarItem_get_name, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_set_selector_items", _wrap_ToolBarItem_set_selector_items, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_set_validator", _wrap_ToolBarItem_set_validator, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_set_search_handler", _wrap_ToolBarItem_set_search_handler, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_callback", _wrap_ToolBarItem_callback, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_validate", _wrap_ToolBarItem_validate, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_search", _wrap_ToolBarItem_search, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_add_activated_callback", _wrap_ToolBarItem_add_activated_callback, METH_VARARGS, NULL},
	 { (char *)"delete_ToolBarItem", _wrap_delete_ToolBarItem, METH_VARARGS, NULL},
	 { (char *)"ToolBarItem_swigregister", ToolBarItem_swigregister, METH_VARARGS, NULL},
	 { (char *)"FileChooser__selector_options_set", _wrap_FileChooser__selector_options_set, METH_VARARGS, NULL},
	 { (char *)"FileChooser__selector_options_get", _wrap_FileChooser__selector_options_get, METH_VARARGS, NULL},
	 { (char *)"FileChooser_split_extensions", _wrap_FileChooser_split_extensions, METH_VARARGS, NULL},
	 { (char *)"new_FileChooser", _wrap_new_FileChooser, METH_VARARGS, NULL},
	 { (char *)"FileChooser_set_title", _wrap_FileChooser_set_title, METH_VARARGS, NULL},
	 { (char *)"FileChooser_run_modal", _wrap_FileChooser_run_modal, METH_VARARGS, NULL},
	 { (char *)"FileChooser_set_directory", _wrap_FileChooser_set_directory, METH_VARARGS, NULL},
	 { (char *)"FileChooser_set_path", _wrap_FileChooser_set_path, METH_VARARGS, NULL},
	 { (char *)"FileChooser_get_path", _wrap_FileChooser_get_path, METH_VARARGS, NULL},
	 { (char *)"FileChooser_get_directory", _wrap_FileChooser_get_directory, METH_VARARGS, NULL},
	 { (char *)"FileChooser_set_extensions", _wrap_FileChooser_set_extensions, METH_VARARGS, NULL},
	 { (char *)"FileChooser_add_selector_option", _wrap_FileChooser_add_selector_option, METH_VARARGS, NULL},
	 { (char *)"FileChooser_get_selector_option_value", _wrap_FileChooser_get_selector_option_value, METH_VARARGS, NULL},
	 { (char *)"delete_FileChooser", _wrap_delete_FileChooser, METH_VARARGS, NULL},
	 { (char *)"FileChooser_swigregister", FileChooser_swigregister, METH_VARARGS, NULL},
	 { (char *)"RadioButton_new_id", _wrap_RadioButton_new_id, METH_VARARGS, NULL},
	 { (char *)"new_RadioButton", _wrap_new_RadioButton, METH_VARARGS, NULL},
	 { (char *)"RadioButton_group_id", _wrap_RadioButton_group_id, METH_VARARGS, NULL},
	 { (char *)"RadioButton_set_active", _wrap_RadioButton_set_active, METH_VARARGS, NULL},
	 { (char *)"RadioButton_get_active", _wrap_RadioButton_get_active, METH_VARARGS, NULL},
	 { (char *)"RadioButton_add_clicked_callback", _wrap_RadioButton_add_clicked_callback, METH_VARARGS, NULL},
	 { (char *)"RadioButton_call_clicked_callback", _wrap_RadioButton_call_clicked_callback, METH_VARARGS, NULL},
	 { (char *)"delete_RadioButton", _wrap_delete_RadioButton, METH_VARARGS, NULL},
	 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_ImageBox", _wrap_new_ImageBox, METH_VARARGS, NULL},
	 { (char *)"ImageBox_set_image", _wrap_ImageBox_set_image, METH_VARARGS, NULL},
	 { (char *)"ImageBox_set_scale_contents", _wrap_ImageBox_set_scale_contents, METH_VARARGS, NULL},
	 { (char *)"ImageBox_set_image_align", _wrap_ImageBox_set_image_align, METH_VARARGS, NULL},
	 { (char *)"delete_ImageBox", _wrap_delete_ImageBox, METH_VARARGS, NULL},
	 { (char *)"ImageBox_swigregister", ImageBox_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_ProgressBar", _wrap_new_ProgressBar, METH_VARARGS, NULL},
	 { (char *)"ProgressBar_set_indeterminate", _wrap_ProgressBar_set_indeterminate, METH_VARARGS, NULL},
	 { (char *)"ProgressBar_start", _wrap_ProgressBar_start, METH_VARARGS, NULL},
	 { (char *)"ProgressBar_stop", _wrap_ProgressBar_stop, METH_VARARGS, NULL},
	 { (char *)"ProgressBar_set_value", _wrap_ProgressBar_set_value, METH_VARARGS, NULL},
	 { (char *)"delete_ProgressBar", _wrap_delete_ProgressBar, METH_VARARGS, NULL},
	 { (char *)"ProgressBar_swigregister", ProgressBar_swigregister, METH_VARARGS, NULL},
	 { (char *)"__or__", _wrap___or__, METH_VARARGS, NULL},
	 { (char *)"new_Table", _wrap_new_Table, METH_VARARGS, NULL},
	 { (char *)"delete_Table", _wrap_delete_Table, METH_VARARGS, NULL},
	 { (char *)"Table_set_row_count", _wrap_Table_set_row_count, METH_VARARGS, NULL},
	 { (char *)"Table_set_column_count", _wrap_Table_set_column_count, METH_VARARGS, NULL},
	 { (char *)"Table_set_row_spacing", _wrap_Table_set_row_spacing, METH_VARARGS, NULL},
	 { (char *)"Table_set_column_spacing", _wrap_Table_set_column_spacing, METH_VARARGS, NULL},
	 { (char *)"Table_set_homogeneous", _wrap_Table_set_homogeneous, METH_VARARGS, NULL},
	 { (char *)"Table_add", _wrap_Table_add, METH_VARARGS, NULL},
	 { (char *)"Table_remove", _wrap_Table_remove, METH_VARARGS, NULL},
	 { (char *)"Table_swigregister", Table_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_ScrollPanel", _wrap_new_ScrollPanel, METH_VARARGS, NULL},
	 { (char *)"delete_ScrollPanel", _wrap_delete_ScrollPanel, METH_VARARGS, NULL},
	 { (char *)"ScrollPanel_set_visible_scrollers", _wrap_ScrollPanel_set_visible_scrollers, METH_VARARGS, NULL},
	 { (char *)"ScrollPanel_set_autohide_scrollers", _wrap_ScrollPanel_set_autohide_scrollers, METH_VARARGS, NULL},
	 { (char *)"ScrollPanel_add", _wrap_ScrollPanel_add, METH_VARARGS, NULL},
	 { (char *)"ScrollPanel_remove", _wrap_ScrollPanel_remove, METH_VARARGS, NULL},
	 { (char *)"ScrollPanel_scroll_to_view", _wrap_ScrollPanel_scroll_to_view, METH_VARARGS, NULL},
	 { (char *)"ScrollPanel_swigregister", ScrollPanel_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_Wizard", _wrap_new_Wizard, METH_VARARGS, NULL},
	 { (char *)"delete_Wizard", _wrap_delete_Wizard, METH_VARARGS, NULL},
	 { (char *)"Wizard_run", _wrap_Wizard_run, METH_VARARGS, NULL},
	 { (char *)"Wizard_set_heading", _wrap_Wizard_set_heading, METH_VARARGS, NULL},
	 { (char *)"Wizard_set_step_list", _wrap_Wizard_set_step_list, METH_VARARGS, NULL},
	 { (char *)"Wizard_set_allow_cancel", _wrap_Wizard_set_allow_cancel, METH_VARARGS, NULL},
	 { (char *)"Wizard_set_allow_back", _wrap_Wizard_set_allow_back, METH_VARARGS, NULL},
	 { (char *)"Wizard_set_allow_next", _wrap_Wizard_set_allow_next, METH_VARARGS, NULL},
	 { (char *)"Wizard_set_show_extra", _wrap_Wizard_set_show_extra, METH_VARARGS, NULL},
	 { (char *)"Wizard_set_extra_caption", _wrap_Wizard_set_extra_caption, METH_VARARGS, NULL},
	 { (char *)"Wizard_set_next_caption", _wrap_Wizard_set_next_caption, METH_VARARGS, NULL},
	 { (char *)"Wizard_add_next_callback", _wrap_Wizard_add_next_callback, METH_VARARGS, NULL},
	 { (char *)"Wizard_call_next_callback", _wrap_Wizard_call_next_callback, METH_VARARGS, NULL},
	 { (char *)"Wizard_add_back_callback", _wrap_Wizard_add_back_callback, METH_VARARGS, NULL},
	 { (char *)"Wizard_call_back_callback", _wrap_Wizard_call_back_callback, METH_VARARGS, NULL},
	 { (char *)"Wizard_add_extra_callback", _wrap_Wizard_add_extra_callback, METH_VARARGS, NULL},
	 { (char *)"Wizard_call_extra_callback", _wrap_Wizard_call_extra_callback, METH_VARARGS, NULL},
	 { (char *)"Wizard_swigregister", Wizard_swigregister, METH_VARARGS, NULL},
	 { (char *)"Utilities_show_message", _wrap_Utilities_show_message, METH_VARARGS, NULL},
	 { (char *)"Utilities_show_error", _wrap_Utilities_show_error, METH_VARARGS, NULL},
	 { (char *)"Utilities_show_warning", _wrap_Utilities_show_warning, METH_VARARGS, NULL},
	 { (char *)"Utilities_show_message_and_remember", _wrap_Utilities_show_message_and_remember, METH_VARARGS, NULL},
	 { (char *)"Utilities_forget_message_answers", _wrap_Utilities_forget_message_answers, METH_VARARGS, NULL},
	 { (char *)"Utilities_set_message_answers_storage_path", _wrap_Utilities_set_message_answers_storage_path, METH_VARARGS, NULL},
	 { (char *)"Utilities_show_wait_message", _wrap_Utilities_show_wait_message, METH_VARARGS, NULL},
	 { (char *)"Utilities_hide_wait_message", _wrap_Utilities_hide_wait_message, METH_VARARGS, NULL},
	 { (char *)"Utilities_run_cancelable_task", _wrap_Utilities_run_cancelable_task, METH_VARARGS, NULL},
	 { (char *)"Utilities_request_input", _wrap_Utilities_request_input, METH_VARARGS, NULL},
	 { (char *)"Utilities_ask_for_password_check_store", _wrap_Utilities_ask_for_password_check_store, METH_VARARGS, NULL},
	 { (char *)"Utilities_ask_for_password", _wrap_Utilities_ask_for_password, METH_VARARGS, NULL},
	 { (char *)"Utilities_find_or_ask_for_password", _wrap_Utilities_find_or_ask_for_password, METH_VARARGS, NULL},
	 { (char *)"Utilities_store_password", _wrap_Utilities_store_password, METH_VARARGS, NULL},
	 { (char *)"Utilities_find_password", _wrap_Utilities_find_password, METH_VARARGS, NULL},
	 { (char *)"Utilities_forget_password", _wrap_Utilities_forget_password, METH_VARARGS, NULL},
	 { (char *)"Utilities_set_clipboard_text", _wrap_Utilities_set_clipboard_text, METH_VARARGS, NULL},
	 { (char *)"Utilities_get_clipboard_text", _wrap_Utilities_get_clipboard_text, METH_VARARGS, NULL},
	 { (char *)"Utilities_get_special_folder", _wrap_Utilities_get_special_folder, METH_VARARGS, NULL},
	 { (char *)"Utilities_open_url", _wrap_Utilities_open_url, METH_VARARGS, NULL},
	 { (char *)"Utilities_move_to_trash", _wrap_Utilities_move_to_trash, METH_VARARGS, NULL},
	 { (char *)"Utilities_add_end_ok_cancel_buttons", _wrap_Utilities_add_end_ok_cancel_buttons, METH_VARARGS, NULL},
	 { (char *)"Utilities_in_main_thread", _wrap_Utilities_in_main_thread, METH_VARARGS, NULL},
	 { (char *)"Utilities_add_timeout", _wrap_Utilities_add_timeout, METH_VARARGS, NULL},
	 { (char *)"Utilities_perform_from_main_thread", _wrap_Utilities_perform_from_main_thread, METH_VARARGS, NULL},
	 { (char *)"new_Utilities", _wrap_new_Utilities, METH_VARARGS, NULL},
	 { (char *)"delete_Utilities", _wrap_delete_Utilities, METH_VARARGS, NULL},
	 { (char *)"Utilities_swigregister", Utilities_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_AppView", _wrap_new_AppView, METH_VARARGS, NULL},
	 { (char *)"delete_AppView", _wrap_delete_AppView, METH_VARARGS, NULL},
	 { (char *)"AppView_set_title", _wrap_AppView_set_title, METH_VARARGS, NULL},
	 { (char *)"AppView_get_title", _wrap_AppView_get_title, METH_VARARGS, NULL},
	 { (char *)"AppView_set_identifier", _wrap_AppView_set_identifier, METH_VARARGS, NULL},
	 { (char *)"AppView_identifier", _wrap_AppView_identifier, METH_VARARGS, NULL},
	 { (char *)"AppView_get_menubar", _wrap_AppView_get_menubar, METH_VARARGS, NULL},
	 { (char *)"AppView_set_menubar", _wrap_AppView_set_menubar, METH_VARARGS, NULL},
	 { (char *)"AppView_get_toolbar", _wrap_AppView_get_toolbar, METH_VARARGS, NULL},
	 { (char *)"AppView_set_toolbar", _wrap_AppView_set_toolbar, METH_VARARGS, NULL},
	 { (char *)"AppView_is_main_form", _wrap_AppView_is_main_form, METH_VARARGS, NULL},
	 { (char *)"AppView_get_form_context_name", _wrap_AppView_get_form_context_name, METH_VARARGS, NULL},
	 { (char *)"AppView_on_close", _wrap_AppView_on_close, METH_VARARGS, NULL},
	 { (char *)"AppView_swigregister", AppView_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_DockingPoint", _wrap_delete_DockingPoint, METH_VARARGS, NULL},
	 { (char *)"DockingPoint_get_type", _wrap_DockingPoint_get_type, METH_VARARGS, NULL},
	 { (char *)"DockingPoint_dock_view", _wrap_DockingPoint_dock_view, METH_VARARGS, NULL},
	 { (char *)"DockingPoint_select_view", _wrap_DockingPoint_select_view, METH_VARARGS, NULL},
	 { (char *)"DockingPoint_undock_view", _wrap_DockingPoint_undock_view, METH_VARARGS, NULL},
	 { (char *)"DockingPoint_close_view", _wrap_DockingPoint_close_view, METH_VARARGS, NULL},
	 { (char *)"DockingPoint_set_view_title", _wrap_DockingPoint_set_view_title, METH_VARARGS, NULL},
	 { (char *)"DockingPoint_get_size", _wrap_DockingPoint_get_size, METH_VARARGS, NULL},
	 { (char *)"DockingPoint_swigregister", DockingPoint_swigregister, METH_VARARGS, NULL},
	 { (char *)"App_get", _wrap_App_get, METH_VARARGS, NULL},
	 { (char *)"App_set_status_text", _wrap_App_set_status_text, METH_VARARGS, NULL},
	 { (char *)"App_get_resource_path", _wrap_App_get_resource_path, METH_VARARGS, NULL},
	 { (char *)"App_get_executable_path", _wrap_App_get_executable_path, METH_VARARGS, NULL},
	 { (char *)"App_get_user_data_folder", _wrap_App_get_user_data_folder, METH_VARARGS, NULL},
	 { (char *)"App_get_bounds", _wrap_App_get_bounds, METH_VARARGS, NULL},
	 { (char *)"App_enter_event_loop", _wrap_App_enter_event_loop, METH_VARARGS, NULL},
	 { (char *)"App_exit_event_loop", _wrap_App_exit_event_loop, METH_VARARGS, NULL},
	 { (char *)"App_begin_thread_loop", _wrap_App_begin_thread_loop, METH_VARARGS, NULL},
	 { (char *)"App_end_thread_loop", _wrap_App_end_thread_loop, METH_VARARGS, NULL},
	 { (char *)"App_get_system_color", _wrap_App_get_system_color, METH_VARARGS, NULL},
	 { (char *)"App_close_splash", _wrap_App_close_splash, METH_VARARGS, NULL},
	 { (char *)"delete_App", _wrap_delete_App, METH_VARARGS, NULL},
	 { (char *)"App_swigregister", App_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_DrawBox", _wrap_new_DrawBox, METH_VARARGS, NULL},
	 { (char *)"DrawBox_set_needs_repaint", _wrap_DrawBox_set_needs_repaint, METH_VARARGS, NULL},
	 { (char *)"DrawBox_get_layout_size", _wrap_DrawBox_get_layout_size, METH_VARARGS, NULL},
	 { (char *)"delete_DrawBox", _wrap_delete_DrawBox, METH_VARARGS, NULL},
	 { (char *)"DrawBox_swigregister", DrawBox_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_TabSwitcher", _wrap_new_TabSwitcher, METH_VARARGS, NULL},
	 { (char *)"delete_TabSwitcher", _wrap_delete_TabSwitcher, METH_VARARGS, NULL},
	 { (char *)"TabSwitcher_attach_to_tabview", _wrap_TabSwitcher_attach_to_tabview, METH_VARARGS, NULL},
	 { (char *)"TabSwitcher_add_item", _wrap_TabSwitcher_add_item, METH_VARARGS, NULL},
	 { (char *)"TabSwitcher_set_icon", _wrap_TabSwitcher_set_icon, METH_VARARGS, NULL},
	 { (char *)"TabSwitcher_set_color", _wrap_TabSwitcher_set_color, METH_VARARGS, NULL},
	 { (char *)"TabSwitcher_set_selected", _wrap_TabSwitcher_set_selected, METH_VARARGS, NULL},
	 { (char *)"TabSwitcher_get_selected", _wrap_TabSwitcher_get_selected, METH_VARARGS, NULL},
	 { (char *)"TabSwitcher_set_needs_relayout", _wrap_TabSwitcher_set_needs_relayout, METH_VARARGS, NULL},
	 { (char *)"TabSwitcher_add_changed_callback", _wrap_TabSwitcher_add_changed_callback, METH_VARARGS, NULL},
	 { (char *)"TabSwitcher_call_changed_callback", _wrap_TabSwitcher_call_changed_callback, METH_VARARGS, NULL},
	 { (char *)"TabSwitcher_swigregister", TabSwitcher_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_SectionBox", _wrap_new_SectionBox, METH_VARARGS, NULL},
	 { (char *)"delete_SectionBox", _wrap_delete_SectionBox, METH_VARARGS, NULL},
	 { (char *)"SectionBox_set_content", _wrap_SectionBox_set_content, METH_VARARGS, NULL},
	 { (char *)"SectionBox_toggle", _wrap_SectionBox_toggle, METH_VARARGS, NULL},
	 { (char *)"SectionBox_set_expanded", _wrap_SectionBox_set_expanded, METH_VARARGS, NULL},
	 { (char *)"SectionBox_get_expanded", _wrap_SectionBox_get_expanded, METH_VARARGS, NULL},
	 { (char *)"SectionBox_swigregister", SectionBox_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_BaseWidget", _wrap_new_BaseWidget, METH_VARARGS, NULL},
	 { (char *)"delete_BaseWidget", _wrap_delete_BaseWidget, METH_VARARGS, NULL},
	 { (char *)"BaseWidget_enable_auto_scale", _wrap_BaseWidget_enable_auto_scale, METH_VARARGS, NULL},
	 { (char *)"BaseWidget_get_upper_range", _wrap_BaseWidget_get_upper_range, METH_VARARGS, NULL},
	 { (char *)"BaseWidget_set_value_range", _wrap_BaseWidget_set_value_range, METH_VARARGS, NULL},
	 { (char *)"BaseWidget_set_thresholds", _wrap_BaseWidget_set_thresholds, METH_VARARGS, NULL},
	 { (char *)"BaseWidget_set_description", _wrap_BaseWidget_set_description, METH_VARARGS, NULL},
	 { (char *)"BaseWidget_swigregister", BaseWidget_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_WidgetSeparator", _wrap_new_WidgetSeparator, METH_VARARGS, NULL},
	 { (char *)"delete_WidgetSeparator", _wrap_delete_WidgetSeparator, METH_VARARGS, NULL},
	 { (char *)"WidgetSeparator_swigregister", WidgetSeparator_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_WidgetContainer", _wrap_new_WidgetContainer, METH_VARARGS, NULL},
	 { (char *)"delete_WidgetContainer", _wrap_delete_WidgetContainer, METH_VARARGS, NULL},
	 { (char *)"WidgetContainer_add_widget", _wrap_WidgetContainer_add_widget, METH_VARARGS, NULL},
	 { (char *)"WidgetContainer_set_title", _wrap_WidgetContainer_set_title, METH_VARARGS, NULL},
	 { (char *)"WidgetContainer_swigregister", WidgetContainer_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_HeartbeatWidget", _wrap_new_HeartbeatWidget, METH_VARARGS, NULL},
	 { (char *)"delete_HeartbeatWidget", _wrap_delete_HeartbeatWidget, METH_VARARGS, NULL},
	 { (char *)"HeartbeatWidget_set_value", _wrap_HeartbeatWidget_set_value, METH_VARARGS, NULL},
	 { (char *)"HeartbeatWidget_swigregister", HeartbeatWidget_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_ServerInfoWidget", _wrap_new_ServerInfoWidget, METH_VARARGS, NULL},
	 { (char *)"delete_ServerInfoWidget", _wrap_delete_ServerInfoWidget, METH_VARARGS, NULL},
	 { (char *)"ServerInfoWidget_set_server_info", _wrap_ServerInfoWidget_set_server_info, METH_VARARGS, NULL},
	 { (char *)"ServerInfoWidget_set_server_status", _wrap_ServerInfoWidget_set_server_status, METH_VARARGS, NULL},
	 { (char *)"ServerInfoWidget_swigregister", ServerInfoWidget_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_BarGraphWidget", _wrap_new_BarGraphWidget, METH_VARARGS, NULL},
	 { (char *)"delete_BarGraphWidget", _wrap_delete_BarGraphWidget, METH_VARARGS, NULL},
	 { (char *)"BarGraphWidget_set_value", _wrap_BarGraphWidget_set_value, METH_VARARGS, NULL},
	 { (char *)"BarGraphWidget_swigregister", BarGraphWidget_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_LineDiagramWidget", _wrap_new_LineDiagramWidget, METH_VARARGS, NULL},
	 { (char *)"delete_LineDiagramWidget", _wrap_delete_LineDiagramWidget, METH_VARARGS, NULL},
	 { (char *)"LineDiagramWidget_set_value", _wrap_LineDiagramWidget_set_value, METH_VARARGS, NULL},
	 { (char *)"LineDiagramWidget_swigregister", LineDiagramWidget_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_WebBrowser", _wrap_new_WebBrowser, METH_VARARGS, NULL},
	 { (char *)"WebBrowser_set_html", _wrap_WebBrowser_set_html, METH_VARARGS, NULL},
	 { (char *)"WebBrowser_navigate", _wrap_WebBrowser_navigate, METH_VARARGS, NULL},
	 { (char *)"WebBrowser_get_document_title", _wrap_WebBrowser_get_document_title, METH_VARARGS, NULL},
	 { (char *)"WebBrowser_set_link_click_handler", _wrap_WebBrowser_set_link_click_handler, METH_VARARGS, NULL},
	 { (char *)"WebBrowser_add_loaded_callback", _wrap_WebBrowser_add_loaded_callback, METH_VARARGS, NULL},
	 { (char *)"WebBrowser_call_loaded_callback", _wrap_WebBrowser_call_loaded_callback, METH_VARARGS, NULL},
	 { (char *)"delete_WebBrowser", _wrap_delete_WebBrowser, METH_VARARGS, NULL},
	 { (char *)"WebBrowser_swigregister", WebBrowser_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_Popup", _wrap_new_Popup, METH_VARARGS, NULL},
	 { (char *)"Popup_set_needs_repaint", _wrap_Popup_set_needs_repaint, METH_VARARGS, NULL},
	 { (char *)"Popup_set_size", _wrap_Popup_set_size, METH_VARARGS, NULL},
	 { (char *)"Popup_show", _wrap_Popup_show, METH_VARARGS, NULL},
	 { (char *)"Popup_get_content_rect", _wrap_Popup_get_content_rect, METH_VARARGS, NULL},
	 { (char *)"Popup_set_modal_result", _wrap_Popup_set_modal_result, METH_VARARGS, NULL},
	 { (char *)"delete_Popup", _wrap_delete_Popup, METH_VARARGS, NULL},
	 { (char *)"Popup_swigregister", Popup_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_Menu", _wrap_new_Menu, METH_VARARGS, NULL},
	 { (char *)"Menu_empty", _wrap_Menu_empty, METH_VARARGS, NULL},
	 { (char *)"Menu_clear", _wrap_Menu_clear, METH_VARARGS, NULL},
	 { (char *)"Menu_remove_item", _wrap_Menu_remove_item, METH_VARARGS, NULL},
	 { (char *)"Menu_add_item", _wrap_Menu_add_item, METH_VARARGS, NULL},
	 { (char *)"Menu_add_separator", _wrap_Menu_add_separator, METH_VARARGS, NULL},
	 { (char *)"Menu_add_submenu", _wrap_Menu_add_submenu, METH_VARARGS, NULL},
	 { (char *)"Menu_add_items_from_list", _wrap_Menu_add_items_from_list, METH_VARARGS, NULL},
	 { (char *)"Menu_set_item_enabled", _wrap_Menu_set_item_enabled, METH_VARARGS, NULL},
	 { (char *)"Menu_popup_at", _wrap_Menu_popup_at, METH_VARARGS, NULL},
	 { (char *)"Menu_popup", _wrap_Menu_popup, METH_VARARGS, NULL},
	 { (char *)"Menu_handle_action", _wrap_Menu_handle_action, METH_VARARGS, NULL},
	 { (char *)"Menu_get_item_index", _wrap_Menu_get_item_index, METH_VARARGS, NULL},
	 { (char *)"Menu_add_on_action_callback", _wrap_Menu_add_on_action_callback, METH_VARARGS, NULL},
	 { (char *)"Menu_call_on_action_callback", _wrap_Menu_call_on_action_callback, METH_VARARGS, NULL},
	 { (char *)"Menu_set_handler", _wrap_Menu_set_handler, METH_VARARGS, NULL},
	 { (char *)"delete_Menu", _wrap_delete_Menu, METH_VARARGS, NULL},
	 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_Splitter", _wrap_new_Splitter, METH_VARARGS, NULL},
	 { (char *)"Splitter_add", _wrap_Splitter_add, METH_VARARGS, NULL},
	 { (char *)"Splitter_remove", _wrap_Splitter_remove, METH_VARARGS, NULL},
	 { (char *)"Splitter_set_position", _wrap_Splitter_set_position, METH_VARARGS, NULL},
	 { (char *)"Splitter_get_position", _wrap_Splitter_get_position, METH_VARARGS, NULL},
	 { (char *)"Splitter_set_expanded", _wrap_Splitter_set_expanded, METH_VARARGS, NULL},
	 { (char *)"Splitter_position_changed", _wrap_Splitter_position_changed, METH_VARARGS, NULL},
	 { (char *)"delete_Splitter", _wrap_delete_Splitter, METH_VARARGS, NULL},
	 { (char *)"Splitter_swigregister", Splitter_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_CodeEditor", _wrap_new_CodeEditor, METH_VARARGS, NULL},
	 { (char *)"delete_CodeEditor", _wrap_delete_CodeEditor, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_set_text", _wrap_CodeEditor_set_text, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_set_value", _wrap_CodeEditor_set_value, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_set_text_keeping_state", _wrap_CodeEditor_set_text_keeping_state, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_append_text", _wrap_CodeEditor_append_text, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_replace_selected_text", _wrap_CodeEditor_replace_selected_text, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_get_text", _wrap_CodeEditor_get_text, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_get_text_in_range", _wrap_CodeEditor_get_text_in_range, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_get_text_ptr", _wrap_CodeEditor_get_text_ptr, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_set_selection", _wrap_CodeEditor_set_selection, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_get_selection", _wrap_CodeEditor_get_selection, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_clear_selection", _wrap_CodeEditor_clear_selection, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_get_range_of_line", _wrap_CodeEditor_get_range_of_line, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_set_language", _wrap_CodeEditor_set_language, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_show_markup", _wrap_CodeEditor_show_markup, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_remove_markup", _wrap_CodeEditor_remove_markup, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_show_indicator", _wrap_CodeEditor_show_indicator, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_indicator_at", _wrap_CodeEditor_indicator_at, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_remove_indicator", _wrap_CodeEditor_remove_indicator, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_line_count", _wrap_CodeEditor_line_count, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_text_length", _wrap_CodeEditor_text_length, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_position_from_line", _wrap_CodeEditor_position_from_line, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_line_from_position", _wrap_CodeEditor_line_from_position, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_set_font", _wrap_CodeEditor_set_font, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_set_features", _wrap_CodeEditor_set_features, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_toggle_features", _wrap_CodeEditor_toggle_features, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_reset_dirty", _wrap_CodeEditor_reset_dirty, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_is_dirty", _wrap_CodeEditor_is_dirty, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_get_caret_pos", _wrap_CodeEditor_get_caret_pos, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_set_caret_pos", _wrap_CodeEditor_set_caret_pos, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_get_line_column_pos", _wrap_CodeEditor_get_line_column_pos, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_can_undo", _wrap_CodeEditor_can_undo, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_undo", _wrap_CodeEditor_undo, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_can_redo", _wrap_CodeEditor_can_redo, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_redo", _wrap_CodeEditor_redo, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_can_cut", _wrap_CodeEditor_can_cut, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_cut", _wrap_CodeEditor_cut, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_can_copy", _wrap_CodeEditor_can_copy, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_copy", _wrap_CodeEditor_copy, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_can_paste", _wrap_CodeEditor_can_paste, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_paste", _wrap_CodeEditor_paste, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_can_delete", _wrap_CodeEditor_can_delete, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_do_delete", _wrap_CodeEditor_do_delete, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_select_all", _wrap_CodeEditor_select_all, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_set_status_text", _wrap_CodeEditor_set_status_text, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_enable_folding", _wrap_CodeEditor_enable_folding, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_show_find_panel", _wrap_CodeEditor_show_find_panel, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_hide_find_panel", _wrap_CodeEditor_hide_find_panel, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_get_find_panel", _wrap_CodeEditor_get_find_panel, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_set_show_find_panel_callback", _wrap_CodeEditor_set_show_find_panel_callback, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_find_and_highlight_text", _wrap_CodeEditor_find_and_highlight_text, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_find_and_replace_text", _wrap_CodeEditor_find_and_replace_text, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_jump_to_next_placeholder", _wrap_CodeEditor_jump_to_next_placeholder, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_auto_completion_show", _wrap_CodeEditor_auto_completion_show, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_auto_completion_cancel", _wrap_CodeEditor_auto_completion_cancel, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_auto_completion_options", _wrap_CodeEditor_auto_completion_options, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_auto_completion_max_size", _wrap_CodeEditor_auto_completion_max_size, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_auto_completion_register_images", _wrap_CodeEditor_auto_completion_register_images, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_auto_completion_active", _wrap_CodeEditor_auto_completion_active, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_auto_completion_stops", _wrap_CodeEditor_auto_completion_stops, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_auto_completion_fillups", _wrap_CodeEditor_auto_completion_fillups, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_show_calltip", _wrap_CodeEditor_show_calltip, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_set_eol_mode", _wrap_CodeEditor_set_eol_mode, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_set_context_menu", _wrap_CodeEditor_set_context_menu, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_get_context_menu", _wrap_CodeEditor_get_context_menu, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_send_editor", _wrap_CodeEditor_send_editor, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_add_changed_callback", _wrap_CodeEditor_add_changed_callback, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_call_changed_callback", _wrap_CodeEditor_call_changed_callback, METH_VARARGS, NULL},
	 { (char *)"CodeEditor_swigregister", CodeEditor_swigregister, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_create", _wrap_TaskSidebar_create, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_refresh_model", _wrap_TaskSidebar_refresh_model, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_set_schema_model", _wrap_TaskSidebar_set_schema_model, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_set_filtered_schema_model", _wrap_TaskSidebar_set_filtered_schema_model, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_enable_server_search", _wrap_TaskSidebar_enable_server_search, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_get_schema_tree", _wrap_TaskSidebar_get_schema_tree, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_get_filter_entry", _wrap_TaskSidebar_get_filter_entry, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_add_section", _wrap_TaskSidebar_add_section, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_remove_section", _wrap_TaskSidebar_remove_section, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_add_section_entry", _wrap_TaskSidebar_add_section_entry, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_set_section_entry_text", _wrap_TaskSidebar_set_section_entry_text, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_mark_section_busy", _wrap_TaskSidebar_mark_section_busy, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_remove_section_entry", _wrap_TaskSidebar_remove_section_entry, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_set_collapse_states", _wrap_TaskSidebar_set_collapse_states, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_get_collapse_states", _wrap_TaskSidebar_get_collapse_states, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_clear_sections", _wrap_TaskSidebar_clear_sections, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_clear_section", _wrap_TaskSidebar_clear_section, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_set_selection_color", _wrap_TaskSidebar_set_selection_color, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_signal_filter_changed", _wrap_TaskSidebar_signal_filter_changed, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_tree_node_selected", _wrap_TaskSidebar_tree_node_selected, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_expand_schema", _wrap_TaskSidebar_expand_schema, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_select_entry", _wrap_TaskSidebar_select_entry, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_clear_selection", _wrap_TaskSidebar_clear_selection, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_on_section_command", _wrap_TaskSidebar_on_section_command, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_register_factory", _wrap_TaskSidebar_register_factory, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_add_on_section_command_callback", _wrap_TaskSidebar_add_on_section_command_callback, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_call_on_section_command_callback", _wrap_TaskSidebar_call_on_section_command_callback, METH_VARARGS, NULL},
	 { (char *)"delete_TaskSidebar", _wrap_delete_TaskSidebar, METH_VARARGS, NULL},
	 { (char *)"TaskSidebar_swigregister", TaskSidebar_swigregister, METH_VARARGS, NULL},
	 { (char *)"GridPath_size", _wrap_GridPath_size, METH_VARARGS, NULL},
	 { (char *)"GridPath_append", _wrap_GridPath_append, METH_VARARGS, NULL},
	 { (char *)"GridPath_up", _wrap_GridPath_up, METH_VARARGS, NULL},
	 { (char *)"GridPath_next", _wrap_GridPath_next, METH_VARARGS, NULL},
	 { (char *)"GridPath_prev", _wrap_GridPath_prev, METH_VARARGS, NULL},
	 { (char *)"GridPath_index", _wrap_GridPath_index, METH_VARARGS, NULL},
	 { (char *)"GridPath_set_index", _wrap_GridPath_set_index, METH_VARARGS, NULL},
	 { (char *)"GridPath___eq__", _wrap_GridPath___eq__, METH_VARARGS, NULL},
	 { (char *)"GridPath___lt__", _wrap_GridPath___lt__, METH_VARARGS, NULL},
	 { (char *)"GridPath___gt__", _wrap_GridPath___gt__, METH_VARARGS, NULL},
	 { (char *)"new_GridPath", _wrap_new_GridPath, METH_VARARGS, NULL},
	 { (char *)"delete_GridPath", _wrap_delete_GridPath, METH_VARARGS, NULL},
	 { (char *)"GridPath_swigregister", GridPath_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_Grid", _wrap_new_Grid, METH_VARARGS, NULL},
	 { (char *)"Grid_add_column", _wrap_Grid_add_column, METH_VARARGS, NULL},
	 { (char *)"Grid_clear", _wrap_Grid_clear, METH_VARARGS, NULL},
	 { (char *)"Grid_get_children_count", _wrap_Grid_get_children_count, METH_VARARGS, NULL},
	 { (char *)"Grid_is_node_expanded", _wrap_Grid_is_node_expanded, METH_VARARGS, NULL},
	 { (char *)"Grid_set_node_expanded", _wrap_Grid_set_node_expanded, METH_VARARGS, NULL},
	 { (char *)"Grid_set_column_width", _wrap_Grid_set_column_width, METH_VARARGS, NULL},
	 { (char *)"Grid_append_header", _wrap_Grid_append_header, METH_VARARGS, NULL},
	 { (char *)"Grid_append_row", _wrap_Grid_append_row, METH_VARARGS, NULL},
	 { (char *)"Grid_insert_row", _wrap_Grid_insert_row, METH_VARARGS, NULL},
	 { (char *)"Grid_remove_row", _wrap_Grid_remove_row, METH_VARARGS, NULL},
	 { (char *)"Grid_set_str_value", _wrap_Grid_set_str_value, METH_VARARGS, NULL},
	 { (char *)"Grid_set_bool_value", _wrap_Grid_set_bool_value, METH_VARARGS, NULL},
	 { (char *)"Grid_get_cell_value", _wrap_Grid_get_cell_value, METH_VARARGS, NULL},
	 { (char *)"Grid_get_cell_type", _wrap_Grid_get_cell_type, METH_VARARGS, NULL},
	 { (char *)"Grid_set_cell_type", _wrap_Grid_set_cell_type, METH_VARARGS, NULL},
	 { (char *)"Grid_set_cell_attr", _wrap_Grid_set_cell_attr, METH_VARARGS, NULL},
	 { (char *)"Grid_set_enum", _wrap_Grid_set_enum, METH_VARARGS, NULL},
	 { (char *)"Grid_set_row_tag", _wrap_Grid_set_row_tag, METH_VARARGS, NULL},
	 { (char *)"Grid_get_row_tag", _wrap_Grid_get_row_tag, METH_VARARGS, NULL},
	 { (char *)"Grid_set_row_caption", _wrap_Grid_set_row_caption, METH_VARARGS, NULL},
	 { (char *)"Grid_get_row_caption", _wrap_Grid_get_row_caption, METH_VARARGS, NULL},
	 { (char *)"Grid_set_action_icon", _wrap_Grid_set_action_icon, METH_VARARGS, NULL},
	 { (char *)"Grid_get_context_menu", _wrap_Grid_get_context_menu, METH_VARARGS, NULL},
	 { (char *)"Grid_popup_context_menu", _wrap_Grid_popup_context_menu, METH_VARARGS, NULL},
	 { (char *)"Grid_scroll_to_row", _wrap_Grid_scroll_to_row, METH_VARARGS, NULL},
	 { (char *)"Grid_set_fg", _wrap_Grid_set_fg, METH_VARARGS, NULL},
	 { (char *)"Grid_set_bg", _wrap_Grid_set_bg, METH_VARARGS, NULL},
	 { (char *)"Grid_shade", _wrap_Grid_shade, METH_VARARGS, NULL},
	 { (char *)"Grid_unshade", _wrap_Grid_unshade, METH_VARARGS, NULL},
	 { (char *)"Grid_has_shade", _wrap_Grid_has_shade, METH_VARARGS, NULL},
	 { (char *)"Grid_add_content_edited_callback", _wrap_Grid_add_content_edited_callback, METH_VARARGS, NULL},
	 { (char *)"Grid_add_ro_content_clicked_callback", _wrap_Grid_add_ro_content_clicked_callback, METH_VARARGS, NULL},
	 { (char *)"Grid_add_content_action_callback", _wrap_Grid_add_content_action_callback, METH_VARARGS, NULL},
	 { (char *)"Grid_add_context_menu_callback", _wrap_Grid_add_context_menu_callback, METH_VARARGS, NULL},
	 { (char *)"delete_Grid", _wrap_delete_Grid, METH_VARARGS, NULL},
	 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_HyperText", _wrap_new_HyperText, METH_VARARGS, NULL},
	 { (char *)"HyperText_set_markup_text", _wrap_HyperText_set_markup_text, METH_VARARGS, NULL},
	 { (char *)"HyperText_handle_url_click", _wrap_HyperText_handle_url_click, METH_VARARGS, NULL},
	 { (char *)"HyperText_add_link_click_callback", _wrap_HyperText_add_link_click_callback, METH_VARARGS, NULL},
	 { (char *)"HyperText_call_link_click_callback", _wrap_HyperText_call_link_click_callback, METH_VARARGS, NULL},
	 { (char *)"delete_HyperText", _wrap_delete_HyperText, METH_VARARGS, NULL},
	 { (char *)"HyperText_swigregister", HyperText_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_TreeNodeSkeleton", _wrap_new_TreeNodeSkeleton, METH_VARARGS, NULL},
	 { (char *)"TreeNodeSkeleton_caption_set", _wrap_TreeNodeSkeleton_caption_set, METH_VARARGS, NULL},
	 { (char *)"TreeNodeSkeleton_caption_get", _wrap_TreeNodeSkeleton_caption_get, METH_VARARGS, NULL},
	 { (char *)"TreeNodeSkeleton_icon_set", _wrap_TreeNodeSkeleton_icon_set, METH_VARARGS, NULL},
	 { (char *)"TreeNodeSkeleton_icon_get", _wrap_TreeNodeSkeleton_icon_get, METH_VARARGS, NULL},
	 { (char *)"TreeNodeSkeleton_tag_set", _wrap_TreeNodeSkeleton_tag_set, METH_VARARGS, NULL},
	 { (char *)"TreeNodeSkeleton_tag_get", _wrap_TreeNodeSkeleton_tag_get, METH_VARARGS, NULL},
	 { (char *)"TreeNodeSkeleton_children_set", _wrap_TreeNodeSkeleton_children_set, METH_VARARGS, NULL},
	 { (char *)"TreeNodeSkeleton_children_get", _wrap_TreeNodeSkeleton_children_get, METH_VARARGS, NULL},
	 { (char *)"delete_TreeNodeSkeleton", _wrap_delete_TreeNodeSkeleton, METH_VARARGS, NULL},
	 { (char *)"TreeNodeSkeleton_swigregister", TreeNodeSkeleton_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_TreeNodeCollectionSkeleton", _wrap_new_TreeNodeCollectionSkeleton, METH_VARARGS, NULL},
	 { (char *)"TreeNodeCollectionSkeleton_icon_set", _wrap_TreeNodeCollectionSkeleton_icon_set, METH_VARARGS, NULL},
	 { (char *)"TreeNodeCollectionSkeleton_icon_get", _wrap_TreeNodeCollectionSkeleton_icon_get, METH_VARARGS, NULL},
	 { (char *)"TreeNodeCollectionSkeleton_children_set", _wrap_TreeNodeCollectionSkeleton_children_set, METH_VARARGS, NULL},
	 { (char *)"TreeNodeCollectionSkeleton_children_get", _wrap_TreeNodeCollectionSkeleton_children_get, METH_VARARGS, NULL},
	 { (char *)"TreeNodeCollectionSkeleton_captions_set", _wrap_TreeNodeCollectionSkeleton_captions_set, METH_VARARGS, NULL},
	 { (char *)"TreeNodeCollectionSkeleton_captions_get", _wrap_TreeNodeCollectionSkeleton_captions_get, METH_VARARGS, NULL},
	 { (char *)"delete_TreeNodeCollectionSkeleton", _wrap_delete_TreeNodeCollectionSkeleton, METH_VARARGS, NULL},
	 { (char *)"TreeNodeCollectionSkeleton_swigregister", TreeNodeCollectionSkeleton_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_TreeNodeData", _wrap_new_TreeNodeData, METH_VARARGS, NULL},
	 { (char *)"delete_TreeNodeData", _wrap_delete_TreeNodeData, METH_VARARGS, NULL},
	 { (char *)"TreeNodeData_retain", _wrap_TreeNodeData_retain, METH_VARARGS, NULL},
	 { (char *)"TreeNodeData_release", _wrap_TreeNodeData_release, METH_VARARGS, NULL},
	 { (char *)"TreeNodeData_swigregister", TreeNodeData_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_TreeNodeRef", _wrap_new_TreeNodeRef, METH_VARARGS, NULL},
	 { (char *)"delete_TreeNodeRef", _wrap_delete_TreeNodeRef, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef___deref__", _wrap_TreeNodeRef___deref__, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef___nonzero__", _wrap_TreeNodeRef___nonzero__, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef___eq__", _wrap_TreeNodeRef___eq__, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef___ne__", _wrap_TreeNodeRef___ne__, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_is_valid", _wrap_TreeNodeRef_is_valid, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_equals", _wrap_TreeNodeRef_equals, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_set_icon_path", _wrap_TreeNodeRef_set_icon_path, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_set_string", _wrap_TreeNodeRef_set_string, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_set_int", _wrap_TreeNodeRef_set_int, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_set_long", _wrap_TreeNodeRef_set_long, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_set_bool", _wrap_TreeNodeRef_set_bool, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_set_attributes", _wrap_TreeNodeRef_set_attributes, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_get_string", _wrap_TreeNodeRef_get_string, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_get_int", _wrap_TreeNodeRef_get_int, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_get_long", _wrap_TreeNodeRef_get_long, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_get_bool", _wrap_TreeNodeRef_get_bool, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_count", _wrap_TreeNodeRef_count, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_add_child", _wrap_TreeNodeRef_add_child, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_insert_child", _wrap_TreeNodeRef_insert_child, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_remove_from_parent", _wrap_TreeNodeRef_remove_from_parent, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_remove_children", _wrap_TreeNodeRef_remove_children, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_get_child", _wrap_TreeNodeRef_get_child, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_get_parent", _wrap_TreeNodeRef_get_parent, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_find_child_with_tag", _wrap_TreeNodeRef_find_child_with_tag, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_add_node_collection", _wrap_TreeNodeRef_add_node_collection, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_expand", _wrap_TreeNodeRef_expand, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_collapse", _wrap_TreeNodeRef_collapse, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_is_expanded", _wrap_TreeNodeRef_is_expanded, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_set_tag", _wrap_TreeNodeRef_set_tag, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_get_tag", _wrap_TreeNodeRef_get_tag, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_set_data", _wrap_TreeNodeRef_set_data, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_get_data", _wrap_TreeNodeRef_get_data, METH_VARARGS, NULL},
	 { (char *)"TreeNodeRef_swigregister", TreeNodeRef_swigregister, METH_VARARGS, NULL},
	 { (char *)"TreeNode_equals", _wrap_TreeNode_equals, METH_VARARGS, NULL},
	 { (char *)"TreeNode_is_valid", _wrap_TreeNode_is_valid, METH_VARARGS, NULL},
	 { (char *)"TreeNode_set_icon_path", _wrap_TreeNode_set_icon_path, METH_VARARGS, NULL},
	 { (char *)"TreeNode_set_string", _wrap_TreeNode_set_string, METH_VARARGS, NULL},
	 { (char *)"TreeNode_set_int", _wrap_TreeNode_set_int, METH_VARARGS, NULL},
	 { (char *)"TreeNode_set_long", _wrap_TreeNode_set_long, METH_VARARGS, NULL},
	 { (char *)"TreeNode_set_bool", _wrap_TreeNode_set_bool, METH_VARARGS, NULL},
	 { (char *)"TreeNode_set_attributes", _wrap_TreeNode_set_attributes, METH_VARARGS, NULL},
	 { (char *)"TreeNode_get_string", _wrap_TreeNode_get_string, METH_VARARGS, NULL},
	 { (char *)"TreeNode_get_int", _wrap_TreeNode_get_int, METH_VARARGS, NULL},
	 { (char *)"TreeNode_get_long", _wrap_TreeNode_get_long, METH_VARARGS, NULL},
	 { (char *)"TreeNode_get_bool", _wrap_TreeNode_get_bool, METH_VARARGS, NULL},
	 { (char *)"TreeNode_count", _wrap_TreeNode_count, METH_VARARGS, NULL},
	 { (char *)"TreeNode_add_child", _wrap_TreeNode_add_child, METH_VARARGS, NULL},
	 { (char *)"TreeNode_insert_child", _wrap_TreeNode_insert_child, METH_VARARGS, NULL},
	 { (char *)"TreeNode_remove_from_parent", _wrap_TreeNode_remove_from_parent, METH_VARARGS, NULL},
	 { (char *)"TreeNode_remove_children", _wrap_TreeNode_remove_children, METH_VARARGS, NULL},
	 { (char *)"TreeNode_get_child", _wrap_TreeNode_get_child, METH_VARARGS, NULL},
	 { (char *)"TreeNode_get_parent", _wrap_TreeNode_get_parent, METH_VARARGS, NULL},
	 { (char *)"TreeNode_find_child_with_tag", _wrap_TreeNode_find_child_with_tag, METH_VARARGS, NULL},
	 { (char *)"TreeNode_add_node_collection", _wrap_TreeNode_add_node_collection, METH_VARARGS, NULL},
	 { (char *)"TreeNode_expand", _wrap_TreeNode_expand, METH_VARARGS, NULL},
	 { (char *)"TreeNode_collapse", _wrap_TreeNode_collapse, METH_VARARGS, NULL},
	 { (char *)"TreeNode_is_expanded", _wrap_TreeNode_is_expanded, METH_VARARGS, NULL},
	 { (char *)"TreeNode_set_tag", _wrap_TreeNode_set_tag, METH_VARARGS, NULL},
	 { (char *)"TreeNode_get_tag", _wrap_TreeNode_get_tag, METH_VARARGS, NULL},
	 { (char *)"TreeNode_set_data", _wrap_TreeNode_set_data, METH_VARARGS, NULL},
	 { (char *)"TreeNode_get_data", _wrap_TreeNode_get_data, METH_VARARGS, NULL},
	 { (char *)"delete_TreeNode", _wrap_delete_TreeNode, METH_VARARGS, NULL},
	 { (char *)"TreeNode_swigregister", TreeNode_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_TreeNodeView", _wrap_new_TreeNodeView, METH_VARARGS, NULL},
	 { (char *)"delete_TreeNodeView", _wrap_delete_TreeNodeView, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_add_column", _wrap_TreeNodeView_add_column, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_end_columns", _wrap_TreeNodeView_end_columns, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_get_column_type", _wrap_TreeNodeView_get_column_type, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_clear", _wrap_TreeNodeView_clear, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_root_node", _wrap_TreeNodeView_root_node, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_add_node", _wrap_TreeNodeView_add_node, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_set_selection_mode", _wrap_TreeNodeView_set_selection_mode, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_get_selection_mode", _wrap_TreeNodeView_get_selection_mode, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_get_selection", _wrap_TreeNodeView_get_selection, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_get_selected_node", _wrap_TreeNodeView_get_selected_node, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_get_selected_row", _wrap_TreeNodeView_get_selected_row, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_clear_selection", _wrap_TreeNodeView_clear_selection, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_select_node", _wrap_TreeNodeView_select_node, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_set_node_selected", _wrap_TreeNodeView_set_node_selected, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_row_for_node", _wrap_TreeNodeView_row_for_node, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_node_at_row", _wrap_TreeNodeView_node_at_row, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_node_with_tag", _wrap_TreeNodeView_node_with_tag, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_set_row_height", _wrap_TreeNodeView_set_row_height, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_set_allow_sorting", _wrap_TreeNodeView_set_allow_sorting, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_freeze_refresh", _wrap_TreeNodeView_freeze_refresh, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_thaw_refresh", _wrap_TreeNodeView_thaw_refresh, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_set_context_menu", _wrap_TreeNodeView_set_context_menu, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_get_context_menu", _wrap_TreeNodeView_get_context_menu, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_count", _wrap_TreeNodeView_count, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_add_activated_callback", _wrap_TreeNodeView_add_activated_callback, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_call_activated_callback", _wrap_TreeNodeView_call_activated_callback, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_add_changed_callback", _wrap_TreeNodeView_add_changed_callback, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_call_changed_callback", _wrap_TreeNodeView_call_changed_callback, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_set_cell_edited_callback", _wrap_TreeNodeView_set_cell_edited_callback, METH_VARARGS, NULL},
	 { (char *)"TreeNodeView_swigregister", TreeNodeView_swigregister, METH_VARARGS, NULL},
	 { (char *)"Color_red_set", _wrap_Color_red_set, METH_VARARGS, NULL},
	 { (char *)"Color_red_get", _wrap_Color_red_get, METH_VARARGS, NULL},
	 { (char *)"Color_green_set", _wrap_Color_green_set, METH_VARARGS, NULL},
	 { (char *)"Color_green_get", _wrap_Color_green_get, METH_VARARGS, NULL},
	 { (char *)"Color_blue_set", _wrap_Color_blue_set, METH_VARARGS, NULL},
	 { (char *)"Color_blue_get", _wrap_Color_blue_get, METH_VARARGS, NULL},
	 { (char *)"Color_alpha_set", _wrap_Color_alpha_set, METH_VARARGS, NULL},
	 { (char *)"Color_alpha_get", _wrap_Color_alpha_get, METH_VARARGS, NULL},
	 { (char *)"new_Color", _wrap_new_Color, METH_VARARGS, NULL},
	 { (char *)"Color___ne__", _wrap_Color___ne__, METH_VARARGS, NULL},
	 { (char *)"Color_to_html", _wrap_Color_to_html, METH_VARARGS, NULL},
	 { (char *)"Color_is_valid", _wrap_Color_is_valid, METH_VARARGS, NULL},
	 { (char *)"Color_parse", _wrap_Color_parse, METH_VARARGS, NULL},
	 { (char *)"Color_Black", _wrap_Color_Black, METH_VARARGS, NULL},
	 { (char *)"Color_White", _wrap_Color_White, METH_VARARGS, NULL},
	 { (char *)"Color_Invalid", _wrap_Color_Invalid, METH_VARARGS, NULL},
	 { (char *)"delete_Color", _wrap_delete_Color, METH_VARARGS, NULL},
	 { (char *)"Color_swigregister", Color_swigregister, METH_VARARGS, NULL},
	 { (char *)"HSVColor_h_set", _wrap_HSVColor_h_set, METH_VARARGS, NULL},
	 { (char *)"HSVColor_h_get", _wrap_HSVColor_h_get, METH_VARARGS, NULL},
	 { (char *)"HSVColor_s_set", _wrap_HSVColor_s_set, METH_VARARGS, NULL},
	 { (char *)"HSVColor_s_get", _wrap_HSVColor_s_get, METH_VARARGS, NULL},
	 { (char *)"HSVColor_v_set", _wrap_HSVColor_v_set, METH_VARARGS, NULL},
	 { (char *)"HSVColor_v_get", _wrap_HSVColor_v_get, METH_VARARGS, NULL},
	 { (char *)"HSVColor_a_set", _wrap_HSVColor_a_set, METH_VARARGS, NULL},
	 { (char *)"HSVColor_a_get", _wrap_HSVColor_a_get, METH_VARARGS, NULL},
	 { (char *)"new_HSVColor", _wrap_new_HSVColor, METH_VARARGS, NULL},
	 { (char *)"delete_HSVColor", _wrap_delete_HSVColor, METH_VARARGS, NULL},
	 { (char *)"HSVColor_swigregister", HSVColor_swigregister, METH_VARARGS, NULL},
	 { (char *)"fromgrt", _wrap_fromgrt, METH_VARARGS, NULL},
	 { (char *)"togrt", _wrap_togrt, METH_VARARGS, NULL},
	 { (char *)"new_PyDrawBox", _wrap_new_PyDrawBox, METH_VARARGS, NULL},
	 { (char *)"PyDrawBox_set_instance", _wrap_PyDrawBox_set_instance, METH_VARARGS, NULL},
	 { (char *)"delete_PyDrawBox", _wrap_delete_PyDrawBox, METH_VARARGS, NULL},
	 { (char *)"PyDrawBox_swigregister", PyDrawBox_swigregister, METH_VARARGS, NULL},
	 { NULL, NULL, 0, NULL }
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */

static void *_p_mforms__BoxTo_p_mforms__Container(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Container *)  ((mforms::Box *) x));
}
static void *_p_mforms__SectionBoxTo_p_mforms__Container(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Container *) (mforms::Box *) ((mforms::SectionBox *) x));
}
static void *_p_mforms__SplitterTo_p_mforms__Container(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Container *)  ((mforms::Splitter *) x));
}
static void *_p_mforms__TableTo_p_mforms__Container(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Container *)  ((mforms::Table *) x));
}
static void *_p_mforms__AppViewTo_p_mforms__Container(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Container *) (mforms::Box *) ((mforms::AppView *) x));
}
static void *_p_mforms__PanelTo_p_mforms__Container(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Container *)  ((mforms::Panel *) x));
}
static void *_p_mforms__ScrollPanelTo_p_mforms__Container(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Container *)  ((mforms::ScrollPanel *) x));
}
static void *_p_mforms__WidgetContainerTo_p_mforms__Container(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Container *) (mforms::Box *) ((mforms::WidgetContainer *) x));
}
static void *_p_mforms__ToolBarTo_p_mforms__Container(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Container *)  ((mforms::ToolBar *) x));
}
static void *_p_mforms__TaskSidebarTo_p_mforms__Container(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Container *) (mforms::Box *) ((mforms::TaskSidebar *) x));
}
static void *_p_mforms__ScrollPanelTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Container *) ((mforms::ScrollPanel *) x));
}
static void *_p_mforms__ImageBoxTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::ImageBox *) x));
}
static void *_p_mforms__TaskSidebarTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Container *)(mforms::Box *) ((mforms::TaskSidebar *) x));
}
static void *_p_mforms__HyperTextTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::HyperText *) x));
}
static void *_p_mforms__ToolBarTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Container *) ((mforms::ToolBar *) x));
}
static void *_p_mforms__WebBrowserTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::WebBrowser *) x));
}
static void *_p_mforms__RadioButtonTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Button *) ((mforms::RadioButton *) x));
}
static void *_p_mforms__TabViewTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::TabView *) x));
}
static void *_p_mforms__TreeNodeViewTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::TreeNodeView *) x));
}
static void *_p_mforms__WidgetSeparatorTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::DrawBox *) ((mforms::WidgetSeparator *) x));
}
static void *_p_mforms__TextEntryTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::TextEntry *) x));
}
static void *_p_mforms__BarGraphWidgetTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::DrawBox *)(mforms::BaseWidget *) ((mforms::BarGraphWidget *) x));
}
static void *_p_mforms__HeartbeatWidgetTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::DrawBox *)(mforms::BaseWidget *) ((mforms::HeartbeatWidget *) x));
}
static void *_p_mforms__DrawBoxTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::DrawBox *) x));
}
static void *_p_mforms__SplitterTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Container *) ((mforms::Splitter *) x));
}
static void *_p_mforms__PyDrawBoxTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::DrawBox *) ((mforms::PyDrawBox *) x));
}
static void *_p_mforms__SectionBoxTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Container *)(mforms::Box *) ((mforms::SectionBox *) x));
}
static void *_p_mforms__FileChooserTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::FileChooser *) x));
}
static void *_p_mforms__GridTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::Grid *) x));
}
static void *_p_mforms__AppViewTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Container *)(mforms::Box *) ((mforms::AppView *) x));
}
static void *_p_mforms__TabSwitcherTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::DrawBox *) ((mforms::TabSwitcher *) x));
}
static void *_p_mforms__SelectorTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::Selector *) x));
}
static void *_p_mforms__PanelTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Container *) ((mforms::Panel *) x));
}
static void *_p_mforms__LineDiagramWidgetTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::DrawBox *)(mforms::BaseWidget *) ((mforms::LineDiagramWidget *) x));
}
static void *_p_mforms__ServerInfoWidgetTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::DrawBox *)(mforms::BaseWidget *) ((mforms::ServerInfoWidget *) x));
}
static void *_p_mforms__BaseWidgetTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::DrawBox *) ((mforms::BaseWidget *) x));
}
static void *_p_mforms__ProgressBarTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::ProgressBar *) x));
}
static void *_p_mforms__WidgetContainerTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Container *)(mforms::Box *) ((mforms::WidgetContainer *) x));
}
static void *_p_mforms__ContainerTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::Container *) x));
}
static void *_p_mforms__CheckBoxTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Button *) ((mforms::CheckBox *) x));
}
static void *_p_mforms__ListBoxTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::ListBox *) x));
}
static void *_p_mforms__WizardTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Form *) ((mforms::Wizard *) x));
}
static void *_p_mforms__FormTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::Form *) x));
}
static void *_p_mforms__ButtonTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::Button *) x));
}
static void *_p_mforms__BoxTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Container *) ((mforms::Box *) x));
}
static void *_p_mforms__TableTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *) (mforms::Container *) ((mforms::Table *) x));
}
static void *_p_mforms__LabelTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::Label *) x));
}
static void *_p_mforms__CodeEditorTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::CodeEditor *) x));
}
static void *_p_mforms__TextBoxTo_p_mforms__View(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::View *)  ((mforms::TextBox *) x));
}
static void *_p_mforms__SectionBoxTo_p_mforms__Box(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Box *)  ((mforms::SectionBox *) x));
}
static void *_p_mforms__AppViewTo_p_mforms__Box(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Box *)  ((mforms::AppView *) x));
}
static void *_p_mforms__WidgetContainerTo_p_mforms__Box(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Box *)  ((mforms::WidgetContainer *) x));
}
static void *_p_mforms__TaskSidebarTo_p_mforms__Box(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Box *)  ((mforms::TaskSidebar *) x));
}
static void *_p_mforms__HeartbeatWidgetTo_p_mforms__BaseWidget(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::BaseWidget *)  ((mforms::HeartbeatWidget *) x));
}
static void *_p_mforms__BarGraphWidgetTo_p_mforms__BaseWidget(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::BaseWidget *)  ((mforms::BarGraphWidget *) x));
}
static void *_p_mforms__ServerInfoWidgetTo_p_mforms__BaseWidget(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::BaseWidget *)  ((mforms::ServerInfoWidget *) x));
}
static void *_p_mforms__LineDiagramWidgetTo_p_mforms__BaseWidget(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::BaseWidget *)  ((mforms::LineDiagramWidget *) x));
}
static void *_p_mforms__AppTo_p_mforms__DockingPoint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::DockingPoint *)  ((mforms::App *) x));
}
static void *_p_mforms__RadioButtonTo_p_mforms__Button(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Button *)  ((mforms::RadioButton *) x));
}
static void *_p_mforms__CheckBoxTo_p_mforms__Button(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Button *)  ((mforms::CheckBox *) x));
}
static void *_p_mforms__WizardTo_p_mforms__Form(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Form *)  ((mforms::Wizard *) x));
}
static void *_p_mforms__PyDrawBoxTo_p_mforms__DrawBox(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::DrawBox *)  ((mforms::PyDrawBox *) x));
}
static void *_p_mforms__WidgetSeparatorTo_p_mforms__DrawBox(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::DrawBox *)  ((mforms::WidgetSeparator *) x));
}
static void *_p_mforms__HeartbeatWidgetTo_p_mforms__DrawBox(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::DrawBox *) (mforms::BaseWidget *) ((mforms::HeartbeatWidget *) x));
}
static void *_p_mforms__BarGraphWidgetTo_p_mforms__DrawBox(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::DrawBox *) (mforms::BaseWidget *) ((mforms::BarGraphWidget *) x));
}
static void *_p_mforms__TabSwitcherTo_p_mforms__DrawBox(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::DrawBox *)  ((mforms::TabSwitcher *) x));
}
static void *_p_mforms__BaseWidgetTo_p_mforms__DrawBox(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::DrawBox *)  ((mforms::BaseWidget *) x));
}
static void *_p_mforms__ServerInfoWidgetTo_p_mforms__DrawBox(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::DrawBox *) (mforms::BaseWidget *) ((mforms::ServerInfoWidget *) x));
}
static void *_p_mforms__LineDiagramWidgetTo_p_mforms__DrawBox(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::DrawBox *) (mforms::BaseWidget *) ((mforms::LineDiagramWidget *) x));
}
static void *_p_mforms__ScrollPanelTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Container *) ((mforms::ScrollPanel *) x));
}
static void *_p_mforms__ImageBoxTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::ImageBox *) x));
}
static void *_p_mforms__TaskSidebarTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Container *)(mforms::Box *) ((mforms::TaskSidebar *) x));
}
static void *_p_mforms__HyperTextTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::HyperText *) x));
}
static void *_p_mforms__ToolBarTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Container *) ((mforms::ToolBar *) x));
}
static void *_p_mforms__WebBrowserTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::WebBrowser *) x));
}
static void *_p_mforms__RadioButtonTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Button *) ((mforms::RadioButton *) x));
}
static void *_p_mforms__MenuTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *)  ((mforms::Menu *) x));
}
static void *_p_mforms__TabViewTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::TabView *) x));
}
static void *_p_mforms__TreeNodeViewTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::TreeNodeView *) x));
}
static void *_p_mforms__WidgetSeparatorTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::DrawBox *) ((mforms::WidgetSeparator *) x));
}
static void *_p_mforms__TextEntryTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::TextEntry *) x));
}
static void *_p_mforms__BarGraphWidgetTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::DrawBox *)(mforms::BaseWidget *) ((mforms::BarGraphWidget *) x));
}
static void *_p_mforms__HeartbeatWidgetTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::DrawBox *)(mforms::BaseWidget *) ((mforms::HeartbeatWidget *) x));
}
static void *_p_mforms__DrawBoxTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::DrawBox *) x));
}
static void *_p_mforms__SplitterTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Container *) ((mforms::Splitter *) x));
}
static void *_p_mforms__PyDrawBoxTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::DrawBox *) ((mforms::PyDrawBox *) x));
}
static void *_p_mforms__SectionBoxTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Container *)(mforms::Box *) ((mforms::SectionBox *) x));
}
static void *_p_mforms__FileChooserTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::FileChooser *) x));
}
static void *_p_mforms__GridTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::Grid *) x));
}
static void *_p_mforms__AppViewTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Container *)(mforms::Box *) ((mforms::AppView *) x));
}
static void *_p_mforms__TabSwitcherTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::DrawBox *) ((mforms::TabSwitcher *) x));
}
static void *_p_mforms__SelectorTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::Selector *) x));
}
static void *_p_mforms__ToolBarItemTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *)  ((mforms::ToolBarItem *) x));
}
static void *_p_mforms__PanelTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Container *) ((mforms::Panel *) x));
}
static void *_p_mforms__PopupTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *)  ((mforms::Popup *) x));
}
static void *_p_mforms__ServerInfoWidgetTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::DrawBox *)(mforms::BaseWidget *) ((mforms::ServerInfoWidget *) x));
}
static void *_p_mforms__BaseWidgetTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::DrawBox *) ((mforms::BaseWidget *) x));
}
static void *_p_mforms__ProgressBarTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::ProgressBar *) x));
}
static void *_p_mforms__LineDiagramWidgetTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::DrawBox *)(mforms::BaseWidget *) ((mforms::LineDiagramWidget *) x));
}
static void *_p_mforms__WidgetContainerTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Container *)(mforms::Box *) ((mforms::WidgetContainer *) x));
}
static void *_p_mforms__ContainerTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::Container *) x));
}
static void *_p_mforms__CheckBoxTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Button *) ((mforms::CheckBox *) x));
}
static void *_p_mforms__DockingPointTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *)  ((mforms::DockingPoint *) x));
}
static void *_p_mforms__ListBoxTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::ListBox *) x));
}
static void *_p_mforms__WizardTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Form *) ((mforms::Wizard *) x));
}
static void *_p_mforms__ViewTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *)  ((mforms::View *) x));
}
static void *_p_mforms__FormTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::Form *) x));
}
static void *_p_mforms__AppTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::DockingPoint *) ((mforms::App *) x));
}
static void *_p_mforms__ButtonTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::Button *) x));
}
static void *_p_mforms__BoxTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Container *) ((mforms::Box *) x));
}
static void *_p_mforms__TableTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *)(mforms::Container *) ((mforms::Table *) x));
}
static void *_p_mforms__LabelTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::Label *) x));
}
static void *_p_mforms__CodeEditorTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::CodeEditor *) x));
}
static void *_p_mforms__TextBoxTo_p_mforms__Object(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((mforms::Object *) (mforms::View *) ((mforms::TextBox *) x));
}
static swig_type_info _swigt__p_Path = {"_p_Path", "Path *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Ptr = {"_p_Ptr", "Ptr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_StringPairVector = {"_p_StringPairVector", "StringPairVector *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_allocator_type = {"_p_allocator_type", "allocator_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_base__Color = {"_p_base__Color", "base::Color *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_base__HSVColor = {"_p_base__HSVColor", "base::HSVColor *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_base__Rect = {"_p_base__Rect", "base::Rect *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_bec__MenuItemList = {"_p_bec__MenuItemList", "bec::MenuItemList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__functionT_bool_fF_t = {"_p_boost__functionT_bool_fF_t", "boost::function< bool () > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__functionT_bool_fstd__string_const_RF_t = {"_p_boost__functionT_bool_fstd__string_const_RF_t", "boost::function< bool (std::string const &) > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__functionT_void_fmforms__CodeEditor_p_boolF_t = {"_p_boost__functionT_void_fmforms__CodeEditor_p_boolF_t", "boost::function< void (mforms::CodeEditor *,bool) > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__functionT_void_fstd__string_const_RF_t = {"_p_boost__functionT_void_fstd__string_const_RF_t", "boost::function< void (std::string const &) > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__functionT_void_pfF_t = {"_p_boost__functionT_void_pfF_t", "boost::function< void *() > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__int64_t = {"_p_boost__int64_t", "boost::int64_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__signals2__signalT_void_fF_t = {"_p_boost__signals2__signalT_void_fF_t", "boost::signals2::signal< void () > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__signals2__signalT_void_fmforms__ToolBarItem_pF_t = {"_p_boost__signals2__signalT_void_fmforms__ToolBarItem_pF_t", "boost::signals2::signal< void (mforms::ToolBarItem *) > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__signals2__signalT_void_fstd__string_const_RF_t = {"_p_boost__signals2__signalT_void_fstd__string_const_RF_t", "boost::signals2::signal< void (std::string const &) > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__signals2__signalT_void_fvoidF_t = {"_p_boost__signals2__signalT_void_fvoidF_t", "boost::signals2::signal< void (void) > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_difference_type = {"_p_difference_type", "difference_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f___p_mforms__TaskSidebar = {"_p_f___p_mforms__TaskSidebar", "mforms::TaskSidebar *(*)()", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__App = {"_p_mforms__App", "mforms::App *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__AppView = {"_p_mforms__AppView", "mforms::AppView *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__BarGraphWidget = {"_p_mforms__BarGraphWidget", "mforms::BarGraphWidget *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__BaseWidget = {"_p_mforms__BaseWidget", "mforms::BaseWidget *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Box = {"_p_mforms__Box", "mforms::Box *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Button = {"_p_mforms__Button", "mforms::Button *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__CheckBox = {"_p_mforms__CheckBox", "mforms::CheckBox *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__CodeEditor = {"_p_mforms__CodeEditor", "mforms::CodeEditor *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Container = {"_p_mforms__Container", "mforms::Container *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__DockingPoint = {"_p_mforms__DockingPoint", "mforms::DockingPoint *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__DrawBox = {"_p_mforms__DrawBox", "mforms::DrawBox *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__FileChooser = {"_p_mforms__FileChooser", "mforms::FileChooser *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__FindPanel = {"_p_mforms__FindPanel", "mforms::FindPanel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Form = {"_p_mforms__Form", "mforms::Form *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Grid = {"_p_mforms__Grid", "mforms::Grid *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__GridPath = {"_p_mforms__GridPath", "mforms::GridPath *|mforms::Grid::Path *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__HeartbeatWidget = {"_p_mforms__HeartbeatWidget", "mforms::HeartbeatWidget *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__HyperText = {"_p_mforms__HyperText", "mforms::HyperText *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__ImageBox = {"_p_mforms__ImageBox", "mforms::ImageBox *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Label = {"_p_mforms__Label", "mforms::Label *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__LineDiagramWidget = {"_p_mforms__LineDiagramWidget", "mforms::LineDiagramWidget *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__ListBox = {"_p_mforms__ListBox", "mforms::ListBox *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Menu = {"_p_mforms__Menu", "mforms::Menu *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__MenuBar = {"_p_mforms__MenuBar", "mforms::MenuBar *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Object = {"_p_mforms__Object", "mforms::Object *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Panel = {"_p_mforms__Panel", "mforms::Panel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Popup = {"_p_mforms__Popup", "mforms::Popup *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__ProgressBar = {"_p_mforms__ProgressBar", "mforms::ProgressBar *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__PyDrawBox = {"_p_mforms__PyDrawBox", "mforms::PyDrawBox *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__RadioButton = {"_p_mforms__RadioButton", "mforms::RadioButton *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__ScrollPanel = {"_p_mforms__ScrollPanel", "mforms::ScrollPanel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__SectionBox = {"_p_mforms__SectionBox", "mforms::SectionBox *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Selector = {"_p_mforms__Selector", "mforms::Selector *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__ServerInfoWidget = {"_p_mforms__ServerInfoWidget", "mforms::ServerInfoWidget *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Splitter = {"_p_mforms__Splitter", "mforms::Splitter *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__TabSwitcher = {"_p_mforms__TabSwitcher", "mforms::TabSwitcher *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__TabView = {"_p_mforms__TabView", "mforms::TabView *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Table = {"_p_mforms__Table", "mforms::Table *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__TaskSidebar = {"_p_mforms__TaskSidebar", "mforms::TaskSidebar *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__TextAttributes = {"_p_mforms__TextAttributes", "mforms::TextAttributes *|mforms::TreeNodeTextAttributes *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__TextBox = {"_p_mforms__TextBox", "mforms::TextBox *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__TextEntry = {"_p_mforms__TextEntry", "mforms::TextEntry *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__ToolBar = {"_p_mforms__ToolBar", "mforms::ToolBar *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__ToolBarItem = {"_p_mforms__ToolBarItem", "mforms::ToolBarItem *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__TreeNode = {"_p_mforms__TreeNode", "mforms::TreeNode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__TreeNodeCollectionSkeleton = {"_p_mforms__TreeNodeCollectionSkeleton", "mforms::TreeNodeCollectionSkeleton *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__TreeNodeData = {"_p_mforms__TreeNodeData", "mforms::TreeNodeData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__TreeNodeRef = {"_p_mforms__TreeNodeRef", "mforms::TreeNodeRef *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__TreeNodeSkeleton = {"_p_mforms__TreeNodeSkeleton", "mforms::TreeNodeSkeleton *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__TreeNodeView = {"_p_mforms__TreeNodeView", "mforms::TreeNodeView *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Utilities = {"_p_mforms__Utilities", "mforms::Utilities *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__View = {"_p_mforms__View", "mforms::View *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__WebBrowser = {"_p_mforms__WebBrowser", "mforms::WebBrowser *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__WidgetContainer = {"_p_mforms__WidgetContainer", "mforms::WidgetContainer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__WidgetSeparator = {"_p_mforms__WidgetSeparator", "mforms::WidgetSeparator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mforms__Wizard = {"_p_mforms__Wizard", "mforms::Wizard *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_PyObject = {"_p_p_PyObject", "PyObject **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_sptr_t = {"_p_sptr_t", "sptr_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__allocatorT_double_t = {"_p_std__allocatorT_double_t", "std::list< double >::allocator_type *|std::allocator< double > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__invalid_argument = {"_p_std__invalid_argument", "std::invalid_argument *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__listT__Tp__Alloc_t = {"_p_std__listT__Tp__Alloc_t", "std::list< _Tp,_Alloc > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__listT_double_std__allocatorT_double_t_t = {"_p_std__listT_double_std__allocatorT_double_t_t", "std::list< double,std::allocator< double > > *|mforms::ThresholdList *|std::list< double > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__listT_std__string_std__allocatorT_std__string_t_t = {"_p_std__listT_std__string_std__allocatorT_std__string_t_t", "std::list< std::string,std::allocator< std::string > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__mapT_std__string_std__vectorT_std__string_std__allocatorT_std__string_t_t_t = {"_p_std__mapT_std__string_std__vectorT_std__string_std__allocatorT_std__string_t_t_t", "std::map< std::string,std::vector< std::string,std::allocator< std::string > > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__pairT_char_const_p_size_t_t = {"_p_std__pairT_char_const_p_size_t_t", "std::pair< char const *,size_t > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_mforms__ToolBarItem_p_std__allocatorT_mforms__ToolBarItem_p_t_t = {"_p_std__vectorT_mforms__ToolBarItem_p_std__allocatorT_mforms__ToolBarItem_p_t_t", "std::vector< mforms::ToolBarItem *,std::allocator< mforms::ToolBarItem * > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_mforms__TreeNodeRef_std__allocatorT_mforms__TreeNodeRef_t_t = {"_p_std__vectorT_mforms__TreeNodeRef_std__allocatorT_mforms__TreeNodeRef_t_t", "std::vector< mforms::TreeNodeRef,std::allocator< mforms::TreeNodeRef > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_mforms__TreeNodeSkeleton_std__allocatorT_mforms__TreeNodeSkeleton_t_t = {"_p_std__vectorT_mforms__TreeNodeSkeleton_std__allocatorT_mforms__TreeNodeSkeleton_t_t", "std::vector< mforms::TreeNodeSkeleton,std::allocator< mforms::TreeNodeSkeleton > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_std__pairT_int_std__string_t_std__allocatorT_std__pairT_int_std__string_t_t_t = {"_p_std__vectorT_std__pairT_int_std__string_t_std__allocatorT_std__pairT_int_std__string_t_t_t", "std::vector< std::pair< int,std::string >,std::allocator< std::pair< int,std::string > > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_std__pairT_std__string_std__string_t_std__allocatorT_std__pairT_std__string_std__string_t_t_t = {"_p_std__vectorT_std__pairT_std__string_std__string_t_std__allocatorT_std__pairT_std__string_std__string_t_t_t", "std::vector< std::pair< std::string,std::string >,std::allocator< std::pair< std::string,std::string > > > *|mforms::FileChooser::StringPairVector *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_std__string_std__allocatorT_std__string_t_t = {"_p_std__vectorT_std__string_std__allocatorT_std__string_t_t", "std::vector< std::string,std::allocator< std::string > > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_swig__SwigPyIterator = {"_p_swig__SwigPyIterator", "swig::SwigPyIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_uptr_t = {"_p_uptr_t", "uptr_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_value_type = {"_p_value_type", "value_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wb__LiveSchemaTree = {"_p_wb__LiveSchemaTree", "wb::LiveSchemaTree *", 0, 0, (void*)0, 0};

static swig_type_info *swig_type_initial[] = {
  &_swigt__p_Path,
  &_swigt__p_Ptr,
  &_swigt__p_StringPairVector,
  &_swigt__p_allocator_type,
  &_swigt__p_base__Color,
  &_swigt__p_base__HSVColor,
  &_swigt__p_base__Rect,
  &_swigt__p_bec__MenuItemList,
  &_swigt__p_bool,
  &_swigt__p_boost__functionT_bool_fF_t,
  &_swigt__p_boost__functionT_bool_fstd__string_const_RF_t,
  &_swigt__p_boost__functionT_void_fmforms__CodeEditor_p_boolF_t,
  &_swigt__p_boost__functionT_void_fstd__string_const_RF_t,
  &_swigt__p_boost__functionT_void_pfF_t,
  &_swigt__p_boost__int64_t,
  &_swigt__p_boost__signals2__signalT_void_fF_t,
  &_swigt__p_boost__signals2__signalT_void_fmforms__ToolBarItem_pF_t,
  &_swigt__p_boost__signals2__signalT_void_fstd__string_const_RF_t,
  &_swigt__p_boost__signals2__signalT_void_fvoidF_t,
  &_swigt__p_char,
  &_swigt__p_difference_type,
  &_swigt__p_f___p_mforms__TaskSidebar,
  &_swigt__p_int,
  &_swigt__p_mforms__App,
  &_swigt__p_mforms__AppView,
  &_swigt__p_mforms__BarGraphWidget,
  &_swigt__p_mforms__BaseWidget,
  &_swigt__p_mforms__Box,
  &_swigt__p_mforms__Button,
  &_swigt__p_mforms__CheckBox,
  &_swigt__p_mforms__CodeEditor,
  &_swigt__p_mforms__Container,
  &_swigt__p_mforms__DockingPoint,
  &_swigt__p_mforms__DrawBox,
  &_swigt__p_mforms__FileChooser,
  &_swigt__p_mforms__FindPanel,
  &_swigt__p_mforms__Form,
  &_swigt__p_mforms__Grid,
  &_swigt__p_mforms__GridPath,
  &_swigt__p_mforms__HeartbeatWidget,
  &_swigt__p_mforms__HyperText,
  &_swigt__p_mforms__ImageBox,
  &_swigt__p_mforms__Label,
  &_swigt__p_mforms__LineDiagramWidget,
  &_swigt__p_mforms__ListBox,
  &_swigt__p_mforms__Menu,
  &_swigt__p_mforms__MenuBar,
  &_swigt__p_mforms__Object,
  &_swigt__p_mforms__Panel,
  &_swigt__p_mforms__Popup,
  &_swigt__p_mforms__ProgressBar,
  &_swigt__p_mforms__PyDrawBox,
  &_swigt__p_mforms__RadioButton,
  &_swigt__p_mforms__ScrollPanel,
  &_swigt__p_mforms__SectionBox,
  &_swigt__p_mforms__Selector,
  &_swigt__p_mforms__ServerInfoWidget,
  &_swigt__p_mforms__Splitter,
  &_swigt__p_mforms__TabSwitcher,
  &_swigt__p_mforms__TabView,
  &_swigt__p_mforms__Table,
  &_swigt__p_mforms__TaskSidebar,
  &_swigt__p_mforms__TextAttributes,
  &_swigt__p_mforms__TextBox,
  &_swigt__p_mforms__TextEntry,
  &_swigt__p_mforms__ToolBar,
  &_swigt__p_mforms__ToolBarItem,
  &_swigt__p_mforms__TreeNode,
  &_swigt__p_mforms__TreeNodeCollectionSkeleton,
  &_swigt__p_mforms__TreeNodeData,
  &_swigt__p_mforms__TreeNodeRef,
  &_swigt__p_mforms__TreeNodeSkeleton,
  &_swigt__p_mforms__TreeNodeView,
  &_swigt__p_mforms__Utilities,
  &_swigt__p_mforms__View,
  &_swigt__p_mforms__WebBrowser,
  &_swigt__p_mforms__WidgetContainer,
  &_swigt__p_mforms__WidgetSeparator,
  &_swigt__p_mforms__Wizard,
  &_swigt__p_p_PyObject,
  &_swigt__p_p_void,
  &_swigt__p_size_type,
  &_swigt__p_sptr_t,
  &_swigt__p_std__allocatorT_double_t,
  &_swigt__p_std__invalid_argument,
  &_swigt__p_std__listT__Tp__Alloc_t,
  &_swigt__p_std__listT_double_std__allocatorT_double_t_t,
  &_swigt__p_std__listT_std__string_std__allocatorT_std__string_t_t,
  &_swigt__p_std__mapT_std__string_std__vectorT_std__string_std__allocatorT_std__string_t_t_t,
  &_swigt__p_std__pairT_char_const_p_size_t_t,
  &_swigt__p_std__string,
  &_swigt__p_std__vectorT_mforms__ToolBarItem_p_std__allocatorT_mforms__ToolBarItem_p_t_t,
  &_swigt__p_std__vectorT_mforms__TreeNodeRef_std__allocatorT_mforms__TreeNodeRef_t_t,
  &_swigt__p_std__vectorT_mforms__TreeNodeSkeleton_std__allocatorT_mforms__TreeNodeSkeleton_t_t,
  &_swigt__p_std__vectorT_std__pairT_int_std__string_t_std__allocatorT_std__pairT_int_std__string_t_t_t,
  &_swigt__p_std__vectorT_std__pairT_std__string_std__string_t_std__allocatorT_std__pairT_std__string_std__string_t_t_t,
  &_swigt__p_std__vectorT_std__string_std__allocatorT_std__string_t_t,
  &_swigt__p_swig__SwigPyIterator,
  &_swigt__p_uptr_t,
  &_swigt__p_value_type,
  &_swigt__p_wb__LiveSchemaTree,
};

static swig_cast_info _swigc__p_Path[] = {  {&_swigt__p_Path, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Ptr[] = {  {&_swigt__p_Ptr, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_StringPairVector[] = {  {&_swigt__p_StringPairVector, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_allocator_type[] = {  {&_swigt__p_allocator_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_base__Color[] = {  {&_swigt__p_base__Color, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_base__HSVColor[] = {  {&_swigt__p_base__HSVColor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_base__Rect[] = {  {&_swigt__p_base__Rect, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_bec__MenuItemList[] = {  {&_swigt__p_bec__MenuItemList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_bool[] = {  {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__functionT_bool_fF_t[] = {  {&_swigt__p_boost__functionT_bool_fF_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__functionT_bool_fstd__string_const_RF_t[] = {  {&_swigt__p_boost__functionT_bool_fstd__string_const_RF_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__functionT_void_fmforms__CodeEditor_p_boolF_t[] = {  {&_swigt__p_boost__functionT_void_fmforms__CodeEditor_p_boolF_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__functionT_void_fstd__string_const_RF_t[] = {  {&_swigt__p_boost__functionT_void_fstd__string_const_RF_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__functionT_void_pfF_t[] = {  {&_swigt__p_boost__functionT_void_pfF_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__int64_t[] = {  {&_swigt__p_boost__int64_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__signals2__signalT_void_fF_t[] = {  {&_swigt__p_boost__signals2__signalT_void_fF_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__signals2__signalT_void_fmforms__ToolBarItem_pF_t[] = {  {&_swigt__p_boost__signals2__signalT_void_fmforms__ToolBarItem_pF_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__signals2__signalT_void_fstd__string_const_RF_t[] = {  {&_swigt__p_boost__signals2__signalT_void_fstd__string_const_RF_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__signals2__signalT_void_fvoidF_t[] = {  {&_swigt__p_boost__signals2__signalT_void_fvoidF_t, 0, 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_difference_type[] = {  {&_swigt__p_difference_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f___p_mforms__TaskSidebar[] = {  {&_swigt__p_f___p_mforms__TaskSidebar, 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_mforms__App[] = {  {&_swigt__p_mforms__App, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__AppView[] = {  {&_swigt__p_mforms__AppView, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__BarGraphWidget[] = {  {&_swigt__p_mforms__BarGraphWidget, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__BaseWidget[] = {  {&_swigt__p_mforms__HeartbeatWidget, _p_mforms__HeartbeatWidgetTo_p_mforms__BaseWidget, 0, 0},  {&_swigt__p_mforms__BarGraphWidget, _p_mforms__BarGraphWidgetTo_p_mforms__BaseWidget, 0, 0},  {&_swigt__p_mforms__BaseWidget, 0, 0, 0},  {&_swigt__p_mforms__ServerInfoWidget, _p_mforms__ServerInfoWidgetTo_p_mforms__BaseWidget, 0, 0},  {&_swigt__p_mforms__LineDiagramWidget, _p_mforms__LineDiagramWidgetTo_p_mforms__BaseWidget, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Box[] = {  {&_swigt__p_mforms__SectionBox, _p_mforms__SectionBoxTo_p_mforms__Box, 0, 0},  {&_swigt__p_mforms__AppView, _p_mforms__AppViewTo_p_mforms__Box, 0, 0},  {&_swigt__p_mforms__Box, 0, 0, 0},  {&_swigt__p_mforms__WidgetContainer, _p_mforms__WidgetContainerTo_p_mforms__Box, 0, 0},  {&_swigt__p_mforms__TaskSidebar, _p_mforms__TaskSidebarTo_p_mforms__Box, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Button[] = {  {&_swigt__p_mforms__Button, 0, 0, 0},  {&_swigt__p_mforms__RadioButton, _p_mforms__RadioButtonTo_p_mforms__Button, 0, 0},  {&_swigt__p_mforms__CheckBox, _p_mforms__CheckBoxTo_p_mforms__Button, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__CheckBox[] = {  {&_swigt__p_mforms__CheckBox, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__CodeEditor[] = {  {&_swigt__p_mforms__CodeEditor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Container[] = {  {&_swigt__p_mforms__SectionBox, _p_mforms__SectionBoxTo_p_mforms__Container, 0, 0},  {&_swigt__p_mforms__Splitter, _p_mforms__SplitterTo_p_mforms__Container, 0, 0},  {&_swigt__p_mforms__AppView, _p_mforms__AppViewTo_p_mforms__Container, 0, 0},  {&_swigt__p_mforms__Container, 0, 0, 0},  {&_swigt__p_mforms__Box, _p_mforms__BoxTo_p_mforms__Container, 0, 0},  {&_swigt__p_mforms__WidgetContainer, _p_mforms__WidgetContainerTo_p_mforms__Container, 0, 0},  {&_swigt__p_mforms__Table, _p_mforms__TableTo_p_mforms__Container, 0, 0},  {&_swigt__p_mforms__ScrollPanel, _p_mforms__ScrollPanelTo_p_mforms__Container, 0, 0},  {&_swigt__p_mforms__TaskSidebar, _p_mforms__TaskSidebarTo_p_mforms__Container, 0, 0},  {&_swigt__p_mforms__Panel, _p_mforms__PanelTo_p_mforms__Container, 0, 0},  {&_swigt__p_mforms__ToolBar, _p_mforms__ToolBarTo_p_mforms__Container, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__DockingPoint[] = {  {&_swigt__p_mforms__DockingPoint, 0, 0, 0},  {&_swigt__p_mforms__App, _p_mforms__AppTo_p_mforms__DockingPoint, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__DrawBox[] = {  {&_swigt__p_mforms__DrawBox, 0, 0, 0},  {&_swigt__p_mforms__PyDrawBox, _p_mforms__PyDrawBoxTo_p_mforms__DrawBox, 0, 0},  {&_swigt__p_mforms__WidgetSeparator, _p_mforms__WidgetSeparatorTo_p_mforms__DrawBox, 0, 0},  {&_swigt__p_mforms__HeartbeatWidget, _p_mforms__HeartbeatWidgetTo_p_mforms__DrawBox, 0, 0},  {&_swigt__p_mforms__BarGraphWidget, _p_mforms__BarGraphWidgetTo_p_mforms__DrawBox, 0, 0},  {&_swigt__p_mforms__TabSwitcher, _p_mforms__TabSwitcherTo_p_mforms__DrawBox, 0, 0},  {&_swigt__p_mforms__BaseWidget, _p_mforms__BaseWidgetTo_p_mforms__DrawBox, 0, 0},  {&_swigt__p_mforms__ServerInfoWidget, _p_mforms__ServerInfoWidgetTo_p_mforms__DrawBox, 0, 0},  {&_swigt__p_mforms__LineDiagramWidget, _p_mforms__LineDiagramWidgetTo_p_mforms__DrawBox, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__FileChooser[] = {  {&_swigt__p_mforms__FileChooser, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__FindPanel[] = {  {&_swigt__p_mforms__FindPanel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Form[] = {  {&_swigt__p_mforms__Wizard, _p_mforms__WizardTo_p_mforms__Form, 0, 0},  {&_swigt__p_mforms__Form, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Grid[] = {  {&_swigt__p_mforms__Grid, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__GridPath[] = {  {&_swigt__p_mforms__GridPath, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__HeartbeatWidget[] = {  {&_swigt__p_mforms__HeartbeatWidget, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__HyperText[] = {  {&_swigt__p_mforms__HyperText, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__ImageBox[] = {  {&_swigt__p_mforms__ImageBox, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Label[] = {  {&_swigt__p_mforms__Label, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__LineDiagramWidget[] = {  {&_swigt__p_mforms__LineDiagramWidget, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__ListBox[] = {  {&_swigt__p_mforms__ListBox, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Menu[] = {  {&_swigt__p_mforms__Menu, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__MenuBar[] = {  {&_swigt__p_mforms__MenuBar, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Object[] = {  {&_swigt__p_mforms__Table, _p_mforms__TableTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__Label, _p_mforms__LabelTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__ScrollPanel, _p_mforms__ScrollPanelTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__ImageBox, _p_mforms__ImageBoxTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__TaskSidebar, _p_mforms__TaskSidebarTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__HyperText, _p_mforms__HyperTextTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__Wizard, _p_mforms__WizardTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__ToolBar, _p_mforms__ToolBarTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__WebBrowser, _p_mforms__WebBrowserTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__View, _p_mforms__ViewTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__RadioButton, _p_mforms__RadioButtonTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__Button, _p_mforms__ButtonTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__TreeNodeView, _p_mforms__TreeNodeViewTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__TabView, _p_mforms__TabViewTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__Form, _p_mforms__FormTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__WidgetSeparator, _p_mforms__WidgetSeparatorTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__TextEntry, _p_mforms__TextEntryTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__HeartbeatWidget, _p_mforms__HeartbeatWidgetTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__BarGraphWidget, _p_mforms__BarGraphWidgetTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__DrawBox, _p_mforms__DrawBoxTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__PyDrawBox, _p_mforms__PyDrawBoxTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__Splitter, _p_mforms__SplitterTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__SectionBox, _p_mforms__SectionBoxTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__FileChooser, _p_mforms__FileChooserTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__AppView, _p_mforms__AppViewTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__TabSwitcher, _p_mforms__TabSwitcherTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__Selector, _p_mforms__SelectorTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__ToolBarItem, _p_mforms__ToolBarItemTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__Menu, _p_mforms__MenuTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__LineDiagramWidget, _p_mforms__LineDiagramWidgetTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__ServerInfoWidget, _p_mforms__ServerInfoWidgetTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__BaseWidget, _p_mforms__BaseWidgetTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__ProgressBar, _p_mforms__ProgressBarTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__Container, _p_mforms__ContainerTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__CheckBox, _p_mforms__CheckBoxTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__WidgetContainer, _p_mforms__WidgetContainerTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__DockingPoint, _p_mforms__DockingPointTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__ListBox, _p_mforms__ListBoxTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__Object, 0, 0, 0},  {&_swigt__p_mforms__Panel, _p_mforms__PanelTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__Popup, _p_mforms__PopupTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__Grid, _p_mforms__GridTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__App, _p_mforms__AppTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__Box, _p_mforms__BoxTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__CodeEditor, _p_mforms__CodeEditorTo_p_mforms__Object, 0, 0},  {&_swigt__p_mforms__TextBox, _p_mforms__TextBoxTo_p_mforms__Object, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Panel[] = {  {&_swigt__p_mforms__Panel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Popup[] = {  {&_swigt__p_mforms__Popup, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__ProgressBar[] = {  {&_swigt__p_mforms__ProgressBar, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__PyDrawBox[] = {  {&_swigt__p_mforms__PyDrawBox, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__RadioButton[] = {  {&_swigt__p_mforms__RadioButton, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__ScrollPanel[] = {  {&_swigt__p_mforms__ScrollPanel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__SectionBox[] = {  {&_swigt__p_mforms__SectionBox, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Selector[] = {  {&_swigt__p_mforms__Selector, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__ServerInfoWidget[] = {  {&_swigt__p_mforms__ServerInfoWidget, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Splitter[] = {  {&_swigt__p_mforms__Splitter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__TabSwitcher[] = {  {&_swigt__p_mforms__TabSwitcher, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__TabView[] = {  {&_swigt__p_mforms__TabView, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Table[] = {  {&_swigt__p_mforms__Table, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__TaskSidebar[] = {  {&_swigt__p_mforms__TaskSidebar, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__TextAttributes[] = {  {&_swigt__p_mforms__TextAttributes, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__TextBox[] = {  {&_swigt__p_mforms__TextBox, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__TextEntry[] = {  {&_swigt__p_mforms__TextEntry, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__ToolBar[] = {  {&_swigt__p_mforms__ToolBar, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__ToolBarItem[] = {  {&_swigt__p_mforms__ToolBarItem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__TreeNode[] = {  {&_swigt__p_mforms__TreeNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__TreeNodeCollectionSkeleton[] = {  {&_swigt__p_mforms__TreeNodeCollectionSkeleton, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__TreeNodeData[] = {  {&_swigt__p_mforms__TreeNodeData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__TreeNodeRef[] = {  {&_swigt__p_mforms__TreeNodeRef, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__TreeNodeSkeleton[] = {  {&_swigt__p_mforms__TreeNodeSkeleton, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__TreeNodeView[] = {  {&_swigt__p_mforms__TreeNodeView, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Utilities[] = {  {&_swigt__p_mforms__Utilities, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__View[] = {  {&_swigt__p_mforms__Table, _p_mforms__TableTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__Label, _p_mforms__LabelTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__ScrollPanel, _p_mforms__ScrollPanelTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__ImageBox, _p_mforms__ImageBoxTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__TaskSidebar, _p_mforms__TaskSidebarTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__HyperText, _p_mforms__HyperTextTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__Wizard, _p_mforms__WizardTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__ToolBar, _p_mforms__ToolBarTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__WebBrowser, _p_mforms__WebBrowserTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__View, 0, 0, 0},  {&_swigt__p_mforms__RadioButton, _p_mforms__RadioButtonTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__Button, _p_mforms__ButtonTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__TreeNodeView, _p_mforms__TreeNodeViewTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__TabView, _p_mforms__TabViewTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__Form, _p_mforms__FormTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__WidgetSeparator, _p_mforms__WidgetSeparatorTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__TextEntry, _p_mforms__TextEntryTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__HeartbeatWidget, _p_mforms__HeartbeatWidgetTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__BarGraphWidget, _p_mforms__BarGraphWidgetTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__DrawBox, _p_mforms__DrawBoxTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__PyDrawBox, _p_mforms__PyDrawBoxTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__Splitter, _p_mforms__SplitterTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__SectionBox, _p_mforms__SectionBoxTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__FileChooser, _p_mforms__FileChooserTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__AppView, _p_mforms__AppViewTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__TabSwitcher, _p_mforms__TabSwitcherTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__Selector, _p_mforms__SelectorTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__LineDiagramWidget, _p_mforms__LineDiagramWidgetTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__ServerInfoWidget, _p_mforms__ServerInfoWidgetTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__BaseWidget, _p_mforms__BaseWidgetTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__ProgressBar, _p_mforms__ProgressBarTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__Container, _p_mforms__ContainerTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__CheckBox, _p_mforms__CheckBoxTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__WidgetContainer, _p_mforms__WidgetContainerTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__ListBox, _p_mforms__ListBoxTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__Panel, _p_mforms__PanelTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__Grid, _p_mforms__GridTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__Box, _p_mforms__BoxTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__CodeEditor, _p_mforms__CodeEditorTo_p_mforms__View, 0, 0},  {&_swigt__p_mforms__TextBox, _p_mforms__TextBoxTo_p_mforms__View, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__WebBrowser[] = {  {&_swigt__p_mforms__WebBrowser, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__WidgetContainer[] = {  {&_swigt__p_mforms__WidgetContainer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__WidgetSeparator[] = {  {&_swigt__p_mforms__WidgetSeparator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_mforms__Wizard[] = {  {&_swigt__p_mforms__Wizard, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_PyObject[] = {  {&_swigt__p_p_PyObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_void[] = {  {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_size_type[] = {  {&_swigt__p_size_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_sptr_t[] = {  {&_swigt__p_sptr_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__allocatorT_double_t[] = {  {&_swigt__p_std__allocatorT_double_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__invalid_argument[] = {  {&_swigt__p_std__invalid_argument, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__listT__Tp__Alloc_t[] = {  {&_swigt__p_std__listT__Tp__Alloc_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__listT_double_std__allocatorT_double_t_t[] = {  {&_swigt__p_std__listT_double_std__allocatorT_double_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__listT_std__string_std__allocatorT_std__string_t_t[] = {  {&_swigt__p_std__listT_std__string_std__allocatorT_std__string_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__mapT_std__string_std__vectorT_std__string_std__allocatorT_std__string_t_t_t[] = {  {&_swigt__p_std__mapT_std__string_std__vectorT_std__string_std__allocatorT_std__string_t_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__pairT_char_const_p_size_t_t[] = {  {&_swigt__p_std__pairT_char_const_p_size_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__string[] = {  {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_mforms__ToolBarItem_p_std__allocatorT_mforms__ToolBarItem_p_t_t[] = {  {&_swigt__p_std__vectorT_mforms__ToolBarItem_p_std__allocatorT_mforms__ToolBarItem_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_mforms__TreeNodeRef_std__allocatorT_mforms__TreeNodeRef_t_t[] = {  {&_swigt__p_std__vectorT_mforms__TreeNodeRef_std__allocatorT_mforms__TreeNodeRef_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_mforms__TreeNodeSkeleton_std__allocatorT_mforms__TreeNodeSkeleton_t_t[] = {  {&_swigt__p_std__vectorT_mforms__TreeNodeSkeleton_std__allocatorT_mforms__TreeNodeSkeleton_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__pairT_int_std__string_t_std__allocatorT_std__pairT_int_std__string_t_t_t[] = {  {&_swigt__p_std__vectorT_std__pairT_int_std__string_t_std__allocatorT_std__pairT_int_std__string_t_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__pairT_std__string_std__string_t_std__allocatorT_std__pairT_std__string_std__string_t_t_t[] = {  {&_swigt__p_std__vectorT_std__pairT_std__string_std__string_t_std__allocatorT_std__pairT_std__string_std__string_t_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_std__string_std__allocatorT_std__string_t_t[] = {  {&_swigt__p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_swig__SwigPyIterator[] = {  {&_swigt__p_swig__SwigPyIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_uptr_t[] = {  {&_swigt__p_uptr_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_value_type[] = {  {&_swigt__p_value_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wb__LiveSchemaTree[] = {  {&_swigt__p_wb__LiveSchemaTree, 0, 0, 0},{0, 0, 0, 0}};

static swig_cast_info *swig_cast_initial[] = {
  _swigc__p_Path,
  _swigc__p_Ptr,
  _swigc__p_StringPairVector,
  _swigc__p_allocator_type,
  _swigc__p_base__Color,
  _swigc__p_base__HSVColor,
  _swigc__p_base__Rect,
  _swigc__p_bec__MenuItemList,
  _swigc__p_bool,
  _swigc__p_boost__functionT_bool_fF_t,
  _swigc__p_boost__functionT_bool_fstd__string_const_RF_t,
  _swigc__p_boost__functionT_void_fmforms__CodeEditor_p_boolF_t,
  _swigc__p_boost__functionT_void_fstd__string_const_RF_t,
  _swigc__p_boost__functionT_void_pfF_t,
  _swigc__p_boost__int64_t,
  _swigc__p_boost__signals2__signalT_void_fF_t,
  _swigc__p_boost__signals2__signalT_void_fmforms__ToolBarItem_pF_t,
  _swigc__p_boost__signals2__signalT_void_fstd__string_const_RF_t,
  _swigc__p_boost__signals2__signalT_void_fvoidF_t,
  _swigc__p_char,
  _swigc__p_difference_type,
  _swigc__p_f___p_mforms__TaskSidebar,
  _swigc__p_int,
  _swigc__p_mforms__App,
  _swigc__p_mforms__AppView,
  _swigc__p_mforms__BarGraphWidget,
  _swigc__p_mforms__BaseWidget,
  _swigc__p_mforms__Box,
  _swigc__p_mforms__Button,
  _swigc__p_mforms__CheckBox,
  _swigc__p_mforms__CodeEditor,
  _swigc__p_mforms__Container,
  _swigc__p_mforms__DockingPoint,
  _swigc__p_mforms__DrawBox,
  _swigc__p_mforms__FileChooser,
  _swigc__p_mforms__FindPanel,
  _swigc__p_mforms__Form,
  _swigc__p_mforms__Grid,
  _swigc__p_mforms__GridPath,
  _swigc__p_mforms__HeartbeatWidget,
  _swigc__p_mforms__HyperText,
  _swigc__p_mforms__ImageBox,
  _swigc__p_mforms__Label,
  _swigc__p_mforms__LineDiagramWidget,
  _swigc__p_mforms__ListBox,
  _swigc__p_mforms__Menu,
  _swigc__p_mforms__MenuBar,
  _swigc__p_mforms__Object,
  _swigc__p_mforms__Panel,
  _swigc__p_mforms__Popup,
  _swigc__p_mforms__ProgressBar,
  _swigc__p_mforms__PyDrawBox,
  _swigc__p_mforms__RadioButton,
  _swigc__p_mforms__ScrollPanel,
  _swigc__p_mforms__SectionBox,
  _swigc__p_mforms__Selector,
  _swigc__p_mforms__ServerInfoWidget,
  _swigc__p_mforms__Splitter,
  _swigc__p_mforms__TabSwitcher,
  _swigc__p_mforms__TabView,
  _swigc__p_mforms__Table,
  _swigc__p_mforms__TaskSidebar,
  _swigc__p_mforms__TextAttributes,
  _swigc__p_mforms__TextBox,
  _swigc__p_mforms__TextEntry,
  _swigc__p_mforms__ToolBar,
  _swigc__p_mforms__ToolBarItem,
  _swigc__p_mforms__TreeNode,
  _swigc__p_mforms__TreeNodeCollectionSkeleton,
  _swigc__p_mforms__TreeNodeData,
  _swigc__p_mforms__TreeNodeRef,
  _swigc__p_mforms__TreeNodeSkeleton,
  _swigc__p_mforms__TreeNodeView,
  _swigc__p_mforms__Utilities,
  _swigc__p_mforms__View,
  _swigc__p_mforms__WebBrowser,
  _swigc__p_mforms__WidgetContainer,
  _swigc__p_mforms__WidgetSeparator,
  _swigc__p_mforms__Wizard,
  _swigc__p_p_PyObject,
  _swigc__p_p_void,
  _swigc__p_size_type,
  _swigc__p_sptr_t,
  _swigc__p_std__allocatorT_double_t,
  _swigc__p_std__invalid_argument,
  _swigc__p_std__listT__Tp__Alloc_t,
  _swigc__p_std__listT_double_std__allocatorT_double_t_t,
  _swigc__p_std__listT_std__string_std__allocatorT_std__string_t_t,
  _swigc__p_std__mapT_std__string_std__vectorT_std__string_std__allocatorT_std__string_t_t_t,
  _swigc__p_std__pairT_char_const_p_size_t_t,
  _swigc__p_std__string,
  _swigc__p_std__vectorT_mforms__ToolBarItem_p_std__allocatorT_mforms__ToolBarItem_p_t_t,
  _swigc__p_std__vectorT_mforms__TreeNodeRef_std__allocatorT_mforms__TreeNodeRef_t_t,
  _swigc__p_std__vectorT_mforms__TreeNodeSkeleton_std__allocatorT_mforms__TreeNodeSkeleton_t_t,
  _swigc__p_std__vectorT_std__pairT_int_std__string_t_std__allocatorT_std__pairT_int_std__string_t_t_t,
  _swigc__p_std__vectorT_std__pairT_std__string_std__string_t_std__allocatorT_std__pairT_std__string_std__string_t_t_t,
  _swigc__p_std__vectorT_std__string_std__allocatorT_std__string_t_t,
  _swigc__p_swig__SwigPyIterator,
  _swigc__p_uptr_t,
  _swigc__p_value_type,
  _swigc__p_wb__LiveSchemaTree,
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */

static swig_const_info swig_const_table[] = {
{0, 0, 0, 0.0, 0, 0}};

#ifdef __cplusplus
}
#endif
/* -----------------------------------------------------------------------------
 * 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 staticly 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 found, init;
  
  clientdata = clientdata;
  
  /* 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);
    module_head = &swig_module;
  } else {
    /* the interpreter has loaded a SWIG module, but has it loaded this one? */
    found=0;
    iter=module_head;
    do {
      if (iter==&swig_module) {
        found=1;
        break;
      }
      iter=iter->next;
    } while (iter!= module_head);
    
    /* if the is found in the list, then all is done and we may leave */
    if (found) return;
    /* otherwise we must add out module into the list */
    swig_module.next = module_head->next;
    module_head->next = &swig_module;
  }
  
  /* When multiple interpeters 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 %d\n", 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 %d %s\n", 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 %d %s\n", 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
  
  /* Python-specific SWIG API */
#define SWIG_newvarlink()                             SWIG_Python_newvarlink()
#define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr)
#define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants)
  
  /* -----------------------------------------------------------------------------
   * global variable support code.
   * ----------------------------------------------------------------------------- */
  
  typedef struct swig_globalvar {
    char       *name;                  /* Name of global variable */
    PyObject *(*get_attr)(void);       /* Return the current value */
    int       (*set_attr)(PyObject *); /* Set the value */
    struct swig_globalvar *next;
  } swig_globalvar;
  
  typedef struct swig_varlinkobject {
    PyObject_HEAD
    swig_globalvar *vars;
  } swig_varlinkobject;
  
  SWIGINTERN PyObject *
  swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
#if PY_VERSION_HEX >= 0x03000000
    return PyUnicode_InternFromString("<Swig global variables>");
#else
    return PyString_FromString("<Swig global variables>");
#endif
  }
  
  SWIGINTERN PyObject *
  swig_varlink_str(swig_varlinkobject *v) {
#if PY_VERSION_HEX >= 0x03000000
    PyObject *str = PyUnicode_InternFromString("(");
    PyObject *tail;
    PyObject *joined;
    swig_globalvar *var;
    for (var = v->vars; var; var=var->next) {
      tail = PyUnicode_FromString(var->name);
      joined = PyUnicode_Concat(str, tail);
      Py_DecRef(str);
      Py_DecRef(tail);
      str = joined;
      if (var->next) {
        tail = PyUnicode_InternFromString(", ");
        joined = PyUnicode_Concat(str, tail);
        Py_DecRef(str);
        Py_DecRef(tail);
        str = joined;
      }
    }
    tail = PyUnicode_InternFromString(")");
    joined = PyUnicode_Concat(str, tail);
    Py_DecRef(str);
    Py_DecRef(tail);
    str = joined;
#else
    PyObject *str = PyString_FromString("(");
    swig_globalvar *var;
    for (var = v->vars; var; var=var->next) {
      PyString_ConcatAndDel(&str,PyString_FromString(var->name));
      if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
    }
    PyString_ConcatAndDel(&str,PyString_FromString(")"));
#endif
    return str;
  }
  
  SWIGINTERN int
  swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
    char *tmp;
    PyObject *str = swig_varlink_str(v);
    fprintf(fp,"Swig global variables ");
    fprintf(fp,"%s\n", tmp = SWIG_Python_str_AsChar(str));
    SWIG_Python_str_DelForPy3(tmp);
    Py_DECREF(str);
    return 0;
  }
  
  SWIGINTERN void
  swig_varlink_dealloc(swig_varlinkobject *v) {
    swig_globalvar *var = v->vars;
    while (var) {
      swig_globalvar *n = var->next;
      free(var->name);
      free(var);
      var = n;
    }
  }
  
  SWIGINTERN PyObject *
  swig_varlink_getattr(swig_varlinkobject *v, char *n) {
    PyObject *res = NULL;
    swig_globalvar *var = v->vars;
    while (var) {
      if (strcmp(var->name,n) == 0) {
        res = (*var->get_attr)();
        break;
      }
      var = var->next;
    }
    if (res == NULL && !PyErr_Occurred()) {
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
    }
    return res;
  }
  
  SWIGINTERN int
  swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
    int res = 1;
    swig_globalvar *var = v->vars;
    while (var) {
      if (strcmp(var->name,n) == 0) {
        res = (*var->set_attr)(p);
        break;
      }
      var = var->next;
    }
    if (res == 1 && !PyErr_Occurred()) {
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
    }
    return res;
  }
  
  SWIGINTERN PyTypeObject*
  swig_varlink_type(void) {
    static char varlink__doc__[] = "Swig var link object";
    static PyTypeObject varlink_type;
    static int type_init = 0;
    if (!type_init) {
      const PyTypeObject tmp = {
        /* PyObject header changed in Python 3 */
#if PY_VERSION_HEX >= 0x03000000
        PyVarObject_HEAD_INIT(NULL, 0)
#else
        PyObject_HEAD_INIT(NULL)
        0,                                  /* ob_size */
#endif
        (char *)"swigvarlink",              /* tp_name */
        sizeof(swig_varlinkobject),         /* tp_basicsize */
        0,                                  /* tp_itemsize */
        (destructor) swig_varlink_dealloc,  /* tp_dealloc */
        (printfunc) swig_varlink_print,     /* tp_print */
        (getattrfunc) swig_varlink_getattr, /* tp_getattr */
        (setattrfunc) swig_varlink_setattr, /* tp_setattr */
        0,                                  /* tp_compare */
        (reprfunc) swig_varlink_repr,       /* tp_repr */
        0,                                  /* tp_as_number */
        0,                                  /* tp_as_sequence */
        0,                                  /* tp_as_mapping */
        0,                                  /* tp_hash */
        0,                                  /* tp_call */
        (reprfunc) swig_varlink_str,        /* tp_str */
        0,                                  /* tp_getattro */
        0,                                  /* tp_setattro */
        0,                                  /* tp_as_buffer */
        0,                                  /* tp_flags */
        varlink__doc__,                     /* tp_doc */
        0,                                  /* tp_traverse */
        0,                                  /* tp_clear */
        0,                                  /* tp_richcompare */
        0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
        0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
        0,                                  /* tp_del */
#endif
#if PY_VERSION_HEX >= 0x02060000
        0,                                  /* tp_version */
#endif
#ifdef COUNT_ALLOCS
        0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
      varlink_type = tmp;
      type_init = 1;
#if PY_VERSION_HEX < 0x02020000
      varlink_type.ob_type = &PyType_Type;
#else
      if (PyType_Ready(&varlink_type) < 0)
      return NULL;
#endif
    }
    return &varlink_type;
  }
  
  /* Create a variable linking object for use later */
  SWIGINTERN PyObject *
  SWIG_Python_newvarlink(void) {
    swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
    if (result) {
      result->vars = 0;
    }
    return ((PyObject*) result);
  }
  
  SWIGINTERN void 
  SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
    swig_varlinkobject *v = (swig_varlinkobject *) p;
    swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
    if (gv) {
      size_t size = strlen(name)+1;
      gv->name = (char *)malloc(size);
      if (gv->name) {
        strncpy(gv->name,name,size);
        gv->get_attr = get_attr;
        gv->set_attr = set_attr;
        gv->next = v->vars;
      }
    }
    v->vars = gv;
  }
  
  SWIGINTERN PyObject *
  SWIG_globals(void) {
    static PyObject *_SWIG_globals = 0; 
    if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();  
    return _SWIG_globals;
  }
  
  /* -----------------------------------------------------------------------------
   * constants/methods manipulation
   * ----------------------------------------------------------------------------- */
  
  /* Install Constants */
  SWIGINTERN void
  SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
    PyObject *obj = 0;
    size_t i;
    for (i = 0; constants[i].type; ++i) {
      switch(constants[i].type) {
      case SWIG_PY_POINTER:
        obj = SWIG_InternalNewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
        break;
      case SWIG_PY_BINARY:
        obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
        break;
      default:
        obj = 0;
        break;
      }
      if (obj) {
        PyDict_SetItemString(d, constants[i].name, obj);
        Py_DECREF(obj);
      }
    }
  }
  
  /* -----------------------------------------------------------------------------*/
  /* Fix SwigMethods to carry the callback ptrs when needed */
  /* -----------------------------------------------------------------------------*/
  
  SWIGINTERN void
  SWIG_Python_FixMethods(PyMethodDef *methods,
    swig_const_info *const_table,
    swig_type_info **types,
    swig_type_info **types_initial) {
    size_t i;
    for (i = 0; methods[i].ml_name; ++i) {
      const char *c = methods[i].ml_doc;
      if (c && (c = strstr(c, "swig_ptr: "))) {
        int j;
        swig_const_info *ci = 0;
        const char *name = c + 10;
        for (j = 0; const_table[j].type; ++j) {
          if (strncmp(const_table[j].name, name, 
              strlen(const_table[j].name)) == 0) {
            ci = &(const_table[j]);
            break;
          }
        }
        if (ci) {
          void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
          if (ptr) {
            size_t shift = (ci->ptype) - types;
            swig_type_info *ty = types_initial[shift];
            size_t ldoc = (c - methods[i].ml_doc);
            size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
            char *ndoc = (char*)malloc(ldoc + lptr + 10);
            if (ndoc) {
              char *buff = ndoc;
              strncpy(buff, methods[i].ml_doc, ldoc);
              buff += ldoc;
              strncpy(buff, "swig_ptr: ", 10);
              buff += 10;
              SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
              methods[i].ml_doc = ndoc;
            }
          }
        }
      }
    }
  } 
  
#ifdef __cplusplus
}
#endif

/* -----------------------------------------------------------------------------*
 *  Partial Init method
 * -----------------------------------------------------------------------------*/

#ifdef __cplusplus
extern "C"
#endif

SWIGEXPORT 
#if PY_VERSION_HEX >= 0x03000000
PyObject*
#else
void
#endif
SWIG_init(void) {
  PyObject *m, *d, *md;
#if PY_VERSION_HEX >= 0x03000000
  static struct PyModuleDef SWIG_module = {
# if PY_VERSION_HEX >= 0x03020000
    PyModuleDef_HEAD_INIT,
# else
    {
      PyObject_HEAD_INIT(NULL)
      NULL, /* m_init */
      0,    /* m_index */
      NULL, /* m_copy */
    },
# endif
    (char *) SWIG_name,
    NULL,
    -1,
    SwigMethods,
    NULL,
    NULL,
    NULL,
    NULL
  };
#endif
  
#if defined(SWIGPYTHON_BUILTIN)
  static SwigPyClientData SwigPyObject_clientdata = {
    0, 0, 0, 0, 0, 0, 0
  };
  static PyGetSetDef this_getset_def = {
    (char *)"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
  };
  static SwigPyGetSet thisown_getset_closure = {
    (PyCFunction) SwigPyObject_own,
    (PyCFunction) SwigPyObject_own
  };
  static PyGetSetDef thisown_getset_def = {
    (char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
  };
  PyObject *metatype_args;
  PyTypeObject *builtin_pytype;
  int builtin_base_count;
  swig_type_info *builtin_basetype;
  PyObject *tuple;
  PyGetSetDescrObject *static_getset;
  PyTypeObject *metatype;
  SwigPyClientData *cd;
  PyObject *public_interface, *public_symbol;
  PyObject *this_descr;
  PyObject *thisown_descr;
  int i;
  
  (void)builtin_pytype;
  (void)builtin_base_count;
  (void)builtin_basetype;
  (void)tuple;
  (void)static_getset;
  
  /* metatype is used to implement static member variables. */
  metatype_args = Py_BuildValue("(s(O){})", "SwigPyObjectType", &PyType_Type);
  assert(metatype_args);
  metatype = (PyTypeObject *) PyType_Type.tp_call((PyObject *) &PyType_Type, metatype_args, NULL);
  assert(metatype);
  Py_DECREF(metatype_args);
  metatype->tp_setattro = (setattrofunc) &SwigPyObjectType_setattro;
  assert(PyType_Ready(metatype) >= 0);
#endif
  
  /* Fix SwigMethods to carry the callback ptrs when needed */
  SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
  
#if PY_VERSION_HEX >= 0x03000000
  m = PyModule_Create(&SWIG_module);
#else
  m = Py_InitModule((char *) SWIG_name, SwigMethods);
#endif
  md = d = PyModule_GetDict(m);
  
  SWIG_InitializeModule(0);
  
#ifdef SWIGPYTHON_BUILTIN
  SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject");
  assert(SwigPyObject_stype);
  cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
  if (!cd) {
    SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
    SwigPyObject_clientdata.pytype = SwigPyObject_TypeOnce();
  } else if (SwigPyObject_TypeOnce()->tp_basicsize != cd->pytype->tp_basicsize) {
    PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules.");
# if PY_VERSION_HEX >= 0x03000000
    return NULL;
# else
    return;
# endif
  }
  
  /* All objects have a 'this' attribute */
  this_descr = PyDescr_NewGetSet(SwigPyObject_type(), &this_getset_def);
  (void)this_descr;
  
  /* All objects have a 'thisown' attribute */
  thisown_descr = PyDescr_NewGetSet(SwigPyObject_type(), &thisown_getset_def);
  (void)thisown_descr;
  
  public_interface = PyList_New(0);
  public_symbol = 0;
  (void)public_symbol;
  
  PyDict_SetItemString(md, "__all__", public_interface);
  Py_DECREF(public_interface);
  for (i = 0; SwigMethods[i].ml_name != NULL; ++i)
  SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name);
  for (i = 0; swig_const_table[i].name != 0; ++i)
  SwigPyBuiltin_AddPublicSymbol(public_interface, swig_const_table[i].name);
#endif
  
  SWIG_InstallConstants(d,swig_const_table);
  
  SWIG_Python_SetConstant(d, "ResizeNone",SWIG_From_int(static_cast< int >(mforms::ResizeNone)));
  SWIG_Python_SetConstant(d, "ResizeVertical",SWIG_From_int(static_cast< int >(mforms::ResizeVertical)));
  SWIG_Python_SetConstant(d, "ResizeHorizontal",SWIG_From_int(static_cast< int >(mforms::ResizeHorizontal)));
  SWIG_Python_SetConstant(d, "ResizeBoth",SWIG_From_int(static_cast< int >(mforms::ResizeBoth)));
  SWIG_Python_SetConstant(d, "BottomLeft",SWIG_From_int(static_cast< int >(mforms::BottomLeft)));
  SWIG_Python_SetConstant(d, "BottomCenter",SWIG_From_int(static_cast< int >(mforms::BottomCenter)));
  SWIG_Python_SetConstant(d, "BottomRight",SWIG_From_int(static_cast< int >(mforms::BottomRight)));
  SWIG_Python_SetConstant(d, "MiddleLeft",SWIG_From_int(static_cast< int >(mforms::MiddleLeft)));
  SWIG_Python_SetConstant(d, "MiddleCenter",SWIG_From_int(static_cast< int >(mforms::MiddleCenter)));
  SWIG_Python_SetConstant(d, "MiddleRight",SWIG_From_int(static_cast< int >(mforms::MiddleRight)));
  SWIG_Python_SetConstant(d, "TopLeft",SWIG_From_int(static_cast< int >(mforms::TopLeft)));
  SWIG_Python_SetConstant(d, "TopCenter",SWIG_From_int(static_cast< int >(mforms::TopCenter)));
  SWIG_Python_SetConstant(d, "TopRight",SWIG_From_int(static_cast< int >(mforms::TopRight)));
  SWIG_Python_SetConstant(d, "WizardLabelAlignment",SWIG_From_int(static_cast< int >(mforms::WizardLabelAlignment)));
  SWIG_Python_SetConstant(d, "MouseButtonLeft",SWIG_From_int(static_cast< int >(mforms::MouseButtonLeft)));
  SWIG_Python_SetConstant(d, "MouseButtonRight",SWIG_From_int(static_cast< int >(mforms::MouseButtonRight)));
  SWIG_Python_SetConstant(d, "MouseButtonMiddle",SWIG_From_int(static_cast< int >(mforms::MouseButtonMiddle)));
  SWIG_Python_SetConstant(d, "MouseButtonNone",SWIG_From_int(static_cast< int >(mforms::MouseButtonNone)));
  SWIG_Python_SetConstant(d, "TOP_FORM_PADDING",SWIG_From_int(static_cast< int >(12)));
  SWIG_Python_SetConstant(d, "FormNone",SWIG_From_int(static_cast< int >(mforms::FormNone)));
  SWIG_Python_SetConstant(d, "FormSingleFrame",SWIG_From_int(static_cast< int >(mforms::FormSingleFrame)));
  SWIG_Python_SetConstant(d, "FormDialogFrame",SWIG_From_int(static_cast< int >(mforms::FormDialogFrame)));
  SWIG_Python_SetConstant(d, "FormResizable",SWIG_From_int(static_cast< int >(mforms::FormResizable)));
  SWIG_Python_SetConstant(d, "FormMinimizable",SWIG_From_int(static_cast< int >(mforms::FormMinimizable)));
  SWIG_Python_SetConstant(d, "FormHideOnClose",SWIG_From_int(static_cast< int >(mforms::FormHideOnClose)));
  SWIG_Python_SetConstant(d, "FormStayOnTop",SWIG_From_int(static_cast< int >(mforms::FormStayOnTop)));
  SWIG_Python_SetConstant(d, "FormToolWindow",SWIG_From_int(static_cast< int >(mforms::FormToolWindow)));
  SWIG_Python_SetConstant(d, "PushButton",SWIG_From_int(static_cast< int >(mforms::PushButton)));
  SWIG_Python_SetConstant(d, "ToolButton",SWIG_From_int(static_cast< int >(mforms::ToolButton)));
  SWIG_Python_SetConstant(d, "AdminActionButton",SWIG_From_int(static_cast< int >(mforms::AdminActionButton)));
  SWIG_Python_SetConstant(d, "SmallButton",SWIG_From_int(static_cast< int >(mforms::SmallButton)));
  SWIG_Python_SetConstant(d, "NormalEntry",SWIG_From_int(static_cast< int >(mforms::NormalEntry)));
  SWIG_Python_SetConstant(d, "PasswordEntry",SWIG_From_int(static_cast< int >(mforms::PasswordEntry)));
  SWIG_Python_SetConstant(d, "SearchEntry",SWIG_From_int(static_cast< int >(mforms::SearchEntry)));
  SWIG_Python_SetConstant(d, "SmallSearchEntry",SWIG_From_int(static_cast< int >(mforms::SmallSearchEntry)));
  SWIG_Python_SetConstant(d, "EntryActivate",SWIG_From_int(static_cast< int >(mforms::EntryActivate)));
  SWIG_Python_SetConstant(d, "EntryKeyUp",SWIG_From_int(static_cast< int >(mforms::EntryKeyUp)));
  SWIG_Python_SetConstant(d, "EntryKeyDown",SWIG_From_int(static_cast< int >(mforms::EntryKeyDown)));
  SWIG_Python_SetConstant(d, "EntryCKeyUp",SWIG_From_int(static_cast< int >(mforms::EntryCKeyUp)));
  SWIG_Python_SetConstant(d, "EntryCKeyDown",SWIG_From_int(static_cast< int >(mforms::EntryCKeyDown)));
  SWIG_Python_SetConstant(d, "NoScrollBar",SWIG_From_int(static_cast< int >(mforms::NoScrollBar)));
  SWIG_Python_SetConstant(d, "HorizontalScrollBar",SWIG_From_int(static_cast< int >(mforms::HorizontalScrollBar)));
  SWIG_Python_SetConstant(d, "VerticalScrollBar",SWIG_From_int(static_cast< int >(mforms::VerticalScrollBar)));
  SWIG_Python_SetConstant(d, "BothScrollBars",SWIG_From_int(static_cast< int >(mforms::BothScrollBars)));
  SWIG_Python_SetConstant(d, "SmallScrollBars",SWIG_From_int(static_cast< int >(mforms::SmallScrollBars)));
  SWIG_Python_SetConstant(d, "KeyNone",SWIG_From_int(static_cast< int >(mforms::KeyNone)));
  SWIG_Python_SetConstant(d, "KeyChar",SWIG_From_int(static_cast< int >(mforms::KeyChar)));
  SWIG_Python_SetConstant(d, "KeyModifierOnly",SWIG_From_int(static_cast< int >(mforms::KeyModifierOnly)));
  SWIG_Python_SetConstant(d, "KeyEnter",SWIG_From_int(static_cast< int >(mforms::KeyEnter)));
  SWIG_Python_SetConstant(d, "KeyReturn",SWIG_From_int(static_cast< int >(mforms::KeyReturn)));
  SWIG_Python_SetConstant(d, "KeyHome",SWIG_From_int(static_cast< int >(mforms::KeyHome)));
  SWIG_Python_SetConstant(d, "KeyEnd",SWIG_From_int(static_cast< int >(mforms::KeyEnd)));
  SWIG_Python_SetConstant(d, "KeyPrevious",SWIG_From_int(static_cast< int >(mforms::KeyPrevious)));
  SWIG_Python_SetConstant(d, "KeyNext",SWIG_From_int(static_cast< int >(mforms::KeyNext)));
  SWIG_Python_SetConstant(d, "KeyUnkown",SWIG_From_int(static_cast< int >(mforms::KeyUnkown)));
  SWIG_Python_SetConstant(d, "NormalStyle",SWIG_From_int(static_cast< int >(mforms::NormalStyle)));
  SWIG_Python_SetConstant(d, "BoldStyle",SWIG_From_int(static_cast< int >(mforms::BoldStyle)));
  SWIG_Python_SetConstant(d, "SmallBoldStyle",SWIG_From_int(static_cast< int >(mforms::SmallBoldStyle)));
  SWIG_Python_SetConstant(d, "BigStyle",SWIG_From_int(static_cast< int >(mforms::BigStyle)));
  SWIG_Python_SetConstant(d, "BigBoldStyle",SWIG_From_int(static_cast< int >(mforms::BigBoldStyle)));
  SWIG_Python_SetConstant(d, "SmallStyle",SWIG_From_int(static_cast< int >(mforms::SmallStyle)));
  SWIG_Python_SetConstant(d, "VerySmallStyle",SWIG_From_int(static_cast< int >(mforms::VerySmallStyle)));
  SWIG_Python_SetConstant(d, "InfoCaptionStyle",SWIG_From_int(static_cast< int >(mforms::InfoCaptionStyle)));
  SWIG_Python_SetConstant(d, "BoldInfoCaptionStyle",SWIG_From_int(static_cast< int >(mforms::BoldInfoCaptionStyle)));
  SWIG_Python_SetConstant(d, "WizardHeadingStyle",SWIG_From_int(static_cast< int >(mforms::WizardHeadingStyle)));
  SWIG_Python_SetConstant(d, "SmallHelpTextStyle",SWIG_From_int(static_cast< int >(mforms::SmallHelpTextStyle)));
  SWIG_Python_SetConstant(d, "SelectorCombobox",SWIG_From_int(static_cast< int >(mforms::SelectorCombobox)));
  SWIG_Python_SetConstant(d, "SelectorPopup",SWIG_From_int(static_cast< int >(mforms::SelectorPopup)));
  SWIG_Python_SetConstant(d, "TabViewSystemStandard",SWIG_From_int(static_cast< int >(mforms::TabViewSystemStandard)));
  SWIG_Python_SetConstant(d, "TabViewTabless",SWIG_From_int(static_cast< int >(mforms::TabViewTabless)));
  SWIG_Python_SetConstant(d, "TabViewMainClosable",SWIG_From_int(static_cast< int >(mforms::TabViewMainClosable)));
  SWIG_Python_SetConstant(d, "TabViewDocument",SWIG_From_int(static_cast< int >(mforms::TabViewDocument)));
  SWIG_Python_SetConstant(d, "TabViewDocumentClosable",SWIG_From_int(static_cast< int >(mforms::TabViewDocumentClosable)));
  SWIG_Python_SetConstant(d, "TabViewPalette",SWIG_From_int(static_cast< int >(mforms::TabViewPalette)));
  SWIG_Python_SetConstant(d, "TabViewSelectorSecondary",SWIG_From_int(static_cast< int >(mforms::TabViewSelectorSecondary)));
  SWIG_Python_SetConstant(d, "TransparentPanel",SWIG_From_int(static_cast< int >(mforms::TransparentPanel)));
  SWIG_Python_SetConstant(d, "FilledPanel",SWIG_From_int(static_cast< int >(mforms::FilledPanel)));
  SWIG_Python_SetConstant(d, "BorderedPanel",SWIG_From_int(static_cast< int >(mforms::BorderedPanel)));
  SWIG_Python_SetConstant(d, "LineBorderPanel",SWIG_From_int(static_cast< int >(mforms::LineBorderPanel)));
  SWIG_Python_SetConstant(d, "TitledBoxPanel",SWIG_From_int(static_cast< int >(mforms::TitledBoxPanel)));
  SWIG_Python_SetConstant(d, "TitledGroupPanel",SWIG_From_int(static_cast< int >(mforms::TitledGroupPanel)));
  SWIG_Python_SetConstant(d, "CheckBoxTitlePanel",SWIG_From_int(static_cast< int >(mforms::CheckBoxTitlePanel)));
  SWIG_Python_SetConstant(d, "FilledHeaderPanel",SWIG_From_int(static_cast< int >(mforms::FilledHeaderPanel)));
  SWIG_Python_SetConstant(d, "StyledHeaderPanel",SWIG_From_int(static_cast< int >(mforms::StyledHeaderPanel)));
  SWIG_Python_SetConstant(d, "MainToolBar",SWIG_From_int(static_cast< int >(mforms::MainToolBar)));
  SWIG_Python_SetConstant(d, "SecondaryToolBar",SWIG_From_int(static_cast< int >(mforms::SecondaryToolBar)));
  SWIG_Python_SetConstant(d, "ToolPickerToolBar",SWIG_From_int(static_cast< int >(mforms::ToolPickerToolBar)));
  SWIG_Python_SetConstant(d, "OptionsToolBar",SWIG_From_int(static_cast< int >(mforms::OptionsToolBar)));
  SWIG_Python_SetConstant(d, "PaletteToolBar",SWIG_From_int(static_cast< int >(mforms::PaletteToolBar)));
  SWIG_Python_SetConstant(d, "LabelItem",SWIG_From_int(static_cast< int >(mforms::LabelItem)));
  SWIG_Python_SetConstant(d, "ActionItem",SWIG_From_int(static_cast< int >(mforms::ActionItem)));
  SWIG_Python_SetConstant(d, "TextActionItem",SWIG_From_int(static_cast< int >(mforms::TextActionItem)));
  SWIG_Python_SetConstant(d, "ToggleItem",SWIG_From_int(static_cast< int >(mforms::ToggleItem)));
  SWIG_Python_SetConstant(d, "SegmentedToggleItem",SWIG_From_int(static_cast< int >(mforms::SegmentedToggleItem)));
  SWIG_Python_SetConstant(d, "SearchFieldItem",SWIG_From_int(static_cast< int >(mforms::SearchFieldItem)));
  SWIG_Python_SetConstant(d, "SelectorItem",SWIG_From_int(static_cast< int >(mforms::SelectorItem)));
  SWIG_Python_SetConstant(d, "ColorSelectorItem",SWIG_From_int(static_cast< int >(mforms::ColorSelectorItem)));
  SWIG_Python_SetConstant(d, "SeparatorItem",SWIG_From_int(static_cast< int >(mforms::SeparatorItem)));
  SWIG_Python_SetConstant(d, "ExpanderItem",SWIG_From_int(static_cast< int >(mforms::ExpanderItem)));
  SWIG_Python_SetConstant(d, "ImageBoxItem",SWIG_From_int(static_cast< int >(mforms::ImageBoxItem)));
  SWIG_Python_SetConstant(d, "OpenFile",SWIG_From_int(static_cast< int >(mforms::OpenFile)));
  SWIG_Python_SetConstant(d, "SaveFile",SWIG_From_int(static_cast< int >(mforms::SaveFile)));
  SWIG_Python_SetConstant(d, "OpenDirectory",SWIG_From_int(static_cast< int >(mforms::OpenDirectory)));
  SWIG_Python_SetConstant(d, "NoFillExpandFlag",SWIG_From_int(static_cast< int >(mforms::NoFillExpandFlag)));
  SWIG_Python_SetConstant(d, "VExpandFlag",SWIG_From_int(static_cast< int >(mforms::VExpandFlag)));
  SWIG_Python_SetConstant(d, "HExpandFlag",SWIG_From_int(static_cast< int >(mforms::HExpandFlag)));
  SWIG_Python_SetConstant(d, "VFillFlag",SWIG_From_int(static_cast< int >(mforms::VFillFlag)));
  SWIG_Python_SetConstant(d, "HFillFlag",SWIG_From_int(static_cast< int >(mforms::HFillFlag)));
  SWIG_Python_SetConstant(d, "FillAndExpand",SWIG_From_int(static_cast< int >(mforms::FillAndExpand)));
  SWIG_Python_SetConstant(d, "ScrollPanelNoFlags",SWIG_From_int(static_cast< int >(mforms::ScrollPanelNoFlags)));
  SWIG_Python_SetConstant(d, "ScrollPanelBordered",SWIG_From_int(static_cast< int >(mforms::ScrollPanelBordered)));
  SWIG_Python_SetConstant(d, "ScrollPanelDrawBackground",SWIG_From_int(static_cast< int >(mforms::ScrollPanelDrawBackground)));
  SWIG_Python_SetConstant(d, "Documents",SWIG_From_int(static_cast< int >(mforms::Documents)));
  SWIG_Python_SetConstant(d, "Desktop",SWIG_From_int(static_cast< int >(mforms::Desktop)));
  SWIG_Python_SetConstant(d, "ApplicationData",SWIG_From_int(static_cast< int >(mforms::ApplicationData)));
  SWIG_Python_SetConstant(d, "WinProgramFiles",SWIG_From_int(static_cast< int >(mforms::WinProgramFiles)));
  SWIG_Python_SetConstant(d, "WinProgramFilesX86",SWIG_From_int(static_cast< int >(mforms::WinProgramFilesX86)));
  SWIG_Python_SetConstant(d, "SessionStorePasswordScheme",SWIG_From_int(static_cast< int >(mforms::SessionStorePasswordScheme)));
  SWIG_Python_SetConstant(d, "PersistentStorePasswordScheme",SWIG_From_int(static_cast< int >(mforms::PersistentStorePasswordScheme)));
  SWIG_Python_SetConstant(d, "ModifierNoModifier",SWIG_From_int(static_cast< int >(mforms::ModifierNoModifier)));
  SWIG_Python_SetConstant(d, "ModifierControl",SWIG_From_int(static_cast< int >(mforms::ModifierControl)));
  SWIG_Python_SetConstant(d, "ModifierShift",SWIG_From_int(static_cast< int >(mforms::ModifierShift)));
  SWIG_Python_SetConstant(d, "ModifierCommand",SWIG_From_int(static_cast< int >(mforms::ModifierCommand)));
  SWIG_Python_SetConstant(d, "ModifierAlt",SWIG_From_int(static_cast< int >(mforms::ModifierAlt)));
  SWIG_Python_SetConstant(d, "ResultOk",SWIG_From_int(static_cast< int >(mforms::ResultOk)));
  SWIG_Python_SetConstant(d, "ResultCancel",SWIG_From_int(static_cast< int >(mforms::ResultCancel)));
  SWIG_Python_SetConstant(d, "ResultOther",SWIG_From_int(static_cast< int >(mforms::ResultOther)));
  SWIG_Python_SetConstant(d, "DialogMessage",SWIG_From_int(static_cast< int >(mforms::DialogMessage)));
  SWIG_Python_SetConstant(d, "DialogError",SWIG_From_int(static_cast< int >(mforms::DialogError)));
  SWIG_Python_SetConstant(d, "DialogWarning",SWIG_From_int(static_cast< int >(mforms::DialogWarning)));
  SWIG_Python_SetConstant(d, "DialogQuery",SWIG_From_int(static_cast< int >(mforms::DialogQuery)));
  SWIG_Python_SetConstant(d, "DialogSuccess",SWIG_From_int(static_cast< int >(mforms::DialogSuccess)));
  SWIG_Python_SetConstant(d, "SystemColorHighlight",SWIG_From_int(static_cast< int >(mforms::SystemColorHighlight)));
  SWIG_Python_SetConstant(d, "SystemColorEditor",SWIG_From_int(static_cast< int >(mforms::SystemColorEditor)));
  SWIG_Python_SetConstant(d, "SystemColorDisabled",SWIG_From_int(static_cast< int >(mforms::SystemColorDisabled)));
  SWIG_Python_SetConstant(d, "SystemColorContainer",SWIG_From_int(static_cast< int >(mforms::SystemColorContainer)));
  SWIG_Python_SetConstant(d, "TabBackground",SWIG_From_int(static_cast< int >(mforms::TabBackground)));
  SWIG_Python_SetConstant(d, "TabMainCaption",SWIG_From_int(static_cast< int >(mforms::TabMainCaption)));
  SWIG_Python_SetConstant(d, "TabSubCaption",SWIG_From_int(static_cast< int >(mforms::TabSubCaption)));
  SWIG_Python_SetConstant(d, "TabLineColor",SWIG_From_int(static_cast< int >(mforms::TabLineColor)));
  SWIG_Python_SetConstant(d, "HEARTBEAT_DATA_SIZE",SWIG_From_int(static_cast< int >(80)));
  SWIG_Python_SetConstant(d, "LINE_SERIES_DATA_SIZE",SWIG_From_int(static_cast< int >(500)));
  SWIG_Python_SetConstant(d, "PopupPlain",SWIG_From_int(static_cast< int >(mforms::PopupPlain)));
  SWIG_Python_SetConstant(d, "PopupBezel",SWIG_From_int(static_cast< int >(mforms::PopupBezel)));
  SWIG_Python_SetConstant(d, "LanguageNone",SWIG_From_int(static_cast< int >(mforms::LanguageNone)));
  SWIG_Python_SetConstant(d, "LanguageMySQL50",SWIG_From_int(static_cast< int >(mforms::LanguageMySQL50)));
  SWIG_Python_SetConstant(d, "LanguageMySQL51",SWIG_From_int(static_cast< int >(mforms::LanguageMySQL51)));
  SWIG_Python_SetConstant(d, "LanguageMySQL55",SWIG_From_int(static_cast< int >(mforms::LanguageMySQL55)));
  SWIG_Python_SetConstant(d, "LanguageMySQL56",SWIG_From_int(static_cast< int >(mforms::LanguageMySQL56)));
  SWIG_Python_SetConstant(d, "LanguageHtml",SWIG_From_int(static_cast< int >(mforms::LanguageHtml)));
  SWIG_Python_SetConstant(d, "LanguageLua",SWIG_From_int(static_cast< int >(mforms::LanguageLua)));
  SWIG_Python_SetConstant(d, "LanguagePython",SWIG_From_int(static_cast< int >(mforms::LanguagePython)));
  SWIG_Python_SetConstant(d, "LanguageMySQL",SWIG_From_int(static_cast< int >(mforms::LanguageMySQL)));
  SWIG_Python_SetConstant(d, "LineMarkupNone",SWIG_From_int(static_cast< int >(mforms::LineMarkupNone)));
  SWIG_Python_SetConstant(d, "LineMarkupBreakpoint",SWIG_From_int(static_cast< int >(mforms::LineMarkupBreakpoint)));
  SWIG_Python_SetConstant(d, "LineMarkupBreakpointHit",SWIG_From_int(static_cast< int >(mforms::LineMarkupBreakpointHit)));
  SWIG_Python_SetConstant(d, "LineMarkupError",SWIG_From_int(static_cast< int >(mforms::LineMarkupError)));
  SWIG_Python_SetConstant(d, "LineMarkupStatement",SWIG_From_int(static_cast< int >(mforms::LineMarkupStatement)));
  SWIG_Python_SetConstant(d, "LineMarkupCurrent",SWIG_From_int(static_cast< int >(mforms::LineMarkupCurrent)));
  SWIG_Python_SetConstant(d, "LineMarkupAll",SWIG_From_int(static_cast< int >(mforms::LineMarkupAll)));
  SWIG_Python_SetConstant(d, "RangeIndicatorNone",SWIG_From_int(static_cast< int >(mforms::RangeIndicatorNone)));
  SWIG_Python_SetConstant(d, "RangeIndicatorError",SWIG_From_int(static_cast< int >(mforms::RangeIndicatorError)));
  SWIG_Python_SetConstant(d, "FeatureNone",SWIG_From_int(static_cast< int >(mforms::FeatureNone)));
  SWIG_Python_SetConstant(d, "FeatureWrapText",SWIG_From_int(static_cast< int >(mforms::FeatureWrapText)));
  SWIG_Python_SetConstant(d, "FeatureGutter",SWIG_From_int(static_cast< int >(mforms::FeatureGutter)));
  SWIG_Python_SetConstant(d, "FeatureReadOnly",SWIG_From_int(static_cast< int >(mforms::FeatureReadOnly)));
  SWIG_Python_SetConstant(d, "FeatureShowSpecial",SWIG_From_int(static_cast< int >(mforms::FeatureShowSpecial)));
  SWIG_Python_SetConstant(d, "FeatureUsePopup",SWIG_From_int(static_cast< int >(mforms::FeatureUsePopup)));
  SWIG_Python_SetConstant(d, "FeatureConvertEolOnPaste",SWIG_From_int(static_cast< int >(mforms::FeatureConvertEolOnPaste)));
  SWIG_Python_SetConstant(d, "FeatureAll",SWIG_From_int(static_cast< int >(mforms::FeatureAll)));
  SWIG_Python_SetConstant(d, "AutoCompletionSelection",SWIG_From_int(static_cast< int >(mforms::AutoCompletionSelection)));
  SWIG_Python_SetConstant(d, "AutoCompletionCancelled",SWIG_From_int(static_cast< int >(mforms::AutoCompletionCancelled)));
  SWIG_Python_SetConstant(d, "AutoCompletionCharDeleted",SWIG_From_int(static_cast< int >(mforms::AutoCompletionCharDeleted)));
  SWIG_Python_SetConstant(d, "EolCRLF",SWIG_From_int(static_cast< int >(mforms::EolCRLF)));
  SWIG_Python_SetConstant(d, "EolCR",SWIG_From_int(static_cast< int >(mforms::EolCR)));
  SWIG_Python_SetConstant(d, "EolLF",SWIG_From_int(static_cast< int >(mforms::EolLF)));
  SWIG_Python_SetConstant(d, "FindDefault",SWIG_From_int(static_cast< int >(mforms::FindDefault)));
  SWIG_Python_SetConstant(d, "FindMatchCase",SWIG_From_int(static_cast< int >(mforms::FindMatchCase)));
  SWIG_Python_SetConstant(d, "FindWrapAround",SWIG_From_int(static_cast< int >(mforms::FindWrapAround)));
  SWIG_Python_SetConstant(d, "FindWholeWords",SWIG_From_int(static_cast< int >(mforms::FindWholeWords)));
  SWIG_Python_SetConstant(d, "FindRegex",SWIG_From_int(static_cast< int >(mforms::FindRegex)));
  SWIG_Python_SetConstant(d, "TaskEntrySelectableItem",SWIG_From_int(static_cast< int >(mforms::TaskEntrySelectableItem)));
  SWIG_Python_SetConstant(d, "TaskEntryLink",SWIG_From_int(static_cast< int >(mforms::TaskEntryLink)));
  SWIG_Python_SetConstant(d, "TaskEntryPlainItem",SWIG_From_int(static_cast< int >(mforms::TaskEntryPlainItem)));
  SWIG_Python_SetConstant(d, "CellInvalid",SWIG_From_int(static_cast< int >(mforms::CellInvalid)));
  SWIG_Python_SetConstant(d, "CellText",SWIG_From_int(static_cast< int >(mforms::CellText)));
  SWIG_Python_SetConstant(d, "CellBool",SWIG_From_int(static_cast< int >(mforms::CellBool)));
  SWIG_Python_SetConstant(d, "CellEnum",SWIG_From_int(static_cast< int >(mforms::CellEnum)));
  SWIG_Python_SetConstant(d, "CellHeader",SWIG_From_int(static_cast< int >(mforms::CellHeader)));
  SWIG_Python_SetConstant(d, "CellGroupHeader",SWIG_From_int(static_cast< int >(mforms::CellGroupHeader)));
  SWIG_Python_SetConstant(d, "CellsReadable",SWIG_From_int(static_cast< int >(mforms::CellsReadable)));
  SWIG_Python_SetConstant(d, "CellsEditable",SWIG_From_int(static_cast< int >(mforms::CellsEditable)));
  SWIG_Python_SetConstant(d, "Clear",SWIG_From_int(static_cast< int >(mforms::Clear)));
  SWIG_Python_SetConstant(d, "AlignLeft",SWIG_From_int(static_cast< int >(mforms::AlignLeft)));
  SWIG_Python_SetConstant(d, "AlignRight",SWIG_From_int(static_cast< int >(mforms::AlignRight)));
  SWIG_Python_SetConstant(d, "Underline",SWIG_From_int(static_cast< int >(mforms::Underline)));
  SWIG_Python_SetConstant(d, "ShadeNone",SWIG_From_int(static_cast< int >(mforms::ShadeNone)));
  SWIG_Python_SetConstant(d, "ShadeFind",SWIG_From_int(static_cast< int >(mforms::ShadeFind)));
  SWIG_Python_SetConstant(d, "ShadeFilter",SWIG_From_int(static_cast< int >(mforms::ShadeFilter)));
  SWIG_Python_SetConstant(d, "NotVisible",SWIG_From_int(static_cast< int >(mforms::NotVisible)));
  SWIG_Python_SetConstant(d, "ShowAlways",SWIG_From_int(static_cast< int >(mforms::ShowAlways)));
  SWIG_Python_SetConstant(d, "ShowOnHover",SWIG_From_int(static_cast< int >(mforms::ShowOnHover)));
  SWIG_Python_SetConstant(d, "IconLeft",SWIG_From_int(static_cast< int >(mforms::IconLeft)));
  SWIG_Python_SetConstant(d, "IconRight",SWIG_From_int(static_cast< int >(mforms::IconRight)));
  SWIG_Python_SetConstant(d, "StringColumnType",SWIG_From_int(static_cast< int >(mforms::StringColumnType)));
  SWIG_Python_SetConstant(d, "IntegerColumnType",SWIG_From_int(static_cast< int >(mforms::IntegerColumnType)));
  SWIG_Python_SetConstant(d, "LongIntegerColumnType",SWIG_From_int(static_cast< int >(mforms::LongIntegerColumnType)));
  SWIG_Python_SetConstant(d, "CheckColumnType",SWIG_From_int(static_cast< int >(mforms::CheckColumnType)));
  SWIG_Python_SetConstant(d, "IconColumnType",SWIG_From_int(static_cast< int >(mforms::IconColumnType)));
  SWIG_Python_SetConstant(d, "IconStringColumnType",SWIG_From_int(static_cast< int >(mforms::IconStringColumnType)));
  SWIG_Python_SetConstant(d, "TreeDefault",SWIG_From_int(static_cast< int >(mforms::TreeDefault)));
  SWIG_Python_SetConstant(d, "TreeNoColumns",SWIG_From_int(static_cast< int >(mforms::TreeNoColumns)));
  SWIG_Python_SetConstant(d, "TreeAllowReorderRows",SWIG_From_int(static_cast< int >(mforms::TreeAllowReorderRows)));
  SWIG_Python_SetConstant(d, "TreeShowColumnLines",SWIG_From_int(static_cast< int >(mforms::TreeShowColumnLines)));
  SWIG_Python_SetConstant(d, "TreeShowRowLines",SWIG_From_int(static_cast< int >(mforms::TreeShowRowLines)));
  SWIG_Python_SetConstant(d, "TreeNoBorder",SWIG_From_int(static_cast< int >(mforms::TreeNoBorder)));
  SWIG_Python_SetConstant(d, "TreeSidebar",SWIG_From_int(static_cast< int >(mforms::TreeSidebar)));
  SWIG_Python_SetConstant(d, "TreeNoHeader",SWIG_From_int(static_cast< int >(mforms::TreeNoHeader)));
  SWIG_Python_SetConstant(d, "TreeShowHeader",SWIG_From_int(static_cast< int >(mforms::TreeShowHeader)));
  SWIG_Python_SetConstant(d, "TreeFlatList",SWIG_From_int(static_cast< int >(mforms::TreeFlatList)));
  SWIG_Python_SetConstant(d, "TreeAltRowColors",SWIG_From_int(static_cast< int >(mforms::TreeAltRowColors)));
  SWIG_Python_SetConstant(d, "TreeSizeSmall",SWIG_From_int(static_cast< int >(mforms::TreeSizeSmall)));
  SWIG_Python_SetConstant(d, "TreeIndexOnTag",SWIG_From_int(static_cast< int >(mforms::TreeIndexOnTag)));
  SWIG_Python_SetConstant(d, "TreeSelectSingle",SWIG_From_int(static_cast< int >(mforms::TreeSelectSingle)));
  SWIG_Python_SetConstant(d, "TreeSelectMultiple",SWIG_From_int(static_cast< int >(mforms::TreeSelectMultiple)));
#if PY_VERSION_HEX >= 0x03000000
  return m;
#else
  return;
#endif
}

