/* Generated by Cython 0.21 */

#define PY_SSIZE_T_CLEAN
#ifndef CYTHON_USE_PYLONG_INTERNALS
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 0
#else
#include "pyconfig.h"
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 1
#else
#define CYTHON_USE_PYLONG_INTERNALS 0
#endif
#endif
#endif
#include "Python.h"
#ifndef Py_PYTHON_H
    #error Python headers needed to compile C extensions, please install development version of Python.
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)
    #error Cython requires Python 2.6+ or Python 3.2+.
#else
#define CYTHON_ABI "0_21"
#include <stddef.h>
#ifndef offsetof
#define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
#endif
#if !defined(WIN32) && !defined(MS_WINDOWS)
  #ifndef __stdcall
    #define __stdcall
  #endif
  #ifndef __cdecl
    #define __cdecl
  #endif
  #ifndef __fastcall
    #define __fastcall
  #endif
#endif
#ifndef DL_IMPORT
  #define DL_IMPORT(t) t
#endif
#ifndef DL_EXPORT
  #define DL_EXPORT(t) t
#endif
#ifndef PY_LONG_LONG
  #define PY_LONG_LONG LONG_LONG
#endif
#ifndef Py_HUGE_VAL
  #define Py_HUGE_VAL HUGE_VAL
#endif
#ifdef PYPY_VERSION
#define CYTHON_COMPILING_IN_PYPY 1
#define CYTHON_COMPILING_IN_CPYTHON 0
#else
#define CYTHON_COMPILING_IN_PYPY 0
#define CYTHON_COMPILING_IN_CPYTHON 1
#endif
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600
#define Py_OptimizeFlag 0
#endif
#define __PYX_BUILD_PY_SSIZE_T "n"
#define CYTHON_FORMAT_SSIZE_T "z"
#if PY_MAJOR_VERSION < 3
  #define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \
          PyCode_New(a+k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  #define __Pyx_DefaultClassType PyClass_Type
#else
  #define __Pyx_BUILTIN_MODULE_NAME "builtins"
  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \
          PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  #define __Pyx_DefaultClassType PyType_Type
#endif
#if PY_MAJOR_VERSION >= 3
  #define Py_TPFLAGS_CHECKTYPES 0
  #define Py_TPFLAGS_HAVE_INDEX 0
#endif
#if PY_MAJOR_VERSION >= 3
  #define Py_TPFLAGS_HAVE_NEWBUFFER 0
#endif
#if PY_VERSION_HEX < 0x030400a1 && !defined(Py_TPFLAGS_HAVE_FINALIZE)
  #define Py_TPFLAGS_HAVE_FINALIZE 0
#endif
#if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND)
  #define CYTHON_PEP393_ENABLED 1
  #define __Pyx_PyUnicode_READY(op)       (likely(PyUnicode_IS_READY(op)) ? \
                                              0 : _PyUnicode_Ready((PyObject *)(op)))
  #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_LENGTH(u)
  #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i)
  #define __Pyx_PyUnicode_KIND(u)         PyUnicode_KIND(u)
  #define __Pyx_PyUnicode_DATA(u)         PyUnicode_DATA(u)
  #define __Pyx_PyUnicode_READ(k, d, i)   PyUnicode_READ(k, d, i)
#else
  #define CYTHON_PEP393_ENABLED 0
  #define __Pyx_PyUnicode_READY(op)       (0)
  #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_SIZE(u)
  #define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i]))
  #define __Pyx_PyUnicode_KIND(u)         (sizeof(Py_UNICODE))
  #define __Pyx_PyUnicode_DATA(u)         ((void*)PyUnicode_AS_UNICODE(u))
  #define __Pyx_PyUnicode_READ(k, d, i)   ((void)(k), (Py_UCS4)(((Py_UNICODE*)d)[i]))
#endif
#if CYTHON_COMPILING_IN_PYPY
  #define __Pyx_PyUnicode_Concat(a, b)      PyNumber_Add(a, b)
  #define __Pyx_PyUnicode_ConcatSafe(a, b)  PyNumber_Add(a, b)
#else
  #define __Pyx_PyUnicode_Concat(a, b)      PyUnicode_Concat(a, b)
  #define __Pyx_PyUnicode_ConcatSafe(a, b)  ((unlikely((a) == Py_None) || unlikely((b) == Py_None)) ? \
      PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b))
#endif
#define __Pyx_PyString_FormatSafe(a, b)   ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
#define __Pyx_PyUnicode_FormatSafe(a, b)  ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyString_Format(a, b)  PyUnicode_Format(a, b)
#else
  #define __Pyx_PyString_Format(a, b)  PyString_Format(a, b)
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyBaseString_Type            PyUnicode_Type
  #define PyStringObject               PyUnicodeObject
  #define PyString_Type                PyUnicode_Type
  #define PyString_Check               PyUnicode_Check
  #define PyString_CheckExact          PyUnicode_CheckExact
#endif
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyBaseString_Check(obj) PyUnicode_Check(obj)
  #define __Pyx_PyBaseString_CheckExact(obj) PyUnicode_CheckExact(obj)
#else
  #define __Pyx_PyBaseString_Check(obj) (PyString_Check(obj) || PyUnicode_Check(obj))
  #define __Pyx_PyBaseString_CheckExact(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj))
#endif
#ifndef PySet_CheckExact
  #define PySet_CheckExact(obj)        (Py_TYPE(obj) == &PySet_Type)
#endif
#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
#if PY_MAJOR_VERSION >= 3
  #define PyIntObject                  PyLongObject
  #define PyInt_Type                   PyLong_Type
  #define PyInt_Check(op)              PyLong_Check(op)
  #define PyInt_CheckExact(op)         PyLong_CheckExact(op)
  #define PyInt_FromString             PyLong_FromString
  #define PyInt_FromUnicode            PyLong_FromUnicode
  #define PyInt_FromLong               PyLong_FromLong
  #define PyInt_FromSize_t             PyLong_FromSize_t
  #define PyInt_FromSsize_t            PyLong_FromSsize_t
  #define PyInt_AsLong                 PyLong_AsLong
  #define PyInt_AS_LONG                PyLong_AS_LONG
  #define PyInt_AsSsize_t              PyLong_AsSsize_t
  #define PyInt_AsUnsignedLongMask     PyLong_AsUnsignedLongMask
  #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
  #define PyNumber_Int                 PyNumber_Long
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyBoolObject                 PyLongObject
#endif
#if PY_VERSION_HEX < 0x030200A4
  typedef long Py_hash_t;
  #define __Pyx_PyInt_FromHash_t PyInt_FromLong
  #define __Pyx_PyInt_AsHash_t   PyInt_AsLong
#else
  #define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
  #define __Pyx_PyInt_AsHash_t   PyInt_AsSsize_t
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
#endif
#ifndef CYTHON_INLINE
  #if defined(__GNUC__)
    #define CYTHON_INLINE __inline__
  #elif defined(_MSC_VER)
    #define CYTHON_INLINE __inline
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define CYTHON_INLINE inline
  #else
    #define CYTHON_INLINE
  #endif
#endif
#ifndef CYTHON_RESTRICT
  #if defined(__GNUC__)
    #define CYTHON_RESTRICT __restrict__
  #elif defined(_MSC_VER) && _MSC_VER >= 1400
    #define CYTHON_RESTRICT __restrict
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define CYTHON_RESTRICT restrict
  #else
    #define CYTHON_RESTRICT
  #endif
#endif
#ifdef NAN
#define __PYX_NAN() ((float) NAN)
#else
static CYTHON_INLINE float __PYX_NAN() {
  /* Initialize NaN. The sign is irrelevant, an exponent with all bits 1 and
   a nonzero mantissa means NaN. If the first bit in the mantissa is 1, it is
   a quiet NaN. */
  float value;
  memset(&value, 0xFF, sizeof(value));
  return value;
}
#endif
#ifdef __cplusplus
template<typename T>
void __Pyx_call_destructor(T* x) {
    x->~T();
}
#endif


#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
#else
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
#endif

#ifndef __PYX_EXTERN_C
  #ifdef __cplusplus
    #define __PYX_EXTERN_C extern "C"
  #else
    #define __PYX_EXTERN_C extern
  #endif
#endif

#if defined(WIN32) || defined(MS_WINDOWS)
#define _USE_MATH_DEFINES
#endif
#include <math.h>
#define __PYX_HAVE__efl__elementary__theme
#define __PYX_HAVE_API__efl__elementary__theme
#include "string.h"
#include "stdio.h"
#include "pythread.h"
#include "time.h"
#include "Eina.h"
#include "Eo.h"
#include "Evas.h"
#include "Elementary.h"
#include "stdint.h"
#ifdef _OPENMP
#include <omp.h>
#endif /* _OPENMP */

#ifdef PYREX_WITHOUT_ASSERTIONS
#define CYTHON_WITHOUT_ASSERTIONS
#endif

#ifndef CYTHON_UNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define CYTHON_UNUSED __attribute__ ((__unused__))
#   else
#     define CYTHON_UNUSED
#   endif
# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
#   define CYTHON_UNUSED __attribute__ ((__unused__))
# else
#   define CYTHON_UNUSED
# endif
#endif
typedef struct {PyObject **p; char *s; const Py_ssize_t n; const char* encoding;
                const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry;

#define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0
#define __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT 0
#define __PYX_DEFAULT_STRING_ENCODING ""
#define __Pyx_PyObject_FromString __Pyx_PyBytes_FromString
#define __Pyx_PyObject_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#define __Pyx_fits_Py_ssize_t(v, type, is_signed)  (    \
    (sizeof(type) < sizeof(Py_ssize_t))  ||             \
    (sizeof(type) > sizeof(Py_ssize_t) &&               \
          likely(v < (type)PY_SSIZE_T_MAX ||            \
                 v == (type)PY_SSIZE_T_MAX)  &&         \
          (!is_signed || likely(v > (type)PY_SSIZE_T_MIN ||       \
                                v == (type)PY_SSIZE_T_MIN)))  ||  \
    (sizeof(type) == sizeof(Py_ssize_t) &&              \
          (is_signed || likely(v < (type)PY_SSIZE_T_MAX ||        \
                               v == (type)PY_SSIZE_T_MAX)))  )
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject*);
static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
#define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
#define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
#define __Pyx_PyBytes_FromString        PyBytes_FromString
#define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*);
#if PY_MAJOR_VERSION < 3
    #define __Pyx_PyStr_FromString        __Pyx_PyBytes_FromString
    #define __Pyx_PyStr_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#else
    #define __Pyx_PyStr_FromString        __Pyx_PyUnicode_FromString
    #define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize
#endif
#define __Pyx_PyObject_AsSString(s)    ((signed char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsUString(s)    ((unsigned char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_FromUString(s)  __Pyx_PyObject_FromString((const char*)s)
#define __Pyx_PyBytes_FromUString(s)   __Pyx_PyBytes_FromString((const char*)s)
#define __Pyx_PyByteArray_FromUString(s)   __Pyx_PyByteArray_FromString((const char*)s)
#define __Pyx_PyStr_FromUString(s)     __Pyx_PyStr_FromString((const char*)s)
#define __Pyx_PyUnicode_FromUString(s) __Pyx_PyUnicode_FromString((const char*)s)
#if PY_MAJOR_VERSION < 3
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
{
    const Py_UNICODE *u_end = u;
    while (*u_end++) ;
    return (size_t)(u_end - u - 1);
}
#else
#define __Pyx_Py_UNICODE_strlen Py_UNICODE_strlen
#endif
#define __Pyx_PyUnicode_FromUnicode(u)       PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
#define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
#define __Pyx_PyUnicode_AsUnicode            PyUnicode_AsUnicode
#define __Pyx_Owned_Py_None(b) (Py_INCREF(Py_None), Py_None)
#define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False))
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*);
static CYTHON_INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x);
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
#if CYTHON_COMPILING_IN_CPYTHON
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
#else
#define __pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x)
#endif
#define __pyx_PyFloat_AsFloat(x) ((float) __pyx_PyFloat_AsDouble(x))
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
static int __Pyx_sys_getdefaultencoding_not_ascii;
static int __Pyx_init_sys_getdefaultencoding_params(void) {
    PyObject* sys;
    PyObject* default_encoding = NULL;
    PyObject* ascii_chars_u = NULL;
    PyObject* ascii_chars_b = NULL;
    const char* default_encoding_c;
    sys = PyImport_ImportModule("sys");
    if (!sys) goto bad;
    default_encoding = PyObject_CallMethod(sys, (char*) (const char*) "getdefaultencoding", NULL);
    Py_DECREF(sys);
    if (!default_encoding) goto bad;
    default_encoding_c = PyBytes_AsString(default_encoding);
    if (!default_encoding_c) goto bad;
    if (strcmp(default_encoding_c, "ascii") == 0) {
        __Pyx_sys_getdefaultencoding_not_ascii = 0;
    } else {
        char ascii_chars[128];
        int c;
        for (c = 0; c < 128; c++) {
            ascii_chars[c] = c;
        }
        __Pyx_sys_getdefaultencoding_not_ascii = 1;
        ascii_chars_u = PyUnicode_DecodeASCII(ascii_chars, 128, NULL);
        if (!ascii_chars_u) goto bad;
        ascii_chars_b = PyUnicode_AsEncodedString(ascii_chars_u, default_encoding_c, NULL);
        if (!ascii_chars_b || !PyBytes_Check(ascii_chars_b) || memcmp(ascii_chars, PyBytes_AS_STRING(ascii_chars_b), 128) != 0) {
            PyErr_Format(
                PyExc_ValueError,
                "This module compiled with c_string_encoding=ascii, but default encoding '%.200s' is not a superset of ascii.",
                default_encoding_c);
            goto bad;
        }
        Py_DECREF(ascii_chars_u);
        Py_DECREF(ascii_chars_b);
    }
    Py_DECREF(default_encoding);
    return 0;
bad:
    Py_XDECREF(default_encoding);
    Py_XDECREF(ascii_chars_u);
    Py_XDECREF(ascii_chars_b);
    return -1;
}
#endif
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT && PY_MAJOR_VERSION >= 3
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL)
#else
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
static char* __PYX_DEFAULT_STRING_ENCODING;
static int __Pyx_init_sys_getdefaultencoding_params(void) {
    PyObject* sys;
    PyObject* default_encoding = NULL;
    char* default_encoding_c;
    sys = PyImport_ImportModule("sys");
    if (!sys) goto bad;
    default_encoding = PyObject_CallMethod(sys, (char*) (const char*) "getdefaultencoding", NULL);
    Py_DECREF(sys);
    if (!default_encoding) goto bad;
    default_encoding_c = PyBytes_AsString(default_encoding);
    if (!default_encoding_c) goto bad;
    __PYX_DEFAULT_STRING_ENCODING = (char*) malloc(strlen(default_encoding_c));
    if (!__PYX_DEFAULT_STRING_ENCODING) goto bad;
    strcpy(__PYX_DEFAULT_STRING_ENCODING, default_encoding_c);
    Py_DECREF(default_encoding);
    return 0;
bad:
    Py_XDECREF(default_encoding);
    return -1;
}
#endif
#endif


/* Test for GCC > 2.95 */
#if defined(__GNUC__)     && (__GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95)))
  #define likely(x)   __builtin_expect(!!(x), 1)
  #define unlikely(x) __builtin_expect(!!(x), 0)
#else /* !__GNUC__ or GCC < 2.95 */
  #define likely(x)   (x)
  #define unlikely(x) (x)
#endif /* __GNUC__ */

static PyObject *__pyx_m;
static PyObject *__pyx_d;
static PyObject *__pyx_b;
static PyObject *__pyx_empty_tuple;
static PyObject *__pyx_empty_bytes;
static int __pyx_lineno;
static int __pyx_clineno = 0;
static const char * __pyx_cfilenm= __FILE__;
static const char *__pyx_filename;


static const char *__pyx_f[] = {
  "efl/elementary/theme.pyx",
  "type.pxd",
  "bool.pxd",
  "complex.pxd",
  "include/efl.eo.pxd",
  "include/efl.evas.pxd",
};

/*--- Type declarations ---*/
struct __pyx_obj_3efl_2eo_Eo;
struct __pyx_obj_3efl_4evas_Rect;
struct __pyx_obj_3efl_4evas_Canvas;
struct __pyx_obj_3efl_4evas_Map;
struct __pyx_obj_3efl_4evas_Object;
struct __pyx_obj_3efl_4evas_Rectangle;
struct __pyx_obj_3efl_4evas_Line;
struct __pyx_obj_3efl_4evas_Image;
struct __pyx_obj_3efl_4evas_FilledImage;
struct __pyx_obj_3efl_4evas_Polygon;
struct __pyx_obj_3efl_4evas_Text;
struct __pyx_obj_3efl_4evas_Textblock;
struct __pyx_obj_3efl_4evas_EventPoint;
struct __pyx_obj_3efl_4evas_EventCoordPoint;
struct __pyx_obj_3efl_4evas_EventPrecisionPoint;
struct __pyx_obj_3efl_4evas_EventPosition;
struct __pyx_obj_3efl_4evas_EventPrecisionPosition;
struct __pyx_obj_3efl_4evas_EventMouseIn;
struct __pyx_obj_3efl_4evas_EventMouseOut;
struct __pyx_obj_3efl_4evas_EventMouseDown;
struct __pyx_obj_3efl_4evas_EventMouseUp;
struct __pyx_obj_3efl_4evas_EventMouseMove;
struct __pyx_obj_3efl_4evas_EventMultiDown;
struct __pyx_obj_3efl_4evas_EventMultiUp;
struct __pyx_obj_3efl_4evas_EventMultiMove;
struct __pyx_obj_3efl_4evas_EventMouseWheel;
struct __pyx_obj_3efl_4evas_EventKeyDown;
struct __pyx_obj_3efl_4evas_EventKeyUp;
struct __pyx_obj_3efl_4evas_EventHold;
struct __pyx_obj_3efl_10elementary_5theme_Theme;

/* "include/efl.eo.pxd":21
 * 
 * cdef:
 *     class Eo(object):             # <<<<<<<<<<<<<<
 *         cdef:
 *             cEo *obj
 */
struct __pyx_obj_3efl_2eo_Eo {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_2eo_Eo *__pyx_vtab;
  Eo *obj;
  PyObject *data;
};


/* "include/efl.evas.pxd":1161
 * # Python classes
 * #
 * cdef class Rect:             # <<<<<<<<<<<<<<
 *     cdef int x0, y0, x1, y1, cx, cy, _w, _h
 * 
 */
struct __pyx_obj_3efl_4evas_Rect {
  PyObject_HEAD
  int x0;
  int y0;
  int x1;
  int y1;
  int cx;
  int cy;
  int _w;
  int _h;
};


/* "include/efl.evas.pxd":1165
 * 
 * 
 * cdef class Canvas(Eo):             # <<<<<<<<<<<<<<
 *     cdef list _event_callbacks
 * 
 */
struct __pyx_obj_3efl_4evas_Canvas {
  struct __pyx_obj_3efl_2eo_Eo __pyx_base;
  PyObject *_event_callbacks;
};


/* "include/efl.evas.pxd":1169
 * 
 * 
 * cdef class Map(object):             # <<<<<<<<<<<<<<
 *     cdef Evas_Map *map
 * 
 */
struct __pyx_obj_3efl_4evas_Map {
  PyObject_HEAD
  Evas_Map *map;
};


/* "include/efl.evas.pxd":1173
 * 
 * 
 * cdef class Object(Eo):             # <<<<<<<<<<<<<<
 *     cdef list _event_callbacks
 *     cdef int _set_properties_from_keyword_args(self, dict) except 0
 */
struct __pyx_obj_3efl_4evas_Object {
  struct __pyx_obj_3efl_2eo_Eo __pyx_base;
  PyObject *_event_callbacks;
};


/* "include/efl.evas.pxd":1177
 *     cdef int _set_properties_from_keyword_args(self, dict) except 0
 * 
 * cdef class Rectangle(Object):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_4evas_Rectangle {
  struct __pyx_obj_3efl_4evas_Object __pyx_base;
};


/* "include/efl.evas.pxd":1181
 * 
 * 
 * cdef class Line(Object):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_4evas_Line {
  struct __pyx_obj_3efl_4evas_Object __pyx_base;
};


/* "include/efl.evas.pxd":1185
 * 
 * 
 * cdef class Image(Object):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_4evas_Image {
  struct __pyx_obj_3efl_4evas_Object __pyx_base;
};


/* "include/efl.evas.pxd":1189
 * 
 * 
 * cdef class FilledImage(Image):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_4evas_FilledImage {
  struct __pyx_obj_3efl_4evas_Image __pyx_base;
};


/* "include/efl.evas.pxd":1193
 * 
 * 
 * cdef class Polygon(Object):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_4evas_Polygon {
  struct __pyx_obj_3efl_4evas_Object __pyx_base;
};


/* "include/efl.evas.pxd":1197
 * 
 * 
 * cdef class Text(Object):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_4evas_Text {
  struct __pyx_obj_3efl_4evas_Object __pyx_base;
};


/* "include/efl.evas.pxd":1201
 * 
 * 
 * cdef class Textblock(Object):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_4evas_Textblock {
  struct __pyx_obj_3efl_4evas_Object __pyx_base;
};


/* "include/efl.evas.pxd":1223
 * 
 * 
 * cdef class EventPoint:             # <<<<<<<<<<<<<<
 *     cdef Evas_Point *obj
 * 
 */
struct __pyx_obj_3efl_4evas_EventPoint {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventPoint *__pyx_vtab;
  Evas_Point *obj;
};


/* "include/efl.evas.pxd":1231
 * 
 * 
 * cdef class EventCoordPoint:             # <<<<<<<<<<<<<<
 *     cdef Evas_Coord_Point *obj
 * 
 */
struct __pyx_obj_3efl_4evas_EventCoordPoint {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventCoordPoint *__pyx_vtab;
  Evas_Coord_Point *obj;
};


/* "include/efl.evas.pxd":1239
 * 
 * 
 * cdef class EventPrecisionPoint:             # <<<<<<<<<<<<<<
 *     cdef Evas_Coord_Precision_Point *obj
 * 
 */
struct __pyx_obj_3efl_4evas_EventPrecisionPoint {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventPrecisionPoint *__pyx_vtab;
  Evas_Coord_Precision_Point *obj;
};


/* "include/efl.evas.pxd":1247
 * 
 * 
 * cdef class EventPosition:             # <<<<<<<<<<<<<<
 *     cdef readonly EventPoint output
 *     cdef readonly EventCoordPoint canvas
 */
struct __pyx_obj_3efl_4evas_EventPosition {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventPosition *__pyx_vtab;
  struct __pyx_obj_3efl_4evas_EventPoint *output;
  struct __pyx_obj_3efl_4evas_EventCoordPoint *canvas;
};


/* "include/efl.evas.pxd":1255
 * 
 * 
 * cdef class EventPrecisionPosition:             # <<<<<<<<<<<<<<
 *     cdef readonly EventPoint output
 *     cdef readonly EventPrecisionPoint canvas
 */
struct __pyx_obj_3efl_4evas_EventPrecisionPosition {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventPrecisionPosition *__pyx_vtab;
  struct __pyx_obj_3efl_4evas_EventPoint *output;
  struct __pyx_obj_3efl_4evas_EventPrecisionPoint *canvas;
};


/* "include/efl.evas.pxd":1263
 * 
 * 
 * cdef class EventMouseIn:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Mouse_In *obj
 *     cdef readonly EventPosition position
 */
struct __pyx_obj_3efl_4evas_EventMouseIn {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventMouseIn *__pyx_vtab;
  Evas_Event_Mouse_In *obj;
  struct __pyx_obj_3efl_4evas_EventPosition *position;
};


/* "include/efl.evas.pxd":1272
 * 
 * 
 * cdef class EventMouseOut:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Mouse_Out *obj
 *     cdef readonly EventPosition position
 */
struct __pyx_obj_3efl_4evas_EventMouseOut {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventMouseOut *__pyx_vtab;
  Evas_Event_Mouse_Out *obj;
  struct __pyx_obj_3efl_4evas_EventPosition *position;
};


/* "include/efl.evas.pxd":1281
 * 
 * 
 * cdef class EventMouseDown:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Mouse_Down *obj
 *     cdef readonly EventPosition position
 */
struct __pyx_obj_3efl_4evas_EventMouseDown {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventMouseDown *__pyx_vtab;
  Evas_Event_Mouse_Down *obj;
  struct __pyx_obj_3efl_4evas_EventPosition *position;
};


/* "include/efl.evas.pxd":1290
 * 
 * 
 * cdef class EventMouseUp:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Mouse_Up *obj
 *     cdef readonly EventPosition position
 */
struct __pyx_obj_3efl_4evas_EventMouseUp {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventMouseUp *__pyx_vtab;
  Evas_Event_Mouse_Up *obj;
  struct __pyx_obj_3efl_4evas_EventPosition *position;
};


/* "include/efl.evas.pxd":1299
 * 
 * 
 * cdef class EventMouseMove:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Mouse_Move *obj
 *     cdef readonly EventPosition position
 */
struct __pyx_obj_3efl_4evas_EventMouseMove {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventMouseMove *__pyx_vtab;
  Evas_Event_Mouse_Move *obj;
  struct __pyx_obj_3efl_4evas_EventPosition *position;
  struct __pyx_obj_3efl_4evas_EventPosition *prev_position;
};


/* "include/efl.evas.pxd":1309
 * 
 * 
 * cdef class EventMultiDown:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Multi_Down *obj
 *     cdef readonly EventPrecisionPosition position
 */
struct __pyx_obj_3efl_4evas_EventMultiDown {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventMultiDown *__pyx_vtab;
  Evas_Event_Multi_Down *obj;
  struct __pyx_obj_3efl_4evas_EventPrecisionPosition *position;
};


/* "include/efl.evas.pxd":1318
 * 
 * 
 * cdef class EventMultiUp:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Multi_Up *obj
 *     cdef readonly EventPrecisionPosition position
 */
struct __pyx_obj_3efl_4evas_EventMultiUp {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventMultiUp *__pyx_vtab;
  Evas_Event_Multi_Up *obj;
  struct __pyx_obj_3efl_4evas_EventPrecisionPosition *position;
};


/* "include/efl.evas.pxd":1327
 * 
 * 
 * cdef class EventMultiMove:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Multi_Move *obj
 *     cdef readonly EventPrecisionPosition position
 */
struct __pyx_obj_3efl_4evas_EventMultiMove {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventMultiMove *__pyx_vtab;
  Evas_Event_Multi_Move *obj;
  struct __pyx_obj_3efl_4evas_EventPrecisionPosition *position;
};


/* "include/efl.evas.pxd":1336
 * 
 * 
 * cdef class EventMouseWheel:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Mouse_Wheel *obj
 *     cdef readonly EventPosition position
 */
struct __pyx_obj_3efl_4evas_EventMouseWheel {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventMouseWheel *__pyx_vtab;
  Evas_Event_Mouse_Wheel *obj;
  struct __pyx_obj_3efl_4evas_EventPosition *position;
};


/* "include/efl.evas.pxd":1345
 * 
 * 
 * cdef class EventKeyDown:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Key_Down *obj
 * 
 */
struct __pyx_obj_3efl_4evas_EventKeyDown {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventKeyDown *__pyx_vtab;
  Evas_Event_Key_Down *obj;
};


/* "include/efl.evas.pxd":1353
 * 
 * 
 * cdef class EventKeyUp:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Key_Up *obj
 * 
 */
struct __pyx_obj_3efl_4evas_EventKeyUp {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventKeyUp *__pyx_vtab;
  Evas_Event_Key_Up *obj;
};


/* "include/efl.evas.pxd":1361
 * 
 * 
 * cdef class EventHold:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Hold *obj
 * 
 */
struct __pyx_obj_3efl_4evas_EventHold {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_4evas_EventHold *__pyx_vtab;
  Evas_Event_Hold *obj;
};


/* "efl/elementary/theme.pxd":48
 *     Eina_List               *elm_theme_group_base_list(Elm_Theme *th, const char *base)
 * 
 * cdef class Theme(object):             # <<<<<<<<<<<<<<
 *     cdef Elm_Theme *th
 */
struct __pyx_obj_3efl_10elementary_5theme_Theme {
  PyObject_HEAD
  Elm_Theme *th;
};



/* "include/efl.eo.pxd":21
 * 
 * cdef:
 *     class Eo(object):             # <<<<<<<<<<<<<<
 *         cdef:
 *             cEo *obj
 */

struct __pyx_vtabstruct_3efl_2eo_Eo {
  int (*_set_obj)(struct __pyx_obj_3efl_2eo_Eo *, Eo *);
  int (*_set_properties_from_keyword_args)(struct __pyx_obj_3efl_2eo_Eo *, PyObject *);
};
static struct __pyx_vtabstruct_3efl_2eo_Eo *__pyx_vtabptr_3efl_2eo_Eo;


/* "include/efl.evas.pxd":1165
 * 
 * 
 * cdef class Canvas(Eo):             # <<<<<<<<<<<<<<
 *     cdef list _event_callbacks
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_Canvas {
  struct __pyx_vtabstruct_3efl_2eo_Eo __pyx_base;
};
static struct __pyx_vtabstruct_3efl_4evas_Canvas *__pyx_vtabptr_3efl_4evas_Canvas;


/* "include/efl.evas.pxd":1173
 * 
 * 
 * cdef class Object(Eo):             # <<<<<<<<<<<<<<
 *     cdef list _event_callbacks
 *     cdef int _set_properties_from_keyword_args(self, dict) except 0
 */

struct __pyx_vtabstruct_3efl_4evas_Object {
  struct __pyx_vtabstruct_3efl_2eo_Eo __pyx_base;
};
static struct __pyx_vtabstruct_3efl_4evas_Object *__pyx_vtabptr_3efl_4evas_Object;


/* "include/efl.evas.pxd":1177
 *     cdef int _set_properties_from_keyword_args(self, dict) except 0
 * 
 * cdef class Rectangle(Object):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_Rectangle {
  struct __pyx_vtabstruct_3efl_4evas_Object __pyx_base;
};
static struct __pyx_vtabstruct_3efl_4evas_Rectangle *__pyx_vtabptr_3efl_4evas_Rectangle;


/* "include/efl.evas.pxd":1181
 * 
 * 
 * cdef class Line(Object):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_Line {
  struct __pyx_vtabstruct_3efl_4evas_Object __pyx_base;
};
static struct __pyx_vtabstruct_3efl_4evas_Line *__pyx_vtabptr_3efl_4evas_Line;


/* "include/efl.evas.pxd":1185
 * 
 * 
 * cdef class Image(Object):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_Image {
  struct __pyx_vtabstruct_3efl_4evas_Object __pyx_base;
};
static struct __pyx_vtabstruct_3efl_4evas_Image *__pyx_vtabptr_3efl_4evas_Image;


/* "include/efl.evas.pxd":1189
 * 
 * 
 * cdef class FilledImage(Image):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_FilledImage {
  struct __pyx_vtabstruct_3efl_4evas_Image __pyx_base;
};
static struct __pyx_vtabstruct_3efl_4evas_FilledImage *__pyx_vtabptr_3efl_4evas_FilledImage;


/* "include/efl.evas.pxd":1193
 * 
 * 
 * cdef class Polygon(Object):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_Polygon {
  struct __pyx_vtabstruct_3efl_4evas_Object __pyx_base;
};
static struct __pyx_vtabstruct_3efl_4evas_Polygon *__pyx_vtabptr_3efl_4evas_Polygon;


/* "include/efl.evas.pxd":1197
 * 
 * 
 * cdef class Text(Object):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_Text {
  struct __pyx_vtabstruct_3efl_4evas_Object __pyx_base;
};
static struct __pyx_vtabstruct_3efl_4evas_Text *__pyx_vtabptr_3efl_4evas_Text;


/* "include/efl.evas.pxd":1201
 * 
 * 
 * cdef class Textblock(Object):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_Textblock {
  struct __pyx_vtabstruct_3efl_4evas_Object __pyx_base;
};
static struct __pyx_vtabstruct_3efl_4evas_Textblock *__pyx_vtabptr_3efl_4evas_Textblock;


/* "include/efl.evas.pxd":1223
 * 
 * 
 * cdef class EventPoint:             # <<<<<<<<<<<<<<
 *     cdef Evas_Point *obj
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_EventPoint {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventPoint *, Evas_Point *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventPoint *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventPoint *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventPoint *__pyx_vtabptr_3efl_4evas_EventPoint;


/* "include/efl.evas.pxd":1231
 * 
 * 
 * cdef class EventCoordPoint:             # <<<<<<<<<<<<<<
 *     cdef Evas_Coord_Point *obj
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_EventCoordPoint {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventCoordPoint *, Evas_Coord_Point *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventCoordPoint *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventCoordPoint *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventCoordPoint *__pyx_vtabptr_3efl_4evas_EventCoordPoint;


/* "include/efl.evas.pxd":1239
 * 
 * 
 * cdef class EventPrecisionPoint:             # <<<<<<<<<<<<<<
 *     cdef Evas_Coord_Precision_Point *obj
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_EventPrecisionPoint {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventPrecisionPoint *, Evas_Coord_Precision_Point *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventPrecisionPoint *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventPrecisionPoint *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventPrecisionPoint *__pyx_vtabptr_3efl_4evas_EventPrecisionPoint;


/* "include/efl.evas.pxd":1247
 * 
 * 
 * cdef class EventPosition:             # <<<<<<<<<<<<<<
 *     cdef readonly EventPoint output
 *     cdef readonly EventCoordPoint canvas
 */

struct __pyx_vtabstruct_3efl_4evas_EventPosition {
  void (*_set_objs)(struct __pyx_obj_3efl_4evas_EventPosition *, Evas_Point *, Evas_Coord_Point *);
  void (*_unset_objs)(struct __pyx_obj_3efl_4evas_EventPosition *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventPosition *__pyx_vtabptr_3efl_4evas_EventPosition;


/* "include/efl.evas.pxd":1255
 * 
 * 
 * cdef class EventPrecisionPosition:             # <<<<<<<<<<<<<<
 *     cdef readonly EventPoint output
 *     cdef readonly EventPrecisionPoint canvas
 */

struct __pyx_vtabstruct_3efl_4evas_EventPrecisionPosition {
  void (*_set_objs)(struct __pyx_obj_3efl_4evas_EventPrecisionPosition *, Evas_Point *, Evas_Coord_Precision_Point *);
  void (*_unset_objs)(struct __pyx_obj_3efl_4evas_EventPrecisionPosition *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventPrecisionPosition *__pyx_vtabptr_3efl_4evas_EventPrecisionPosition;


/* "include/efl.evas.pxd":1263
 * 
 * 
 * cdef class EventMouseIn:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Mouse_In *obj
 *     cdef readonly EventPosition position
 */

struct __pyx_vtabstruct_3efl_4evas_EventMouseIn {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventMouseIn *, void *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventMouseIn *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventMouseIn *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventMouseIn *__pyx_vtabptr_3efl_4evas_EventMouseIn;


/* "include/efl.evas.pxd":1272
 * 
 * 
 * cdef class EventMouseOut:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Mouse_Out *obj
 *     cdef readonly EventPosition position
 */

struct __pyx_vtabstruct_3efl_4evas_EventMouseOut {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventMouseOut *, void *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventMouseOut *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventMouseOut *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventMouseOut *__pyx_vtabptr_3efl_4evas_EventMouseOut;


/* "include/efl.evas.pxd":1281
 * 
 * 
 * cdef class EventMouseDown:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Mouse_Down *obj
 *     cdef readonly EventPosition position
 */

struct __pyx_vtabstruct_3efl_4evas_EventMouseDown {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventMouseDown *, void *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventMouseDown *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventMouseDown *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventMouseDown *__pyx_vtabptr_3efl_4evas_EventMouseDown;


/* "include/efl.evas.pxd":1290
 * 
 * 
 * cdef class EventMouseUp:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Mouse_Up *obj
 *     cdef readonly EventPosition position
 */

struct __pyx_vtabstruct_3efl_4evas_EventMouseUp {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventMouseUp *, void *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventMouseUp *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventMouseUp *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventMouseUp *__pyx_vtabptr_3efl_4evas_EventMouseUp;


/* "include/efl.evas.pxd":1299
 * 
 * 
 * cdef class EventMouseMove:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Mouse_Move *obj
 *     cdef readonly EventPosition position
 */

struct __pyx_vtabstruct_3efl_4evas_EventMouseMove {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventMouseMove *, void *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventMouseMove *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventMouseMove *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventMouseMove *__pyx_vtabptr_3efl_4evas_EventMouseMove;


/* "include/efl.evas.pxd":1309
 * 
 * 
 * cdef class EventMultiDown:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Multi_Down *obj
 *     cdef readonly EventPrecisionPosition position
 */

struct __pyx_vtabstruct_3efl_4evas_EventMultiDown {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventMultiDown *, void *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventMultiDown *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventMultiDown *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventMultiDown *__pyx_vtabptr_3efl_4evas_EventMultiDown;


/* "include/efl.evas.pxd":1318
 * 
 * 
 * cdef class EventMultiUp:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Multi_Up *obj
 *     cdef readonly EventPrecisionPosition position
 */

struct __pyx_vtabstruct_3efl_4evas_EventMultiUp {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventMultiUp *, void *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventMultiUp *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventMultiUp *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventMultiUp *__pyx_vtabptr_3efl_4evas_EventMultiUp;


/* "include/efl.evas.pxd":1327
 * 
 * 
 * cdef class EventMultiMove:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Multi_Move *obj
 *     cdef readonly EventPrecisionPosition position
 */

struct __pyx_vtabstruct_3efl_4evas_EventMultiMove {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventMultiMove *, void *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventMultiMove *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventMultiMove *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventMultiMove *__pyx_vtabptr_3efl_4evas_EventMultiMove;


/* "include/efl.evas.pxd":1336
 * 
 * 
 * cdef class EventMouseWheel:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Mouse_Wheel *obj
 *     cdef readonly EventPosition position
 */

struct __pyx_vtabstruct_3efl_4evas_EventMouseWheel {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventMouseWheel *, void *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventMouseWheel *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventMouseWheel *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventMouseWheel *__pyx_vtabptr_3efl_4evas_EventMouseWheel;


/* "include/efl.evas.pxd":1345
 * 
 * 
 * cdef class EventKeyDown:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Key_Down *obj
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_EventKeyDown {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventKeyDown *, void *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventKeyDown *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventKeyDown *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventKeyDown *__pyx_vtabptr_3efl_4evas_EventKeyDown;


/* "include/efl.evas.pxd":1353
 * 
 * 
 * cdef class EventKeyUp:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Key_Up *obj
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_EventKeyUp {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventKeyUp *, void *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventKeyUp *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventKeyUp *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventKeyUp *__pyx_vtabptr_3efl_4evas_EventKeyUp;


/* "include/efl.evas.pxd":1361
 * 
 * 
 * cdef class EventHold:             # <<<<<<<<<<<<<<
 *     cdef Evas_Event_Hold *obj
 * 
 */

struct __pyx_vtabstruct_3efl_4evas_EventHold {
  void (*_set_obj)(struct __pyx_obj_3efl_4evas_EventHold *, void *);
  void (*_unset_obj)(struct __pyx_obj_3efl_4evas_EventHold *);
  int (*_check_validity)(struct __pyx_obj_3efl_4evas_EventHold *);
};
static struct __pyx_vtabstruct_3efl_4evas_EventHold *__pyx_vtabptr_3efl_4evas_EventHold;
#ifndef CYTHON_REFNANNY
  #define CYTHON_REFNANNY 0
#endif
#if CYTHON_REFNANNY
  typedef struct {
    void (*INCREF)(void*, PyObject*, int);
    void (*DECREF)(void*, PyObject*, int);
    void (*GOTREF)(void*, PyObject*, int);
    void (*GIVEREF)(void*, PyObject*, int);
    void* (*SetupContext)(const char*, int, const char*);
    void (*FinishContext)(void**);
  } __Pyx_RefNannyAPIStruct;
  static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL;
  static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname);
  #define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL;
#ifdef WITH_THREAD
  #define __Pyx_RefNannySetupContext(name, acquire_gil) \
          if (acquire_gil) { \
              PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure(); \
              __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__); \
              PyGILState_Release(__pyx_gilstate_save); \
          } else { \
              __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__); \
          }
#else
  #define __Pyx_RefNannySetupContext(name, acquire_gil) \
          __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__)
#endif
  #define __Pyx_RefNannyFinishContext() \
          __Pyx_RefNanny->FinishContext(&__pyx_refnanny)
  #define __Pyx_INCREF(r)  __Pyx_RefNanny->INCREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_DECREF(r)  __Pyx_RefNanny->DECREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_GOTREF(r)  __Pyx_RefNanny->GOTREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_GIVEREF(r) __Pyx_RefNanny->GIVEREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_XINCREF(r)  do { if((r) != NULL) {__Pyx_INCREF(r); }} while(0)
  #define __Pyx_XDECREF(r)  do { if((r) != NULL) {__Pyx_DECREF(r); }} while(0)
  #define __Pyx_XGOTREF(r)  do { if((r) != NULL) {__Pyx_GOTREF(r); }} while(0)
  #define __Pyx_XGIVEREF(r) do { if((r) != NULL) {__Pyx_GIVEREF(r);}} while(0)
#else
  #define __Pyx_RefNannyDeclarations
  #define __Pyx_RefNannySetupContext(name, acquire_gil)
  #define __Pyx_RefNannyFinishContext()
  #define __Pyx_INCREF(r) Py_INCREF(r)
  #define __Pyx_DECREF(r) Py_DECREF(r)
  #define __Pyx_GOTREF(r)
  #define __Pyx_GIVEREF(r)
  #define __Pyx_XINCREF(r) Py_XINCREF(r)
  #define __Pyx_XDECREF(r) Py_XDECREF(r)
  #define __Pyx_XGOTREF(r)
  #define __Pyx_XGIVEREF(r)
#endif
#define __Pyx_XDECREF_SET(r, v) do {                            \
        PyObject *tmp = (PyObject *) r;                         \
        r = v; __Pyx_XDECREF(tmp);                              \
    } while (0)
#define __Pyx_DECREF_SET(r, v) do {                             \
        PyObject *tmp = (PyObject *) r;                         \
        r = v; __Pyx_DECREF(tmp);                               \
    } while (0)
#define __Pyx_CLEAR(r)    do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0)
#define __Pyx_XCLEAR(r)   do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0)

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
    PyTypeObject* tp = Py_TYPE(obj);
    if (likely(tp->tp_getattro))
        return tp->tp_getattro(obj, attr_name);
#if PY_MAJOR_VERSION < 3
    if (likely(tp->tp_getattr))
        return tp->tp_getattr(obj, PyString_AS_STRING(attr_name));
#endif
    return PyObject_GetAttr(obj, attr_name);
}
#else
#define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
#endif

static PyObject *__Pyx_GetBuiltinName(PyObject *name);

static void __Pyx_RaiseDoubleKeywordsError(const char* func_name, PyObject* kw_name);

static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[], \
    PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, \
    const char* function_name);

static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
    Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found);

static CYTHON_INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb);
static CYTHON_INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb);

static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause);

#define __Pyx_tp_new(type_obj, args) __Pyx_tp_new_kwargs(type_obj, args, NULL)
static CYTHON_INLINE PyObject* __Pyx_tp_new_kwargs(PyObject* type_obj, PyObject* args, PyObject* kwargs) {
    return (PyObject*) (((PyTypeObject*)type_obj)->tp_new((PyTypeObject*)type_obj, args, kwargs));
}

static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type);

static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
    const char *name, int exact);

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) {
    PyListObject* L = (PyListObject*) list;
    Py_ssize_t len = Py_SIZE(list);
    if (likely(L->allocated > len) & likely(len > (L->allocated >> 1))) {
        Py_INCREF(x);
        PyList_SET_ITEM(list, len, x);
        Py_SIZE(list) = len+1;
        return 0;
    }
    return PyList_Append(list, x);
}
#else
#define __Pyx_PyList_Append(L,x) PyList_Append(L,x)
#endif

static void* __Pyx_GetVtable(PyObject *dict);

static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name);

static PyObject *__Pyx_GetNameInClass(PyObject *nmspace, PyObject *name);

typedef struct {
    int code_line;
    PyCodeObject* code_object;
} __Pyx_CodeObjectCacheEntry;
struct __Pyx_CodeObjectCache {
    int count;
    int max_count;
    __Pyx_CodeObjectCacheEntry* entries;
};
static struct __Pyx_CodeObjectCache __pyx_code_cache = {0,0,NULL};
static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line);
static PyCodeObject *__pyx_find_code_object(int code_line);
static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object);

static void __Pyx_AddTraceback(const char *funcname, int c_line,
                               int py_line, const char *filename);

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value);

#include "descrobject.h"
static PyObject* __Pyx_Method_ClassMethod(PyObject *method);

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value);

static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *);

static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *);

static int __Pyx_check_binary_version(void);

#if !defined(__Pyx_PyIdentifier_FromString)
#if PY_MAJOR_VERSION < 3
  #define __Pyx_PyIdentifier_FromString(s) PyString_FromString(s)
#else
  #define __Pyx_PyIdentifier_FromString(s) PyUnicode_FromString(s)
#endif
#endif

static PyObject *__Pyx_ImportModule(const char *name);

static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name, size_t size, int strict);

static int __Pyx_ImportFunction(PyObject *module, const char *funcname, void (**f)(void), const char *sig);

static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);


/* Module declarations from 'cpython.version' */

/* Module declarations from 'cpython.ref' */

/* Module declarations from 'cpython.exc' */

/* Module declarations from 'cpython.module' */

/* Module declarations from 'cpython.mem' */

/* Module declarations from 'cpython.tuple' */

/* Module declarations from 'cpython.list' */

/* Module declarations from 'libc.string' */

/* Module declarations from 'libc.stdio' */

/* Module declarations from 'cpython.object' */

/* Module declarations from 'cpython.sequence' */

/* Module declarations from 'cpython.mapping' */

/* Module declarations from 'cpython.iterator' */

/* Module declarations from '__builtin__' */

/* Module declarations from 'cpython.type' */
static PyTypeObject *__pyx_ptype_7cpython_4type_type = 0;

/* Module declarations from 'cpython.number' */

/* Module declarations from 'cpython.int' */

/* Module declarations from '__builtin__' */

/* Module declarations from 'cpython.bool' */
static PyTypeObject *__pyx_ptype_7cpython_4bool_bool = 0;

/* Module declarations from 'cpython.long' */

/* Module declarations from 'cpython.float' */

/* Module declarations from '__builtin__' */

/* Module declarations from 'cpython.complex' */
static PyTypeObject *__pyx_ptype_7cpython_7complex_complex = 0;

/* Module declarations from 'cpython.string' */

/* Module declarations from 'cpython.unicode' */

/* Module declarations from 'cpython.dict' */

/* Module declarations from 'cpython.instance' */

/* Module declarations from 'cpython.function' */

/* Module declarations from 'cpython.method' */

/* Module declarations from 'cpython.weakref' */

/* Module declarations from 'cpython.getargs' */

/* Module declarations from 'cpython.pythread' */

/* Module declarations from 'cpython.pystate' */

/* Module declarations from 'cpython.cobject' */

/* Module declarations from 'cpython.oldbuffer' */

/* Module declarations from 'cpython.set' */

/* Module declarations from 'cpython.buffer' */

/* Module declarations from 'cpython.bytes' */

/* Module declarations from 'cpython.pycapsule' */

/* Module declarations from 'cpython' */

/* Module declarations from 'efl.eina' */

/* Module declarations from 'efl.c_eo' */

/* Module declarations from 'efl.eo' */
static PyTypeObject *__pyx_ptype_3efl_2eo_Eo = 0;
static int (*__pyx_f_3efl_2eo_PY_REFCOUNT)(PyObject *); /*proto*/
static PyObject *(*__pyx_f_3efl_2eo_object_from_instance)(Eo *); /*proto*/
static Eo *(*__pyx_f_3efl_2eo_instance_from_object)(PyObject *); /*proto*/

/* Module declarations from 'efl.evas' */
static PyTypeObject *__pyx_ptype_3efl_4evas_Rect = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_Canvas = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_Map = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_Object = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_Rectangle = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_Line = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_Image = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_FilledImage = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_Polygon = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_Text = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_Textblock = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventPoint = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventCoordPoint = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventPrecisionPoint = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventPosition = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventPrecisionPosition = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventMouseIn = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventMouseOut = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventMouseDown = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventMouseUp = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventMouseMove = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventMultiDown = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventMultiUp = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventMultiMove = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventMouseWheel = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventKeyDown = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventKeyUp = 0;
static PyTypeObject *__pyx_ptype_3efl_4evas_EventHold = 0;

/* Module declarations from 'libc.stdint' */

/* Module declarations from 'efl.utils.conversions' */
static PyObject *(*__pyx_f_3efl_5utils_11conversions__ctouni)(char const *); /*proto*/
static PyObject *(*__pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list)(Eina_List const *); /*proto*/

/* Module declarations from 'efl.elementary.theme' */
static PyTypeObject *__pyx_ptype_3efl_10elementary_5theme_Theme = 0;
#define __Pyx_MODULE_NAME "efl.elementary.theme"
int __pyx_module_is_main_efl__elementary__theme = 0;

/* Implementation of 'efl.elementary.theme' */
static PyObject *__pyx_builtin_RuntimeError;
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme___repr__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_5theme_5Theme_2__init__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_default); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_4new(PyObject *__pyx_v_cls); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_6default_get(PyObject *__pyx_v_cls); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_8free(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_10copy(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_dst); /* proto */
static int __pyx_pf_3efl_10elementary_5theme_5Theme_9reference___set__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_thref); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_9reference_2__get__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_12ref_set(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_thref); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_14ref_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_16overlay_add(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_item); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_18overlay_del(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_item); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_12overlay_list___get__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_20overlay_list_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_22extension_add(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_item); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_24extension_del(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_item); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_14extension_list___get__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_26extension_list_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_5theme_5Theme_5order___set__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_theme); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_5order_2__get__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_28order_set(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_theme); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_30order_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_8elements___get__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_32elements_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_34flush(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_36data_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_key); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_38group_base_list_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_base); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_theme_list_item_path_get(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_f, int __pyx_v_in_search_path); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_2theme_full_flush(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_4theme_name_available_list(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_6theme_overlay_add(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_item); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_5theme_8theme_extension_add(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_item); /* proto */
static PyObject *__pyx_tp_new_3efl_10elementary_5theme_Theme(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static char __pyx_k_f[] = "f";
static char __pyx_k_lst[] = "lst";
static char __pyx_k_new[] = "new";
static char __pyx_k_item[] = "item";
static char __pyx_k_main[] = "__main__";
static char __pyx_k_name[] = "__name__";
static char __pyx_k_path[] = "path";
static char __pyx_k_test[] = "__test__";
static char __pyx_k_default[] = "default";
static char __pyx_k_elements[] = "elements";
static char __pyx_k_pyx_vtable[] = "__pyx_vtable__";
static char __pyx_k_default_get[] = "default_get";
static char __pyx_k_RuntimeError[] = "RuntimeError";
static char __pyx_k_in_search_path[] = "in_search_path";
static char __pyx_k_theme_full_flush[] = "theme_full_flush";
static char __pyx_k_theme_overlay_add[] = "theme_overlay_add";
static char __pyx_k_theme_extension_add[] = "theme_extension_add";
static char __pyx_k_efl_elementary_theme[] = "efl.elementary.theme";
static char __pyx_k_theme_list_item_path_get[] = "theme_list_item_path_get";
static char __pyx_k_theme_name_available_list[] = "theme_name_available_list";
static char __pyx_k_s_object_at_x_refcount_d_order[] = "<%s object at %#x (refcount=%d, order=%s, overlay_list=%s, extension_list=%s)>";
static char __pyx_k_Return_a_list_of_theme_elements[] = "Return a list of theme elements to be used in a theme.\n\n        This returns the internal list of theme elements (will only be valid as\n        long as the theme is not modified by elm_theme_set() or theme is not\n        freed by elm_theme_free(). This is a list of strings which must not be\n        altered as they are also internal.\n\n        A theme element can consist of a full or relative path to a .edj file,\n        or a name, without extension, for a theme to be searched in the known\n        theme paths for Elementary.\n\n        .. seealso:: :py:attr:`order`\n\n        :type: tuple of strings\n\n        ";
static char __pyx_k_home_dave_e_bindings_python_efl[] = "/home/dave/e/bindings/python-efl/efl/elementary/theme.pyx";
static char __pyx_k_mod_theme_Module_Description_El[] = "\n\n:mod:`theme` Module\n###################\n\n\nDescription\n===========\n\nElementary uses Edje to theme its widgets, naturally. But for the most\npart this is hidden behind a simpler interface that lets the user set\nextensions and choose the style of widgets in a much easier way.\n\nInstead of thinking in terms of paths to Edje files and their groups\neach time you want to change the appearance of a widget, Elementary\nworks so you can add any theme file with extensions or replace the\nmain theme at one point in the application, and then just set the style\nof widgets with\n:py:attr:`Object.style<efl.elementary.object.Object.style>`\nand related functions. Elementary\nwill then look in its list of themes for a matching group and apply it,\nand when the theme changes midway through the application, all widgets\nwill be updated accordingly.\n\nThere are three concepts you need to know to understand how Elementary\ntheming works: default theme, extensions and overlays.\n\nDefault theme, obviously enough, is the one that provides the default\nlook of all widgets. End users can change the theme used by Elementary\nby setting the ``ELM_THEME`` environment variable before running an\napplication, or globally for all programs using the ``elementary_config``\nutility. Applications can change the default theme using :py:attr:`Theme.order`,\nbut this can go against the user wishes, so it's not an advised practice.\n\nIdeally, applications should find everything they need in the already\nprovided theme, but there may be occasions when that's not enough and\ncustom styles are required to correctly express the idea. For this\ncases, Elementary has extensions.\n\nExtensions allow the application developer to write styles of its own\nto apply to some widgets. This requires knowledge of how each widget\nis themed, as extensions will always replace the entire group used by\nthe widget, so important signals and parts need to be there for the\nobject to behave properly (see docume""ntation of Edje for details).\nOnce the theme for the extension is done, the application needs to add\nit to the list of themes Elementary will look into, using\n:py:func:`Theme.extension_add()`, and set the style of the desired widgets as\nhe would normally with\n:py:attr:`Object.style<efl.elementary.object.Object.style>`.\n\nOverlays, on the other hand, can replace the look of all widgets by\noverriding the default style. Like extensions, it's up to the application\ndeveloper to write the theme for the widgets it wants, the difference\nbeing that when looking for the theme, Elementary will check first the\nlist of overlays, then the set theme and lastly the list of extensions,\nso with overlays it's possible to replace the default view and every\nwidget will be affected. This is very much alike to setting the whole\ntheme for the application and will probably clash with the end user\noptions, not to mention the risk of ending up with not matching styles\nacross the program. Unless there's a very special reason to use them,\noverlays should be avoided for the reasons exposed before.\n\nAll these theme lists are handled by :py:class:`Theme` instances. Elementary\nkeeps one default internally. It's possible to create a new instance of a\n:py:class:`Theme` to set other theme for a specific widget (and all of its\nchildren), but this is as discouraged, if not even more so, than using\noverlays. Don't use this unless you really know what you are doing.\n\n.. note::\n\n    Remember to :py:func:`Theme.free` the instance when you're done with it!\n\n\nInheritance diagram\n===================\n\n.. inheritance-diagram:: efl.elementary.theme\n    :parts: 2\n\n";
static char __pyx_k_Get_the_list_of_registered_exten[] = "Get the list of registered extensions for the given theme\n\n        .. seealso:: :py:func:`extension_add()`\n\n        :type: tuple of strings\n\n        ";
static char __pyx_k_Get_the_list_of_registered_overl[] = "Get the list of registered overlays for the given theme\n\n        .. seealso:: :py:func:`overlay_add()`\n\n        :type: tuple of strings\n\n        ";
static char __pyx_k_Set_the_theme_search_order_for_t[] = "Set the theme search order for the given theme\n\n        This sets the search string for the theme in path-notation from first\n        theme to search, to last, delimited by the ``:`` character. Example:\n\n        ``shiny:/path/to/file.edj:default``\n\n        See the ELM_THEME environment variable for more information.\n\n        .. seealso:: :py:attr:`elements`\n\n        :type: string\n\n        ";
static char __pyx_k_Theme_reference_Setting_this_cle[] = "Theme reference\n\n        Setting this clears the theme to be empty and then sets it to refer to\n        another theme. This way the theme acts as an override to the reference,\n        but where its overrides don't apply, it will fall through to\n        reference for configuration.\n\n        Getting it returns the theme that is referred to.\n\n        :type: :py:class:`Theme`\n\n        ";
static PyObject *__pyx_n_s_RuntimeError;
static PyObject *__pyx_n_s_default;
static PyObject *__pyx_n_s_default_get;
static PyObject *__pyx_n_s_efl_elementary_theme;
static PyObject *__pyx_n_s_elements;
static PyObject *__pyx_n_s_f;
static PyObject *__pyx_kp_s_home_dave_e_bindings_python_efl;
static PyObject *__pyx_n_s_in_search_path;
static PyObject *__pyx_n_s_item;
static PyObject *__pyx_n_s_lst;
static PyObject *__pyx_n_s_main;
static PyObject *__pyx_n_s_name;
static PyObject *__pyx_n_s_new;
static PyObject *__pyx_n_s_path;
static PyObject *__pyx_n_s_pyx_vtable;
static PyObject *__pyx_kp_s_s_object_at_x_refcount_d_order;
static PyObject *__pyx_n_s_test;
static PyObject *__pyx_n_s_theme_extension_add;
static PyObject *__pyx_n_s_theme_full_flush;
static PyObject *__pyx_n_s_theme_list_item_path_get;
static PyObject *__pyx_n_s_theme_name_available_list;
static PyObject *__pyx_n_s_theme_overlay_add;
static PyObject *__pyx_tuple_;
static PyObject *__pyx_tuple__4;
static PyObject *__pyx_tuple__6;
static PyObject *__pyx_tuple__8;
static PyObject *__pyx_codeobj__2;
static PyObject *__pyx_codeobj__3;
static PyObject *__pyx_codeobj__5;
static PyObject *__pyx_codeobj__7;
static PyObject *__pyx_codeobj__9;

/* "efl/elementary/theme.pyx":113
 *     """
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<%s object at %#x (refcount=%d, order=%s, overlay_list=%s, extension_list=%s)>" % (
 *             type(self).__name__,
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_1__repr__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_1__repr__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme___repr__(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme___repr__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__repr__", 0);

  /* "efl/elementary/theme.pyx":114
 * 
 *     def __repr__(self):
 *         return "<%s object at %#x (refcount=%d, order=%s, overlay_list=%s, extension_list=%s)>" % (             # <<<<<<<<<<<<<<
 *             type(self).__name__,
 *             <uintptr_t>self.th,
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/elementary/theme.pyx":115
 *     def __repr__(self):
 *         return "<%s object at %#x (refcount=%d, order=%s, overlay_list=%s, extension_list=%s)>" % (
 *             type(self).__name__,             # <<<<<<<<<<<<<<
 *             <uintptr_t>self.th,
 *             PY_REFCOUNT(self),
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))), __pyx_n_s_name); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);

  /* "efl/elementary/theme.pyx":116
 *         return "<%s object at %#x (refcount=%d, order=%s, overlay_list=%s, extension_list=%s)>" % (
 *             type(self).__name__,
 *             <uintptr_t>self.th,             # <<<<<<<<<<<<<<
 *             PY_REFCOUNT(self),
 *             _ctouni(elm_theme_get(self.th)),
 */
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->th)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/theme.pyx":117
 *             type(self).__name__,
 *             <uintptr_t>self.th,
 *             PY_REFCOUNT(self),             # <<<<<<<<<<<<<<
 *             _ctouni(elm_theme_get(self.th)),
 *             eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)),
 */
  __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_f_3efl_2eo_PY_REFCOUNT(((PyObject *)__pyx_v_self))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);

  /* "efl/elementary/theme.pyx":118
 *             <uintptr_t>self.th,
 *             PY_REFCOUNT(self),
 *             _ctouni(elm_theme_get(self.th)),             # <<<<<<<<<<<<<<
 *             eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)),
 *             eina_list_strings_to_python_list(elm_theme_extension_list_get(self.th))
 */
  __pyx_t_4 = __pyx_f_3efl_5utils_11conversions__ctouni(elm_theme_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);

  /* "efl/elementary/theme.pyx":119
 *             PY_REFCOUNT(self),
 *             _ctouni(elm_theme_get(self.th)),
 *             eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)),             # <<<<<<<<<<<<<<
 *             eina_list_strings_to_python_list(elm_theme_extension_list_get(self.th))
 *             )
 */
  __pyx_t_5 = __pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list(elm_theme_overlay_list_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);

  /* "efl/elementary/theme.pyx":120
 *             _ctouni(elm_theme_get(self.th)),
 *             eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)),
 *             eina_list_strings_to_python_list(elm_theme_extension_list_get(self.th))             # <<<<<<<<<<<<<<
 *             )
 * 
 */
  __pyx_t_6 = __pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list(elm_theme_extension_list_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);

  /* "efl/elementary/theme.pyx":115
 *     def __repr__(self):
 *         return "<%s object at %#x (refcount=%d, order=%s, overlay_list=%s, extension_list=%s)>" % (
 *             type(self).__name__,             # <<<<<<<<<<<<<<
 *             <uintptr_t>self.th,
 *             PY_REFCOUNT(self),
 */
  __pyx_t_7 = PyTuple_New(6); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_7);
  PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  PyTuple_SET_ITEM(__pyx_t_7, 2, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_7, 3, __pyx_t_4);
  __Pyx_GIVEREF(__pyx_t_4);
  PyTuple_SET_ITEM(__pyx_t_7, 4, __pyx_t_5);
  __Pyx_GIVEREF(__pyx_t_5);
  PyTuple_SET_ITEM(__pyx_t_7, 5, __pyx_t_6);
  __Pyx_GIVEREF(__pyx_t_6);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_t_3 = 0;
  __pyx_t_4 = 0;
  __pyx_t_5 = 0;
  __pyx_t_6 = 0;

  /* "efl/elementary/theme.pyx":114
 * 
 *     def __repr__(self):
 *         return "<%s object at %#x (refcount=%d, order=%s, overlay_list=%s, extension_list=%s)>" % (             # <<<<<<<<<<<<<<
 *             type(self).__name__,
 *             <uintptr_t>self.th,
 */
  __pyx_t_6 = __Pyx_PyString_Format(__pyx_kp_s_s_object_at_x_refcount_d_order, __pyx_t_7); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
  __pyx_r = __pyx_t_6;
  __pyx_t_6 = 0;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":113
 *     """
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<%s object at %#x (refcount=%d, order=%s, overlay_list=%s, extension_list=%s)>" % (
 *             type(self).__name__,
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":123
 *             )
 * 
 *     def __init__(self, default=False):             # <<<<<<<<<<<<<<
 *         self.th = elm_theme_new() if not default else elm_theme_default_get()
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_5theme_5Theme_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_3efl_10elementary_5theme_5Theme_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_default = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_default,0};
    PyObject* values[1] = {0};
    values[0] = ((PyObject *)Py_False);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_default);
          if (value) { values[0] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_default = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.theme.Theme.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_2__init__(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self), __pyx_v_default);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_10elementary_5theme_5Theme_2__init__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_default) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  Elm_Theme *__pyx_t_1;
  int __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "efl/elementary/theme.pyx":124
 * 
 *     def __init__(self, default=False):
 *         self.th = elm_theme_new() if not default else elm_theme_default_get()             # <<<<<<<<<<<<<<
 * 
 *         if self.th == NULL:
 */
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_default); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (((!__pyx_t_2) != 0)) {
    __pyx_t_1 = elm_theme_new();
  } else {
    __pyx_t_1 = elm_theme_default_get();
  }
  __pyx_v_self->th = __pyx_t_1;

  /* "efl/elementary/theme.pyx":126
 *         self.th = elm_theme_new() if not default else elm_theme_default_get()
 * 
 *         if self.th == NULL:             # <<<<<<<<<<<<<<
 *             raise RuntimeError
 * 
 */
  __pyx_t_2 = ((__pyx_v_self->th == NULL) != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/theme.pyx":127
 * 
 *         if self.th == NULL:
 *             raise RuntimeError             # <<<<<<<<<<<<<<
 * 
 *     @classmethod
 */
    __Pyx_Raise(__pyx_builtin_RuntimeError, 0, 0, 0);
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }

  /* "efl/elementary/theme.pyx":123
 *             )
 * 
 *     def __init__(self, default=False):             # <<<<<<<<<<<<<<
 *         self.th = elm_theme_new() if not default else elm_theme_default_get()
 * 
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.theme.Theme.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":130
 * 
 *     @classmethod
 *     def new(type cls):             # <<<<<<<<<<<<<<
 *         """Create a new specific theme
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_5new(PyObject *__pyx_v_cls, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_4new[] = "Theme.new(type cls)\nCreate a new specific theme\n\n        This creates an empty specific theme that only uses the default\n        theme. A specific theme has its own private set of extensions and\n        overlays too (which are empty by default). Specific themes do not\n        fall back to themes of parent objects. They are not intended for\n        this use. Use styles, overlays and extensions when needed, but avoid\n        specific themes unless there is no other way (example: you want to\n        have a preview of a new theme you are selecting in a \"theme\n        selector\" window. The preview is inside a scroller and should\n        display what the theme you selected will look like, but not actually\n        apply it yet. The child of the scroller will have a specific theme\n        set to show this preview before the user decides to apply it to all\n        applications).\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_5new(PyObject *__pyx_v_cls, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("new (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_4new(((PyObject*)__pyx_v_cls));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_4new(PyObject *__pyx_v_cls) {
  struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_ret = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("new", 0);

  /* "efl/elementary/theme.pyx":147
 * 
 *         """
 *         cdef Theme ret = cls.__new__(cls)             # <<<<<<<<<<<<<<
 * 
 *         ret.th = elm_theme_new()
 */
  if (unlikely(((PyObject *)__pyx_v_cls) == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "object.__new__(X): X is not a type object (NoneType)");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_1 = __Pyx_tp_new(((PyObject *)__pyx_v_cls), __pyx_empty_tuple); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_3efl_10elementary_5theme_Theme)))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_ret = ((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/theme.pyx":149
 *         cdef Theme ret = cls.__new__(cls)
 * 
 *         ret.th = elm_theme_new()             # <<<<<<<<<<<<<<
 * 
 *         if ret.th == NULL:
 */
  __pyx_v_ret->th = elm_theme_new();

  /* "efl/elementary/theme.pyx":151
 *         ret.th = elm_theme_new()
 * 
 *         if ret.th == NULL:             # <<<<<<<<<<<<<<
 *             raise RuntimeError
 *         else:
 */
  __pyx_t_2 = ((__pyx_v_ret->th == NULL) != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/theme.pyx":152
 * 
 *         if ret.th == NULL:
 *             raise RuntimeError             # <<<<<<<<<<<<<<
 *         else:
 *             return ret
 */
    __Pyx_Raise(__pyx_builtin_RuntimeError, 0, 0, 0);
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  /*else*/ {

    /* "efl/elementary/theme.pyx":154
 *             raise RuntimeError
 *         else:
 *             return ret             # <<<<<<<<<<<<<<
 * 
 *     @classmethod
 */
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(((PyObject *)__pyx_v_ret));
    __pyx_r = ((PyObject *)__pyx_v_ret);
    goto __pyx_L0;
  }

  /* "efl/elementary/theme.pyx":130
 * 
 *     @classmethod
 *     def new(type cls):             # <<<<<<<<<<<<<<
 *         """Create a new specific theme
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.new", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ret);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":157
 * 
 *     @classmethod
 *     def default_get(type cls):             # <<<<<<<<<<<<<<
 *         """Return the default theme
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_7default_get(PyObject *__pyx_v_cls, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_6default_get[] = "Theme.default_get(type cls)\nReturn the default theme\n\n        This returns the internal default theme setup handle that all widgets\n        use implicitly unless a specific theme is set.\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_7default_get(PyObject *__pyx_v_cls, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("default_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_6default_get(((PyObject*)__pyx_v_cls));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_6default_get(PyObject *__pyx_v_cls) {
  struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_ret = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("default_get", 0);

  /* "efl/elementary/theme.pyx":164
 * 
 *         """
 *         cdef Theme ret = cls.__new__(cls)             # <<<<<<<<<<<<<<
 * 
 *         ret.th = elm_theme_default_get()
 */
  if (unlikely(((PyObject *)__pyx_v_cls) == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "object.__new__(X): X is not a type object (NoneType)");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_1 = __Pyx_tp_new(((PyObject *)__pyx_v_cls), __pyx_empty_tuple); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_3efl_10elementary_5theme_Theme)))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_ret = ((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/theme.pyx":166
 *         cdef Theme ret = cls.__new__(cls)
 * 
 *         ret.th = elm_theme_default_get()             # <<<<<<<<<<<<<<
 * 
 *         if ret.th == NULL:
 */
  __pyx_v_ret->th = elm_theme_default_get();

  /* "efl/elementary/theme.pyx":168
 *         ret.th = elm_theme_default_get()
 * 
 *         if ret.th == NULL:             # <<<<<<<<<<<<<<
 *             raise RuntimeError
 *         else:
 */
  __pyx_t_2 = ((__pyx_v_ret->th == NULL) != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/theme.pyx":169
 * 
 *         if ret.th == NULL:
 *             raise RuntimeError             # <<<<<<<<<<<<<<
 *         else:
 *             return ret
 */
    __Pyx_Raise(__pyx_builtin_RuntimeError, 0, 0, 0);
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  /*else*/ {

    /* "efl/elementary/theme.pyx":171
 *             raise RuntimeError
 *         else:
 *             return ret             # <<<<<<<<<<<<<<
 * 
 *     def free(self):
 */
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(((PyObject *)__pyx_v_ret));
    __pyx_r = ((PyObject *)__pyx_v_ret);
    goto __pyx_L0;
  }

  /* "efl/elementary/theme.pyx":157
 * 
 *     @classmethod
 *     def default_get(type cls):             # <<<<<<<<<<<<<<
 *         """Return the default theme
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.default_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ret);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":173
 *             return ret
 * 
 *     def free(self):             # <<<<<<<<<<<<<<
 *         """Free the theme."""
 *         if self.th != NULL:
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_9free(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_8free[] = "Theme.free(self)\nFree the theme.";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_9free(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("free (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_8free(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_8free(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  __Pyx_RefNannySetupContext("free", 0);

  /* "efl/elementary/theme.pyx":175
 *     def free(self):
 *         """Free the theme."""
 *         if self.th != NULL:             # <<<<<<<<<<<<<<
 *             elm_theme_free(self.th)
 *             self.th = NULL
 */
  __pyx_t_1 = ((__pyx_v_self->th != NULL) != 0);
  if (__pyx_t_1) {

    /* "efl/elementary/theme.pyx":176
 *         """Free the theme."""
 *         if self.th != NULL:
 *             elm_theme_free(self.th)             # <<<<<<<<<<<<<<
 *             self.th = NULL
 * 
 */
    elm_theme_free(__pyx_v_self->th);

    /* "efl/elementary/theme.pyx":177
 *         if self.th != NULL:
 *             elm_theme_free(self.th)
 *             self.th = NULL             # <<<<<<<<<<<<<<
 * 
 *     def copy(self, Theme dst not None):
 */
    __pyx_v_self->th = NULL;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/theme.pyx":173
 *             return ret
 * 
 *     def free(self):             # <<<<<<<<<<<<<<
 *         """Free the theme."""
 *         if self.th != NULL:
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":179
 *             self.th = NULL
 * 
 *     def copy(self, Theme dst not None):             # <<<<<<<<<<<<<<
 *         """Copy the theme from the source to the destination theme
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_11copy(PyObject *__pyx_v_self, PyObject *__pyx_v_dst); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_10copy[] = "Theme.copy(self, Theme dst)\nCopy the theme from the source to the destination theme\n\n        This makes a one-time static copy of all the theme config, extensions\n        and overlays from this theme to ``dst``.\n\n        :param Theme dst: The destination theme to copy data to\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_11copy(PyObject *__pyx_v_self, PyObject *__pyx_v_dst) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("copy (wrapper)", 0);
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dst), __pyx_ptype_3efl_10elementary_5theme_Theme, 0, "dst", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_10copy(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self), ((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_dst));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_10copy(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_dst) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("copy", 0);

  /* "efl/elementary/theme.pyx":188
 * 
 *         """
 *         elm_theme_copy(self.th, dst.th)             # <<<<<<<<<<<<<<
 * 
 *     property reference:
 */
  elm_theme_copy(__pyx_v_self->th, __pyx_v_dst->th);

  /* "efl/elementary/theme.pyx":179
 *             self.th = NULL
 * 
 *     def copy(self, Theme dst not None):             # <<<<<<<<<<<<<<
 *         """Copy the theme from the source to the destination theme
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":203
 * 
 *         """
 *         def __set__(self, Theme thref not None):             # <<<<<<<<<<<<<<
 *             elm_theme_ref_set(self.th, thref.th)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_5theme_5Theme_9reference_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_thref); /*proto*/
static int __pyx_pw_3efl_10elementary_5theme_5Theme_9reference_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_thref) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_thref), __pyx_ptype_3efl_10elementary_5theme_Theme, 0, "thref", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_9reference___set__(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self), ((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_thref));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_10elementary_5theme_5Theme_9reference___set__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_thref) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/theme.pyx":204
 *         """
 *         def __set__(self, Theme thref not None):
 *             elm_theme_ref_set(self.th, thref.th)             # <<<<<<<<<<<<<<
 * 
 *         def __get__(self):
 */
  elm_theme_ref_set(__pyx_v_self->th, __pyx_v_thref->th);

  /* "efl/elementary/theme.pyx":203
 * 
 *         """
 *         def __set__(self, Theme thref not None):             # <<<<<<<<<<<<<<
 *             elm_theme_ref_set(self.th, thref.th)
 * 
 */

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":206
 *             elm_theme_ref_set(self.th, thref.th)
 * 
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             cdef Theme ret = Theme.__new__(Theme)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_9reference_3__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_9reference_3__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_9reference_2__get__(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_9reference_2__get__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_ret = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/elementary/theme.pyx":207
 * 
 *         def __get__(self):
 *             cdef Theme ret = Theme.__new__(Theme)             # <<<<<<<<<<<<<<
 * 
 *             ret.th = elm_theme_ref_get(self.th)
 */
  __pyx_t_1 = __pyx_tp_new_3efl_10elementary_5theme_Theme(((PyTypeObject *)((PyObject*)__pyx_ptype_3efl_10elementary_5theme_Theme)), __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_3efl_10elementary_5theme_Theme)))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_ret = ((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/theme.pyx":209
 *             cdef Theme ret = Theme.__new__(Theme)
 * 
 *             ret.th = elm_theme_ref_get(self.th)             # <<<<<<<<<<<<<<
 * 
 *             if ret.th == NULL:
 */
  __pyx_v_ret->th = elm_theme_ref_get(__pyx_v_self->th);

  /* "efl/elementary/theme.pyx":211
 *             ret.th = elm_theme_ref_get(self.th)
 * 
 *             if ret.th == NULL:             # <<<<<<<<<<<<<<
 *                 return None
 *             else:
 */
  __pyx_t_2 = ((__pyx_v_ret->th == NULL) != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/theme.pyx":212
 * 
 *             if ret.th == NULL:
 *                 return None             # <<<<<<<<<<<<<<
 *             else:
 *                 return ret
 */
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(Py_None);
    __pyx_r = Py_None;
    goto __pyx_L0;
  }
  /*else*/ {

    /* "efl/elementary/theme.pyx":214
 *                 return None
 *             else:
 *                 return ret             # <<<<<<<<<<<<<<
 * 
 *     def ref_set(self, Theme thref not None):
 */
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(((PyObject *)__pyx_v_ret));
    __pyx_r = ((PyObject *)__pyx_v_ret);
    goto __pyx_L0;
  }

  /* "efl/elementary/theme.pyx":206
 *             elm_theme_ref_set(self.th, thref.th)
 * 
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             cdef Theme ret = Theme.__new__(Theme)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.reference.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ret);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":216
 *                 return ret
 * 
 *     def ref_set(self, Theme thref not None):             # <<<<<<<<<<<<<<
 *         elm_theme_ref_set(self.th, thref.th)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_13ref_set(PyObject *__pyx_v_self, PyObject *__pyx_v_thref); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_12ref_set[] = "Theme.ref_set(self, Theme thref)";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_13ref_set(PyObject *__pyx_v_self, PyObject *__pyx_v_thref) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("ref_set (wrapper)", 0);
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_thref), __pyx_ptype_3efl_10elementary_5theme_Theme, 0, "thref", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_12ref_set(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self), ((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_thref));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_12ref_set(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_thref) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("ref_set", 0);

  /* "efl/elementary/theme.pyx":217
 * 
 *     def ref_set(self, Theme thref not None):
 *         elm_theme_ref_set(self.th, thref.th)             # <<<<<<<<<<<<<<
 * 
 *     def ref_get(self):
 */
  elm_theme_ref_set(__pyx_v_self->th, __pyx_v_thref->th);

  /* "efl/elementary/theme.pyx":216
 *                 return ret
 * 
 *     def ref_set(self, Theme thref not None):             # <<<<<<<<<<<<<<
 *         elm_theme_ref_set(self.th, thref.th)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":219
 *         elm_theme_ref_set(self.th, thref.th)
 * 
 *     def ref_get(self):             # <<<<<<<<<<<<<<
 *         cdef Theme ret = Theme.__new__(Theme)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_15ref_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_14ref_get[] = "Theme.ref_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_15ref_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("ref_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_14ref_get(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_14ref_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_ret = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("ref_get", 0);

  /* "efl/elementary/theme.pyx":220
 * 
 *     def ref_get(self):
 *         cdef Theme ret = Theme.__new__(Theme)             # <<<<<<<<<<<<<<
 * 
 *         ret.th = elm_theme_ref_get(self.th)
 */
  __pyx_t_1 = __pyx_tp_new_3efl_10elementary_5theme_Theme(((PyTypeObject *)((PyObject*)__pyx_ptype_3efl_10elementary_5theme_Theme)), __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_3efl_10elementary_5theme_Theme)))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_ret = ((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/theme.pyx":222
 *         cdef Theme ret = Theme.__new__(Theme)
 * 
 *         ret.th = elm_theme_ref_get(self.th)             # <<<<<<<<<<<<<<
 * 
 *         if ret.th == NULL:
 */
  __pyx_v_ret->th = elm_theme_ref_get(__pyx_v_self->th);

  /* "efl/elementary/theme.pyx":224
 *         ret.th = elm_theme_ref_get(self.th)
 * 
 *         if ret.th == NULL:             # <<<<<<<<<<<<<<
 *             return None
 *         else:
 */
  __pyx_t_2 = ((__pyx_v_ret->th == NULL) != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/theme.pyx":225
 * 
 *         if ret.th == NULL:
 *             return None             # <<<<<<<<<<<<<<
 *         else:
 *             return ret
 */
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(Py_None);
    __pyx_r = Py_None;
    goto __pyx_L0;
  }
  /*else*/ {

    /* "efl/elementary/theme.pyx":227
 *             return None
 *         else:
 *             return ret             # <<<<<<<<<<<<<<
 * 
 *     def overlay_add(self, item not None):
 */
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(((PyObject *)__pyx_v_ret));
    __pyx_r = ((PyObject *)__pyx_v_ret);
    goto __pyx_L0;
  }

  /* "efl/elementary/theme.pyx":219
 *         elm_theme_ref_set(self.th, thref.th)
 * 
 *     def ref_get(self):             # <<<<<<<<<<<<<<
 *         cdef Theme ret = Theme.__new__(Theme)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.ref_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ret);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":229
 *             return ret
 * 
 *     def overlay_add(self, item not None):             # <<<<<<<<<<<<<<
 *         """Prepends a theme overlay to the list of overlays
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_17overlay_add(PyObject *__pyx_v_self, PyObject *__pyx_v_item); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_16overlay_add[] = "Theme.overlay_add(self, item)\nPrepends a theme overlay to the list of overlays\n\n        Use this if your application needs to provide some custom overlay\n        theme (An Edje file that replaces some default styles of widgets)\n        where adding new styles, or changing system theme configuration is\n        not possible. Do NOT use this instead of a proper system theme\n        configuration. Use proper configuration files, profiles, environment\n        variables etc. to set a theme so that the theme can be altered by\n        simple configuration by a user. Using this call to achieve that\n        effect is abusing the API and will create lots of trouble.\n\n        .. seealso:: :py:func:`extension_add()`\n\n        :param string item: The Edje file path to be used\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_17overlay_add(PyObject *__pyx_v_self, PyObject *__pyx_v_item) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("overlay_add (wrapper)", 0);
  if (unlikely(((PyObject *)__pyx_v_item) == Py_None)) {
    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "item"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_16overlay_add(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_item));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_16overlay_add(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_item) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("overlay_add", 0);
  __Pyx_INCREF(__pyx_v_item);

  /* "efl/elementary/theme.pyx":246
 * 
 *         """
 *         if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)             # <<<<<<<<<<<<<<
 *         elm_theme_overlay_add(self.th,
 *             <const char *>item)
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_item); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_item); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_item, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/theme.pyx":248
 *         if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *         elm_theme_overlay_add(self.th,
 *             <const char *>item)             # <<<<<<<<<<<<<<
 * 
 *     def overlay_del(self, item not None):
 */
  __pyx_t_4 = __Pyx_PyObject_AsString(__pyx_v_item); if (unlikely((!__pyx_t_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/theme.pyx":247
 *         """
 *         if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *         elm_theme_overlay_add(self.th,             # <<<<<<<<<<<<<<
 *             <const char *>item)
 * 
 */
  elm_theme_overlay_add(__pyx_v_self->th, ((char const *)__pyx_t_4));

  /* "efl/elementary/theme.pyx":229
 *             return ret
 * 
 *     def overlay_add(self, item not None):             # <<<<<<<<<<<<<<
 *         """Prepends a theme overlay to the list of overlays
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.overlay_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_item);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":250
 *             <const char *>item)
 * 
 *     def overlay_del(self, item not None):             # <<<<<<<<<<<<<<
 *         """Delete a theme overlay from the list of overlays
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_19overlay_del(PyObject *__pyx_v_self, PyObject *__pyx_v_item); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_18overlay_del[] = "Theme.overlay_del(self, item)\nDelete a theme overlay from the list of overlays\n\n        .. seealso:: :py:func:`overlay_add()`\n\n        :param string item: The name of the theme overlay\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_19overlay_del(PyObject *__pyx_v_self, PyObject *__pyx_v_item) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("overlay_del (wrapper)", 0);
  if (unlikely(((PyObject *)__pyx_v_item) == Py_None)) {
    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "item"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_18overlay_del(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_item));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_18overlay_del(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_item) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("overlay_del", 0);
  __Pyx_INCREF(__pyx_v_item);

  /* "efl/elementary/theme.pyx":258
 * 
 *         """
 *         if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)             # <<<<<<<<<<<<<<
 *         elm_theme_overlay_del(self.th,
 *             <const char *>item)
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_item); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_item); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_item, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/theme.pyx":260
 *         if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *         elm_theme_overlay_del(self.th,
 *             <const char *>item)             # <<<<<<<<<<<<<<
 * 
 *     property overlay_list:
 */
  __pyx_t_4 = __Pyx_PyObject_AsString(__pyx_v_item); if (unlikely((!__pyx_t_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/theme.pyx":259
 *         """
 *         if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *         elm_theme_overlay_del(self.th,             # <<<<<<<<<<<<<<
 *             <const char *>item)
 * 
 */
  elm_theme_overlay_del(__pyx_v_self->th, ((char const *)__pyx_t_4));

  /* "efl/elementary/theme.pyx":250
 *             <const char *>item)
 * 
 *     def overlay_del(self, item not None):             # <<<<<<<<<<<<<<
 *         """Delete a theme overlay from the list of overlays
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.overlay_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_item);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":270
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return tuple(eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_12overlay_list_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_12overlay_list_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_12overlay_list___get__(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_12overlay_list___get__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/elementary/theme.pyx":271
 *         """
 *         def __get__(self):
 *             return tuple(eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)))             # <<<<<<<<<<<<<<
 * 
 *     def overlay_list_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list(elm_theme_overlay_list_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (unlikely(__pyx_t_1 == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_2 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":270
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return tuple(eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)))
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.overlay_list.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":273
 *             return tuple(eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)))
 * 
 *     def overlay_list_get(self):             # <<<<<<<<<<<<<<
 *         return tuple(eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_21overlay_list_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_20overlay_list_get[] = "Theme.overlay_list_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_21overlay_list_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("overlay_list_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_20overlay_list_get(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_20overlay_list_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("overlay_list_get", 0);

  /* "efl/elementary/theme.pyx":274
 * 
 *     def overlay_list_get(self):
 *         return tuple(eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)))             # <<<<<<<<<<<<<<
 * 
 *     def extension_add(self, item not None):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list(elm_theme_overlay_list_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (unlikely(__pyx_t_1 == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_2 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":273
 *             return tuple(eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)))
 * 
 *     def overlay_list_get(self):             # <<<<<<<<<<<<<<
 *         return tuple(eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)))
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.overlay_list_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":276
 *         return tuple(eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)))
 * 
 *     def extension_add(self, item not None):             # <<<<<<<<<<<<<<
 *         """Appends a theme extension to the list of extensions.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_23extension_add(PyObject *__pyx_v_self, PyObject *__pyx_v_item); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_22extension_add[] = "Theme.extension_add(self, item)\nAppends a theme extension to the list of extensions.\n\n        This is intended when an application needs more styles of widgets or\n        new widget themes that the default does not provide (or may not\n        provide). The application has \"extended\" usage by coming up with new\n        custom style names for widgets for specific uses, but as these are\n        not \"standard\", they are not guaranteed to be provided by a default\n        theme. This means the application is required to provide these extra\n        elements itself in specific Edje files. This call adds one of those\n        Edje files to the theme search path to be search after the default\n        theme. The use of this call is encouraged when default styles do not\n        meet the needs of the application. Use this call instead of\n        elm_theme_overlay_add() for almost all cases.\n\n        .. seealso:: :py:attr:`Object.style<efl.elementary.object.Object.style>`\n\n        :param item: The Edje file path to be used\n        :type item: string\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_23extension_add(PyObject *__pyx_v_self, PyObject *__pyx_v_item) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("extension_add (wrapper)", 0);
  if (unlikely(((PyObject *)__pyx_v_item) == Py_None)) {
    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "item"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_22extension_add(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_item));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_22extension_add(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_item) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("extension_add", 0);
  __Pyx_INCREF(__pyx_v_item);

  /* "efl/elementary/theme.pyx":297
 * 
 *         """
 *         if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)             # <<<<<<<<<<<<<<
 *         elm_theme_extension_add(self.th,
 *             <const char *>item)
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_item); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_item); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_item, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/theme.pyx":299
 *         if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *         elm_theme_extension_add(self.th,
 *             <const char *>item)             # <<<<<<<<<<<<<<
 * 
 *     def extension_del(self, item not None):
 */
  __pyx_t_4 = __Pyx_PyObject_AsString(__pyx_v_item); if (unlikely((!__pyx_t_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/theme.pyx":298
 *         """
 *         if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *         elm_theme_extension_add(self.th,             # <<<<<<<<<<<<<<
 *             <const char *>item)
 * 
 */
  elm_theme_extension_add(__pyx_v_self->th, ((char const *)__pyx_t_4));

  /* "efl/elementary/theme.pyx":276
 *         return tuple(eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th)))
 * 
 *     def extension_add(self, item not None):             # <<<<<<<<<<<<<<
 *         """Appends a theme extension to the list of extensions.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.extension_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_item);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":301
 *             <const char *>item)
 * 
 *     def extension_del(self, item not None):             # <<<<<<<<<<<<<<
 *         """Deletes a theme extension from the list of extensions.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_25extension_del(PyObject *__pyx_v_self, PyObject *__pyx_v_item); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_24extension_del[] = "Theme.extension_del(self, item)\nDeletes a theme extension from the list of extensions.\n\n        .. seealso:: :py:func:`extension_add()`\n\n        :param item: The name of the theme extension\n        :type item: string\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_25extension_del(PyObject *__pyx_v_self, PyObject *__pyx_v_item) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("extension_del (wrapper)", 0);
  if (unlikely(((PyObject *)__pyx_v_item) == Py_None)) {
    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "item"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_24extension_del(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_item));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_24extension_del(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_item) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("extension_del", 0);
  __Pyx_INCREF(__pyx_v_item);

  /* "efl/elementary/theme.pyx":310
 * 
 *         """
 *         if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)             # <<<<<<<<<<<<<<
 *         elm_theme_extension_del(self.th,
 *             <const char *>item)
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_item); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_item); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 310; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_item, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/theme.pyx":312
 *         if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *         elm_theme_extension_del(self.th,
 *             <const char *>item)             # <<<<<<<<<<<<<<
 * 
 *     property extension_list:
 */
  __pyx_t_4 = __Pyx_PyObject_AsString(__pyx_v_item); if (unlikely((!__pyx_t_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/theme.pyx":311
 *         """
 *         if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *         elm_theme_extension_del(self.th,             # <<<<<<<<<<<<<<
 *             <const char *>item)
 * 
 */
  elm_theme_extension_del(__pyx_v_self->th, ((char const *)__pyx_t_4));

  /* "efl/elementary/theme.pyx":301
 *             <const char *>item)
 * 
 *     def extension_del(self, item not None):             # <<<<<<<<<<<<<<
 *         """Deletes a theme extension from the list of extensions.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.extension_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_item);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":322
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return tuple(eina_list_strings_to_python_list(elm_theme_extension_list_get(self.th)))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_14extension_list_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_14extension_list_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_14extension_list___get__(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_14extension_list___get__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/elementary/theme.pyx":323
 *         """
 *         def __get__(self):
 *             return tuple(eina_list_strings_to_python_list(elm_theme_extension_list_get(self.th)))             # <<<<<<<<<<<<<<
 * 
 *     def extension_list_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list(elm_theme_extension_list_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (unlikely(__pyx_t_1 == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_2 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":322
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return tuple(eina_list_strings_to_python_list(elm_theme_extension_list_get(self.th)))
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.extension_list.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":325
 *             return tuple(eina_list_strings_to_python_list(elm_theme_extension_list_get(self.th)))
 * 
 *     def extension_list_get(self):             # <<<<<<<<<<<<<<
 *         return tuple(eina_list_strings_to_python_list(elm_theme_extension_list_get(self.th)))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_27extension_list_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_26extension_list_get[] = "Theme.extension_list_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_27extension_list_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("extension_list_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_26extension_list_get(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_26extension_list_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("extension_list_get", 0);

  /* "efl/elementary/theme.pyx":326
 * 
 *     def extension_list_get(self):
 *         return tuple(eina_list_strings_to_python_list(elm_theme_extension_list_get(self.th)))             # <<<<<<<<<<<<<<
 * 
 *     property order:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list(elm_theme_extension_list_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (unlikely(__pyx_t_1 == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_2 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":325
 *             return tuple(eina_list_strings_to_python_list(elm_theme_extension_list_get(self.th)))
 * 
 *     def extension_list_get(self):             # <<<<<<<<<<<<<<
 *         return tuple(eina_list_strings_to_python_list(elm_theme_extension_list_get(self.th)))
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.extension_list_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":343
 * 
 *         """
 *         def __set__(self, theme not None):             # <<<<<<<<<<<<<<
 *             if isinstance(theme, unicode): theme = PyUnicode_AsUTF8String(theme)
 *             elm_theme_set(self.th,
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_5theme_5Theme_5order_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_theme); /*proto*/
static int __pyx_pw_3efl_10elementary_5theme_5Theme_5order_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_theme) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  if (unlikely(((PyObject *)__pyx_v_theme) == Py_None)) {
    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "theme"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_5order___set__(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_theme));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_3efl_10elementary_5theme_5Theme_5order___set__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_theme) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  __Pyx_INCREF(__pyx_v_theme);

  /* "efl/elementary/theme.pyx":344
 *         """
 *         def __set__(self, theme not None):
 *             if isinstance(theme, unicode): theme = PyUnicode_AsUTF8String(theme)             # <<<<<<<<<<<<<<
 *             elm_theme_set(self.th,
 *                 <const char *>theme if theme is not None else NULL)
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_theme); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_theme); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_theme, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/theme.pyx":346
 *             if isinstance(theme, unicode): theme = PyUnicode_AsUTF8String(theme)
 *             elm_theme_set(self.th,
 *                 <const char *>theme if theme is not None else NULL)             # <<<<<<<<<<<<<<
 * 
 *         def __get__(self):
 */
  __pyx_t_2 = (__pyx_v_theme != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_theme); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/elementary/theme.pyx":345
 *         def __set__(self, theme not None):
 *             if isinstance(theme, unicode): theme = PyUnicode_AsUTF8String(theme)
 *             elm_theme_set(self.th,             # <<<<<<<<<<<<<<
 *                 <const char *>theme if theme is not None else NULL)
 * 
 */
  elm_theme_set(__pyx_v_self->th, __pyx_t_4);

  /* "efl/elementary/theme.pyx":343
 * 
 *         """
 *         def __set__(self, theme not None):             # <<<<<<<<<<<<<<
 *             if isinstance(theme, unicode): theme = PyUnicode_AsUTF8String(theme)
 *             elm_theme_set(self.th,
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.order.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_theme);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":348
 *                 <const char *>theme if theme is not None else NULL)
 * 
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _ctouni(elm_theme_get(self.th))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_5order_3__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_5order_3__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_5order_2__get__(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_5order_2__get__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/elementary/theme.pyx":349
 * 
 *         def __get__(self):
 *             return _ctouni(elm_theme_get(self.th))             # <<<<<<<<<<<<<<
 * 
 *     def order_set(self, theme not None):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions__ctouni(elm_theme_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":348
 *                 <const char *>theme if theme is not None else NULL)
 * 
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _ctouni(elm_theme_get(self.th))
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.order.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":351
 *             return _ctouni(elm_theme_get(self.th))
 * 
 *     def order_set(self, theme not None):             # <<<<<<<<<<<<<<
 *         if isinstance(theme, unicode): theme = PyUnicode_AsUTF8String(theme)
 *         elm_theme_set(self.th,
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_29order_set(PyObject *__pyx_v_self, PyObject *__pyx_v_theme); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_28order_set[] = "Theme.order_set(self, theme)";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_29order_set(PyObject *__pyx_v_self, PyObject *__pyx_v_theme) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("order_set (wrapper)", 0);
  if (unlikely(((PyObject *)__pyx_v_theme) == Py_None)) {
    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "theme"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 351; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_28order_set(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_theme));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_28order_set(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_theme) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("order_set", 0);
  __Pyx_INCREF(__pyx_v_theme);

  /* "efl/elementary/theme.pyx":352
 * 
 *     def order_set(self, theme not None):
 *         if isinstance(theme, unicode): theme = PyUnicode_AsUTF8String(theme)             # <<<<<<<<<<<<<<
 *         elm_theme_set(self.th,
 *             <const char *>theme if theme is not None else NULL)
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_theme); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_theme); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 352; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_theme, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/theme.pyx":354
 *         if isinstance(theme, unicode): theme = PyUnicode_AsUTF8String(theme)
 *         elm_theme_set(self.th,
 *             <const char *>theme if theme is not None else NULL)             # <<<<<<<<<<<<<<
 * 
 *     def order_get(self):
 */
  __pyx_t_2 = (__pyx_v_theme != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_theme); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/elementary/theme.pyx":353
 *     def order_set(self, theme not None):
 *         if isinstance(theme, unicode): theme = PyUnicode_AsUTF8String(theme)
 *         elm_theme_set(self.th,             # <<<<<<<<<<<<<<
 *             <const char *>theme if theme is not None else NULL)
 * 
 */
  elm_theme_set(__pyx_v_self->th, __pyx_t_4);

  /* "efl/elementary/theme.pyx":351
 *             return _ctouni(elm_theme_get(self.th))
 * 
 *     def order_set(self, theme not None):             # <<<<<<<<<<<<<<
 *         if isinstance(theme, unicode): theme = PyUnicode_AsUTF8String(theme)
 *         elm_theme_set(self.th,
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.order_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_theme);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":356
 *             <const char *>theme if theme is not None else NULL)
 * 
 *     def order_get(self):             # <<<<<<<<<<<<<<
 *         return _ctouni(elm_theme_get(self.th))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_31order_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_30order_get[] = "Theme.order_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_31order_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("order_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_30order_get(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_30order_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("order_get", 0);

  /* "efl/elementary/theme.pyx":357
 * 
 *     def order_get(self):
 *         return _ctouni(elm_theme_get(self.th))             # <<<<<<<<<<<<<<
 * 
 *     property elements:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions__ctouni(elm_theme_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":356
 *             <const char *>theme if theme is not None else NULL)
 * 
 *     def order_get(self):             # <<<<<<<<<<<<<<
 *         return _ctouni(elm_theme_get(self.th))
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.order_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":376
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return tuple(eina_list_strings_to_python_list(elm_theme_list_get(self.th)))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_8elements_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_8elements_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_8elements___get__(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_8elements___get__(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/elementary/theme.pyx":377
 *         """
 *         def __get__(self):
 *             return tuple(eina_list_strings_to_python_list(elm_theme_list_get(self.th)))             # <<<<<<<<<<<<<<
 * 
 *     def elements_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list(elm_theme_list_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (unlikely(__pyx_t_1 == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_2 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":376
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return tuple(eina_list_strings_to_python_list(elm_theme_list_get(self.th)))
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.elements.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":379
 *             return tuple(eina_list_strings_to_python_list(elm_theme_list_get(self.th)))
 * 
 *     def elements_get(self):             # <<<<<<<<<<<<<<
 *         return tuple(eina_list_strings_to_python_list(elm_theme_list_get(self.th)))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_33elements_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_32elements_get[] = "Theme.elements_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_33elements_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("elements_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_32elements_get(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_32elements_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("elements_get", 0);

  /* "efl/elementary/theme.pyx":380
 * 
 *     def elements_get(self):
 *         return tuple(eina_list_strings_to_python_list(elm_theme_list_get(self.th)))             # <<<<<<<<<<<<<<
 * 
 *     def flush(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list(elm_theme_list_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (unlikely(__pyx_t_1 == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_2 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":379
 *             return tuple(eina_list_strings_to_python_list(elm_theme_list_get(self.th)))
 * 
 *     def elements_get(self):             # <<<<<<<<<<<<<<
 *         return tuple(eina_list_strings_to_python_list(elm_theme_list_get(self.th)))
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.elements_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":382
 *         return tuple(eina_list_strings_to_python_list(elm_theme_list_get(self.th)))
 * 
 *     def flush(self):             # <<<<<<<<<<<<<<
 *         """Flush the current theme.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_35flush(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_34flush[] = "Theme.flush(self)\nFlush the current theme.\n\n        This flushes caches that let elementary know where to find theme\n        elements in the given theme. Call this function if source theme data\n        has changed in such a way as to make any caches Elementary kept\n        invalid.\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_35flush(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("flush (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_34flush(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_34flush(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("flush", 0);

  /* "efl/elementary/theme.pyx":391
 * 
 *         """
 *         elm_theme_flush(self.th)             # <<<<<<<<<<<<<<
 * 
 *     def data_get(self, key not None):
 */
  elm_theme_flush(__pyx_v_self->th);

  /* "efl/elementary/theme.pyx":382
 *         return tuple(eina_list_strings_to_python_list(elm_theme_list_get(self.th)))
 * 
 *     def flush(self):             # <<<<<<<<<<<<<<
 *         """Flush the current theme.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":393
 *         elm_theme_flush(self.th)
 * 
 *     def data_get(self, key not None):             # <<<<<<<<<<<<<<
 *         """Get a data item from a theme
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_37data_get(PyObject *__pyx_v_self, PyObject *__pyx_v_key); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_36data_get[] = "Theme.data_get(self, key)\nGet a data item from a theme\n\n        This function is used to return data items from edc in theme, an\n        overlay, or an extension. It works the same way as\n        :py:func:`efl.edje.Edje.data_get()`.\n\n        :param string key: The data key to search with\n\n        :return: The data value, or None on failure\n        :rtype: string\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_37data_get(PyObject *__pyx_v_self, PyObject *__pyx_v_key) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("data_get (wrapper)", 0);
  if (unlikely(((PyObject *)__pyx_v_key) == Py_None)) {
    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "key"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_36data_get(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_key));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_36data_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_key) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("data_get", 0);
  __Pyx_INCREF(__pyx_v_key);

  /* "efl/elementary/theme.pyx":406
 * 
 *         """
 *         if isinstance(key, unicode): key = PyUnicode_AsUTF8String(key)             # <<<<<<<<<<<<<<
 *         return _ctouni(elm_theme_data_get(self.th,
 *             <const char *>key if key is not None else NULL))
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_key); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_key); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_key, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/theme.pyx":407
 *         """
 *         if isinstance(key, unicode): key = PyUnicode_AsUTF8String(key)
 *         return _ctouni(elm_theme_data_get(self.th,             # <<<<<<<<<<<<<<
 *             <const char *>key if key is not None else NULL))
 * 
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/elementary/theme.pyx":408
 *         if isinstance(key, unicode): key = PyUnicode_AsUTF8String(key)
 *         return _ctouni(elm_theme_data_get(self.th,
 *             <const char *>key if key is not None else NULL))             # <<<<<<<<<<<<<<
 * 
 *     def group_base_list_get(self, base not None):
 */
  __pyx_t_2 = (__pyx_v_key != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_key); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/elementary/theme.pyx":407
 *         """
 *         if isinstance(key, unicode): key = PyUnicode_AsUTF8String(key)
 *         return _ctouni(elm_theme_data_get(self.th,             # <<<<<<<<<<<<<<
 *             <const char *>key if key is not None else NULL))
 * 
 */
  __pyx_t_3 = __pyx_f_3efl_5utils_11conversions__ctouni(elm_theme_data_get(__pyx_v_self->th, __pyx_t_4)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":393
 *         elm_theme_flush(self.th)
 * 
 *     def data_get(self, key not None):             # <<<<<<<<<<<<<<
 *         """Get a data item from a theme
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.data_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_key);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":410
 *             <const char *>key if key is not None else NULL))
 * 
 *     def group_base_list_get(self, base not None):             # <<<<<<<<<<<<<<
 *         """Get a list of groups that match the initial base string given.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_39group_base_list_get(PyObject *__pyx_v_self, PyObject *__pyx_v_base); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_5Theme_38group_base_list_get[] = "Theme.group_base_list_get(self, base)\nGet a list of groups that match the initial base string given.\n\n        This function will walk all theme files configured in the theme\n        and find all groups that BEGIN with the string ``begin`` and have\n        that string as at LEAST their start.\n\n        :param string base: The base string group collection to look for\n\n        :return: The list of group names found (sorted)\n        :rtype: list of strings\n\n        .. versionadded:: 1.13\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_5theme_5Theme_39group_base_list_get(PyObject *__pyx_v_self, PyObject *__pyx_v_base) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("group_base_list_get (wrapper)", 0);
  if (unlikely(((PyObject *)__pyx_v_base) == Py_None)) {
    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "base"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_5Theme_38group_base_list_get(((struct __pyx_obj_3efl_10elementary_5theme_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_base));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_5Theme_38group_base_list_get(struct __pyx_obj_3efl_10elementary_5theme_Theme *__pyx_v_self, PyObject *__pyx_v_base) {
  char const *__pyx_v_s;
  PyObject *__pyx_v_ret = 0;
  Eina_List *__pyx_v_lst;
  Eina_List *__pyx_v_itr;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  char const *__pyx_t_4;
  int __pyx_t_5;
  Eina_List *__pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("group_base_list_get", 0);
  __Pyx_INCREF(__pyx_v_base);

  /* "efl/elementary/theme.pyx":427
 *         cdef:
 *             const char *s
 *             list  ret = []             # <<<<<<<<<<<<<<
 *             Eina_List *lst
 *             Eina_List *itr
 */
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 427; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ret = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/theme.pyx":431
 *             Eina_List *itr
 * 
 *         if isinstance(base, unicode): base = PyUnicode_AsUTF8String(base)             # <<<<<<<<<<<<<<
 *         lst = elm_theme_group_base_list(self.th, <const char *>base)
 *         itr = lst
 */
  __pyx_t_2 = PyUnicode_Check(__pyx_v_base); 
  __pyx_t_3 = (__pyx_t_2 != 0);
  if (__pyx_t_3) {
    __pyx_t_1 = PyUnicode_AsUTF8String(__pyx_v_base); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 431; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF_SET(__pyx_v_base, __pyx_t_1);
    __pyx_t_1 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/theme.pyx":432
 * 
 *         if isinstance(base, unicode): base = PyUnicode_AsUTF8String(base)
 *         lst = elm_theme_group_base_list(self.th, <const char *>base)             # <<<<<<<<<<<<<<
 *         itr = lst
 *         while itr:
 */
  __pyx_t_4 = __Pyx_PyObject_AsString(__pyx_v_base); if (unlikely((!__pyx_t_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_lst = elm_theme_group_base_list(__pyx_v_self->th, ((char const *)__pyx_t_4));

  /* "efl/elementary/theme.pyx":433
 *         if isinstance(base, unicode): base = PyUnicode_AsUTF8String(base)
 *         lst = elm_theme_group_base_list(self.th, <const char *>base)
 *         itr = lst             # <<<<<<<<<<<<<<
 *         while itr:
 *             s = <const char *>itr.data
 */
  __pyx_v_itr = __pyx_v_lst;

  /* "efl/elementary/theme.pyx":434
 *         lst = elm_theme_group_base_list(self.th, <const char *>base)
 *         itr = lst
 *         while itr:             # <<<<<<<<<<<<<<
 *             s = <const char *>itr.data
 *             ret.append(_ctouni(s))
 */
  while (1) {
    __pyx_t_3 = (__pyx_v_itr != 0);
    if (!__pyx_t_3) break;

    /* "efl/elementary/theme.pyx":435
 *         itr = lst
 *         while itr:
 *             s = <const char *>itr.data             # <<<<<<<<<<<<<<
 *             ret.append(_ctouni(s))
 *             eina_stringshare_del(s)
 */
    __pyx_v_s = ((char const *)__pyx_v_itr->data);

    /* "efl/elementary/theme.pyx":436
 *         while itr:
 *             s = <const char *>itr.data
 *             ret.append(_ctouni(s))             # <<<<<<<<<<<<<<
 *             eina_stringshare_del(s)
 *             itr = itr.next
 */
    __pyx_t_1 = __pyx_f_3efl_5utils_11conversions__ctouni(__pyx_v_s); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 436; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_5 = __Pyx_PyList_Append(__pyx_v_ret, __pyx_t_1); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 436; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "efl/elementary/theme.pyx":437
 *             s = <const char *>itr.data
 *             ret.append(_ctouni(s))
 *             eina_stringshare_del(s)             # <<<<<<<<<<<<<<
 *             itr = itr.next
 *         eina_list_free(lst)
 */
    eina_stringshare_del(__pyx_v_s);

    /* "efl/elementary/theme.pyx":438
 *             ret.append(_ctouni(s))
 *             eina_stringshare_del(s)
 *             itr = itr.next             # <<<<<<<<<<<<<<
 *         eina_list_free(lst)
 *         return ret
 */
    __pyx_t_6 = __pyx_v_itr->next;
    __pyx_v_itr = __pyx_t_6;
  }

  /* "efl/elementary/theme.pyx":439
 *             eina_stringshare_del(s)
 *             itr = itr.next
 *         eina_list_free(lst)             # <<<<<<<<<<<<<<
 *         return ret
 * 
 */
  eina_list_free(__pyx_v_lst);

  /* "efl/elementary/theme.pyx":440
 *             itr = itr.next
 *         eina_list_free(lst)
 *         return ret             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_ret);
  __pyx_r = __pyx_v_ret;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":410
 *             <const char *>key if key is not None else NULL))
 * 
 *     def group_base_list_get(self, base not None):             # <<<<<<<<<<<<<<
 *         """Get a list of groups that match the initial base string given.
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.elementary.theme.Theme.group_base_list_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_ret);
  __Pyx_XDECREF(__pyx_v_base);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":443
 * 
 * 
 * def theme_list_item_path_get(f not None, bint in_search_path):             # <<<<<<<<<<<<<<
 *     """Return the full path for a theme element
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_1theme_list_item_path_get(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_theme_list_item_path_get[] = "theme_list_item_path_get(f, bool in_search_path)\nReturn the full path for a theme element\n\n    This returns a string on success or NULL on failure. This will search\n    for the given theme element, and if it is a full or relative path\n    element or a simple search-able name. The returned path is the full path\n    to the file, if searched, and the file exists, or it is simply the full\n    path given in the element or a resolved path if relative to home.\n\n    :param string f: The theme element name\n    :param bool in_search_path: NOT USED\n\n    :return: The full path to the file found.\n    :rtype: string\n\n    ";
static PyMethodDef __pyx_mdef_3efl_10elementary_5theme_1theme_list_item_path_get = {"theme_list_item_path_get", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_1theme_list_item_path_get, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_5theme_theme_list_item_path_get};
static PyObject *__pyx_pw_3efl_10elementary_5theme_1theme_list_item_path_get(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_f = 0;
  int __pyx_v_in_search_path;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("theme_list_item_path_get (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_f,&__pyx_n_s_in_search_path,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_f)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_in_search_path)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("theme_list_item_path_get", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "theme_list_item_path_get") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_f = values[0];
    __pyx_v_in_search_path = __Pyx_PyObject_IsTrue(values[1]); if (unlikely((__pyx_v_in_search_path == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("theme_list_item_path_get", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.theme.theme_list_item_path_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(((PyObject *)__pyx_v_f) == Py_None)) {
    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "f"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_theme_list_item_path_get(__pyx_self, __pyx_v_f, __pyx_v_in_search_path);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_theme_list_item_path_get(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_f, int __pyx_v_in_search_path) {
  Eina_Bool __pyx_v_path;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  char const *__pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("theme_list_item_path_get", 0);
  __Pyx_INCREF(__pyx_v_f);

  /* "efl/elementary/theme.pyx":459
 * 
 *     """
 *     cdef Eina_Bool path = in_search_path             # <<<<<<<<<<<<<<
 *     if isinstance(f, unicode): f = PyUnicode_AsUTF8String(f)
 *     return _ctouni(elm_theme_list_item_path_get(
 */
  __pyx_v_path = __pyx_v_in_search_path;

  /* "efl/elementary/theme.pyx":460
 *     """
 *     cdef Eina_Bool path = in_search_path
 *     if isinstance(f, unicode): f = PyUnicode_AsUTF8String(f)             # <<<<<<<<<<<<<<
 *     return _ctouni(elm_theme_list_item_path_get(
 *         <const char *>f if f is not None else NULL, &path))
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_f); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_f); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_f, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/theme.pyx":461
 *     cdef Eina_Bool path = in_search_path
 *     if isinstance(f, unicode): f = PyUnicode_AsUTF8String(f)
 *     return _ctouni(elm_theme_list_item_path_get(             # <<<<<<<<<<<<<<
 *         <const char *>f if f is not None else NULL, &path))
 * 
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/elementary/theme.pyx":462
 *     if isinstance(f, unicode): f = PyUnicode_AsUTF8String(f)
 *     return _ctouni(elm_theme_list_item_path_get(
 *         <const char *>f if f is not None else NULL, &path))             # <<<<<<<<<<<<<<
 * 
 * def theme_full_flush():
 */
  __pyx_t_2 = (__pyx_v_f != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_f); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char const *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }

  /* "efl/elementary/theme.pyx":461
 *     cdef Eina_Bool path = in_search_path
 *     if isinstance(f, unicode): f = PyUnicode_AsUTF8String(f)
 *     return _ctouni(elm_theme_list_item_path_get(             # <<<<<<<<<<<<<<
 *         <const char *>f if f is not None else NULL, &path))
 * 
 */
  __pyx_t_3 = __pyx_f_3efl_5utils_11conversions__ctouni(elm_theme_list_item_path_get(__pyx_t_4, (&__pyx_v_path))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 461; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":443
 * 
 * 
 * def theme_list_item_path_get(f not None, bint in_search_path):             # <<<<<<<<<<<<<<
 *     """Return the full path for a theme element
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.theme.theme_list_item_path_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_f);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":464
 *         <const char *>f if f is not None else NULL, &path))
 * 
 * def theme_full_flush():             # <<<<<<<<<<<<<<
 *     """This flushes all themes (default and specific ones).
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_3theme_full_flush(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_2theme_full_flush[] = "theme_full_flush()\nThis flushes all themes (default and specific ones).\n\n    This will flush all themes in the current application context, by calling\n    elm_theme_flush() on each of them.\n\n    ";
static PyMethodDef __pyx_mdef_3efl_10elementary_5theme_3theme_full_flush = {"theme_full_flush", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_3theme_full_flush, METH_NOARGS, __pyx_doc_3efl_10elementary_5theme_2theme_full_flush};
static PyObject *__pyx_pw_3efl_10elementary_5theme_3theme_full_flush(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("theme_full_flush (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_2theme_full_flush(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_2theme_full_flush(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("theme_full_flush", 0);

  /* "efl/elementary/theme.pyx":471
 * 
 *     """
 *     elm_theme_full_flush()             # <<<<<<<<<<<<<<
 * 
 * def theme_name_available_list():
 */
  elm_theme_full_flush();

  /* "efl/elementary/theme.pyx":464
 *         <const char *>f if f is not None else NULL, &path))
 * 
 * def theme_full_flush():             # <<<<<<<<<<<<<<
 *     """This flushes all themes (default and specific ones).
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":473
 *     elm_theme_full_flush()
 * 
 * def theme_name_available_list():             # <<<<<<<<<<<<<<
 *     """Return a list of theme elements in the theme search path
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_5theme_name_available_list(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_4theme_name_available_list[] = "theme_name_available_list()\nReturn a list of theme elements in the theme search path\n\n    This lists all available theme files in the standard Elementary search path\n    for theme elements, and returns them in alphabetical order as theme\n    element names in a list of strings.\n\n    :return: A list of strings that are the theme element names.\n    :rtype: tuple of strings\n\n    ";
static PyMethodDef __pyx_mdef_3efl_10elementary_5theme_5theme_name_available_list = {"theme_name_available_list", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5theme_name_available_list, METH_NOARGS, __pyx_doc_3efl_10elementary_5theme_4theme_name_available_list};
static PyObject *__pyx_pw_3efl_10elementary_5theme_5theme_name_available_list(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("theme_name_available_list (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_4theme_name_available_list(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_4theme_name_available_list(CYTHON_UNUSED PyObject *__pyx_self) {
  Eina_List *__pyx_v_lst;
  PyObject *__pyx_v_elements = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("theme_name_available_list", 0);

  /* "efl/elementary/theme.pyx":484
 * 
 *     """
 *     cdef Eina_List *lst = elm_theme_name_available_list_new()             # <<<<<<<<<<<<<<
 *     elements = tuple(eina_list_strings_to_python_list(lst))
 *     elm_theme_name_available_list_free(lst)
 */
  __pyx_v_lst = elm_theme_name_available_list_new();

  /* "efl/elementary/theme.pyx":485
 *     """
 *     cdef Eina_List *lst = elm_theme_name_available_list_new()
 *     elements = tuple(eina_list_strings_to_python_list(lst))             # <<<<<<<<<<<<<<
 *     elm_theme_name_available_list_free(lst)
 *     return elements
 */
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list(__pyx_v_lst); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 485; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (unlikely(__pyx_t_1 == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 485; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_2 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 485; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_v_elements = ((PyObject*)__pyx_t_2);
  __pyx_t_2 = 0;

  /* "efl/elementary/theme.pyx":486
 *     cdef Eina_List *lst = elm_theme_name_available_list_new()
 *     elements = tuple(eina_list_strings_to_python_list(lst))
 *     elm_theme_name_available_list_free(lst)             # <<<<<<<<<<<<<<
 *     return elements
 * 
 */
  elm_theme_name_available_list_free(__pyx_v_lst);

  /* "efl/elementary/theme.pyx":487
 *     elements = tuple(eina_list_strings_to_python_list(lst))
 *     elm_theme_name_available_list_free(lst)
 *     return elements             # <<<<<<<<<<<<<<
 * 
 * # for compatibility
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_elements);
  __pyx_r = __pyx_v_elements;
  goto __pyx_L0;

  /* "efl/elementary/theme.pyx":473
 *     elm_theme_full_flush()
 * 
 * def theme_name_available_list():             # <<<<<<<<<<<<<<
 *     """Return a list of theme elements in the theme search path
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("efl.elementary.theme.theme_name_available_list", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_elements);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":490
 * 
 * # for compatibility
 * def theme_overlay_add(item not None):             # <<<<<<<<<<<<<<
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *     elm_theme_overlay_add(NULL,
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_7theme_overlay_add(PyObject *__pyx_self, PyObject *__pyx_v_item); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_6theme_overlay_add[] = "theme_overlay_add(item)";
static PyMethodDef __pyx_mdef_3efl_10elementary_5theme_7theme_overlay_add = {"theme_overlay_add", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_7theme_overlay_add, METH_O, __pyx_doc_3efl_10elementary_5theme_6theme_overlay_add};
static PyObject *__pyx_pw_3efl_10elementary_5theme_7theme_overlay_add(PyObject *__pyx_self, PyObject *__pyx_v_item) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("theme_overlay_add (wrapper)", 0);
  if (unlikely(((PyObject *)__pyx_v_item) == Py_None)) {
    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "item"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_6theme_overlay_add(__pyx_self, ((PyObject *)__pyx_v_item));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_6theme_overlay_add(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_item) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("theme_overlay_add", 0);
  __Pyx_INCREF(__pyx_v_item);

  /* "efl/elementary/theme.pyx":491
 * # for compatibility
 * def theme_overlay_add(item not None):
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)             # <<<<<<<<<<<<<<
 *     elm_theme_overlay_add(NULL,
 *         <const char *>item)
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_item); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_item); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 491; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_item, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/theme.pyx":493
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *     elm_theme_overlay_add(NULL,
 *         <const char *>item)             # <<<<<<<<<<<<<<
 * 
 * def theme_extension_add(item not None):
 */
  __pyx_t_4 = __Pyx_PyObject_AsString(__pyx_v_item); if (unlikely((!__pyx_t_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 493; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/theme.pyx":492
 * def theme_overlay_add(item not None):
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *     elm_theme_overlay_add(NULL,             # <<<<<<<<<<<<<<
 *         <const char *>item)
 * 
 */
  elm_theme_overlay_add(NULL, ((char const *)__pyx_t_4));

  /* "efl/elementary/theme.pyx":490
 * 
 * # for compatibility
 * def theme_overlay_add(item not None):             # <<<<<<<<<<<<<<
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *     elm_theme_overlay_add(NULL,
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.theme.theme_overlay_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_item);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/theme.pyx":495
 *         <const char *>item)
 * 
 * def theme_extension_add(item not None):             # <<<<<<<<<<<<<<
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *     elm_theme_extension_add(NULL,
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_5theme_9theme_extension_add(PyObject *__pyx_self, PyObject *__pyx_v_item); /*proto*/
static char __pyx_doc_3efl_10elementary_5theme_8theme_extension_add[] = "theme_extension_add(item)";
static PyMethodDef __pyx_mdef_3efl_10elementary_5theme_9theme_extension_add = {"theme_extension_add", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_9theme_extension_add, METH_O, __pyx_doc_3efl_10elementary_5theme_8theme_extension_add};
static PyObject *__pyx_pw_3efl_10elementary_5theme_9theme_extension_add(PyObject *__pyx_self, PyObject *__pyx_v_item) {
  CYTHON_UNUSED int __pyx_lineno = 0;
  CYTHON_UNUSED const char *__pyx_filename = NULL;
  CYTHON_UNUSED int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("theme_extension_add (wrapper)", 0);
  if (unlikely(((PyObject *)__pyx_v_item) == Py_None)) {
    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "item"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_r = __pyx_pf_3efl_10elementary_5theme_8theme_extension_add(__pyx_self, ((PyObject *)__pyx_v_item));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_3efl_10elementary_5theme_8theme_extension_add(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_item) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  char const *__pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("theme_extension_add", 0);
  __Pyx_INCREF(__pyx_v_item);

  /* "efl/elementary/theme.pyx":496
 * 
 * def theme_extension_add(item not None):
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)             # <<<<<<<<<<<<<<
 *     elm_theme_extension_add(NULL,
 *         <const char *>item)
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_item); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_item); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_item, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/theme.pyx":498
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *     elm_theme_extension_add(NULL,
 *         <const char *>item)             # <<<<<<<<<<<<<<
 */
  __pyx_t_4 = __Pyx_PyObject_AsString(__pyx_v_item); if (unlikely((!__pyx_t_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/theme.pyx":497
 * def theme_extension_add(item not None):
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *     elm_theme_extension_add(NULL,             # <<<<<<<<<<<<<<
 *         <const char *>item)
 */
  elm_theme_extension_add(NULL, ((char const *)__pyx_t_4));

  /* "efl/elementary/theme.pyx":495
 *         <const char *>item)
 * 
 * def theme_extension_add(item not None):             # <<<<<<<<<<<<<<
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *     elm_theme_extension_add(NULL,
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.theme.theme_extension_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_item);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_tp_new_3efl_10elementary_5theme_Theme(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
  PyObject *o;
  if (likely((t->tp_flags & Py_TPFLAGS_IS_ABSTRACT) == 0)) {
    o = (*t->tp_alloc)(t, 0);
  } else {
    o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0);
  }
  if (unlikely(!o)) return 0;
  return o;
}

static void __pyx_tp_dealloc_3efl_10elementary_5theme_Theme(PyObject *o) {
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && (!PyType_IS_GC(Py_TYPE(o)) || !_PyGC_FINALIZED(o))) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  (*Py_TYPE(o)->tp_free)(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_5theme_5Theme_reference(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_5theme_5Theme_9reference_3__get__(o);
}

static int __pyx_setprop_3efl_10elementary_5theme_5Theme_reference(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_10elementary_5theme_5Theme_9reference_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyObject *__pyx_getprop_3efl_10elementary_5theme_5Theme_overlay_list(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_5theme_5Theme_12overlay_list_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_5theme_5Theme_extension_list(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_5theme_5Theme_14extension_list_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_5theme_5Theme_order(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_5theme_5Theme_5order_3__get__(o);
}

static int __pyx_setprop_3efl_10elementary_5theme_5Theme_order(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_3efl_10elementary_5theme_5Theme_5order_1__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyObject *__pyx_getprop_3efl_10elementary_5theme_5Theme_elements(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_5theme_5Theme_8elements_1__get__(o);
}

static PyMethodDef __pyx_methods_3efl_10elementary_5theme_Theme[] = {
  {"new", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_5new, METH_NOARGS, __pyx_doc_3efl_10elementary_5theme_5Theme_4new},
  {"default_get", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_7default_get, METH_NOARGS, __pyx_doc_3efl_10elementary_5theme_5Theme_6default_get},
  {"free", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_9free, METH_NOARGS, __pyx_doc_3efl_10elementary_5theme_5Theme_8free},
  {"copy", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_11copy, METH_O, __pyx_doc_3efl_10elementary_5theme_5Theme_10copy},
  {"ref_set", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_13ref_set, METH_O, __pyx_doc_3efl_10elementary_5theme_5Theme_12ref_set},
  {"ref_get", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_15ref_get, METH_NOARGS, __pyx_doc_3efl_10elementary_5theme_5Theme_14ref_get},
  {"overlay_add", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_17overlay_add, METH_O, __pyx_doc_3efl_10elementary_5theme_5Theme_16overlay_add},
  {"overlay_del", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_19overlay_del, METH_O, __pyx_doc_3efl_10elementary_5theme_5Theme_18overlay_del},
  {"overlay_list_get", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_21overlay_list_get, METH_NOARGS, __pyx_doc_3efl_10elementary_5theme_5Theme_20overlay_list_get},
  {"extension_add", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_23extension_add, METH_O, __pyx_doc_3efl_10elementary_5theme_5Theme_22extension_add},
  {"extension_del", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_25extension_del, METH_O, __pyx_doc_3efl_10elementary_5theme_5Theme_24extension_del},
  {"extension_list_get", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_27extension_list_get, METH_NOARGS, __pyx_doc_3efl_10elementary_5theme_5Theme_26extension_list_get},
  {"order_set", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_29order_set, METH_O, __pyx_doc_3efl_10elementary_5theme_5Theme_28order_set},
  {"order_get", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_31order_get, METH_NOARGS, __pyx_doc_3efl_10elementary_5theme_5Theme_30order_get},
  {"elements_get", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_33elements_get, METH_NOARGS, __pyx_doc_3efl_10elementary_5theme_5Theme_32elements_get},
  {"flush", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_35flush, METH_NOARGS, __pyx_doc_3efl_10elementary_5theme_5Theme_34flush},
  {"data_get", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_37data_get, METH_O, __pyx_doc_3efl_10elementary_5theme_5Theme_36data_get},
  {"group_base_list_get", (PyCFunction)__pyx_pw_3efl_10elementary_5theme_5Theme_39group_base_list_get, METH_O, __pyx_doc_3efl_10elementary_5theme_5Theme_38group_base_list_get},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_3efl_10elementary_5theme_Theme[] = {
  {(char *)"reference", __pyx_getprop_3efl_10elementary_5theme_5Theme_reference, __pyx_setprop_3efl_10elementary_5theme_5Theme_reference, __pyx_k_Theme_reference_Setting_this_cle, 0},
  {(char *)"overlay_list", __pyx_getprop_3efl_10elementary_5theme_5Theme_overlay_list, 0, __pyx_k_Get_the_list_of_registered_overl, 0},
  {(char *)"extension_list", __pyx_getprop_3efl_10elementary_5theme_5Theme_extension_list, 0, __pyx_k_Get_the_list_of_registered_exten, 0},
  {(char *)"order", __pyx_getprop_3efl_10elementary_5theme_5Theme_order, __pyx_setprop_3efl_10elementary_5theme_5Theme_order, __pyx_k_Set_the_theme_search_order_for_t, 0},
  {(char *)"elements", __pyx_getprop_3efl_10elementary_5theme_5Theme_elements, 0, __pyx_k_Return_a_list_of_theme_elements, 0},
  {0, 0, 0, 0, 0}
};

static PyTypeObject __pyx_type_3efl_10elementary_5theme_Theme = {
  PyVarObject_HEAD_INIT(0, 0)
  "efl.elementary.theme.Theme", /*tp_name*/
  sizeof(struct __pyx_obj_3efl_10elementary_5theme_Theme), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_3efl_10elementary_5theme_Theme, /*tp_dealloc*/
  0, /*tp_print*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #else
  0, /*reserved*/
  #endif
  __pyx_pw_3efl_10elementary_5theme_5Theme_1__repr__, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
  "Theme(default=False)\n\n\n    This is the class that actually implements the widget.\n\n    ", /*tp_doc*/
  0, /*tp_traverse*/
  0, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_3efl_10elementary_5theme_Theme, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_3efl_10elementary_5theme_Theme, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_3efl_10elementary_5theme_5Theme_3__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_3efl_10elementary_5theme_Theme, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
};

static PyMethodDef __pyx_methods[] = {
  {0, 0, 0, 0}
};

#if PY_MAJOR_VERSION >= 3
static struct PyModuleDef __pyx_moduledef = {
  #if PY_VERSION_HEX < 0x03020000
    { PyObject_HEAD_INIT(NULL) NULL, 0, NULL },
  #else
    PyModuleDef_HEAD_INIT,
  #endif
    "theme",
    __pyx_k_mod_theme_Module_Description_El, /* m_doc */
    -1, /* m_size */
    __pyx_methods /* m_methods */,
    NULL, /* m_reload */
    NULL, /* m_traverse */
    NULL, /* m_clear */
    NULL /* m_free */
};
#endif

static __Pyx_StringTabEntry __pyx_string_tab[] = {
  {&__pyx_n_s_RuntimeError, __pyx_k_RuntimeError, sizeof(__pyx_k_RuntimeError), 0, 0, 1, 1},
  {&__pyx_n_s_default, __pyx_k_default, sizeof(__pyx_k_default), 0, 0, 1, 1},
  {&__pyx_n_s_default_get, __pyx_k_default_get, sizeof(__pyx_k_default_get), 0, 0, 1, 1},
  {&__pyx_n_s_efl_elementary_theme, __pyx_k_efl_elementary_theme, sizeof(__pyx_k_efl_elementary_theme), 0, 0, 1, 1},
  {&__pyx_n_s_elements, __pyx_k_elements, sizeof(__pyx_k_elements), 0, 0, 1, 1},
  {&__pyx_n_s_f, __pyx_k_f, sizeof(__pyx_k_f), 0, 0, 1, 1},
  {&__pyx_kp_s_home_dave_e_bindings_python_efl, __pyx_k_home_dave_e_bindings_python_efl, sizeof(__pyx_k_home_dave_e_bindings_python_efl), 0, 0, 1, 0},
  {&__pyx_n_s_in_search_path, __pyx_k_in_search_path, sizeof(__pyx_k_in_search_path), 0, 0, 1, 1},
  {&__pyx_n_s_item, __pyx_k_item, sizeof(__pyx_k_item), 0, 0, 1, 1},
  {&__pyx_n_s_lst, __pyx_k_lst, sizeof(__pyx_k_lst), 0, 0, 1, 1},
  {&__pyx_n_s_main, __pyx_k_main, sizeof(__pyx_k_main), 0, 0, 1, 1},
  {&__pyx_n_s_name, __pyx_k_name, sizeof(__pyx_k_name), 0, 0, 1, 1},
  {&__pyx_n_s_new, __pyx_k_new, sizeof(__pyx_k_new), 0, 0, 1, 1},
  {&__pyx_n_s_path, __pyx_k_path, sizeof(__pyx_k_path), 0, 0, 1, 1},
  {&__pyx_n_s_pyx_vtable, __pyx_k_pyx_vtable, sizeof(__pyx_k_pyx_vtable), 0, 0, 1, 1},
  {&__pyx_kp_s_s_object_at_x_refcount_d_order, __pyx_k_s_object_at_x_refcount_d_order, sizeof(__pyx_k_s_object_at_x_refcount_d_order), 0, 0, 1, 0},
  {&__pyx_n_s_test, __pyx_k_test, sizeof(__pyx_k_test), 0, 0, 1, 1},
  {&__pyx_n_s_theme_extension_add, __pyx_k_theme_extension_add, sizeof(__pyx_k_theme_extension_add), 0, 0, 1, 1},
  {&__pyx_n_s_theme_full_flush, __pyx_k_theme_full_flush, sizeof(__pyx_k_theme_full_flush), 0, 0, 1, 1},
  {&__pyx_n_s_theme_list_item_path_get, __pyx_k_theme_list_item_path_get, sizeof(__pyx_k_theme_list_item_path_get), 0, 0, 1, 1},
  {&__pyx_n_s_theme_name_available_list, __pyx_k_theme_name_available_list, sizeof(__pyx_k_theme_name_available_list), 0, 0, 1, 1},
  {&__pyx_n_s_theme_overlay_add, __pyx_k_theme_overlay_add, sizeof(__pyx_k_theme_overlay_add), 0, 0, 1, 1},
  {0, 0, 0, 0, 0, 0, 0}
};
static int __Pyx_InitCachedBuiltins(void) {
  __pyx_builtin_RuntimeError = __Pyx_GetBuiltinName(__pyx_n_s_RuntimeError); if (!__pyx_builtin_RuntimeError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  return 0;
  __pyx_L1_error:;
  return -1;
}

static int __Pyx_InitCachedConstants(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);

  /* "efl/elementary/theme.pyx":443
 * 
 * 
 * def theme_list_item_path_get(f not None, bint in_search_path):             # <<<<<<<<<<<<<<
 *     """Return the full path for a theme element
 * 
 */
  __pyx_tuple_ = PyTuple_Pack(3, __pyx_n_s_f, __pyx_n_s_in_search_path, __pyx_n_s_path); if (unlikely(!__pyx_tuple_)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple_);
  __Pyx_GIVEREF(__pyx_tuple_);
  __pyx_codeobj__2 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple_, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_dave_e_bindings_python_efl, __pyx_n_s_theme_list_item_path_get, 443, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/theme.pyx":464
 *         <const char *>f if f is not None else NULL, &path))
 * 
 * def theme_full_flush():             # <<<<<<<<<<<<<<
 *     """This flushes all themes (default and specific ones).
 * 
 */
  __pyx_codeobj__3 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_dave_e_bindings_python_efl, __pyx_n_s_theme_full_flush, 464, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/theme.pyx":473
 *     elm_theme_full_flush()
 * 
 * def theme_name_available_list():             # <<<<<<<<<<<<<<
 *     """Return a list of theme elements in the theme search path
 * 
 */
  __pyx_tuple__4 = PyTuple_Pack(2, __pyx_n_s_lst, __pyx_n_s_elements); if (unlikely(!__pyx_tuple__4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 473; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__4);
  __Pyx_GIVEREF(__pyx_tuple__4);
  __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(0, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__4, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_dave_e_bindings_python_efl, __pyx_n_s_theme_name_available_list, 473, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 473; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/theme.pyx":490
 * 
 * # for compatibility
 * def theme_overlay_add(item not None):             # <<<<<<<<<<<<<<
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *     elm_theme_overlay_add(NULL,
 */
  __pyx_tuple__6 = PyTuple_Pack(1, __pyx_n_s_item); if (unlikely(!__pyx_tuple__6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__6);
  __Pyx_GIVEREF(__pyx_tuple__6);
  __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_dave_e_bindings_python_efl, __pyx_n_s_theme_overlay_add, 490, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/theme.pyx":495
 *         <const char *>item)
 * 
 * def theme_extension_add(item not None):             # <<<<<<<<<<<<<<
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *     elm_theme_extension_add(NULL,
 */
  __pyx_tuple__8 = PyTuple_Pack(1, __pyx_n_s_item); if (unlikely(!__pyx_tuple__8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__8);
  __Pyx_GIVEREF(__pyx_tuple__8);
  __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_dave_e_bindings_python_efl, __pyx_n_s_theme_extension_add, 495, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_RefNannyFinishContext();
  return -1;
}

static int __Pyx_InitGlobals(void) {
  if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  return 0;
  __pyx_L1_error:;
  return -1;
}

#if PY_MAJOR_VERSION < 3
PyMODINIT_FUNC inittheme(void); /*proto*/
PyMODINIT_FUNC inittheme(void)
#else
PyMODINIT_FUNC PyInit_theme(void); /*proto*/
PyMODINIT_FUNC PyInit_theme(void)
#endif
{
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannyDeclarations
  #if CYTHON_REFNANNY
  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
  if (!__Pyx_RefNanny) {
      PyErr_Clear();
      __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny");
      if (!__Pyx_RefNanny)
          Py_FatalError("failed to import 'refnanny' module");
  }
  #endif
  __Pyx_RefNannySetupContext("PyMODINIT_FUNC PyInit_theme(void)", 0);
  if ( __Pyx_check_binary_version() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_empty_tuple)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_bytes)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #ifdef __Pyx_CyFunction_USED
  if (__Pyx_CyFunction_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #endif
  #ifdef __Pyx_FusedFunction_USED
  if (__pyx_FusedFunction_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #endif
  #ifdef __Pyx_Generator_USED
  if (__pyx_Generator_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #endif
  /*--- Library function declarations ---*/
  /*--- Threads initialization code ---*/
  #if defined(__PYX_FORCE_INIT_THREADS) && __PYX_FORCE_INIT_THREADS
  #ifdef WITH_THREAD /* Python build with threading support? */
  PyEval_InitThreads();
  #endif
  #endif
  /*--- Module creation code ---*/
  #if PY_MAJOR_VERSION < 3
  __pyx_m = Py_InitModule4("theme", __pyx_methods, __pyx_k_mod_theme_Module_Description_El, 0, PYTHON_API_VERSION); Py_XINCREF(__pyx_m);
  #else
  __pyx_m = PyModule_Create(&__pyx_moduledef);
  #endif
  if (unlikely(!__pyx_m)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_INCREF(__pyx_d);
  __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #if CYTHON_COMPILING_IN_PYPY
  Py_INCREF(__pyx_b);
  #endif
  if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  /*--- Initialize various global constants etc. ---*/
  if (unlikely(__Pyx_InitGlobals() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #if PY_MAJOR_VERSION < 3 && (__PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT)
  if (__Pyx_init_sys_getdefaultencoding_params() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #endif
  if (__pyx_module_is_main_efl__elementary__theme) {
    if (PyObject_SetAttrString(__pyx_m, "__name__", __pyx_n_s_main) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  #if PY_MAJOR_VERSION >= 3
  {
    PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (!PyDict_GetItemString(modules, "efl.elementary.theme")) {
      if (unlikely(PyDict_SetItemString(modules, "efl.elementary.theme", __pyx_m) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
  }
  #endif
  /*--- Builtin init code ---*/
  if (unlikely(__Pyx_InitCachedBuiltins() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  /*--- Constants init code ---*/
  if (unlikely(__Pyx_InitCachedConstants() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  /*--- Global init code ---*/
  /*--- Variable export code ---*/
  /*--- Function export code ---*/
  /*--- Type init code ---*/
  if (PyType_Ready(&__pyx_type_3efl_10elementary_5theme_Theme) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_3efl_10elementary_5theme_Theme.tp_print = 0;
  if (PyObject_SetAttrString(__pyx_m, "Theme", (PyObject *)&__pyx_type_3efl_10elementary_5theme_Theme) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_10elementary_5theme_Theme = &__pyx_type_3efl_10elementary_5theme_Theme;
  /*--- Type import code ---*/
  __pyx_ptype_7cpython_4type_type = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "type", 
  #if CYTHON_COMPILING_IN_PYPY
  sizeof(PyTypeObject),
  #else
  sizeof(PyHeapTypeObject),
  #endif
  0); if (unlikely(!__pyx_ptype_7cpython_4type_type)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 9; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_7cpython_4bool_bool = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "bool", sizeof(PyBoolObject), 0); if (unlikely(!__pyx_ptype_7cpython_4bool_bool)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 8; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_7cpython_7complex_complex = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "complex", sizeof(PyComplexObject), 0); if (unlikely(!__pyx_ptype_7cpython_7complex_complex)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_2eo_Eo = __Pyx_ImportType("efl.eo", "Eo", sizeof(struct __pyx_obj_3efl_2eo_Eo), 1); if (unlikely(!__pyx_ptype_3efl_2eo_Eo)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_2eo_Eo = (struct __pyx_vtabstruct_3efl_2eo_Eo*)__Pyx_GetVtable(__pyx_ptype_3efl_2eo_Eo->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_2eo_Eo)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_Rect = __Pyx_ImportType("efl.evas", "Rect", sizeof(struct __pyx_obj_3efl_4evas_Rect), 1); if (unlikely(!__pyx_ptype_3efl_4evas_Rect)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_Canvas = __Pyx_ImportType("efl.evas", "Canvas", sizeof(struct __pyx_obj_3efl_4evas_Canvas), 1); if (unlikely(!__pyx_ptype_3efl_4evas_Canvas)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_Canvas = (struct __pyx_vtabstruct_3efl_4evas_Canvas*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_Canvas->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_Canvas)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_Map = __Pyx_ImportType("efl.evas", "Map", sizeof(struct __pyx_obj_3efl_4evas_Map), 1); if (unlikely(!__pyx_ptype_3efl_4evas_Map)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_Object = __Pyx_ImportType("efl.evas", "Object", sizeof(struct __pyx_obj_3efl_4evas_Object), 1); if (unlikely(!__pyx_ptype_3efl_4evas_Object)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_Object = (struct __pyx_vtabstruct_3efl_4evas_Object*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_Object->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_Object)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_Rectangle = __Pyx_ImportType("efl.evas", "Rectangle", sizeof(struct __pyx_obj_3efl_4evas_Rectangle), 1); if (unlikely(!__pyx_ptype_3efl_4evas_Rectangle)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_Rectangle = (struct __pyx_vtabstruct_3efl_4evas_Rectangle*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_Rectangle->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_Rectangle)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_Line = __Pyx_ImportType("efl.evas", "Line", sizeof(struct __pyx_obj_3efl_4evas_Line), 1); if (unlikely(!__pyx_ptype_3efl_4evas_Line)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_Line = (struct __pyx_vtabstruct_3efl_4evas_Line*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_Line->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_Line)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_Image = __Pyx_ImportType("efl.evas", "Image", sizeof(struct __pyx_obj_3efl_4evas_Image), 1); if (unlikely(!__pyx_ptype_3efl_4evas_Image)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_Image = (struct __pyx_vtabstruct_3efl_4evas_Image*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_Image->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_Image)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_FilledImage = __Pyx_ImportType("efl.evas", "FilledImage", sizeof(struct __pyx_obj_3efl_4evas_FilledImage), 1); if (unlikely(!__pyx_ptype_3efl_4evas_FilledImage)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_FilledImage = (struct __pyx_vtabstruct_3efl_4evas_FilledImage*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_FilledImage->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_FilledImage)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_Polygon = __Pyx_ImportType("efl.evas", "Polygon", sizeof(struct __pyx_obj_3efl_4evas_Polygon), 1); if (unlikely(!__pyx_ptype_3efl_4evas_Polygon)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_Polygon = (struct __pyx_vtabstruct_3efl_4evas_Polygon*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_Polygon->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_Polygon)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_Text = __Pyx_ImportType("efl.evas", "Text", sizeof(struct __pyx_obj_3efl_4evas_Text), 1); if (unlikely(!__pyx_ptype_3efl_4evas_Text)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_Text = (struct __pyx_vtabstruct_3efl_4evas_Text*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_Text->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_Text)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_Textblock = __Pyx_ImportType("efl.evas", "Textblock", sizeof(struct __pyx_obj_3efl_4evas_Textblock), 1); if (unlikely(!__pyx_ptype_3efl_4evas_Textblock)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_Textblock = (struct __pyx_vtabstruct_3efl_4evas_Textblock*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_Textblock->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_Textblock)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventPoint = __Pyx_ImportType("efl.evas", "EventPoint", sizeof(struct __pyx_obj_3efl_4evas_EventPoint), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventPoint)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventPoint = (struct __pyx_vtabstruct_3efl_4evas_EventPoint*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventPoint->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventPoint)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventCoordPoint = __Pyx_ImportType("efl.evas", "EventCoordPoint", sizeof(struct __pyx_obj_3efl_4evas_EventCoordPoint), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventCoordPoint)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventCoordPoint = (struct __pyx_vtabstruct_3efl_4evas_EventCoordPoint*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventCoordPoint->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventCoordPoint)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventPrecisionPoint = __Pyx_ImportType("efl.evas", "EventPrecisionPoint", sizeof(struct __pyx_obj_3efl_4evas_EventPrecisionPoint), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventPrecisionPoint)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventPrecisionPoint = (struct __pyx_vtabstruct_3efl_4evas_EventPrecisionPoint*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventPrecisionPoint->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventPrecisionPoint)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventPosition = __Pyx_ImportType("efl.evas", "EventPosition", sizeof(struct __pyx_obj_3efl_4evas_EventPosition), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventPosition)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventPosition = (struct __pyx_vtabstruct_3efl_4evas_EventPosition*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventPosition->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventPosition)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventPrecisionPosition = __Pyx_ImportType("efl.evas", "EventPrecisionPosition", sizeof(struct __pyx_obj_3efl_4evas_EventPrecisionPosition), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventPrecisionPosition)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventPrecisionPosition = (struct __pyx_vtabstruct_3efl_4evas_EventPrecisionPosition*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventPrecisionPosition->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventPrecisionPosition)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventMouseIn = __Pyx_ImportType("efl.evas", "EventMouseIn", sizeof(struct __pyx_obj_3efl_4evas_EventMouseIn), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventMouseIn)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventMouseIn = (struct __pyx_vtabstruct_3efl_4evas_EventMouseIn*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventMouseIn->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventMouseIn)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventMouseOut = __Pyx_ImportType("efl.evas", "EventMouseOut", sizeof(struct __pyx_obj_3efl_4evas_EventMouseOut), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventMouseOut)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventMouseOut = (struct __pyx_vtabstruct_3efl_4evas_EventMouseOut*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventMouseOut->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventMouseOut)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventMouseDown = __Pyx_ImportType("efl.evas", "EventMouseDown", sizeof(struct __pyx_obj_3efl_4evas_EventMouseDown), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventMouseDown)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventMouseDown = (struct __pyx_vtabstruct_3efl_4evas_EventMouseDown*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventMouseDown->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventMouseDown)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventMouseUp = __Pyx_ImportType("efl.evas", "EventMouseUp", sizeof(struct __pyx_obj_3efl_4evas_EventMouseUp), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventMouseUp)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventMouseUp = (struct __pyx_vtabstruct_3efl_4evas_EventMouseUp*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventMouseUp->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventMouseUp)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventMouseMove = __Pyx_ImportType("efl.evas", "EventMouseMove", sizeof(struct __pyx_obj_3efl_4evas_EventMouseMove), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventMouseMove)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventMouseMove = (struct __pyx_vtabstruct_3efl_4evas_EventMouseMove*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventMouseMove->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventMouseMove)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventMultiDown = __Pyx_ImportType("efl.evas", "EventMultiDown", sizeof(struct __pyx_obj_3efl_4evas_EventMultiDown), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventMultiDown)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventMultiDown = (struct __pyx_vtabstruct_3efl_4evas_EventMultiDown*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventMultiDown->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventMultiDown)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventMultiUp = __Pyx_ImportType("efl.evas", "EventMultiUp", sizeof(struct __pyx_obj_3efl_4evas_EventMultiUp), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventMultiUp)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventMultiUp = (struct __pyx_vtabstruct_3efl_4evas_EventMultiUp*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventMultiUp->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventMultiUp)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventMultiMove = __Pyx_ImportType("efl.evas", "EventMultiMove", sizeof(struct __pyx_obj_3efl_4evas_EventMultiMove), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventMultiMove)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventMultiMove = (struct __pyx_vtabstruct_3efl_4evas_EventMultiMove*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventMultiMove->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventMultiMove)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventMouseWheel = __Pyx_ImportType("efl.evas", "EventMouseWheel", sizeof(struct __pyx_obj_3efl_4evas_EventMouseWheel), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventMouseWheel)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventMouseWheel = (struct __pyx_vtabstruct_3efl_4evas_EventMouseWheel*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventMouseWheel->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventMouseWheel)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventKeyDown = __Pyx_ImportType("efl.evas", "EventKeyDown", sizeof(struct __pyx_obj_3efl_4evas_EventKeyDown), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventKeyDown)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventKeyDown = (struct __pyx_vtabstruct_3efl_4evas_EventKeyDown*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventKeyDown->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventKeyDown)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventKeyUp = __Pyx_ImportType("efl.evas", "EventKeyUp", sizeof(struct __pyx_obj_3efl_4evas_EventKeyUp), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventKeyUp)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventKeyUp = (struct __pyx_vtabstruct_3efl_4evas_EventKeyUp*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventKeyUp->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventKeyUp)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_4evas_EventHold = __Pyx_ImportType("efl.evas", "EventHold", sizeof(struct __pyx_obj_3efl_4evas_EventHold), 1); if (unlikely(!__pyx_ptype_3efl_4evas_EventHold)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_4evas_EventHold = (struct __pyx_vtabstruct_3efl_4evas_EventHold*)__Pyx_GetVtable(__pyx_ptype_3efl_4evas_EventHold->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_4evas_EventHold)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 1361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  /*--- Variable import code ---*/
  /*--- Function import code ---*/
  __pyx_t_1 = __Pyx_ImportModule("efl.eo"); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_1, "PY_REFCOUNT", (void (**)(void))&__pyx_f_3efl_2eo_PY_REFCOUNT, "int (PyObject *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_2 = __Pyx_ImportModule("efl.utils.conversions"); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_2, "_ctouni", (void (**)(void))&__pyx_f_3efl_5utils_11conversions__ctouni, "PyObject *(char const *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_2, "eina_list_strings_to_python_list", (void (**)(void))&__pyx_f_3efl_5utils_11conversions_eina_list_strings_to_python_list, "PyObject *(Eina_List const *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  /*--- Execution code ---*/

  /* "efl/elementary/theme.pyx":130
 * 
 *     @classmethod
 *     def new(type cls):             # <<<<<<<<<<<<<<
 *         """Create a new specific theme
 * 
 */
  __pyx_t_3 = __Pyx_GetNameInClass((PyObject *)__pyx_ptype_3efl_10elementary_5theme_Theme, __pyx_n_s_new); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);

  /* "efl/elementary/theme.pyx":129
 *             raise RuntimeError
 * 
 *     @classmethod             # <<<<<<<<<<<<<<
 *     def new(type cls):
 *         """Create a new specific theme
 */
  __pyx_t_4 = __Pyx_Method_ClassMethod(__pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  if (PyDict_SetItem((PyObject *)__pyx_ptype_3efl_10elementary_5theme_Theme->tp_dict, __pyx_n_s_new, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  PyType_Modified(__pyx_ptype_3efl_10elementary_5theme_Theme);

  /* "efl/elementary/theme.pyx":157
 * 
 *     @classmethod
 *     def default_get(type cls):             # <<<<<<<<<<<<<<
 *         """Return the default theme
 * 
 */
  __pyx_t_4 = __Pyx_GetNameInClass((PyObject *)__pyx_ptype_3efl_10elementary_5theme_Theme, __pyx_n_s_default_get); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);

  /* "efl/elementary/theme.pyx":156
 *             return ret
 * 
 *     @classmethod             # <<<<<<<<<<<<<<
 *     def default_get(type cls):
 *         """Return the default theme
 */
  __pyx_t_3 = __Pyx_Method_ClassMethod(__pyx_t_4); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  if (PyDict_SetItem((PyObject *)__pyx_ptype_3efl_10elementary_5theme_Theme->tp_dict, __pyx_n_s_default_get, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_3efl_10elementary_5theme_Theme);

  /* "efl/elementary/theme.pyx":443
 * 
 * 
 * def theme_list_item_path_get(f not None, bint in_search_path):             # <<<<<<<<<<<<<<
 *     """Return the full path for a theme element
 * 
 */
  __pyx_t_3 = PyCFunction_NewEx(&__pyx_mdef_3efl_10elementary_5theme_1theme_list_item_path_get, NULL, __pyx_n_s_efl_elementary_theme); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_theme_list_item_path_get, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/theme.pyx":464
 *         <const char *>f if f is not None else NULL, &path))
 * 
 * def theme_full_flush():             # <<<<<<<<<<<<<<
 *     """This flushes all themes (default and specific ones).
 * 
 */
  __pyx_t_3 = PyCFunction_NewEx(&__pyx_mdef_3efl_10elementary_5theme_3theme_full_flush, NULL, __pyx_n_s_efl_elementary_theme); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_theme_full_flush, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/theme.pyx":473
 *     elm_theme_full_flush()
 * 
 * def theme_name_available_list():             # <<<<<<<<<<<<<<
 *     """Return a list of theme elements in the theme search path
 * 
 */
  __pyx_t_3 = PyCFunction_NewEx(&__pyx_mdef_3efl_10elementary_5theme_5theme_name_available_list, NULL, __pyx_n_s_efl_elementary_theme); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 473; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_theme_name_available_list, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 473; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/theme.pyx":490
 * 
 * # for compatibility
 * def theme_overlay_add(item not None):             # <<<<<<<<<<<<<<
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *     elm_theme_overlay_add(NULL,
 */
  __pyx_t_3 = PyCFunction_NewEx(&__pyx_mdef_3efl_10elementary_5theme_7theme_overlay_add, NULL, __pyx_n_s_efl_elementary_theme); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_theme_overlay_add, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/theme.pyx":495
 *         <const char *>item)
 * 
 * def theme_extension_add(item not None):             # <<<<<<<<<<<<<<
 *     if isinstance(item, unicode): item = PyUnicode_AsUTF8String(item)
 *     elm_theme_extension_add(NULL,
 */
  __pyx_t_3 = PyCFunction_NewEx(&__pyx_mdef_3efl_10elementary_5theme_9theme_extension_add, NULL, __pyx_n_s_efl_elementary_theme); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_theme_extension_add, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/theme.pyx":1
 * # Copyright (C) 2007-2015 various contributors (see AUTHORS)             # <<<<<<<<<<<<<<
 * #
 * # This file is part of Python-EFL.
 */
  __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /*--- Wrapped vars code ---*/

  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  if (__pyx_m) {
    if (__pyx_d) {
      __Pyx_AddTraceback("init efl.elementary.theme", __pyx_clineno, __pyx_lineno, __pyx_filename);
      Py_DECREF(__pyx_d); __pyx_d = 0;
    }
    Py_DECREF(__pyx_m); __pyx_m = 0;
  } else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_ImportError, "init efl.elementary.theme");
  }
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  #if PY_MAJOR_VERSION < 3
  return;
  #else
  return __pyx_m;
  #endif
}

/* Runtime support code */
#if CYTHON_REFNANNY
static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname) {
    PyObject *m = NULL, *p = NULL;
    void *r = NULL;
    m = PyImport_ImportModule((char *)modname);
    if (!m) goto end;
    p = PyObject_GetAttrString(m, (char *)"RefNannyAPI");
    if (!p) goto end;
    r = PyLong_AsVoidPtr(p);
end:
    Py_XDECREF(p);
    Py_XDECREF(m);
    return (__Pyx_RefNannyAPIStruct *)r;
}
#endif

static PyObject *__Pyx_GetBuiltinName(PyObject *name) {
    PyObject* result = __Pyx_PyObject_GetAttrStr(__pyx_b, name);
    if (unlikely(!result)) {
        PyErr_Format(PyExc_NameError,
#if PY_MAJOR_VERSION >= 3
            "name '%U' is not defined", name);
#else
            "name '%.200s' is not defined", PyString_AS_STRING(name));
#endif
    }
    return result;
}

static void __Pyx_RaiseDoubleKeywordsError(
    const char* func_name,
    PyObject* kw_name)
{
    PyErr_Format(PyExc_TypeError,
        #if PY_MAJOR_VERSION >= 3
        "%s() got multiple values for keyword argument '%U'", func_name, kw_name);
        #else
        "%s() got multiple values for keyword argument '%s'", func_name,
        PyString_AsString(kw_name));
        #endif
}

static int __Pyx_ParseOptionalKeywords(
    PyObject *kwds,
    PyObject **argnames[],
    PyObject *kwds2,
    PyObject *values[],
    Py_ssize_t num_pos_args,
    const char* function_name)
{
    PyObject *key = 0, *value = 0;
    Py_ssize_t pos = 0;
    PyObject*** name;
    PyObject*** first_kw_arg = argnames + num_pos_args;
    while (PyDict_Next(kwds, &pos, &key, &value)) {
        name = first_kw_arg;
        while (*name && (**name != key)) name++;
        if (*name) {
            values[name-argnames] = value;
            continue;
        }
        name = first_kw_arg;
        #if PY_MAJOR_VERSION < 3
        if (likely(PyString_CheckExact(key)) || likely(PyString_Check(key))) {
            while (*name) {
                if ((CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**name) == PyString_GET_SIZE(key))
                        && _PyString_Eq(**name, key)) {
                    values[name-argnames] = value;
                    break;
                }
                name++;
            }
            if (*name) continue;
            else {
                PyObject*** argname = argnames;
                while (argname != first_kw_arg) {
                    if ((**argname == key) || (
                            (CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**argname) == PyString_GET_SIZE(key))
                             && _PyString_Eq(**argname, key))) {
                        goto arg_passed_twice;
                    }
                    argname++;
                }
            }
        } else
        #endif
        if (likely(PyUnicode_Check(key))) {
            while (*name) {
                int cmp = (**name == key) ? 0 :
                #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
                    (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                #endif
                    PyUnicode_Compare(**name, key);
                if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad;
                if (cmp == 0) {
                    values[name-argnames] = value;
                    break;
                }
                name++;
            }
            if (*name) continue;
            else {
                PyObject*** argname = argnames;
                while (argname != first_kw_arg) {
                    int cmp = (**argname == key) ? 0 :
                    #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
                        (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                    #endif
                        PyUnicode_Compare(**argname, key);
                    if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad;
                    if (cmp == 0) goto arg_passed_twice;
                    argname++;
                }
            }
        } else
            goto invalid_keyword_type;
        if (kwds2) {
            if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad;
        } else {
            goto invalid_keyword;
        }
    }
    return 0;
arg_passed_twice:
    __Pyx_RaiseDoubleKeywordsError(function_name, key);
    goto bad;
invalid_keyword_type:
    PyErr_Format(PyExc_TypeError,
        "%.200s() keywords must be strings", function_name);
    goto bad;
invalid_keyword:
    PyErr_Format(PyExc_TypeError,
    #if PY_MAJOR_VERSION < 3
        "%.200s() got an unexpected keyword argument '%.200s'",
        function_name, PyString_AsString(key));
    #else
        "%s() got an unexpected keyword argument '%U'",
        function_name, key);
    #endif
bad:
    return -1;
}

static void __Pyx_RaiseArgtupleInvalid(
    const char* func_name,
    int exact,
    Py_ssize_t num_min,
    Py_ssize_t num_max,
    Py_ssize_t num_found)
{
    Py_ssize_t num_expected;
    const char *more_or_less;
    if (num_found < num_min) {
        num_expected = num_min;
        more_or_less = "at least";
    } else {
        num_expected = num_max;
        more_or_less = "at most";
    }
    if (exact) {
        more_or_less = "exactly";
    }
    PyErr_Format(PyExc_TypeError,
                 "%.200s() takes %.8s %" CYTHON_FORMAT_SSIZE_T "d positional argument%.1s (%" CYTHON_FORMAT_SSIZE_T "d given)",
                 func_name, more_or_less, num_expected,
                 (num_expected == 1) ? "" : "s", num_found);
}

static CYTHON_INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    PyThreadState *tstate = PyThreadState_GET();
    tmp_type = tstate->curexc_type;
    tmp_value = tstate->curexc_value;
    tmp_tb = tstate->curexc_traceback;
    tstate->curexc_type = type;
    tstate->curexc_value = value;
    tstate->curexc_traceback = tb;
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
#else
    PyErr_Restore(type, value, tb);
#endif
}
static CYTHON_INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyThreadState *tstate = PyThreadState_GET();
    *type = tstate->curexc_type;
    *value = tstate->curexc_value;
    *tb = tstate->curexc_traceback;
    tstate->curexc_type = 0;
    tstate->curexc_value = 0;
    tstate->curexc_traceback = 0;
#else
    PyErr_Fetch(type, value, tb);
#endif
}

#if PY_MAJOR_VERSION < 3
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb,
                        CYTHON_UNUSED PyObject *cause) {
    Py_XINCREF(type);
    if (!value || value == Py_None)
        value = NULL;
    else
        Py_INCREF(value);
    if (!tb || tb == Py_None)
        tb = NULL;
    else {
        Py_INCREF(tb);
        if (!PyTraceBack_Check(tb)) {
            PyErr_SetString(PyExc_TypeError,
                "raise: arg 3 must be a traceback or None");
            goto raise_error;
        }
    }
    if (PyType_Check(type)) {
#if CYTHON_COMPILING_IN_PYPY
        if (!value) {
            Py_INCREF(Py_None);
            value = Py_None;
        }
#endif
        PyErr_NormalizeException(&type, &value, &tb);
    } else {
        if (value) {
            PyErr_SetString(PyExc_TypeError,
                "instance exception may not have a separate value");
            goto raise_error;
        }
        value = type;
        type = (PyObject*) Py_TYPE(type);
        Py_INCREF(type);
        if (!PyType_IsSubtype((PyTypeObject *)type, (PyTypeObject *)PyExc_BaseException)) {
            PyErr_SetString(PyExc_TypeError,
                "raise: exception class must be a subclass of BaseException");
            goto raise_error;
        }
    }
    __Pyx_ErrRestore(type, value, tb);
    return;
raise_error:
    Py_XDECREF(value);
    Py_XDECREF(type);
    Py_XDECREF(tb);
    return;
}
#else
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause) {
    PyObject* owned_instance = NULL;
    if (tb == Py_None) {
        tb = 0;
    } else if (tb && !PyTraceBack_Check(tb)) {
        PyErr_SetString(PyExc_TypeError,
            "raise: arg 3 must be a traceback or None");
        goto bad;
    }
    if (value == Py_None)
        value = 0;
    if (PyExceptionInstance_Check(type)) {
        if (value) {
            PyErr_SetString(PyExc_TypeError,
                "instance exception may not have a separate value");
            goto bad;
        }
        value = type;
        type = (PyObject*) Py_TYPE(value);
    } else if (PyExceptionClass_Check(type)) {
        PyObject *instance_class = NULL;
        if (value && PyExceptionInstance_Check(value)) {
            instance_class = (PyObject*) Py_TYPE(value);
            if (instance_class != type) {
                if (PyObject_IsSubclass(instance_class, type)) {
                    type = instance_class;
                } else {
                    instance_class = NULL;
                }
            }
        }
        if (!instance_class) {
            PyObject *args;
            if (!value)
                args = PyTuple_New(0);
            else if (PyTuple_Check(value)) {
                Py_INCREF(value);
                args = value;
            } else
                args = PyTuple_Pack(1, value);
            if (!args)
                goto bad;
            owned_instance = PyObject_Call(type, args, NULL);
            Py_DECREF(args);
            if (!owned_instance)
                goto bad;
            value = owned_instance;
            if (!PyExceptionInstance_Check(value)) {
                PyErr_Format(PyExc_TypeError,
                             "calling %R should have returned an instance of "
                             "BaseException, not %R",
                             type, Py_TYPE(value));
                goto bad;
            }
        }
    } else {
        PyErr_SetString(PyExc_TypeError,
            "raise: exception class must be a subclass of BaseException");
        goto bad;
    }
#if PY_VERSION_HEX >= 0x03030000
    if (cause) {
#else
    if (cause && cause != Py_None) {
#endif
        PyObject *fixed_cause;
        if (cause == Py_None) {
            fixed_cause = NULL;
        } else if (PyExceptionClass_Check(cause)) {
            fixed_cause = PyObject_CallObject(cause, NULL);
            if (fixed_cause == NULL)
                goto bad;
        } else if (PyExceptionInstance_Check(cause)) {
            fixed_cause = cause;
            Py_INCREF(fixed_cause);
        } else {
            PyErr_SetString(PyExc_TypeError,
                            "exception causes must derive from "
                            "BaseException");
            goto bad;
        }
        PyException_SetCause(value, fixed_cause);
    }
    PyErr_SetObject(type, value);
    if (tb) {
        PyThreadState *tstate = PyThreadState_GET();
        PyObject* tmp_tb = tstate->curexc_traceback;
        if (tb != tmp_tb) {
            Py_INCREF(tb);
            tstate->curexc_traceback = tb;
            Py_XDECREF(tmp_tb);
        }
    }
bad:
    Py_XDECREF(owned_instance);
    return;
}
#endif

static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
    if (unlikely(!type)) {
        PyErr_SetString(PyExc_SystemError, "Missing type object");
        return 0;
    }
    if (likely(PyObject_TypeCheck(obj, type)))
        return 1;
    PyErr_Format(PyExc_TypeError, "Cannot convert %.200s to %.200s",
                 Py_TYPE(obj)->tp_name, type->tp_name);
    return 0;
}

static void __Pyx_RaiseArgumentTypeInvalid(const char* name, PyObject *obj, PyTypeObject *type) {
    PyErr_Format(PyExc_TypeError,
        "Argument '%.200s' has incorrect type (expected %.200s, got %.200s)",
        name, type->tp_name, Py_TYPE(obj)->tp_name);
}
static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
    const char *name, int exact)
{
    if (unlikely(!type)) {
        PyErr_SetString(PyExc_SystemError, "Missing type object");
        return 0;
    }
    if (none_allowed && obj == Py_None) return 1;
    else if (exact) {
        if (likely(Py_TYPE(obj) == type)) return 1;
        #if PY_MAJOR_VERSION == 2
        else if ((type == &PyBaseString_Type) && likely(__Pyx_PyBaseString_CheckExact(obj))) return 1;
        #endif
    }
    else {
        if (likely(PyObject_TypeCheck(obj, type))) return 1;
    }
    __Pyx_RaiseArgumentTypeInvalid(name, obj, type);
    return 0;
}

static void* __Pyx_GetVtable(PyObject *dict) {
    void* ptr;
    PyObject *ob = PyObject_GetItem(dict, __pyx_n_s_pyx_vtable);
    if (!ob)
        goto bad;
#if PY_VERSION_HEX >= 0x02070000
    ptr = PyCapsule_GetPointer(ob, 0);
#else
    ptr = PyCObject_AsVoidPtr(ob);
#endif
    if (!ptr && !PyErr_Occurred())
        PyErr_SetString(PyExc_RuntimeError, "invalid vtable found for imported type");
    Py_DECREF(ob);
    return ptr;
bad:
    Py_XDECREF(ob);
    return NULL;
}

static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name) {
    PyObject *result;
#if CYTHON_COMPILING_IN_CPYTHON
    result = PyDict_GetItem(__pyx_d, name);
    if (likely(result)) {
        Py_INCREF(result);
    } else {
#else
    result = PyObject_GetItem(__pyx_d, name);
    if (!result) {
        PyErr_Clear();
#endif
        result = __Pyx_GetBuiltinName(name);
    }
    return result;
}

static PyObject *__Pyx_GetNameInClass(PyObject *nmspace, PyObject *name) {
    PyObject *result;
    result = __Pyx_PyObject_GetAttrStr(nmspace, name);
    if (!result)
        result = __Pyx_GetModuleGlobalName(name);
    return result;
}

static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) {
    int start = 0, mid = 0, end = count - 1;
    if (end >= 0 && code_line > entries[end].code_line) {
        return count;
    }
    while (start < end) {
        mid = (start + end) / 2;
        if (code_line < entries[mid].code_line) {
            end = mid;
        } else if (code_line > entries[mid].code_line) {
             start = mid + 1;
        } else {
            return mid;
        }
    }
    if (code_line <= entries[mid].code_line) {
        return mid;
    } else {
        return mid + 1;
    }
}
static PyCodeObject *__pyx_find_code_object(int code_line) {
    PyCodeObject* code_object;
    int pos;
    if (unlikely(!code_line) || unlikely(!__pyx_code_cache.entries)) {
        return NULL;
    }
    pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line);
    if (unlikely(pos >= __pyx_code_cache.count) || unlikely(__pyx_code_cache.entries[pos].code_line != code_line)) {
        return NULL;
    }
    code_object = __pyx_code_cache.entries[pos].code_object;
    Py_INCREF(code_object);
    return code_object;
}
static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
    int pos, i;
    __Pyx_CodeObjectCacheEntry* entries = __pyx_code_cache.entries;
    if (unlikely(!code_line)) {
        return;
    }
    if (unlikely(!entries)) {
        entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Malloc(64*sizeof(__Pyx_CodeObjectCacheEntry));
        if (likely(entries)) {
            __pyx_code_cache.entries = entries;
            __pyx_code_cache.max_count = 64;
            __pyx_code_cache.count = 1;
            entries[0].code_line = code_line;
            entries[0].code_object = code_object;
            Py_INCREF(code_object);
        }
        return;
    }
    pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line);
    if ((pos < __pyx_code_cache.count) && unlikely(__pyx_code_cache.entries[pos].code_line == code_line)) {
        PyCodeObject* tmp = entries[pos].code_object;
        entries[pos].code_object = code_object;
        Py_DECREF(tmp);
        return;
    }
    if (__pyx_code_cache.count == __pyx_code_cache.max_count) {
        int new_max = __pyx_code_cache.max_count + 64;
        entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Realloc(
            __pyx_code_cache.entries, (size_t)new_max*sizeof(__Pyx_CodeObjectCacheEntry));
        if (unlikely(!entries)) {
            return;
        }
        __pyx_code_cache.entries = entries;
        __pyx_code_cache.max_count = new_max;
    }
    for (i=__pyx_code_cache.count; i>pos; i--) {
        entries[i] = entries[i-1];
    }
    entries[pos].code_line = code_line;
    entries[pos].code_object = code_object;
    __pyx_code_cache.count++;
    Py_INCREF(code_object);
}

#include "compile.h"
#include "frameobject.h"
#include "traceback.h"
static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
            const char *funcname, int c_line,
            int py_line, const char *filename) {
    PyCodeObject *py_code = 0;
    PyObject *py_srcfile = 0;
    PyObject *py_funcname = 0;
    #if PY_MAJOR_VERSION < 3
    py_srcfile = PyString_FromString(filename);
    #else
    py_srcfile = PyUnicode_FromString(filename);
    #endif
    if (!py_srcfile) goto bad;
    if (c_line) {
        #if PY_MAJOR_VERSION < 3
        py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
        #else
        py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
        #endif
    }
    else {
        #if PY_MAJOR_VERSION < 3
        py_funcname = PyString_FromString(funcname);
        #else
        py_funcname = PyUnicode_FromString(funcname);
        #endif
    }
    if (!py_funcname) goto bad;
    py_code = __Pyx_PyCode_New(
        0,
        0,
        0,
        0,
        0,
        __pyx_empty_bytes, /*PyObject *code,*/
        __pyx_empty_tuple, /*PyObject *consts,*/
        __pyx_empty_tuple, /*PyObject *names,*/
        __pyx_empty_tuple, /*PyObject *varnames,*/
        __pyx_empty_tuple, /*PyObject *freevars,*/
        __pyx_empty_tuple, /*PyObject *cellvars,*/
        py_srcfile,   /*PyObject *filename,*/
        py_funcname,  /*PyObject *name,*/
        py_line,
        __pyx_empty_bytes  /*PyObject *lnotab*/
    );
    Py_DECREF(py_srcfile);
    Py_DECREF(py_funcname);
    return py_code;
bad:
    Py_XDECREF(py_srcfile);
    Py_XDECREF(py_funcname);
    return NULL;
}
static void __Pyx_AddTraceback(const char *funcname, int c_line,
                               int py_line, const char *filename) {
    PyCodeObject *py_code = 0;
    PyFrameObject *py_frame = 0;
    py_code = __pyx_find_code_object(c_line ? c_line : py_line);
    if (!py_code) {
        py_code = __Pyx_CreateCodeObjectForTraceback(
            funcname, c_line, py_line, filename);
        if (!py_code) goto bad;
        __pyx_insert_code_object(c_line ? c_line : py_line, py_code);
    }
    py_frame = PyFrame_New(
        PyThreadState_GET(), /*PyThreadState *tstate,*/
        py_code,             /*PyCodeObject *code,*/
        __pyx_d,      /*PyObject *globals,*/
        0                    /*PyObject *locals*/
    );
    if (!py_frame) goto bad;
    py_frame->f_lineno = py_line;
    PyTraceBack_Here(py_frame);
bad:
    Py_XDECREF(py_code);
    Py_XDECREF(py_frame);
}

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) {
    const int neg_one = (int) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(int) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(int) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
        } else if (sizeof(int) <= sizeof(unsigned long long)) {
            return PyLong_FromUnsignedLongLong((unsigned long long) value);
        }
    } else {
        if (sizeof(int) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(int) <= sizeof(long long)) {
            return PyLong_FromLongLong((long long) value);
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(int),
                                     little, !is_unsigned);
    }
}

static PyObject* __Pyx_Method_ClassMethod(PyObject *method) {
#if CYTHON_COMPILING_IN_PYPY
    if (PyObject_TypeCheck(method, &PyWrapperDescr_Type)) {
        return PyClassMethod_New(method);
    }
#else
    static PyTypeObject *methoddescr_type = NULL;
    if (methoddescr_type == NULL) {
       PyObject *meth = PyObject_GetAttrString((PyObject*)&PyList_Type, "append");
       if (!meth) return NULL;
       methoddescr_type = Py_TYPE(meth);
       Py_DECREF(meth);
    }
    if (PyObject_TypeCheck(method, methoddescr_type)) {
        PyMethodDescrObject *descr = (PyMethodDescrObject *)method;
        #if PY_VERSION_HEX < 0x03020000
        PyTypeObject *d_type = descr->d_type;
        #else
        PyTypeObject *d_type = descr->d_common.d_type;
        #endif
        return PyDescr_NewClassMethod(d_type, descr->d_method);
    }
#endif
    else if (PyMethod_Check(method)) {
        return PyClassMethod_New(PyMethod_GET_FUNCTION(method));
    }
    else if (PyCFunction_Check(method)) {
        return PyClassMethod_New(method);
    }
#ifdef __Pyx_CyFunction_USED
    else if (PyObject_TypeCheck(method, __pyx_CyFunctionType)) {
        return PyClassMethod_New(method);
    }
#endif
    PyErr_SetString(PyExc_TypeError,
                   "Class-level classmethod() can only be called on "
                   "a method_descriptor or instance method.");
    return NULL;
}

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
    const long neg_one = (long) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(long) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(long) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
        } else if (sizeof(long) <= sizeof(unsigned long long)) {
            return PyLong_FromUnsignedLongLong((unsigned long long) value);
        }
    } else {
        if (sizeof(long) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(long) <= sizeof(long long)) {
            return PyLong_FromLongLong((long long) value);
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(long),
                                     little, !is_unsigned);
    }
}

#define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value)       \
    {                                                                     \
        func_type value = func_value;                                     \
        if (sizeof(target_type) < sizeof(func_type)) {                    \
            if (unlikely(value != (func_type) (target_type) value)) {     \
                func_type zero = 0;                                       \
                if (is_unsigned && unlikely(value < zero))                \
                    goto raise_neg_overflow;                              \
                else                                                      \
                    goto raise_overflow;                                  \
            }                                                             \
        }                                                                 \
        return (target_type) value;                                       \
    }

#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
  #include "longintrepr.h"
 #endif
#endif

static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
    const long neg_one = (long) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(long) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(long, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (long) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            switch (Py_SIZE(x)) {
                case  0: return 0;
                case  1: __PYX_VERIFY_RETURN_INT(long, digit, ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
            if (sizeof(long) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT(long, unsigned long, PyLong_AsUnsignedLong(x))
            } else if (sizeof(long) <= sizeof(unsigned long long)) {
                __PYX_VERIFY_RETURN_INT(long, unsigned long long, PyLong_AsUnsignedLongLong(x))
            }
        } else {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            switch (Py_SIZE(x)) {
                case  0: return 0;
                case  1: __PYX_VERIFY_RETURN_INT(long,  digit, +(((PyLongObject*)x)->ob_digit[0]));
                case -1: __PYX_VERIFY_RETURN_INT(long, sdigit, -(sdigit) ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (sizeof(long) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT(long, long, PyLong_AsLong(x))
            } else if (sizeof(long) <= sizeof(long long)) {
                __PYX_VERIFY_RETURN_INT(long, long long, PyLong_AsLongLong(x))
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            long val;
            PyObject *v = __Pyx_PyNumber_Int(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (long) -1;
        }
    } else {
        long val;
        PyObject *tmp = __Pyx_PyNumber_Int(x);
        if (!tmp) return (long) -1;
        val = __Pyx_PyInt_As_long(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to long");
    return (long) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to long");
    return (long) -1;
}

static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
    const int neg_one = (int) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(int) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(int, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (int) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            switch (Py_SIZE(x)) {
                case  0: return 0;
                case  1: __PYX_VERIFY_RETURN_INT(int, digit, ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
            if (sizeof(int) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT(int, unsigned long, PyLong_AsUnsignedLong(x))
            } else if (sizeof(int) <= sizeof(unsigned long long)) {
                __PYX_VERIFY_RETURN_INT(int, unsigned long long, PyLong_AsUnsignedLongLong(x))
            }
        } else {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            switch (Py_SIZE(x)) {
                case  0: return 0;
                case  1: __PYX_VERIFY_RETURN_INT(int,  digit, +(((PyLongObject*)x)->ob_digit[0]));
                case -1: __PYX_VERIFY_RETURN_INT(int, sdigit, -(sdigit) ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (sizeof(int) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT(int, long, PyLong_AsLong(x))
            } else if (sizeof(int) <= sizeof(long long)) {
                __PYX_VERIFY_RETURN_INT(int, long long, PyLong_AsLongLong(x))
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            int val;
            PyObject *v = __Pyx_PyNumber_Int(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (int) -1;
        }
    } else {
        int val;
        PyObject *tmp = __Pyx_PyNumber_Int(x);
        if (!tmp) return (int) -1;
        val = __Pyx_PyInt_As_int(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to int");
    return (int) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to int");
    return (int) -1;
}

static int __Pyx_check_binary_version(void) {
    char ctversion[4], rtversion[4];
    PyOS_snprintf(ctversion, 4, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
    PyOS_snprintf(rtversion, 4, "%s", Py_GetVersion());
    if (ctversion[0] != rtversion[0] || ctversion[2] != rtversion[2]) {
        char message[200];
        PyOS_snprintf(message, sizeof(message),
                      "compiletime version %s of module '%.100s' "
                      "does not match runtime version %s",
                      ctversion, __Pyx_MODULE_NAME, rtversion);
        return PyErr_WarnEx(NULL, message, 1);
    }
    return 0;
}

#ifndef __PYX_HAVE_RT_ImportModule
#define __PYX_HAVE_RT_ImportModule
static PyObject *__Pyx_ImportModule(const char *name) {
    PyObject *py_name = 0;
    PyObject *py_module = 0;
    py_name = __Pyx_PyIdentifier_FromString(name);
    if (!py_name)
        goto bad;
    py_module = PyImport_Import(py_name);
    Py_DECREF(py_name);
    return py_module;
bad:
    Py_XDECREF(py_name);
    return 0;
}
#endif

#ifndef __PYX_HAVE_RT_ImportType
#define __PYX_HAVE_RT_ImportType
static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name,
    size_t size, int strict)
{
    PyObject *py_module = 0;
    PyObject *result = 0;
    PyObject *py_name = 0;
    char warning[200];
    Py_ssize_t basicsize;
#ifdef Py_LIMITED_API
    PyObject *py_basicsize;
#endif
    py_module = __Pyx_ImportModule(module_name);
    if (!py_module)
        goto bad;
    py_name = __Pyx_PyIdentifier_FromString(class_name);
    if (!py_name)
        goto bad;
    result = PyObject_GetAttr(py_module, py_name);
    Py_DECREF(py_name);
    py_name = 0;
    Py_DECREF(py_module);
    py_module = 0;
    if (!result)
        goto bad;
    if (!PyType_Check(result)) {
        PyErr_Format(PyExc_TypeError,
            "%.200s.%.200s is not a type object",
            module_name, class_name);
        goto bad;
    }
#ifndef Py_LIMITED_API
    basicsize = ((PyTypeObject *)result)->tp_basicsize;
#else
    py_basicsize = PyObject_GetAttrString(result, "__basicsize__");
    if (!py_basicsize)
        goto bad;
    basicsize = PyLong_AsSsize_t(py_basicsize);
    Py_DECREF(py_basicsize);
    py_basicsize = 0;
    if (basicsize == (Py_ssize_t)-1 && PyErr_Occurred())
        goto bad;
#endif
    if (!strict && (size_t)basicsize > size) {
        PyOS_snprintf(warning, sizeof(warning),
            "%s.%s size changed, may indicate binary incompatibility",
            module_name, class_name);
        if (PyErr_WarnEx(NULL, warning, 0) < 0) goto bad;
    }
    else if ((size_t)basicsize != size) {
        PyErr_Format(PyExc_ValueError,
            "%.200s.%.200s has the wrong size, try recompiling",
            module_name, class_name);
        goto bad;
    }
    return (PyTypeObject *)result;
bad:
    Py_XDECREF(py_module);
    Py_XDECREF(result);
    return NULL;
}
#endif

#ifndef __PYX_HAVE_RT_ImportFunction
#define __PYX_HAVE_RT_ImportFunction
static int __Pyx_ImportFunction(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
    PyObject *d = 0;
    PyObject *cobj = 0;
    union {
        void (*fp)(void);
        void *p;
    } tmp;
    d = PyObject_GetAttrString(module, (char *)"__pyx_capi__");
    if (!d)
        goto bad;
    cobj = PyDict_GetItemString(d, funcname);
    if (!cobj) {
        PyErr_Format(PyExc_ImportError,
            "%.200s does not export expected C function %.200s",
                PyModule_GetName(module), funcname);
        goto bad;
    }
#if PY_VERSION_HEX >= 0x02070000
    if (!PyCapsule_IsValid(cobj, sig)) {
        PyErr_Format(PyExc_TypeError,
            "C function %.200s.%.200s has wrong signature (expected %.500s, got %.500s)",
             PyModule_GetName(module), funcname, sig, PyCapsule_GetName(cobj));
        goto bad;
    }
    tmp.p = PyCapsule_GetPointer(cobj, sig);
#else
    {const char *desc, *s1, *s2;
    desc = (const char *)PyCObject_GetDesc(cobj);
    if (!desc)
        goto bad;
    s1 = desc; s2 = sig;
    while (*s1 != '\0' && *s1 == *s2) { s1++; s2++; }
    if (*s1 != *s2) {
        PyErr_Format(PyExc_TypeError,
            "C function %.200s.%.200s has wrong signature (expected %.500s, got %.500s)",
             PyModule_GetName(module), funcname, sig, desc);
        goto bad;
    }
    tmp.p = PyCObject_AsVoidPtr(cobj);}
#endif
    *f = tmp.fp;
    if (!(*f))
        goto bad;
    Py_DECREF(d);
    return 0;
bad:
    Py_XDECREF(d);
    return -1;
}
#endif

static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
    while (t->p) {
        #if PY_MAJOR_VERSION < 3
        if (t->is_unicode) {
            *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL);
        } else if (t->intern) {
            *t->p = PyString_InternFromString(t->s);
        } else {
            *t->p = PyString_FromStringAndSize(t->s, t->n - 1);
        }
        #else
        if (t->is_unicode | t->is_str) {
            if (t->intern) {
                *t->p = PyUnicode_InternFromString(t->s);
            } else if (t->encoding) {
                *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL);
            } else {
                *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1);
            }
        } else {
            *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1);
        }
        #endif
        if (!*t->p)
            return -1;
        ++t;
    }
    return 0;
}

static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
    return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
}
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
    Py_ssize_t ignore;
    return __Pyx_PyObject_AsStringAndSize(o, &ignore);
}
static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
    if (
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
            __Pyx_sys_getdefaultencoding_not_ascii &&
#endif
            PyUnicode_Check(o)) {
#if PY_VERSION_HEX < 0x03030000
        char* defenc_c;
        PyObject* defenc = _PyUnicode_AsDefaultEncodedString(o, NULL);
        if (!defenc) return NULL;
        defenc_c = PyBytes_AS_STRING(defenc);
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
        {
            char* end = defenc_c + PyBytes_GET_SIZE(defenc);
            char* c;
            for (c = defenc_c; c < end; c++) {
                if ((unsigned char) (*c) >= 128) {
                    PyUnicode_AsASCIIString(o);
                    return NULL;
                }
            }
        }
#endif
        *length = PyBytes_GET_SIZE(defenc);
        return defenc_c;
#else
        if (__Pyx_PyUnicode_READY(o) == -1) return NULL;
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
        if (PyUnicode_IS_ASCII(o)) {
            *length = PyUnicode_GET_LENGTH(o);
            return PyUnicode_AsUTF8(o);
        } else {
            PyUnicode_AsASCIIString(o);
            return NULL;
        }
#else
        return PyUnicode_AsUTF8AndSize(o, length);
#endif
#endif
    } else
#endif
#if !CYTHON_COMPILING_IN_PYPY
    if (PyByteArray_Check(o)) {
        *length = PyByteArray_GET_SIZE(o);
        return PyByteArray_AS_STRING(o);
    } else
#endif
    {
        char* result;
        int r = PyBytes_AsStringAndSize(o, &result, length);
        if (unlikely(r < 0)) {
            return NULL;
        } else {
            return result;
        }
    }
}
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
   int is_true = x == Py_True;
   if (is_true | (x == Py_False) | (x == Py_None)) return is_true;
   else return PyObject_IsTrue(x);
}
static CYTHON_INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x) {
  PyNumberMethods *m;
  const char *name = NULL;
  PyObject *res = NULL;
#if PY_MAJOR_VERSION < 3
  if (PyInt_Check(x) || PyLong_Check(x))
#else
  if (PyLong_Check(x))
#endif
    return Py_INCREF(x), x;
  m = Py_TYPE(x)->tp_as_number;
#if PY_MAJOR_VERSION < 3
  if (m && m->nb_int) {
    name = "int";
    res = PyNumber_Int(x);
  }
  else if (m && m->nb_long) {
    name = "long";
    res = PyNumber_Long(x);
  }
#else
  if (m && m->nb_int) {
    name = "int";
    res = PyNumber_Long(x);
  }
#endif
  if (res) {
#if PY_MAJOR_VERSION < 3
    if (!PyInt_Check(res) && !PyLong_Check(res)) {
#else
    if (!PyLong_Check(res)) {
#endif
      PyErr_Format(PyExc_TypeError,
                   "__%.4s__ returned non-%.4s (type %.200s)",
                   name, name, Py_TYPE(res)->tp_name);
      Py_DECREF(res);
      return NULL;
    }
  }
  else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_TypeError,
                    "an integer is required");
  }
  return res;
}
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
  Py_ssize_t ival;
  PyObject *x;
#if PY_MAJOR_VERSION < 3
  if (likely(PyInt_CheckExact(b)))
      return PyInt_AS_LONG(b);
#endif
  if (likely(PyLong_CheckExact(b))) {
    #if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
     #if CYTHON_USE_PYLONG_INTERNALS
       switch (Py_SIZE(b)) {
       case -1: return -(sdigit)((PyLongObject*)b)->ob_digit[0];
       case  0: return 0;
       case  1: return ((PyLongObject*)b)->ob_digit[0];
       }
     #endif
    #endif
    return PyLong_AsSsize_t(b);
  }
  x = PyNumber_Index(b);
  if (!x) return -1;
  ival = PyInt_AsSsize_t(x);
  Py_DECREF(x);
  return ival;
}
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
    return PyInt_FromSize_t(ival);
}


#endif /* Py_PYTHON_H */
