/* 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__gengrid
#define __PYX_HAVE_API__efl__elementary__gengrid
#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 "Ecore.h"
#include "Edje.h"
#include "Ecore_File.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/gengrid.pyx",
  "efl/elementary/gengrid_item_class.pxi",
  "efl/elementary/gengrid_item.pxi",
  "efl/elementary/gengrid_widget.pxi",
  "type.pxd",
  "bool.pxd",
  "complex.pxd",
  "include/efl.eo.pxd",
  "include/efl.evas.pxd",
  "include/efl.ecore.pxd",
  "efl/elementary/object.pxd",
  "include/efl.utils.deprecated.pxd",
  "efl/elementary/scroller.pxd",
  "efl/elementary/gengrid.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_11object_item_ObjectItem;
struct __pyx_obj_3efl_5ecore_Timer;
struct __pyx_obj_3efl_5ecore_Animator;
struct __pyx_obj_3efl_5ecore_Poller;
struct __pyx_obj_3efl_5ecore_Idler;
struct __pyx_obj_3efl_5ecore_IdleEnterer;
struct __pyx_obj_3efl_5ecore_IdleExiter;
struct __pyx_obj_3efl_5ecore_FdHandler;
struct __pyx_obj_3efl_5ecore_Exe;
struct __pyx_obj_3efl_5ecore_ExeEventFilter;
struct __pyx_obj_3efl_5ecore_EventHandler;
struct __pyx_obj_3efl_5ecore_Event;
struct __pyx_obj_3efl_5ecore_EventSignalUser;
struct __pyx_obj_3efl_5ecore_EventSignalHup;
struct __pyx_obj_3efl_5ecore_EventSignalExit;
struct __pyx_obj_3efl_5ecore_EventSignalPower;
struct __pyx_obj_3efl_5ecore_CustomEvent;
struct __pyx_obj_3efl_5ecore_QueuedEvent;
struct __pyx_obj_3efl_5ecore_EventExeAdd;
struct __pyx_obj_3efl_5ecore_EventExeDel;
struct __pyx_obj_3efl_5ecore_EventExeData;
struct __pyx_obj_3efl_5ecore_FileDownload;
struct __pyx_obj_3efl_5ecore_FileMonitor;
struct __pyx_obj_3efl_10elementary_6object_Canvas;
struct __pyx_obj_3efl_10elementary_6object_Object;
struct __pyx_obj_3efl_5utils_10deprecated_DEPRECATED;
struct __pyx_obj_3efl_10elementary_8scroller_Scrollable;
struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid;
struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass;
struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem;

/* "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;
};


/* "object_item.pxd":73
 * cdef void _object_item_callback2(void *data, Evas_Object *obj, void *event_info) with gil
 * 
 * cdef class ObjectItem(object):             # <<<<<<<<<<<<<<
 *     cdef:
 *         Elm_Object_Item *item
 */
struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_10elementary_11object_item_ObjectItem *__pyx_vtab;
  Elm_Object_Item *item;
  PyObject *cb_func;
  PyObject *cb_data;
  PyObject *args;
  PyObject *kwargs;
  PyObject *data;
};


/* "include/efl.ecore.pxd":299
 * # Python classes
 * #
 * cdef class Timer(Eo):             # <<<<<<<<<<<<<<
 *     cdef double _interval
 *     cdef readonly object func, args, kargs
 */
struct __pyx_obj_3efl_5ecore_Timer {
  struct __pyx_obj_3efl_2eo_Eo __pyx_base;
  double _interval;
  PyObject *func;
  PyObject *args;
  PyObject *kargs;
};


/* "include/efl.ecore.pxd":305
 * 
 * 
 * cdef class Animator(Eo):             # <<<<<<<<<<<<<<
 *     cdef readonly object func
 *     cdef readonly tuple args
 */
struct __pyx_obj_3efl_5ecore_Animator {
  struct __pyx_obj_3efl_2eo_Eo __pyx_base;
  PyObject *func;
  PyObject *args;
  PyObject *kargs;
};


/* "include/efl.ecore.pxd":312
 * 
 * 
 * cdef class Poller(Eo):             # <<<<<<<<<<<<<<
 *     cdef readonly object func
 *     cdef readonly tuple args
 */
struct __pyx_obj_3efl_5ecore_Poller {
  struct __pyx_obj_3efl_2eo_Eo __pyx_base;
  PyObject *func;
  PyObject *args;
  PyObject *kargs;
};


/* "include/efl.ecore.pxd":319
 * 
 * 
 * cdef class Idler(Eo):             # <<<<<<<<<<<<<<
 *     cdef readonly object func, args, kargs
 *     cpdef bint _task_exec(self) except *
 */
struct __pyx_obj_3efl_5ecore_Idler {
  struct __pyx_obj_3efl_2eo_Eo __pyx_base;
  PyObject *func;
  PyObject *args;
  PyObject *kargs;
};


/* "include/efl.ecore.pxd":324
 * 
 * 
 * cdef class IdleEnterer(Idler):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_5ecore_IdleEnterer {
  struct __pyx_obj_3efl_5ecore_Idler __pyx_base;
};


/* "include/efl.ecore.pxd":328
 * 
 * 
 * cdef class IdleExiter(Idler):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_5ecore_IdleExiter {
  struct __pyx_obj_3efl_5ecore_Idler __pyx_base;
};


/* "include/efl.ecore.pxd":332
 * 
 * 
 * cdef class FdHandler(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Fd_Handler *obj
 *     cdef readonly object func
 */
struct __pyx_obj_3efl_5ecore_FdHandler {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_FdHandler *__pyx_vtab;
  Ecore_Fd_Handler *obj;
  PyObject *func;
  PyObject *args;
  PyObject *kargs;
  PyObject *_prepare_callback;
};


/* "include/efl.ecore.pxd":342
 * 
 * 
 * cdef class Exe(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Exe *exe
 *     cdef readonly object __data
 */
struct __pyx_obj_3efl_5ecore_Exe {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_Exe *__pyx_vtab;
  Ecore_Exe *exe;
  PyObject *__data;
  PyObject *__pyx___callbacks;
};


/* "include/efl.ecore.pxd":351
 * 
 * 
 * cdef class ExeEventFilter(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Exe *exe
 *     cdef Ecore_Event_Handler *handler
 */
struct __pyx_obj_3efl_5ecore_ExeEventFilter {
  PyObject_HEAD
  Ecore_Exe *exe;
  Ecore_Event_Handler *handler;
  PyObject *owner;
  int event_type;
  PyObject *callbacks;
};


/* "include/efl.ecore.pxd":359
 * 
 * 
 * cdef class EventHandler(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Event_Handler *obj
 *     cdef readonly int type
 */
struct __pyx_obj_3efl_5ecore_EventHandler {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_EventHandler *__pyx_vtab;
  Ecore_Event_Handler *obj;
  int type;
  PyObject *event_cls;
  PyObject *func;
  PyObject *args;
  PyObject *kargs;
};


/* "include/efl.ecore.pxd":372
 * 
 * 
 * cdef class Event(object):             # <<<<<<<<<<<<<<
 *     cdef int _set_obj(self, void *obj) except 0
 * 
 */
struct __pyx_obj_3efl_5ecore_Event {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_Event *__pyx_vtab;
};


/* "include/efl.ecore.pxd":376
 * 
 * 
 * cdef class EventSignalUser(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object number
 * 
 */
struct __pyx_obj_3efl_5ecore_EventSignalUser {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  PyObject *number;
};


/* "include/efl.ecore.pxd":380
 * 
 * 
 * cdef class EventSignalHup(Event):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_5ecore_EventSignalHup {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
};


/* "include/efl.ecore.pxd":384
 * 
 * 
 * cdef class EventSignalExit(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object interrupt
 *     cdef readonly object quit
 */
struct __pyx_obj_3efl_5ecore_EventSignalExit {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  PyObject *interrupt;
  PyObject *quit;
  PyObject *terminate;
};


/* "include/efl.ecore.pxd":390
 * 
 * 
 * cdef class EventSignalPower(Event):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_5ecore_EventSignalPower {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
};


/* "include/efl.ecore.pxd":394
 * 
 * 
 * cdef class CustomEvent(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object obj
 * 
 */
struct __pyx_obj_3efl_5ecore_CustomEvent {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  PyObject *obj;
};


/* "include/efl.ecore.pxd":398
 * 
 * 
 * cdef class QueuedEvent:             # <<<<<<<<<<<<<<
 *     cdef Ecore_Event *obj
 *     cdef readonly object args
 */
struct __pyx_obj_3efl_5ecore_QueuedEvent {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_QueuedEvent *__pyx_vtab;
  Ecore_Event *obj;
  PyObject *args;
};


/* "include/efl.ecore.pxd":406
 * 
 * 
 * cdef class EventExeAdd(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object exe
 * 
 */
struct __pyx_obj_3efl_5ecore_EventExeAdd {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  PyObject *exe;
};


/* "include/efl.ecore.pxd":410
 * 
 * 
 * cdef class EventExeDel(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object exe
 *     cdef readonly object pid
 */
struct __pyx_obj_3efl_5ecore_EventExeDel {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  PyObject *exe;
  PyObject *pid;
  PyObject *exit_code;
  PyObject *exit_signal;
  PyObject *exited;
  PyObject *signalled;
};


/* "include/efl.ecore.pxd":419
 * 
 * 
 * cdef class EventExeData(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object exe
 *     cdef readonly object data
 */
struct __pyx_obj_3efl_5ecore_EventExeData {
  struct __pyx_obj_3efl_5ecore_Event __pyx_base;
  PyObject *exe;
  PyObject *data;
  PyObject *size;
  PyObject *lines;
};


/* "include/efl.ecore.pxd":426
 * 
 * 
 * cdef class FileDownload:             # <<<<<<<<<<<<<<
 *     cdef Ecore_File_Download_Job *job
 *     cdef readonly object completion_cb
 */
struct __pyx_obj_3efl_5ecore_FileDownload {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_FileDownload *__pyx_vtab;
  Ecore_File_Download_Job *job;
  PyObject *completion_cb;
  PyObject *progress_cb;
  PyObject *args;
  PyObject *kargs;
};


/* "include/efl.ecore.pxd":439
 * 
 * 
 * cdef class FileMonitor:             # <<<<<<<<<<<<<<
 *     cdef Ecore_File_Monitor *mon
 *     cdef readonly object monitor_cb
 */
struct __pyx_obj_3efl_5ecore_FileMonitor {
  PyObject_HEAD
  struct __pyx_vtabstruct_3efl_5ecore_FileMonitor *__pyx_vtab;
  Ecore_File_Monitor *mon;
  PyObject *monitor_cb;
  PyObject *args;
  PyObject *kargs;
};


/* "object.pxd":224
 * 
 * 
 * cdef class Canvas(evasCanvas):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */
struct __pyx_obj_3efl_10elementary_6object_Canvas {
  struct __pyx_obj_3efl_4evas_Canvas __pyx_base;
};


/* "object.pxd":227
 *     pass
 * 
 * cdef class Object(evasObject):             # <<<<<<<<<<<<<<
 *     cdef:
 *         dict _elmcallbacks
 */
struct __pyx_obj_3efl_10elementary_6object_Object {
  struct __pyx_obj_3efl_4evas_Object __pyx_base;
  PyObject *_elmcallbacks;
  PyObject *_elm_event_cbs;
  PyObject *_elm_signal_cbs;
  PyObject *cnp_drop_cb;
  PyObject *cnp_drop_data;
  PyObject *cnp_selection_loss_cb;
  PyObject *cnp_selection_loss_data;
};


/* "include/efl.utils.deprecated.pxd":19
 * 
 * cdef:
 *     class DEPRECATED(object):             # <<<<<<<<<<<<<<
 *         cdef:
 *             str version, message
 */
struct __pyx_obj_3efl_5utils_10deprecated_DEPRECATED {
  PyObject_HEAD
  PyObject *version;
  PyObject *message;
};


/* "scroller.pxd":64
 *     Elm_Scroller_Movement_Block elm_scroller_movement_block_get(const Evas_Object *obj)
 * 
 * cdef class Scrollable(Object):             # <<<<<<<<<<<<<<
 *     pass
 */
struct __pyx_obj_3efl_10elementary_8scroller_Scrollable {
  struct __pyx_obj_3efl_10elementary_6object_Object __pyx_base;
};


/* "efl/elementary/gengrid_widget.pxi":3
 * #include "cnp_callbacks.pxi"
 * 
 * cdef class Gengrid(Object):             # <<<<<<<<<<<<<<
 *     """
 * 
 */
struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid {
  struct __pyx_obj_3efl_10elementary_6object_Object __pyx_base;
};


/* "efl/elementary/gengrid_item_class.pxi":1
 * cdef class GengridItemClass:             # <<<<<<<<<<<<<<
 *     """
 * 
 */
struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass {
  PyObject_HEAD
  Elm_Gengrid_Item_Class *cls;
  PyObject *_text_get_func;
  PyObject *_content_get_func;
  PyObject *_state_get_func;
  PyObject *_del_func;
  PyObject *_item_style;
};

struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem {
  struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem __pyx_base;
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *item_class;
  Elm_Object_Item *parent_item;
  int flags;
  PyObject *item_data;
  PyObject *func_data;
  PyObject *compare_func;
};



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


/* "object_item.pxd":73
 * cdef void _object_item_callback2(void *data, Evas_Object *obj, void *event_info) with gil
 * 
 * cdef class ObjectItem(object):             # <<<<<<<<<<<<<<
 *     cdef:
 *         Elm_Object_Item *item
 */

struct __pyx_vtabstruct_3efl_10elementary_11object_item_ObjectItem {
  int (*_set_obj)(struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *, Elm_Object_Item *);
  int (*_set_properties_from_keyword_args)(struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *, PyObject *);
};
static struct __pyx_vtabstruct_3efl_10elementary_11object_item_ObjectItem *__pyx_vtabptr_3efl_10elementary_11object_item_ObjectItem;


/* "include/efl.ecore.pxd":299
 * # Python classes
 * #
 * cdef class Timer(Eo):             # <<<<<<<<<<<<<<
 *     cdef double _interval
 *     cdef readonly object func, args, kargs
 */

struct __pyx_vtabstruct_3efl_5ecore_Timer {
  struct __pyx_vtabstruct_3efl_2eo_Eo __pyx_base;
  int (*_task_exec)(struct __pyx_obj_3efl_5ecore_Timer *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_3efl_5ecore_Timer *__pyx_vtabptr_3efl_5ecore_Timer;


/* "include/efl.ecore.pxd":305
 * 
 * 
 * cdef class Animator(Eo):             # <<<<<<<<<<<<<<
 *     cdef readonly object func
 *     cdef readonly tuple args
 */

struct __pyx_vtabstruct_3efl_5ecore_Animator {
  struct __pyx_vtabstruct_3efl_2eo_Eo __pyx_base;
  int (*_task_exec)(struct __pyx_obj_3efl_5ecore_Animator *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_3efl_5ecore_Animator *__pyx_vtabptr_3efl_5ecore_Animator;


/* "include/efl.ecore.pxd":312
 * 
 * 
 * cdef class Poller(Eo):             # <<<<<<<<<<<<<<
 *     cdef readonly object func
 *     cdef readonly tuple args
 */

struct __pyx_vtabstruct_3efl_5ecore_Poller {
  struct __pyx_vtabstruct_3efl_2eo_Eo __pyx_base;
  int (*_task_exec)(struct __pyx_obj_3efl_5ecore_Poller *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_3efl_5ecore_Poller *__pyx_vtabptr_3efl_5ecore_Poller;


/* "include/efl.ecore.pxd":319
 * 
 * 
 * cdef class Idler(Eo):             # <<<<<<<<<<<<<<
 *     cdef readonly object func, args, kargs
 *     cpdef bint _task_exec(self) except *
 */

struct __pyx_vtabstruct_3efl_5ecore_Idler {
  struct __pyx_vtabstruct_3efl_2eo_Eo __pyx_base;
  int (*_task_exec)(struct __pyx_obj_3efl_5ecore_Idler *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_3efl_5ecore_Idler *__pyx_vtabptr_3efl_5ecore_Idler;


/* "include/efl.ecore.pxd":324
 * 
 * 
 * cdef class IdleEnterer(Idler):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_IdleEnterer {
  struct __pyx_vtabstruct_3efl_5ecore_Idler __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_IdleEnterer *__pyx_vtabptr_3efl_5ecore_IdleEnterer;


/* "include/efl.ecore.pxd":328
 * 
 * 
 * cdef class IdleExiter(Idler):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_IdleExiter {
  struct __pyx_vtabstruct_3efl_5ecore_Idler __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_IdleExiter *__pyx_vtabptr_3efl_5ecore_IdleExiter;


/* "include/efl.ecore.pxd":332
 * 
 * 
 * cdef class FdHandler(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Fd_Handler *obj
 *     cdef readonly object func
 */

struct __pyx_vtabstruct_3efl_5ecore_FdHandler {
  PyObject *(*_exec)(struct __pyx_obj_3efl_5ecore_FdHandler *);
};
static struct __pyx_vtabstruct_3efl_5ecore_FdHandler *__pyx_vtabptr_3efl_5ecore_FdHandler;


/* "include/efl.ecore.pxd":342
 * 
 * 
 * cdef class Exe(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Exe *exe
 *     cdef readonly object __data
 */

struct __pyx_vtabstruct_3efl_5ecore_Exe {
  int (*_set_obj)(struct __pyx_obj_3efl_5ecore_Exe *, char *, int);
  int (*_unset_obj)(struct __pyx_obj_3efl_5ecore_Exe *);
};
static struct __pyx_vtabstruct_3efl_5ecore_Exe *__pyx_vtabptr_3efl_5ecore_Exe;


/* "include/efl.ecore.pxd":359
 * 
 * 
 * cdef class EventHandler(object):             # <<<<<<<<<<<<<<
 *     cdef Ecore_Event_Handler *obj
 *     cdef readonly int type
 */

struct __pyx_vtabstruct_3efl_5ecore_EventHandler {
  int (*_set_obj)(struct __pyx_obj_3efl_5ecore_EventHandler *, Ecore_Event_Handler *);
  int (*_unset_obj)(struct __pyx_obj_3efl_5ecore_EventHandler *);
  Eina_Bool (*_exec)(struct __pyx_obj_3efl_5ecore_EventHandler *, void *);
};
static struct __pyx_vtabstruct_3efl_5ecore_EventHandler *__pyx_vtabptr_3efl_5ecore_EventHandler;


/* "include/efl.ecore.pxd":372
 * 
 * 
 * cdef class Event(object):             # <<<<<<<<<<<<<<
 *     cdef int _set_obj(self, void *obj) except 0
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_Event {
  int (*_set_obj)(struct __pyx_obj_3efl_5ecore_Event *, void *);
};
static struct __pyx_vtabstruct_3efl_5ecore_Event *__pyx_vtabptr_3efl_5ecore_Event;


/* "include/efl.ecore.pxd":376
 * 
 * 
 * cdef class EventSignalUser(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object number
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_EventSignalUser {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventSignalUser *__pyx_vtabptr_3efl_5ecore_EventSignalUser;


/* "include/efl.ecore.pxd":380
 * 
 * 
 * cdef class EventSignalHup(Event):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_EventSignalHup {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventSignalHup *__pyx_vtabptr_3efl_5ecore_EventSignalHup;


/* "include/efl.ecore.pxd":384
 * 
 * 
 * cdef class EventSignalExit(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object interrupt
 *     cdef readonly object quit
 */

struct __pyx_vtabstruct_3efl_5ecore_EventSignalExit {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventSignalExit *__pyx_vtabptr_3efl_5ecore_EventSignalExit;


/* "include/efl.ecore.pxd":390
 * 
 * 
 * cdef class EventSignalPower(Event):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_EventSignalPower {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventSignalPower *__pyx_vtabptr_3efl_5ecore_EventSignalPower;


/* "include/efl.ecore.pxd":394
 * 
 * 
 * cdef class CustomEvent(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object obj
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_CustomEvent {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_CustomEvent *__pyx_vtabptr_3efl_5ecore_CustomEvent;


/* "include/efl.ecore.pxd":398
 * 
 * 
 * cdef class QueuedEvent:             # <<<<<<<<<<<<<<
 *     cdef Ecore_Event *obj
 *     cdef readonly object args
 */

struct __pyx_vtabstruct_3efl_5ecore_QueuedEvent {
  int (*_set_obj)(struct __pyx_obj_3efl_5ecore_QueuedEvent *, Ecore_Event *);
  int (*_unset_obj)(struct __pyx_obj_3efl_5ecore_QueuedEvent *);
};
static struct __pyx_vtabstruct_3efl_5ecore_QueuedEvent *__pyx_vtabptr_3efl_5ecore_QueuedEvent;


/* "include/efl.ecore.pxd":406
 * 
 * 
 * cdef class EventExeAdd(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object exe
 * 
 */

struct __pyx_vtabstruct_3efl_5ecore_EventExeAdd {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventExeAdd *__pyx_vtabptr_3efl_5ecore_EventExeAdd;


/* "include/efl.ecore.pxd":410
 * 
 * 
 * cdef class EventExeDel(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object exe
 *     cdef readonly object pid
 */

struct __pyx_vtabstruct_3efl_5ecore_EventExeDel {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventExeDel *__pyx_vtabptr_3efl_5ecore_EventExeDel;


/* "include/efl.ecore.pxd":419
 * 
 * 
 * cdef class EventExeData(Event):             # <<<<<<<<<<<<<<
 *     cdef readonly object exe
 *     cdef readonly object data
 */

struct __pyx_vtabstruct_3efl_5ecore_EventExeData {
  struct __pyx_vtabstruct_3efl_5ecore_Event __pyx_base;
};
static struct __pyx_vtabstruct_3efl_5ecore_EventExeData *__pyx_vtabptr_3efl_5ecore_EventExeData;


/* "include/efl.ecore.pxd":426
 * 
 * 
 * cdef class FileDownload:             # <<<<<<<<<<<<<<
 *     cdef Ecore_File_Download_Job *job
 *     cdef readonly object completion_cb
 */

struct __pyx_vtabstruct_3efl_5ecore_FileDownload {
  PyObject *(*_exec_completion)(struct __pyx_obj_3efl_5ecore_FileDownload *, char const *, int);
  PyObject *(*_exec_progress)(struct __pyx_obj_3efl_5ecore_FileDownload *, char const *, long, long, long, long);
};
static struct __pyx_vtabstruct_3efl_5ecore_FileDownload *__pyx_vtabptr_3efl_5ecore_FileDownload;


/* "include/efl.ecore.pxd":439
 * 
 * 
 * cdef class FileMonitor:             # <<<<<<<<<<<<<<
 *     cdef Ecore_File_Monitor *mon
 *     cdef readonly object monitor_cb
 */

struct __pyx_vtabstruct_3efl_5ecore_FileMonitor {
  PyObject *(*_exec_monitor)(struct __pyx_obj_3efl_5ecore_FileMonitor *, Ecore_File_Event, char const *);
};
static struct __pyx_vtabstruct_3efl_5ecore_FileMonitor *__pyx_vtabptr_3efl_5ecore_FileMonitor;


/* "object.pxd":224
 * 
 * 
 * cdef class Canvas(evasCanvas):             # <<<<<<<<<<<<<<
 *     pass
 * 
 */

struct __pyx_vtabstruct_3efl_10elementary_6object_Canvas {
  struct __pyx_vtabstruct_3efl_4evas_Canvas __pyx_base;
};
static struct __pyx_vtabstruct_3efl_10elementary_6object_Canvas *__pyx_vtabptr_3efl_10elementary_6object_Canvas;


/* "object.pxd":227
 *     pass
 * 
 * cdef class Object(evasObject):             # <<<<<<<<<<<<<<
 *     cdef:
 *         dict _elmcallbacks
 */

struct __pyx_vtabstruct_3efl_10elementary_6object_Object {
  struct __pyx_vtabstruct_3efl_4evas_Object __pyx_base;
};
static struct __pyx_vtabstruct_3efl_10elementary_6object_Object *__pyx_vtabptr_3efl_10elementary_6object_Object;


/* "scroller.pxd":64
 *     Elm_Scroller_Movement_Block elm_scroller_movement_block_get(const Evas_Object *obj)
 * 
 * cdef class Scrollable(Object):             # <<<<<<<<<<<<<<
 *     pass
 */

struct __pyx_vtabstruct_3efl_10elementary_8scroller_Scrollable {
  struct __pyx_vtabstruct_3efl_10elementary_6object_Object __pyx_base;
};
static struct __pyx_vtabstruct_3efl_10elementary_8scroller_Scrollable *__pyx_vtabptr_3efl_10elementary_8scroller_Scrollable;


/* "efl/elementary/gengrid_widget.pxi":3
 * #include "cnp_callbacks.pxi"
 * 
 * cdef class Gengrid(Object):             # <<<<<<<<<<<<<<
 *     """
 * 
 */

struct __pyx_vtabstruct_3efl_10elementary_7gengrid_Gengrid {
  struct __pyx_vtabstruct_3efl_10elementary_6object_Object __pyx_base;
};
static struct __pyx_vtabstruct_3efl_10elementary_7gengrid_Gengrid *__pyx_vtabptr_3efl_10elementary_7gengrid_Gengrid;


/* "efl/elementary/gengrid_item.pxi":1
 * cdef class GengridItem(ObjectItem):             # <<<<<<<<<<<<<<
 *     """
 * 
 */

struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem {
  struct __pyx_vtabstruct_3efl_10elementary_11object_item_ObjectItem __pyx_base;
  void (*_unset_obj)(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *);
};
static struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem *__pyx_vtabptr_3efl_10elementary_7gengrid_GengridItem;
#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);

#ifndef __PYX_FORCE_INIT_THREADS
  #define __PYX_FORCE_INIT_THREADS 0
#endif

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw);
#else
#define __Pyx_PyObject_Call(func, arg, kw) PyObject_Call(func, arg, kw)
#endif

static CYTHON_INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb);
static void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb);

static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb);

static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name);

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
#endif

static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg);

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func);
#else
#define __Pyx_PyObject_CallNoArg(func) __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL)
#endif

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_WriteUnraisable(const char *name, int clineno,
                                  int lineno, const char *filename,
                                  int full_traceback);

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

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 int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
    const char *name, int exact);

static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected);

static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index);

static CYTHON_INLINE int __Pyx_IterFinish(void);

static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected);

static CYTHON_INLINE int __Pyx_CheckKeywordStrings(PyObject *kwdict, const char* function_name, int kw_allowed);

#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
#define __Pyx_PyCallable_Check(obj)   ((obj)->ob_type->tp_call != NULL)
#else
#define __Pyx_PyCallable_Check(obj)   PyCallable_Check(obj)
#endif

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

static void __Pyx_call_next_tp_dealloc(PyObject* obj, destructor current_tp_dealloc);

static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, traverseproc current_tp_traverse);

static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_dealloc);

static void* __Pyx_GetVtable(PyObject *dict);

static int __Pyx_SetVtable(PyObject *dict, void *vtable);

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 PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level);

static CYTHON_INLINE size_t __Pyx_PyInt_As_size_t(PyObject *);

static CYTHON_INLINE unsigned int __Pyx_PyInt_As_unsigned_int(PyObject *);

static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *);

static CYTHON_INLINE Eina_Bool __Pyx_PyInt_As_Eina_Bool(PyObject *);

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_Eina_Bool(Eina_Bool value);

static CYTHON_INLINE Evas_Coord __Pyx_PyInt_As_Evas_Coord(PyObject *);

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_unsigned_int(unsigned int value);

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_Evas_Coord(Evas_Coord value);

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value);

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value);

static CYTHON_INLINE long __Pyx_PyInt_As_long(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_ImportVoidPtr(PyObject *module, const char *name, void **p, const char *sig);

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

static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);

static int __pyx_f_3efl_10elementary_7gengrid_11GengridItem__set_obj(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, Elm_Object_Item *__pyx_v_item); /* proto*/
static void __pyx_f_3efl_10elementary_7gengrid_11GengridItem__unset_obj(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto*/

/* 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 void (*__pyx_f_3efl_2eo__object_mapping_register)(char *, 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 'efl.elementary.object_item' */
static PyTypeObject *__pyx_ptype_3efl_10elementary_11object_item_ObjectItem = 0;
static PyObject *(*__pyx_f_3efl_10elementary_11object_item__object_item_to_python)(Elm_Object_Item *); /*proto*/
static Elm_Object_Item *(*__pyx_f_3efl_10elementary_11object_item__object_item_from_python)(struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *); /*proto*/
static PyObject *(*__pyx_f_3efl_10elementary_11object_item__object_item_list_to_python)(Eina_List const *); /*proto*/

/* Module declarations from 'efl.elementary.general' */
static int *__pyx_vp_3efl_10elementary_7general_PY_EFL_ELM_LOG_DOMAIN = 0;
#define __pyx_v_3efl_10elementary_7general_PY_EFL_ELM_LOG_DOMAIN (*__pyx_vp_3efl_10elementary_7general_PY_EFL_ELM_LOG_DOMAIN)

/* Module declarations from 'efl.ecore' */
static PyTypeObject *__pyx_ptype_3efl_5ecore_Timer = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_Animator = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_Poller = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_Idler = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_IdleEnterer = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_IdleExiter = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_FdHandler = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_Exe = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_ExeEventFilter = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventHandler = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_Event = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventSignalUser = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventSignalHup = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventSignalExit = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventSignalPower = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_CustomEvent = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_QueuedEvent = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventExeAdd = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventExeDel = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_EventExeData = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_FileDownload = 0;
static PyTypeObject *__pyx_ptype_3efl_5ecore_FileMonitor = 0;

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

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

/* Module declarations from 'efl.elementary.object' */
static PyTypeObject *__pyx_ptype_3efl_10elementary_6object_Canvas = 0;
static PyTypeObject *__pyx_ptype_3efl_10elementary_6object_Object = 0;

/* Module declarations from 'efl.utils.deprecated' */
static PyTypeObject *__pyx_ptype_3efl_5utils_10deprecated_DEPRECATED = 0;

/* Module declarations from 'efl.elementary.scroller' */
static PyTypeObject *__pyx_ptype_3efl_10elementary_8scroller_Scrollable = 0;

/* Module declarations from 'efl.elementary.gengrid' */
static PyTypeObject *__pyx_ptype_3efl_10elementary_7gengrid_Gengrid = 0;
static PyTypeObject *__pyx_ptype_3efl_10elementary_7gengrid_GengridItemClass = 0;
static PyTypeObject *__pyx_ptype_3efl_10elementary_7gengrid_GengridItem = 0;
static char *__pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_text_get(void *, Evas_Object *, char const *); /*proto*/
static Evas_Object *__pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_content_get(void *, Evas_Object *, char const *); /*proto*/
static Eina_Bool __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_state_get(void *, Evas_Object *, char const *); /*proto*/
static void __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_object_item_del(void *, Evas_Object *); /*proto*/
static void __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_func(void *, Evas_Object *, void *); /*proto*/
static int __pyx_f_3efl_10elementary_7gengrid__gengrid_compare_cb(void const *, void const *); /*proto*/
#define __Pyx_MODULE_NAME "efl.elementary.gengrid"
int __pyx_module_is_main_efl__elementary__gengrid = 0;

/* Implementation of 'efl.elementary.gengrid' */
static PyObject *__pyx_builtin_Exception;
static PyObject *__pyx_builtin_TypeError;
static PyObject *__pyx_builtin_AttributeError;
static PyObject *__pyx_builtin_RuntimeError;
static PyObject *__pyx_pf_3efl_10elementary_7gengrid__cb_object_item_conv(CYTHON_UNUSED PyObject *__pyx_self, uintptr_t __pyx_v_addr); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid___init__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, struct __pyx_obj_3efl_4evas_Object *__pyx_v_parent, CYTHON_UNUSED PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_2clear(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12multi_select___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12multi_select_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_multi); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_4multi_select_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_multi); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6multi_select_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_17multi_select_mode___set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, Elm_Object_Multi_Select_Mode __pyx_v_mode); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_17multi_select_mode_2__get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_10horizontal___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_10horizontal_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_setting); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_8horizontal_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_setting); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_10horizontal_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_9page_size___set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12item_append(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14item_prepend(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_16item_insert_before(CYTHON_UNUSED struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_before_item, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_18item_insert_after(CYTHON_UNUSED struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_after_item, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_13selected_item___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_20selected_item_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14selected_items___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_22selected_items_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14realized_items___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_24realized_items_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_26realized_items_update(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_10first_item___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_28first_item_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_9last_item___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_30last_item_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14wheel_disabled___set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, int __pyx_v_disabled); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14wheel_disabled_2__get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_11items_count___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_9item_size___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_9item_size_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_32item_size_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_34item_size_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_15group_item_size___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_15group_item_size_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_36group_item_size_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_38group_item_size_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_5align___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_5align_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_40align_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_align_x, PyObject *__pyx_v_align_y); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_42align_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12reorder_mode___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12reorder_mode_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_44reorder_mode_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_46reorder_mode_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_mode); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_48reorder_mode_start(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_tween_mode); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_50reorder_mode_stop(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12reorder_type___set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_52reorder_type_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6filled___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6filled_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_fill); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_54filled_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_fill); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_56filled_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_fill); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_13page_relative___set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_13page_relative_2__get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_11select_mode___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_11select_mode_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_58select_mode_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_60select_mode_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14highlight_mode___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14highlight_mode_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_highlight); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_62highlight_mode_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_highlight); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_64highlight_mode_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_fill); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_66nth_item_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, unsigned int __pyx_v_nth); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_68at_xy_item_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, int __pyx_v_x, int __pyx_v_y); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_70search_by_text_item_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_item_to_search_from, PyObject *__pyx_v_part_name, PyObject *__pyx_v_pattern, Elm_Glob_Match_Flags __pyx_v_flags); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_72callback_activated_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_74callback_activated_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_76callback_clicked_double_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_78callback_clicked_double_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_80callback_clicked_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_82callback_clicked_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_84callback_clicked_right_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_86callback_clicked_right_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_88callback_selected_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_90callback_selected_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_92callback_unselected_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_94callback_unselected_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_96callback_realized_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_98callback_realized_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_100callback_unrealized_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_102callback_unrealized_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_104callback_changed_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_106callback_changed_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_108callback_scroll_anim_start_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_110callback_scroll_anim_start_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_112callback_scroll_anim_stop_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_114callback_scroll_anim_stop_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_116callback_drag_start_up_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_118callback_drag_start_up_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_120callback_drag_start_down_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_122callback_drag_start_down_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_124callback_drag_start_left_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_126callback_drag_start_left_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_128callback_drag_start_right_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_130callback_drag_start_right_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_132callback_drag_stop_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_134callback_drag_stop_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_136callback_drag_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_138callback_drag_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_140callback_scroll_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_142callback_scroll_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_144callback_scroll_drag_start_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_146callback_scroll_drag_start_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_148callback_scroll_drag_stop_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_150callback_scroll_drag_stop_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_152callback_edge_top_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_154callback_edge_top_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_156callback_edge_bottom_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_158callback_edge_bottom_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_160callback_edge_left_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_162callback_edge_left_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_164callback_edge_right_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_166callback_edge_right_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_168callback_moved_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_170callback_moved_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_172callback_index_update_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_174callback_index_update_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_176callback_highlighted_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_178callback_highlighted_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_180callback_unhighlighted_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_182callback_unhighlighted_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_184callback_language_changed_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_186callback_focused_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_188callback_focused_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_190callback_unfocused_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_192callback_unfocused_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_194callback_item_focused_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_196callback_item_focused_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_198callback_item_unfocused_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_200callback_item_unfocused_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_202callback_item_reorder_anim_start_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_204callback_item_reorder_anim_start_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_206callback_item_reorder_anim_stop_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_208callback_item_reorder_anim_stop_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_15scroller_policy___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_15scroller_policy_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_210scroller_policy_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_policy_h, PyObject *__pyx_v_policy_v); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_212scroller_policy_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6bounce___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6bounce_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_214bounce_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_h, PyObject *__pyx_v_v); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_216bounce_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass___cinit__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self); /* proto */
static void __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_2__dealloc__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_4__init__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self, PyObject *__pyx_v_item_style, PyObject *__pyx_v_text_get_func, PyObject *__pyx_v_content_get_func, PyObject *__pyx_v_state_get_func, PyObject *__pyx_v_del_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_6__repr__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_8ref(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_10unref(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_12free(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_10item_style___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_10item_style_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_14text_get(CYTHON_UNUSED struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_3efl_4evas_Object *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_16content_get(CYTHON_UNUSED struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_3efl_4evas_Object *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_18state_get(CYTHON_UNUSED struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_3efl_4evas_Object *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_11GengridItem___init__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, PyObject *__pyx_v_func, PyObject *__pyx_v_func_data, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_2__repr__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_4append_to(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_gengrid); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_6prepend_to(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_gengrid); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_8insert_before(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_before); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_10insert_after(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_after); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_12sorted_insert(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_gengrid, PyObject *__pyx_v_compare_func); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_4data___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_14data_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_4next___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_16next_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_4prev___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_18prev_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_5index___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_20index_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_22update(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_8selected___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_8selected_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_24selected_set(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_26selected_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_28show(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, PyObject *__pyx_v_scrollto_type); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_30bring_in(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, PyObject *__pyx_v_scrollto_type); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_3pos___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_32pos_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_11select_mode___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static int __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_11select_mode_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_34select_mode_set(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_36select_mode_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_10item_class___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self); /* proto */
static PyObject *__pyx_tp_new_3efl_10elementary_7gengrid_Gengrid(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_3efl_10elementary_7gengrid_GengridItemClass(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_3efl_10elementary_7gengrid_GengridItem(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static char __pyx_k_h[] = "h";
static char __pyx_k_v[] = "v";
static char __pyx_k_w[] = "w";
static char __pyx_k_x[] = "x";
static char __pyx_k_y[] = "y";
static char __pyx_k_it[] = "it";
static char __pyx_k_1_8[] = "1.8";
static char __pyx_k_obj[] = "obj";
static char __pyx_k_addr[] = "addr";
static char __pyx_k_drag[] = "drag";
static char __pyx_k_func[] = "func";
static char __pyx_k_main[] = "__main__";
static char __pyx_k_name[] = "__name__";
static char __pyx_k_part[] = "part";
static char __pyx_k_test[] = "__test__";
static char __pyx_k_UTF_8[] = "UTF-8";
static char __pyx_k_flags[] = "flags";
static char __pyx_k_moved[] = "moved";
static char __pyx_k_decode[] = "decode";
static char __pyx_k_delete[] = "delete";
static char __pyx_k_import[] = "__import__";
static char __pyx_k_parent[] = "parent";
static char __pyx_k_scroll[] = "scroll";
static char __pyx_k_widget[] = "widget";
static char __pyx_k_align_x[] = "align_x";
static char __pyx_k_align_y[] = "align_y";
static char __pyx_k_changed[] = "changed";
static char __pyx_k_clicked[] = "clicked";
static char __pyx_k_focused[] = "focused";
static char __pyx_k_gengrid[] = "gengrid";
static char __pyx_k_pattern[] = "pattern";
static char __pyx_k_del_func[] = "del_func";
static char __pyx_k_edge_top[] = "edge,top";
static char __pyx_k_policy_h[] = "policy_h";
static char __pyx_k_policy_v[] = "policy_v";
static char __pyx_k_realized[] = "realized";
static char __pyx_k_selected[] = "selected";
static char __pyx_k_text_get[] = "text_get";
static char __pyx_k_Exception[] = "Exception";
static char __pyx_k_TypeError[] = "TypeError";
static char __pyx_k_activated[] = "activated";
static char __pyx_k_append_to[] = "append_to";
static char __pyx_k_drag_stop[] = "drag,stop";
static char __pyx_k_edge_left[] = "edge,left";
static char __pyx_k_func_data[] = "func_data";
static char __pyx_k_item_data[] = "item_data";
static char __pyx_k_part_name[] = "part_name";
static char __pyx_k_print_exc[] = "print_exc";
static char __pyx_k_state_get[] = "state_get";
static char __pyx_k_traceback[] = "traceback";
static char __pyx_k_unfocused[] = "unfocused";
static char __pyx_k_after_item[] = "after_item";
static char __pyx_k_bounce_get[] = "bounce_get";
static char __pyx_k_bounce_set[] = "bounce_set";
static char __pyx_k_edge_right[] = "edge,right";
static char __pyx_k_item_class[] = "item_class";
static char __pyx_k_item_style[] = "item_style";
static char __pyx_k_prepend_to[] = "prepend_to";
static char __pyx_k_pyx_vtable[] = "__pyx_vtable__";
static char __pyx_k_unrealized[] = "unrealized";
static char __pyx_k_unselected[] = "unselected";
static char __pyx_k_Elm_Gengrid[] = "Elm_Gengrid";
static char __pyx_k_before_item[] = "before_item";
static char __pyx_k_content_get[] = "content_get";
static char __pyx_k_edge_bottom[] = "edge,bottom";
static char __pyx_k_highlighted[] = "highlighted";
static char __pyx_k_RuntimeError[] = "RuntimeError";
static char __pyx_k_callback_add[] = "_callback_add";
static char __pyx_k_callback_del[] = "_callback_del";
static char __pyx_k_compare_func[] = "compare_func";
static char __pyx_k_index_update[] = "index,update";
static char __pyx_k_item_focused[] = "item,focused";
static char __pyx_k_clicked_right[] = "clicked,right";
static char __pyx_k_drag_start_up[] = "drag,start,up";
static char __pyx_k_insert_before[] = "insert_before";
static char __pyx_k_scrollto_type[] = "scrollto_type";
static char __pyx_k_text_get_func[] = "text_get_func";
static char __pyx_k_unhighlighted[] = "unhighlighted";
static char __pyx_k_AttributeError[] = "AttributeError";
static char __pyx_k_callback_add_2[] = "callback_add";
static char __pyx_k_clicked_double[] = "clicked,double";
static char __pyx_k_item_unfocused[] = "item,unfocused";
static char __pyx_k_state_get_func[] = "state_get_func";
static char __pyx_k_comparison_func[] = "comparison_func";
static char __pyx_k_drag_start_down[] = "drag,start,down";
static char __pyx_k_drag_start_left[] = "drag,start,left";
static char __pyx_k_content_get_func[] = "content_get_func";
static char __pyx_k_drag_start_right[] = "drag,start,right";
static char __pyx_k_language_changed[] = "language,changed";
static char __pyx_k_scroll_anim_stop[] = "scroll,anim,stop";
static char __pyx_k_scroll_drag_stop[] = "scroll,drag,stop";
static char __pyx_k_callback_add_full[] = "_callback_add_full";
static char __pyx_k_callback_del_full[] = "_callback_del_full";
static char __pyx_k_scroll_anim_start[] = "scroll,anim,start";
static char __pyx_k_scroll_drag_start[] = "scroll,drag,start";
static char __pyx_k_cb_object_item_conv[] = "_cb_object_item_conv";
static char __pyx_k_item_to_search_from[] = "item_to_search_from";
static char __pyx_k_scroller_policy_get[] = "scroller_policy_get";
static char __pyx_k_scroller_policy_set[] = "scroller_policy_set";
static char __pyx_k_Object_must_be_clean[] = "Object must be clean";
static char __pyx_k_User_data_for_the_item[] = "User data for the item.";
static char __pyx_k_efl_elementary_gengrid[] = "efl.elementary.gengrid";
static char __pyx_k_item_reorder_anim_stop[] = "item,reorder,anim,stop";
static char __pyx_k_item_reorder_anim_start[] = "item,reorder,anim,start";
static char __pyx_k_del_func_is_not_callable[] = "del_func is not callable!";
static char __pyx_k_Object_must_wrap_something[] = "Object must wrap something";
static char __pyx_k_The_style_of_this_item_class[] = "The style of this item class.";
static char __pyx_k_func_is_not_None_or_callable[] = "func is not None or callable";
static char __pyx_k_text_get_func_is_not_callable[] = "text_get_func is not callable!";
static char __pyx_k_Set_the_order_type_This_affect[] = " Set the order type.\n\n        This affect the way items are moved (when in reorder mode) with the\n        keyboard arrows.\n\n        :type: :ref:`Elm_Gengrid_Reorder_Type`\n\n        .. versionadded:: 1.11\n        \n        ";
static char __pyx_k_s_x_refcount_d_Elm_Object_Item[] = "<%s(%#x, refcount=%d, Elm_Object_Item=%#x, item_class=%s, func=%s, item_data=%r)>";
static char __pyx_k_state_get_func_is_not_callable[] = "state_get_func is not callable!";
static char __pyx_k_Gengrid_widget_s_scrolling_page[] = "Gengrid widget's scrolling page size, relative to its viewport size.\n\n        :type: (float h_pagerel, float v_pagerel)\n\n        .. versionadded:: 1.10\n\n        ";
static char __pyx_k_Get_the_index_of_the_item_It_is[] = "Get the index of the item. It is only valid once displayed.\n\n        ";
static char __pyx_k_Item_select_mode_in_the_gengrid[] = "Item select mode in the gengrid widget. Possible values are:\n\n        - ELM_OBJECT_SELECT_MODE_DEFAULT : Items will only call their\n            selection func and callback when first becoming selected. Any\n            further clicks will do nothing, unless you set always select mode.\n        - ELM_OBJECT_SELECT_MODE_ALWAYS :  This means that, even if selected,\n            every click will make the selected callbacks be called.\n        - ELM_OBJECT_SELECT_MODE_NONE : This will turn off the ability to\n            select items entirely and they will neither appear selected nor\n            call selected callback functions.\n\n        ";
static char __pyx_k_deprecated_1_8_You_should_combi[] = "\n\n        .. deprecated:: 1.8\n            You should combine with Scrollable class instead.\n\n        ";
static char __pyx_k_home_dave_e_bindings_python_efl[] = "/home/dave/e/bindings/python-efl/efl/elementary/gengrid.pyx";
static char __pyx_k_mod_gengrid_Module_image_images[] = "\n\n:mod:`gengrid` Module\n#####################\n\n.. image:: /images/gengrid-preview.png\n\n\nWidget description\n==================\n\nThis widget aims to position objects in a grid layout while actually\ncreating and rendering only the visible ones, using the same idea as the\n:py:class:`~efl.elementary.genlist.Genlist`: the user defines a **class** for\neach item, specifying functions that will be called at object creation,\ndeletion, etc. When those items are selected by the user, a callback\nfunction is issued. Users may interact with a gengrid via the mouse (by\nclicking on items to select them and clicking on the grid's viewport and\nswiping to pan the whole view) or via the keyboard, navigating through\nitem with the arrow keys.\n\n\nScrollable Interface\n====================\n\nThis widget supports the scrollable interface.\n\nIf you wish to control the scolling behaviour using these functions,\ninherit both the widget class and the\n:py:class:`~efl.elementary.scroller.Scrollable` class\nusing multiple inheritance, for example::\n\n    class ScrollableGenlist(Genlist, Scrollable):\n        def __init__(self, canvas, *args, **kwargs):\n            Genlist.__init__(self, canvas)\n\n\nGengrid layouts\n===============\n\nGengrid may layout its items in one of two possible layouts:\n\n- horizontal or\n- vertical.\n\nWhen in \"horizontal mode\", items will be placed in **columns**, from top\nto bottom and, when the space for a column is filled, another one is\nstarted on the right, thus expanding the grid horizontally, making for\nhorizontal scrolling. When in \"vertical mode\" , though, items will be\nplaced in **rows**, from left to right and, when the space for a row is\nfilled, another one is started below, thus expanding the grid vertically\n(and making for vertical scrolling).\n\n\nGengrid items\n=============\n\nAn item in a gengrid can have 0 or more texts (they can be regular text\nor textblock Evas objects - that's up to the style to determine), 0 or""\nmore contents (which are simply objects swallowed into the gengrid\nitem's theming Edje object) and 0 or more **boolean states**, which\nhave the behavior left to the user to define. The Edje part names for\neach of these properties will be looked up, in the theme file for the\ngengrid, under the Edje (string) data items named ``\"texts\"``,\n``\"contents\"`` and ``\"states\"``, respectively. For each of those\nproperties, if more than one part is provided, they must have names\nlisted separated by spaces in the data fields. For the default gengrid\nitem theme, we have **one** text part (``\"elm.text\"``), **two** content\nparts (``\"elm.swalllow.icon\"`` and ``\"elm.swallow.end\"``) and **no**\nstate parts.\n\nA gengrid item may be at one of several styles. Elementary provides one\nby default - \"default\", but this can be extended by system or\napplication custom themes/overlays/extensions (see\n:py:class:`~efl.elementary.theme.Theme` for more details).\n\n\nGengrid item classes\n====================\n\nIn order to have the ability to add and delete items on the fly, gengrid\nimplements a class (callback) system where the application provides a\nstructure with information about that type of item (gengrid may contain\nmultiple different items with different classes, states and styles).\nGengrid will call the functions in this struct (methods) when an item is\n\"realized\" (i.e., created dynamically, while the user is scrolling the\ngrid). All objects will simply be deleted when no longer needed with\nevas_object_del(). The #Elm_Gengrid_Item_Class structure contains the\nfollowing members:\n\n- ``item_style`` - This is a constant string and simply defines the name\n  of the item style. It **must** be specified and the default should be\n  ``\"default\".``\n- ``func.text_get`` - This function is called when an item object is\n  actually created. The ``data`` parameter will point to the same data\n  passed to elm_gengrid_item_append() and related item creation\n  fu""nctions. The ``obj`` parameter is the gengrid object itself, while\n  the ``part`` one is the name string of one of the existing text parts\n  in the Edje group implementing the item's theme. This function\n  **must** return a strdup'()ed string, as the caller will free() it\n  when done. See :py:meth:`GengridItem.text_get`.\n- ``func.content_get`` - This function is called when an item object is\n  actually created. The ``data`` parameter will point to the same data\n  passed to :py:meth:`GengridItem.append_to` and related item creation\n  functions. The ``obj`` parameter is the gengrid object itself, while\n  the ``part`` one is the name string of one of the existing (content)\n  swallow parts in the Edje group implementing the item's theme. It must\n  return ``None,`` when no content is desired, or a valid object handle,\n  otherwise. The object will be deleted by the gengrid on its deletion\n  or when the item is \"unrealized\". See :py:meth:`GengridItem.content_get`.\n- ``func.state_get`` - This function is called when an item object is\n  actually created. The ``data`` parameter will point to the same data\n  passed to :py:meth:`GengridItem.append_to` and related item creation\n  functions. The ``obj`` parameter is the gengrid object itself, while\n  the ``part`` one is the name string of one of the state parts in the\n  Edje group implementing the item's theme. Return ``False`` for\n  false/off or ``True`` for true/on. Gengrids will emit a signal to\n  its theming Edje object with ``\"elm,state,xxx,active\"`` and ``\"elm\"``\n  as \"emission\" and \"source\" arguments, respectively, when the state is\n  true (the default is false), where ``xxx`` is the name of the (state)\n  part. See #Elm_Gengrid_Item_State_Get_Cb.\n- ``func.del`` - This is called when elm_object_item_del() is called on\n  an item or elm_gengrid_clear() is called on the gengrid. This is\n  intended for use when gengrid items are deleted, so any data attached\n  to the item (e.g. its data par""ameter on creation) can be deleted. See\n  :py:meth:`GengridItem.delete`.\n\n\nUsage hints\n===========\n\nIf the user wants to have multiple items selected at the same time,\nelm_gengrid_multi_select_set() will permit it. If the gengrid is\nsingle-selection only (the default), then elm_gengrid_select_item_get()\nwill return the selected item or ``None``, if none is selected. If the\ngengrid is under multi-selection, then elm_gengrid_selected_items_get()\nwill return a list (that is only valid as long as no items are modified\n(added, deleted, selected or unselected) of child items on a gengrid.\n\nIf an item changes (internal (boolean) state, text or content changes),\nthen use elm_gengrid_item_update() to have gengrid update the item with\nthe new state. A gengrid will re-\"realize\" the item, thus calling the\nfunctions in the #Elm_Gengrid_Item_Class set for that item.\n\nTo programmatically (un)select an item, use\nelm_gengrid_item_selected_set(). To get its selected state use\nelm_gengrid_item_selected_get(). To make an item disabled (unable to be\nselected and appear differently) use elm_object_item_disabled_set() to\nset this and elm_object_item_disabled_get() to get the disabled state.\n\nGrid cells will only have their selection smart callbacks called when\nfirstly getting selected. Any further clicks will do nothing, unless you\nenable the \"always select mode\", with elm_gengrid_select_mode_set() as\nELM_OBJECT_SELECT_MODE_ALWAYS, thus making every click to issue\nselection callbacks. elm_gengrid_select_mode_set() as\nELM_OBJECT_SELECT_MODE_NONE will turn off the ability to select items\nentirely in the widget and they will neither appear selected nor call\nthe selection smart callbacks.\n\nRemember that you can create new styles and add your own theme\naugmentation per application with elm_theme_extension_add(). If you\nabsolutely must have a specific style that overrides any theme the user\nor system sets up you can use elm_theme_overlay_add() to add su""ch a file.\n\n\nEmitted signals\n===============\n\n- ``activated`` - The user has double-clicked or pressed\n  (enter|return|spacebar) on an item. The ``event_info`` parameter\n  is the gengrid item that was activated.\n- ``clicked,double`` - The user has double-clicked an item.\n  The ``event_info`` parameter is the gengrid item that was double-clicked.\n- ``clicked,right`` - The user has right-clicked an item.  The\n  ``event_info`` parameter is the item that was right-clicked. (since: 1.13)\n- ``longpressed`` - This is called when the item is pressed for a certain\n  amount of time. By default it's 1 second.\n- ``selected`` - The user has made an item selected. The\n  ``event_info`` parameter is the gengrid item that was selected.\n- ``unselected`` - The user has made an item unselected. The\n  ``event_info`` parameter is the gengrid item that was unselected.\n- ``realized`` - This is called when the item in the gengrid\n  has its implementing Evas object instantiated, de facto.\n  ``event_info`` is the gengrid item that was created. The object\n  may be deleted at any time, so it is highly advised to the\n  caller **not** to use the object returned from\n  :py:attr:`GengridItem.object`, because it may point to freed\n  objects.\n- ``unrealized`` - This is called when the implementing Evas\n  object for this item is deleted. ``event_info`` is the gengrid\n  item that was deleted.\n- ``changed`` - Called when an item is added, removed, resized\n  or moved and when the gengrid is resized or gets \"horizontal\"\n  property changes.\n- ``scroll,anim,start`` - This is called when scrolling animation has\n  started.\n- ``scroll,anim,stop`` - This is called when scrolling animation has\n  stopped.\n- ``drag,start,up`` - Called when the item in the gengrid has\n  been dragged (not scrolled) up.\n- ``drag,start,down`` - Called when the item in the gengrid has\n  been dragged (not scrolled) down.\n- ``drag,start,left`` - Called when the item in the gengrid has\n  been dra""gged (not scrolled) left.\n- ``drag,start,right`` - Called when the item in the gengrid has\n  been dragged (not scrolled) right.\n- ``drag,stop`` - Called when the item in the gengrid has\n  stopped being dragged.\n- ``drag`` - Called when the item in the gengrid is being\n  dragged.\n- ``scroll`` - called when the content has been scrolled\n  (moved).\n- ``scroll,drag,start`` - called when dragging the content has\n  started.\n- ``scroll,drag,stop`` - called when dragging the content has\n  stopped.\n- ``edge,top`` - This is called when the gengrid is scrolled until\n  the top edge.\n- ``edge,bottom`` - This is called when the gengrid is scrolled\n  until the bottom edge.\n- ``edge,left`` - This is called when the gengrid is scrolled\n  until the left edge.\n- ``edge,right`` - This is called when the gengrid is scrolled\n  until the right edge.\n- ``moved`` - This is called when a gengrid item is moved by a user\n  interaction in a reorder mode. The %c event_info parameter is the item that\n  was moved.\n- ``index,update`` - This is called when a gengrid item index is changed.\n  Note that this callback is called while each item is being realized.\n- ``highlighted`` - an item in the list is highlighted. This is called when\n  the user presses an item or keyboard selection is done so the item is\n  physically highlighted. The %c event_info parameter is the item that was\n  highlighted.\n- ``unhighlighted`` - an item in the list is unhighlighted. This is called\n  when the user releases an item or keyboard selection is moved so the item\n  is physically unhighlighted. The %c event_info parameter is the item that\n  was unhighlighted.\n- ``language,changed`` - This is called when the program's language is\n  changed. Call the elm_gengrid_realized_items_update() if items text should\n  be translated.\n- ``focused`` - When the gengrid has received focus. (since 1.8)\n- ``unfocused`` - When the gengrid has lost focus. (since 1.8)\n- ``item,focused`` - When the gengrid i""tem has received focus. (since 1.10)\n- ``item,unfocused`` - When the gengrid item has lost focus. (since 1.10)\n- ``item,reorder,anim,start`` - This is called when a gengrid item movement\n  has just started by keys in reorder mode. The parameter is the item that\n  is going to move. (since 1.10)\n- ``item,reorder,anim,stop`` - This is called when a gengrid item movement just\n  stopped in reorder mode. The parameter is the item that was moved. (since 1.10)\n\n\nEnumerations\n============\n\n.. _Elm_Gengrid_Item_Scrollto_Type:\n\nItems' scroll to types\n----------------------\n\n.. data:: ELM_GENLIST_ITEM_SCROLLTO_NONE\n\n    No scroll to\n\n.. data:: ELM_GENLIST_ITEM_SCROLLTO_IN\n\n    Scroll to the nearest viewport\n\n.. data:: ELM_GENLIST_ITEM_SCROLLTO_TOP\n\n    Scroll to the top of viewport\n\n.. data:: ELM_GENLIST_ITEM_SCROLLTO_MIDDLE\n\n    Scroll to the middle of viewport\n\n\n.. _Elm_Gengrid_Object_Multi_Select_Mode:\n\nMulti-select mode\n-----------------\n\n.. data:: ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT\n\n    Default multiple select mode\n\n    .. versionadded:: 1.10\n\n.. data:: ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL\n\n    Disallow mutiple selection when clicked without control key pressed\n\n    .. versionadded:: 1.10\n\n.. data:: ELM_OBJECT_MULTI_SELECT_MODE_MAX\n\n    Value unknown\n\n    .. versionadded:: 1.10\n\n\n.. _Elm_Gengrid_Reorder_Type:\n\nReorder type\n------------\n\n.. data:: ELM_GENGRID_REORDER_TYPE_NORMAL\n\n    Normal reorder mode\n\n    .. versionadded:: 1.11\n\n.. data:: ELM_GENGRID_REORDER_TYPE_SWAP\n\n    Swap reorder mode\n\n    .. versionadded:: 1.11\n\n\nInheritance diagram\n===================\n\n.. inheritance-diagram:: efl.elementary.gengrid\n    :parts: 2\n\n";
static char __pyx_k_s_x_refcount_d_Elm_Gengrid_Item[] = "<%s(%#x, refcount=%d, Elm_Gengrid_Item_Class=%#x, item_style=%r, text_get_func=%s, content_get_func=%s, state_get_func=%s, del_func=%s)>";
static char __pyx_k_A_gengrid_after_creation_has_sti[] = "A gengrid, after creation, has still no information on the size\n        to give to each of its cells. So, you most probably will end up\n        with squares one :ref:`finger <Fingers>` wide, the default\n        size. Use this property to force a custom size for you items,\n        making them as big as you wish.\n\n        ";
static char __pyx_k_Enable_or_disable_mouse_wheel_to[] = "Enable or disable mouse wheel to be used to scroll the gengrid.\n\n        Mouse wheel can be used for the user to scroll up and down the gengrid.\n\n        It's enabled by default.\n\n        :type: bool\n\n        .. versionadded:: 1.10\n\n        ";
static char __pyx_k_Gengrid_multi_select_mode_ELM_OB[] = "Gengrid multi select mode.\n\n        - ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT : select/unselect items whenever each\n          item is clicked.\n        - ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL : Only one item will be selected\n          although multi-selection is enabled, if clicked without pressing control\n          key. This mode is only available with multi-selection.\n\n        (If getting mode is failed, it returns ELM_OBJECT_MULTI_SELECT_MODE_MAX)\n\n        :see: :py:attr:`multi_select`\n\n        :type: :ref:`Elm_Gengrid_Object_Multi_Select_Mode`\n\n        .. versionadded:: 1.10\n\n        ";
static char __pyx_k_Get_the_first_item_in_the_gengri[] = "Get the first item in the gengrid widget.\n\n        :type: :py:class:`GengridItem`\n\n        ";
static char __pyx_k_Get_the_last_item_in_the_gengrid[] = "Get the last item in the gengrid widget.\n\n        :type: :py:class:`GengridItem`\n\n        ";
static char __pyx_k_If_a_gengrid_is_set_to_allow_reo[] = "If a gengrid is set to allow reordering, a click held for more\n        than 0.5 over a given item will highlight it specially,\n        signaling the gengrid has entered the reordering state. From\n        that time on, the user will be able to, while still holding the\n        mouse button down, move the item freely in the gengrid's\n        viewport, replacing to said item to the locations it goes to.\n        The replacements will be animated and, whenever the user\n        releases the mouse button, the item being replaced gets a new\n        definitive place in the grid.\n\n        :type: bool\n\n        ";
static char __pyx_k_Multi_selection_is_the_ability_t[] = "Multi-selection is the ability to have **more** than one\n        item selected, on a given gengrid, simultaneously. When it is\n        enabled, a sequence of clicks on different items will make them\n        all selected, progressively. A click on an already selected item\n        will unselect it. If interacting via the keyboard,\n        multi-selection is enabled while holding the \"Shift\" key.\n\n        .. note:: By default, multi-selection is **disabled** on gengrids.\n\n        :type: bool\n\n        ";
static char __pyx_k_Return_how_many_items_are_curren[] = "Return how many items are currently in a list.\n\n        :type: int\n\n        ";
static char __pyx_k_Set_a_given_gengrid_widget_s_scr[] = "Set a given gengrid widget's scrolling page size\n\n        :type: (int h_pagesize, int v_pagesize)\n\n        .. versionadded:: 1.10\n\n        ";
static char __pyx_k_The_fill_state_of_the_whole_grid[] = "The fill state of the whole grid of items of a gengrid\n        within its given viewport. By default, this value is False, meaning\n        that if the first line of items grid's isn't filled, the items are\n        centered with the alignment.\n\n        :type: bool\n\n        ";
static char __pyx_k_The_item_could_not_be_added_to_t[] = "The item could not be added to the widget.";
static char __pyx_k_The_selected_state_of_an_item_If[] = "The selected state of an item. If multi-selection is\n        not enabled on the containing gengrid and *selected* is ``True``,\n        any other previously selected items will get unselected in favor of\n        a new one.\n\n        ";
static char __pyx_k_This_returns_a_tuple_of_the_real[] = "This returns a tuple of the realized items in the gengrid.\n\n        .. seealso:: :py:func:`realized_items_update()`\n\n        :type: tuple of :py:class:`GengridItem`\n\n        ";
static char __pyx_k_This_returns_a_tuple_of_the_sele[] = "This returns a tuple of the selected items, in the order that they\n        appear in the grid.\n\n        .. seealso:: :py:attr:`selected_item`\n\n        :type: tuple of :py:class:`GengridItem`\n\n        ";
static char __pyx_k_This_returns_the_item_placed_aft[] = "This returns the item placed after the item, on the container\n        gengrid.\n\n        ";
static char __pyx_k_This_returns_the_item_placed_bef[] = "This returns the item placed before the item, on the container\n        gengrid.\n\n        ";
static char __pyx_k_This_returns_the_selected_item_I[] = "This returns the selected item. If multi selection is enabled\n        (:py:attr:`multi_select`), only the first item in the list is selected,\n        which might not be very useful. For that case, see\n        :py:attr:`selected_items`.\n\n        :type: :py:class:`GengridItem`\n\n        ";
static char __pyx_k_This_sets_the_alignment_of_the_w[] = "This sets the alignment of the whole grid of items of a gengrid\n        within its given viewport. By default, those values are both\n        0.5, meaning that the gengrid will have its items grid placed\n        exactly in the middle of its viewport.\n\n        .. note:: If given alignment values are out of the cited ranges,\n            they'll be changed to the nearest boundary values on the valid\n            ranges.\n\n        :type: tuple of floats\n\n        ";
static char __pyx_k_This_will_turn_on_off_the_highli[] = "This will turn on/off the highlight effect when items are\n        selected and they will or will not be highlighted. The selected and\n        clicked callback functions will still be called.\n\n        Highlight is enabled by default.\n\n        ";
static char __pyx_k_When_in_horizontal_mode_True_ite[] = "When in \"horizontal mode\" (``True),`` items will be placed\n        in **columns**, from top to bottom and, when the space for a\n        column is filled, another one is started on the right, thus\n        expanding the grid horizontally. When in \"vertical mode\"\n        (``False),`` though, items will be placed in **rows**, from left\n        to right and, when the space for a row is filled, another one is\n        started below, thus expanding the grid vertically.\n\n        :type: bool\n\n        ";
static char __pyx_k_You_should_combine_with_Scrollab[] = "You should combine with Scrollable class instead.";
static char __pyx_k_content_get_func_is_not_callable[] = "content_get_func is not callable!";
static char __pyx_k_data_is_NULL_in_Gengrid_select_c[] = "data is NULL in Gengrid select cb";
static char __pyx_k_A_gengrid_after_creation_has_sti_2[] = "A gengrid, after creation, has still no information on the size\n        to give to each of its cells. So, you most probably will end up\n        with squares one \"finger\" wide, the default\n        size. Use this function to force a custom size for you group items,\n        making them as big as you wish.\n\n        ";
static PyObject *__pyx_kp_s_1_8;
static PyObject *__pyx_n_s_AttributeError;
static PyObject *__pyx_n_s_Exception;
static PyObject *__pyx_kp_s_Object_must_be_clean;
static PyObject *__pyx_kp_s_Object_must_wrap_something;
static PyObject *__pyx_n_s_RuntimeError;
static PyObject *__pyx_kp_s_The_item_could_not_be_added_to_t;
static PyObject *__pyx_n_s_TypeError;
static PyObject *__pyx_kp_s_UTF_8;
static PyObject *__pyx_kp_s_You_should_combine_with_Scrollab;
static PyObject *__pyx_n_s_activated;
static PyObject *__pyx_n_s_addr;
static PyObject *__pyx_n_s_after_item;
static PyObject *__pyx_n_s_align_x;
static PyObject *__pyx_n_s_align_y;
static PyObject *__pyx_n_s_append_to;
static PyObject *__pyx_n_s_before_item;
static PyObject *__pyx_n_s_bounce_get;
static PyObject *__pyx_n_s_bounce_set;
static PyObject *__pyx_n_s_callback_add;
static PyObject *__pyx_n_s_callback_add_2;
static PyObject *__pyx_n_s_callback_add_full;
static PyObject *__pyx_n_s_callback_del;
static PyObject *__pyx_n_s_callback_del_full;
static PyObject *__pyx_n_s_cb_object_item_conv;
static PyObject *__pyx_n_s_changed;
static PyObject *__pyx_n_s_clicked;
static PyObject *__pyx_kp_s_clicked_double;
static PyObject *__pyx_kp_s_clicked_right;
static PyObject *__pyx_n_s_compare_func;
static PyObject *__pyx_n_s_comparison_func;
static PyObject *__pyx_n_s_content_get;
static PyObject *__pyx_n_s_content_get_func;
static PyObject *__pyx_kp_s_content_get_func_is_not_callable;
static PyObject *__pyx_kp_s_data_is_NULL_in_Gengrid_select_c;
static PyObject *__pyx_n_s_decode;
static PyObject *__pyx_n_s_del_func;
static PyObject *__pyx_kp_s_del_func_is_not_callable;
static PyObject *__pyx_n_s_delete;
static PyObject *__pyx_n_s_drag;
static PyObject *__pyx_kp_s_drag_start_down;
static PyObject *__pyx_kp_s_drag_start_left;
static PyObject *__pyx_kp_s_drag_start_right;
static PyObject *__pyx_kp_s_drag_start_up;
static PyObject *__pyx_kp_s_drag_stop;
static PyObject *__pyx_kp_s_edge_bottom;
static PyObject *__pyx_kp_s_edge_left;
static PyObject *__pyx_kp_s_edge_right;
static PyObject *__pyx_kp_s_edge_top;
static PyObject *__pyx_n_s_efl_elementary_gengrid;
static PyObject *__pyx_n_s_flags;
static PyObject *__pyx_n_s_focused;
static PyObject *__pyx_n_s_func;
static PyObject *__pyx_n_s_func_data;
static PyObject *__pyx_kp_s_func_is_not_None_or_callable;
static PyObject *__pyx_n_s_gengrid;
static PyObject *__pyx_n_s_h;
static PyObject *__pyx_n_s_highlighted;
static PyObject *__pyx_kp_s_home_dave_e_bindings_python_efl;
static PyObject *__pyx_n_s_import;
static PyObject *__pyx_kp_s_index_update;
static PyObject *__pyx_n_s_insert_before;
static PyObject *__pyx_n_s_it;
static PyObject *__pyx_n_s_item_class;
static PyObject *__pyx_n_s_item_data;
static PyObject *__pyx_kp_s_item_focused;
static PyObject *__pyx_kp_s_item_reorder_anim_start;
static PyObject *__pyx_kp_s_item_reorder_anim_stop;
static PyObject *__pyx_n_s_item_style;
static PyObject *__pyx_n_s_item_to_search_from;
static PyObject *__pyx_kp_s_item_unfocused;
static PyObject *__pyx_kp_s_language_changed;
static PyObject *__pyx_n_s_main;
static PyObject *__pyx_n_s_moved;
static PyObject *__pyx_n_s_name;
static PyObject *__pyx_n_s_obj;
static PyObject *__pyx_n_s_parent;
static PyObject *__pyx_n_s_part;
static PyObject *__pyx_n_s_part_name;
static PyObject *__pyx_n_s_pattern;
static PyObject *__pyx_n_s_policy_h;
static PyObject *__pyx_n_s_policy_v;
static PyObject *__pyx_n_s_prepend_to;
static PyObject *__pyx_n_s_print_exc;
static PyObject *__pyx_n_s_pyx_vtable;
static PyObject *__pyx_n_s_realized;
static PyObject *__pyx_kp_s_s_x_refcount_d_Elm_Gengrid_Item;
static PyObject *__pyx_kp_s_s_x_refcount_d_Elm_Object_Item;
static PyObject *__pyx_n_s_scroll;
static PyObject *__pyx_kp_s_scroll_anim_start;
static PyObject *__pyx_kp_s_scroll_anim_stop;
static PyObject *__pyx_kp_s_scroll_drag_start;
static PyObject *__pyx_kp_s_scroll_drag_stop;
static PyObject *__pyx_n_s_scroller_policy_get;
static PyObject *__pyx_n_s_scroller_policy_set;
static PyObject *__pyx_n_s_scrollto_type;
static PyObject *__pyx_n_s_selected;
static PyObject *__pyx_n_s_state_get;
static PyObject *__pyx_n_s_state_get_func;
static PyObject *__pyx_kp_s_state_get_func_is_not_callable;
static PyObject *__pyx_n_s_test;
static PyObject *__pyx_n_s_text_get;
static PyObject *__pyx_n_s_text_get_func;
static PyObject *__pyx_kp_s_text_get_func_is_not_callable;
static PyObject *__pyx_n_s_traceback;
static PyObject *__pyx_n_s_unfocused;
static PyObject *__pyx_n_s_unhighlighted;
static PyObject *__pyx_n_s_unrealized;
static PyObject *__pyx_n_s_unselected;
static PyObject *__pyx_n_s_v;
static PyObject *__pyx_n_s_w;
static PyObject *__pyx_n_s_widget;
static PyObject *__pyx_n_s_x;
static PyObject *__pyx_n_s_y;
static PyObject *__pyx_k__12;
static PyObject *__pyx_k__13;
static PyObject *__pyx_tuple_;
static PyObject *__pyx_tuple__2;
static PyObject *__pyx_tuple__3;
static PyObject *__pyx_tuple__4;
static PyObject *__pyx_tuple__5;
static PyObject *__pyx_tuple__6;
static PyObject *__pyx_tuple__7;
static PyObject *__pyx_tuple__8;
static PyObject *__pyx_tuple__9;
static PyObject *__pyx_tuple__10;
static PyObject *__pyx_tuple__11;
static PyObject *__pyx_tuple__14;
static PyObject *__pyx_tuple__16;
static PyObject *__pyx_tuple__17;
static PyObject *__pyx_tuple__18;
static PyObject *__pyx_tuple__19;
static PyObject *__pyx_codeobj__15;

/* "efl/elementary/gengrid.pyx":365
 * 
 * 
 * def _cb_object_item_conv(uintptr_t addr):             # <<<<<<<<<<<<<<
 *     cdef Elm_Object_Item *it = <Elm_Object_Item *>addr
 *     return _object_item_to_python(it)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_1_cb_object_item_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid__cb_object_item_conv[] = "_cb_object_item_conv(uintptr_t addr)";
static PyMethodDef __pyx_mdef_3efl_10elementary_7gengrid_1_cb_object_item_conv = {"_cb_object_item_conv", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_1_cb_object_item_conv, METH_O, __pyx_doc_3efl_10elementary_7gengrid__cb_object_item_conv};
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_1_cb_object_item_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr) {
  uintptr_t __pyx_v_addr;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("_cb_object_item_conv (wrapper)", 0);
  assert(__pyx_arg_addr); {
    __pyx_v_addr = __Pyx_PyInt_As_size_t(__pyx_arg_addr); if (unlikely((__pyx_v_addr == (uintptr_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid._cb_object_item_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid__cb_object_item_conv(__pyx_self, ((uintptr_t)__pyx_v_addr));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid__cb_object_item_conv(CYTHON_UNUSED PyObject *__pyx_self, uintptr_t __pyx_v_addr) {
  Elm_Object_Item *__pyx_v_it;
  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("_cb_object_item_conv", 0);

  /* "efl/elementary/gengrid.pyx":366
 * 
 * def _cb_object_item_conv(uintptr_t addr):
 *     cdef Elm_Object_Item *it = <Elm_Object_Item *>addr             # <<<<<<<<<<<<<<
 *     return _object_item_to_python(it)
 * 
 */
  __pyx_v_it = ((Elm_Object_Item *)__pyx_v_addr);

  /* "efl/elementary/gengrid.pyx":367
 * def _cb_object_item_conv(uintptr_t addr):
 *     cdef Elm_Object_Item *it = <Elm_Object_Item *>addr
 *     return _object_item_to_python(it)             # <<<<<<<<<<<<<<
 * 
 * cdef char *_py_elm_gengrid_item_text_get(void *data, Evas_Object *obj, const char *part) with gil:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(__pyx_v_it); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; __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/gengrid.pyx":365
 * 
 * 
 * def _cb_object_item_conv(uintptr_t addr):             # <<<<<<<<<<<<<<
 *     cdef Elm_Object_Item *it = <Elm_Object_Item *>addr
 *     return _object_item_to_python(it)
 */

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

/* "efl/elementary/gengrid.pyx":369
 *     return _object_item_to_python(it)
 * 
 * cdef char *_py_elm_gengrid_item_text_get(void *data, Evas_Object *obj, const char *part) with gil:             # <<<<<<<<<<<<<<
 *     cdef:
 *         GengridItem item = <GengridItem>data
 */

static char *__pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_text_get(void *__pyx_v_data, Evas_Object *__pyx_v_obj, char const *__pyx_v_part) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_item = 0;
  PyObject *__pyx_v_u = 0;
  PyObject *__pyx_v_func = NULL;
  PyObject *__pyx_v_o = NULL;
  PyObject *__pyx_v_ret = NULL;
  char *__pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  Py_ssize_t __pyx_t_9;
  PyObject *__pyx_t_10 = NULL;
  int __pyx_t_11;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  char const *__pyx_t_14;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  #ifdef WITH_THREAD
  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
  #endif
  __Pyx_RefNannySetupContext("_py_elm_gengrid_item_text_get", 0);

  /* "efl/elementary/gengrid.pyx":371
 * cdef char *_py_elm_gengrid_item_text_get(void *data, Evas_Object *obj, const char *part) with gil:
 *     cdef:
 *         GengridItem item = <GengridItem>data             # <<<<<<<<<<<<<<
 *         unicode u = _ctouni(part)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_v_data);
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_item = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":372
 *     cdef:
 *         GengridItem item = <GengridItem>data
 *         unicode u = _ctouni(part)             # <<<<<<<<<<<<<<
 * 
 *     func = item.item_class._text_get_func
 */
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions__ctouni(__pyx_v_part); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_u = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":374
 *         unicode u = _ctouni(part)
 * 
 *     func = item.item_class._text_get_func             # <<<<<<<<<<<<<<
 *     if func is None:
 *         return NULL
 */
  __pyx_t_1 = __pyx_v_item->item_class->_text_get_func;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_func = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":375
 * 
 *     func = item.item_class._text_get_func
 *     if func is None:             # <<<<<<<<<<<<<<
 *         return NULL
 * 
 */
  __pyx_t_2 = (__pyx_v_func == Py_None);
  __pyx_t_3 = (__pyx_t_2 != 0);
  if (__pyx_t_3) {

    /* "efl/elementary/gengrid.pyx":376
 *     func = item.item_class._text_get_func
 *     if func is None:
 *         return NULL             # <<<<<<<<<<<<<<
 * 
 *     try:
 */
    __pyx_r = NULL;
    goto __pyx_L0;
  }

  /* "efl/elementary/gengrid.pyx":378
 *         return NULL
 * 
 *     try:             # <<<<<<<<<<<<<<
 *         o = object_from_instance(obj)
 *         ret = func(o, u, item.item_data)
 */
  {
    __Pyx_ExceptionSave(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6);
    __Pyx_XGOTREF(__pyx_t_4);
    __Pyx_XGOTREF(__pyx_t_5);
    __Pyx_XGOTREF(__pyx_t_6);
    /*try:*/ {

      /* "efl/elementary/gengrid.pyx":379
 * 
 *     try:
 *         o = object_from_instance(obj)             # <<<<<<<<<<<<<<
 *         ret = func(o, u, item.item_data)
 *     except Exception:
 */
      __pyx_t_1 = __pyx_f_3efl_2eo_object_from_instance(__pyx_v_obj); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 379; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __pyx_v_o = __pyx_t_1;
      __pyx_t_1 = 0;

      /* "efl/elementary/gengrid.pyx":380
 *     try:
 *         o = object_from_instance(obj)
 *         ret = func(o, u, item.item_data)             # <<<<<<<<<<<<<<
 *     except Exception:
 *         traceback.print_exc()
 */
      __Pyx_INCREF(__pyx_v_func);
      __pyx_t_7 = __pyx_v_func; __pyx_t_8 = NULL;
      __pyx_t_9 = 0;
      if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_7))) {
        __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_7);
        if (likely(__pyx_t_8)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7);
          __Pyx_INCREF(__pyx_t_8);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_7, function);
          __pyx_t_9 = 1;
        }
      }
      __pyx_t_10 = PyTuple_New(3+__pyx_t_9); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
      __Pyx_GOTREF(__pyx_t_10);
      if (__pyx_t_8) {
        PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_8); __Pyx_GIVEREF(__pyx_t_8); __pyx_t_8 = NULL;
      }
      __Pyx_INCREF(__pyx_v_o);
      PyTuple_SET_ITEM(__pyx_t_10, 0+__pyx_t_9, __pyx_v_o);
      __Pyx_GIVEREF(__pyx_v_o);
      __Pyx_INCREF(__pyx_v_u);
      PyTuple_SET_ITEM(__pyx_t_10, 1+__pyx_t_9, __pyx_v_u);
      __Pyx_GIVEREF(__pyx_v_u);
      __Pyx_INCREF(__pyx_v_item->item_data);
      PyTuple_SET_ITEM(__pyx_t_10, 2+__pyx_t_9, __pyx_v_item->item_data);
      __Pyx_GIVEREF(__pyx_v_item->item_data);
      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_10, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      __pyx_v_ret = __pyx_t_1;
      __pyx_t_1 = 0;
    }
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
    goto __pyx_L11_try_end;
    __pyx_L4_error:;
    __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
    __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "efl/elementary/gengrid.pyx":381
 *         o = object_from_instance(obj)
 *         ret = func(o, u, item.item_data)
 *     except Exception:             # <<<<<<<<<<<<<<
 *         traceback.print_exc()
 *         return NULL
 */
    __pyx_t_11 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
    if (__pyx_t_11) {
      __Pyx_AddTraceback("efl.elementary.gengrid._py_elm_gengrid_item_text_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_7, &__pyx_t_10) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_GOTREF(__pyx_t_10);

      /* "efl/elementary/gengrid.pyx":382
 *         ret = func(o, u, item.item_data)
 *     except Exception:
 *         traceback.print_exc()             # <<<<<<<<<<<<<<
 *         return NULL
 * 
 */
      __pyx_t_12 = __Pyx_GetModuleGlobalName(__pyx_n_s_traceback); if (unlikely(!__pyx_t_12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
      __Pyx_GOTREF(__pyx_t_12);
      __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_print_exc); if (unlikely(!__pyx_t_13)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
      __Pyx_GOTREF(__pyx_t_13);
      __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
      __pyx_t_12 = NULL;
      if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_13))) {
        __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_13);
        if (likely(__pyx_t_12)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_13);
          __Pyx_INCREF(__pyx_t_12);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_13, function);
        }
      }
      if (__pyx_t_12) {
        __pyx_t_8 = __Pyx_PyObject_CallOneArg(__pyx_t_13, __pyx_t_12); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
        __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
      } else {
        __pyx_t_8 = __Pyx_PyObject_CallNoArg(__pyx_t_13); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
      }
      __Pyx_GOTREF(__pyx_t_8);
      __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;

      /* "efl/elementary/gengrid.pyx":383
 *     except Exception:
 *         traceback.print_exc()
 *         return NULL             # <<<<<<<<<<<<<<
 * 
 *     if ret is not None:
 */
      __pyx_r = NULL;
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
      goto __pyx_L7_except_return;
    }
    goto __pyx_L6_except_error;
    __pyx_L6_except_error:;
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_XGIVEREF(__pyx_t_5);
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
    goto __pyx_L1_error;
    __pyx_L7_except_return:;
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_XGIVEREF(__pyx_t_5);
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
    goto __pyx_L0;
    __pyx_L11_try_end:;
  }

  /* "efl/elementary/gengrid.pyx":385
 *         return NULL
 * 
 *     if ret is not None:             # <<<<<<<<<<<<<<
 *         if isinstance(ret, unicode): ret = PyUnicode_AsUTF8String(ret)
 *         return strdup(ret)
 */
  __pyx_t_3 = (__pyx_v_ret != Py_None);
  __pyx_t_2 = (__pyx_t_3 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid.pyx":386
 * 
 *     if ret is not None:
 *         if isinstance(ret, unicode): ret = PyUnicode_AsUTF8String(ret)             # <<<<<<<<<<<<<<
 *         return strdup(ret)
 *     else:
 */
    __pyx_t_2 = PyUnicode_Check(__pyx_v_ret); 
    __pyx_t_3 = (__pyx_t_2 != 0);
    if (__pyx_t_3) {
      __pyx_t_10 = PyUnicode_AsUTF8String(__pyx_v_ret); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_10);
      __Pyx_DECREF_SET(__pyx_v_ret, __pyx_t_10);
      __pyx_t_10 = 0;
      goto __pyx_L15;
    }
    __pyx_L15:;

    /* "efl/elementary/gengrid.pyx":387
 *     if ret is not None:
 *         if isinstance(ret, unicode): ret = PyUnicode_AsUTF8String(ret)
 *         return strdup(ret)             # <<<<<<<<<<<<<<
 *     else:
 *         return NULL
 */
    __pyx_t_14 = __Pyx_PyObject_AsString(__pyx_v_ret); if (unlikely((!__pyx_t_14) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_r = strdup(__pyx_t_14);
    goto __pyx_L0;
  }
  /*else*/ {

    /* "efl/elementary/gengrid.pyx":389
 *         return strdup(ret)
 *     else:
 *         return NULL             # <<<<<<<<<<<<<<
 * 
 * cdef Evas_Object *_py_elm_gengrid_item_content_get(void *data, Evas_Object *obj, const char *part) with gil:
 */
    __pyx_r = NULL;
    goto __pyx_L0;
  }

  /* "efl/elementary/gengrid.pyx":369
 *     return _object_item_to_python(it)
 * 
 * cdef char *_py_elm_gengrid_item_text_get(void *data, Evas_Object *obj, const char *part) with gil:             # <<<<<<<<<<<<<<
 *     cdef:
 *         GengridItem item = <GengridItem>data
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_WriteUnraisable("efl.elementary.gengrid._py_elm_gengrid_item_text_get", __pyx_clineno, __pyx_lineno, __pyx_filename, 0);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_item);
  __Pyx_XDECREF(__pyx_v_u);
  __Pyx_XDECREF(__pyx_v_func);
  __Pyx_XDECREF(__pyx_v_o);
  __Pyx_XDECREF(__pyx_v_ret);
  __Pyx_RefNannyFinishContext();
  #ifdef WITH_THREAD
  PyGILState_Release(__pyx_gilstate_save);
  #endif
  return __pyx_r;
}

/* "efl/elementary/gengrid.pyx":391
 *         return NULL
 * 
 * cdef Evas_Object *_py_elm_gengrid_item_content_get(void *data, Evas_Object *obj, const char *part) with gil:             # <<<<<<<<<<<<<<
 *     cdef:
 *         GengridItem item = <GengridItem>data
 */

static Evas_Object *__pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_content_get(void *__pyx_v_data, Evas_Object *__pyx_v_obj, char const *__pyx_v_part) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_item = 0;
  PyObject *__pyx_v_u = 0;
  struct __pyx_obj_3efl_4evas_Object *__pyx_v_icon = 0;
  PyObject *__pyx_v_func = NULL;
  PyObject *__pyx_v_o = NULL;
  Evas_Object *__pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  Py_ssize_t __pyx_t_9;
  PyObject *__pyx_t_10 = NULL;
  int __pyx_t_11;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  #ifdef WITH_THREAD
  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
  #endif
  __Pyx_RefNannySetupContext("_py_elm_gengrid_item_content_get", 0);

  /* "efl/elementary/gengrid.pyx":393
 * cdef Evas_Object *_py_elm_gengrid_item_content_get(void *data, Evas_Object *obj, const char *part) with gil:
 *     cdef:
 *         GengridItem item = <GengridItem>data             # <<<<<<<<<<<<<<
 *         unicode u = _ctouni(part)
 *         evasObject icon
 */
  __pyx_t_1 = ((PyObject *)__pyx_v_data);
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_item = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":394
 *     cdef:
 *         GengridItem item = <GengridItem>data
 *         unicode u = _ctouni(part)             # <<<<<<<<<<<<<<
 *         evasObject icon
 * 
 */
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions__ctouni(__pyx_v_part); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_u = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":397
 *         evasObject icon
 * 
 *     func = item.item_class._content_get_func             # <<<<<<<<<<<<<<
 *     if func is None:
 *         return NULL
 */
  __pyx_t_1 = __pyx_v_item->item_class->_content_get_func;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_func = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":398
 * 
 *     func = item.item_class._content_get_func
 *     if func is None:             # <<<<<<<<<<<<<<
 *         return NULL
 * 
 */
  __pyx_t_2 = (__pyx_v_func == Py_None);
  __pyx_t_3 = (__pyx_t_2 != 0);
  if (__pyx_t_3) {

    /* "efl/elementary/gengrid.pyx":399
 *     func = item.item_class._content_get_func
 *     if func is None:
 *         return NULL             # <<<<<<<<<<<<<<
 * 
 *     o = object_from_instance(obj)
 */
    __pyx_r = NULL;
    goto __pyx_L0;
  }

  /* "efl/elementary/gengrid.pyx":401
 *         return NULL
 * 
 *     o = object_from_instance(obj)             # <<<<<<<<<<<<<<
 * 
 *     try:
 */
  __pyx_t_1 = __pyx_f_3efl_2eo_object_from_instance(__pyx_v_obj); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_o = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":403
 *     o = object_from_instance(obj)
 * 
 *     try:             # <<<<<<<<<<<<<<
 *         icon = func(o, u, item.item_data)
 *     except Exception:
 */
  {
    __Pyx_ExceptionSave(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6);
    __Pyx_XGOTREF(__pyx_t_4);
    __Pyx_XGOTREF(__pyx_t_5);
    __Pyx_XGOTREF(__pyx_t_6);
    /*try:*/ {

      /* "efl/elementary/gengrid.pyx":404
 * 
 *     try:
 *         icon = func(o, u, item.item_data)             # <<<<<<<<<<<<<<
 *     except Exception:
 *         traceback.print_exc()
 */
      __Pyx_INCREF(__pyx_v_func);
      __pyx_t_7 = __pyx_v_func; __pyx_t_8 = NULL;
      __pyx_t_9 = 0;
      if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_7))) {
        __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_7);
        if (likely(__pyx_t_8)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7);
          __Pyx_INCREF(__pyx_t_8);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_7, function);
          __pyx_t_9 = 1;
        }
      }
      __pyx_t_10 = PyTuple_New(3+__pyx_t_9); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
      __Pyx_GOTREF(__pyx_t_10);
      if (__pyx_t_8) {
        PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_8); __Pyx_GIVEREF(__pyx_t_8); __pyx_t_8 = NULL;
      }
      __Pyx_INCREF(__pyx_v_o);
      PyTuple_SET_ITEM(__pyx_t_10, 0+__pyx_t_9, __pyx_v_o);
      __Pyx_GIVEREF(__pyx_v_o);
      __Pyx_INCREF(__pyx_v_u);
      PyTuple_SET_ITEM(__pyx_t_10, 1+__pyx_t_9, __pyx_v_u);
      __Pyx_GIVEREF(__pyx_v_u);
      __Pyx_INCREF(__pyx_v_item->item_data);
      PyTuple_SET_ITEM(__pyx_t_10, 2+__pyx_t_9, __pyx_v_item->item_data);
      __Pyx_GIVEREF(__pyx_v_item->item_data);
      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_10, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_3efl_4evas_Object))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
      __pyx_v_icon = ((struct __pyx_obj_3efl_4evas_Object *)__pyx_t_1);
      __pyx_t_1 = 0;
    }
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
    goto __pyx_L11_try_end;
    __pyx_L4_error:;
    __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
    __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "efl/elementary/gengrid.pyx":405
 *     try:
 *         icon = func(o, u, item.item_data)
 *     except Exception:             # <<<<<<<<<<<<<<
 *         traceback.print_exc()
 *         return NULL
 */
    __pyx_t_11 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
    if (__pyx_t_11) {
      __Pyx_AddTraceback("efl.elementary.gengrid._py_elm_gengrid_item_content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_7, &__pyx_t_10) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_GOTREF(__pyx_t_10);

      /* "efl/elementary/gengrid.pyx":406
 *         icon = func(o, u, item.item_data)
 *     except Exception:
 *         traceback.print_exc()             # <<<<<<<<<<<<<<
 *         return NULL
 * 
 */
      __pyx_t_12 = __Pyx_GetModuleGlobalName(__pyx_n_s_traceback); if (unlikely(!__pyx_t_12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
      __Pyx_GOTREF(__pyx_t_12);
      __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_print_exc); if (unlikely(!__pyx_t_13)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
      __Pyx_GOTREF(__pyx_t_13);
      __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
      __pyx_t_12 = NULL;
      if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_13))) {
        __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_13);
        if (likely(__pyx_t_12)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_13);
          __Pyx_INCREF(__pyx_t_12);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_13, function);
        }
      }
      if (__pyx_t_12) {
        __pyx_t_8 = __Pyx_PyObject_CallOneArg(__pyx_t_13, __pyx_t_12); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
        __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
      } else {
        __pyx_t_8 = __Pyx_PyObject_CallNoArg(__pyx_t_13); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
      }
      __Pyx_GOTREF(__pyx_t_8);
      __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;

      /* "efl/elementary/gengrid.pyx":407
 *     except Exception:
 *         traceback.print_exc()
 *         return NULL             # <<<<<<<<<<<<<<
 * 
 *     if icon is not None:
 */
      __pyx_r = NULL;
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
      goto __pyx_L7_except_return;
    }
    goto __pyx_L6_except_error;
    __pyx_L6_except_error:;
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_XGIVEREF(__pyx_t_5);
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
    goto __pyx_L1_error;
    __pyx_L7_except_return:;
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_XGIVEREF(__pyx_t_5);
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
    goto __pyx_L0;
    __pyx_L11_try_end:;
  }

  /* "efl/elementary/gengrid.pyx":409
 *         return NULL
 * 
 *     if icon is not None:             # <<<<<<<<<<<<<<
 *         return icon.obj
 *     else:
 */
  __pyx_t_3 = (((PyObject *)__pyx_v_icon) != Py_None);
  __pyx_t_2 = (__pyx_t_3 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid.pyx":410
 * 
 *     if icon is not None:
 *         return icon.obj             # <<<<<<<<<<<<<<
 *     else:
 *         return NULL
 */
    __pyx_r = __pyx_v_icon->__pyx_base.obj;
    goto __pyx_L0;
  }
  /*else*/ {

    /* "efl/elementary/gengrid.pyx":412
 *         return icon.obj
 *     else:
 *         return NULL             # <<<<<<<<<<<<<<
 * 
 * cdef Eina_Bool _py_elm_gengrid_item_state_get(void *data, Evas_Object *obj, const char *part) with gil:
 */
    __pyx_r = NULL;
    goto __pyx_L0;
  }

  /* "efl/elementary/gengrid.pyx":391
 *         return NULL
 * 
 * cdef Evas_Object *_py_elm_gengrid_item_content_get(void *data, Evas_Object *obj, const char *part) with gil:             # <<<<<<<<<<<<<<
 *     cdef:
 *         GengridItem item = <GengridItem>data
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_WriteUnraisable("efl.elementary.gengrid._py_elm_gengrid_item_content_get", __pyx_clineno, __pyx_lineno, __pyx_filename, 0);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_item);
  __Pyx_XDECREF(__pyx_v_u);
  __Pyx_XDECREF((PyObject *)__pyx_v_icon);
  __Pyx_XDECREF(__pyx_v_func);
  __Pyx_XDECREF(__pyx_v_o);
  __Pyx_RefNannyFinishContext();
  #ifdef WITH_THREAD
  PyGILState_Release(__pyx_gilstate_save);
  #endif
  return __pyx_r;
}

/* "efl/elementary/gengrid.pyx":414
 *         return NULL
 * 
 * cdef Eina_Bool _py_elm_gengrid_item_state_get(void *data, Evas_Object *obj, const char *part) with gil:             # <<<<<<<<<<<<<<
 *     cdef:
 *         GengridItem item = <GengridItem>data
 */

static Eina_Bool __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_state_get(void *__pyx_v_data, Evas_Object *__pyx_v_obj, char const *__pyx_v_part) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_item = 0;
  CYTHON_UNUSED PyObject *__pyx_v_u = 0;
  PyObject *__pyx_v_func = NULL;
  PyObject *__pyx_v_o = NULL;
  PyObject *__pyx_v_ret = NULL;
  Eina_Bool __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  Py_ssize_t __pyx_t_10;
  PyObject *__pyx_t_11 = NULL;
  int __pyx_t_12;
  PyObject *__pyx_t_13 = NULL;
  Eina_Bool __pyx_t_14;
  Eina_Bool __pyx_t_15;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  #ifdef WITH_THREAD
  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
  #endif
  __Pyx_RefNannySetupContext("_py_elm_gengrid_item_state_get", 0);

  /* "efl/elementary/gengrid.pyx":416
 * cdef Eina_Bool _py_elm_gengrid_item_state_get(void *data, Evas_Object *obj, const char *part) with gil:
 *     cdef:
 *         GengridItem item = <GengridItem>data             # <<<<<<<<<<<<<<
 *         unicode u = _ctouni(part)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_v_data);
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_item = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":417
 *     cdef:
 *         GengridItem item = <GengridItem>data
 *         unicode u = _ctouni(part)             # <<<<<<<<<<<<<<
 * 
 *     func = item.item_class._state_get_func
 */
  __pyx_t_1 = __pyx_f_3efl_5utils_11conversions__ctouni(__pyx_v_part); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_u = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":419
 *         unicode u = _ctouni(part)
 * 
 *     func = item.item_class._state_get_func             # <<<<<<<<<<<<<<
 *     if func is None:
 *         return 0
 */
  __pyx_t_1 = __pyx_v_item->item_class->_state_get_func;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_func = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":420
 * 
 *     func = item.item_class._state_get_func
 *     if func is None:             # <<<<<<<<<<<<<<
 *         return 0
 * 
 */
  __pyx_t_2 = (__pyx_v_func == Py_None);
  __pyx_t_3 = (__pyx_t_2 != 0);
  if (__pyx_t_3) {

    /* "efl/elementary/gengrid.pyx":421
 *     func = item.item_class._state_get_func
 *     if func is None:
 *         return 0             # <<<<<<<<<<<<<<
 * 
 *     try:
 */
    __pyx_r = 0;
    goto __pyx_L0;
  }

  /* "efl/elementary/gengrid.pyx":423
 *         return 0
 * 
 *     try:             # <<<<<<<<<<<<<<
 *         o = object_from_instance(obj)
 *         ret = func(o, part, item.item_data)
 */
  {
    __Pyx_ExceptionSave(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6);
    __Pyx_XGOTREF(__pyx_t_4);
    __Pyx_XGOTREF(__pyx_t_5);
    __Pyx_XGOTREF(__pyx_t_6);
    /*try:*/ {

      /* "efl/elementary/gengrid.pyx":424
 * 
 *     try:
 *         o = object_from_instance(obj)             # <<<<<<<<<<<<<<
 *         ret = func(o, part, item.item_data)
 *     except Exception:
 */
      __pyx_t_1 = __pyx_f_3efl_2eo_object_from_instance(__pyx_v_obj); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __pyx_v_o = __pyx_t_1;
      __pyx_t_1 = 0;

      /* "efl/elementary/gengrid.pyx":425
 *     try:
 *         o = object_from_instance(obj)
 *         ret = func(o, part, item.item_data)             # <<<<<<<<<<<<<<
 *     except Exception:
 *         traceback.print_exc()
 */
      __pyx_t_7 = __Pyx_PyBytes_FromString(__pyx_v_part); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_INCREF(__pyx_v_func);
      __pyx_t_8 = __pyx_v_func; __pyx_t_9 = NULL;
      __pyx_t_10 = 0;
      if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_8))) {
        __pyx_t_9 = PyMethod_GET_SELF(__pyx_t_8);
        if (likely(__pyx_t_9)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_8);
          __Pyx_INCREF(__pyx_t_9);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_8, function);
          __pyx_t_10 = 1;
        }
      }
      __pyx_t_11 = PyTuple_New(3+__pyx_t_10); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
      __Pyx_GOTREF(__pyx_t_11);
      if (__pyx_t_9) {
        PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_9); __Pyx_GIVEREF(__pyx_t_9); __pyx_t_9 = NULL;
      }
      __Pyx_INCREF(__pyx_v_o);
      PyTuple_SET_ITEM(__pyx_t_11, 0+__pyx_t_10, __pyx_v_o);
      __Pyx_GIVEREF(__pyx_v_o);
      PyTuple_SET_ITEM(__pyx_t_11, 1+__pyx_t_10, __pyx_t_7);
      __Pyx_GIVEREF(__pyx_t_7);
      __Pyx_INCREF(__pyx_v_item->item_data);
      PyTuple_SET_ITEM(__pyx_t_11, 2+__pyx_t_10, __pyx_v_item->item_data);
      __Pyx_GIVEREF(__pyx_v_item->item_data);
      __pyx_t_7 = 0;
      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_8, __pyx_t_11, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
      __pyx_v_ret = __pyx_t_1;
      __pyx_t_1 = 0;
    }
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
    goto __pyx_L11_try_end;
    __pyx_L4_error:;
    __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
    __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "efl/elementary/gengrid.pyx":426
 *         o = object_from_instance(obj)
 *         ret = func(o, part, item.item_data)
 *     except Exception:             # <<<<<<<<<<<<<<
 *         traceback.print_exc()
 *         return 0
 */
    __pyx_t_12 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
    if (__pyx_t_12) {
      __Pyx_AddTraceback("efl.elementary.gengrid._py_elm_gengrid_item_state_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_8, &__pyx_t_11) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_GOTREF(__pyx_t_8);
      __Pyx_GOTREF(__pyx_t_11);

      /* "efl/elementary/gengrid.pyx":427
 *         ret = func(o, part, item.item_data)
 *     except Exception:
 *         traceback.print_exc()             # <<<<<<<<<<<<<<
 *         return 0
 * 
 */
      __pyx_t_9 = __Pyx_GetModuleGlobalName(__pyx_n_s_traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 427; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
      __Pyx_GOTREF(__pyx_t_9);
      __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_print_exc); if (unlikely(!__pyx_t_13)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 427; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
      __Pyx_GOTREF(__pyx_t_13);
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      __pyx_t_9 = NULL;
      if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_13))) {
        __pyx_t_9 = PyMethod_GET_SELF(__pyx_t_13);
        if (likely(__pyx_t_9)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_13);
          __Pyx_INCREF(__pyx_t_9);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_13, function);
        }
      }
      if (__pyx_t_9) {
        __pyx_t_7 = __Pyx_PyObject_CallOneArg(__pyx_t_13, __pyx_t_9); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 427; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      } else {
        __pyx_t_7 = __Pyx_PyObject_CallNoArg(__pyx_t_13); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 427; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
      }
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;

      /* "efl/elementary/gengrid.pyx":428
 *     except Exception:
 *         traceback.print_exc()
 *         return 0             # <<<<<<<<<<<<<<
 * 
 *     return ret if ret is not None else 0
 */
      __pyx_r = 0;
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
      __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
      goto __pyx_L7_except_return;
    }
    goto __pyx_L6_except_error;
    __pyx_L6_except_error:;
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_XGIVEREF(__pyx_t_5);
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
    goto __pyx_L1_error;
    __pyx_L7_except_return:;
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_XGIVEREF(__pyx_t_5);
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
    goto __pyx_L0;
    __pyx_L11_try_end:;
  }

  /* "efl/elementary/gengrid.pyx":430
 *         return 0
 * 
 *     return ret if ret is not None else 0             # <<<<<<<<<<<<<<
 * 
 * cdef void _py_elm_gengrid_object_item_del(void *data, Evas_Object *obj) with gil:
 */
  __pyx_t_3 = (__pyx_v_ret != Py_None);
  if ((__pyx_t_3 != 0)) {
    __pyx_t_15 = __Pyx_PyInt_As_Eina_Bool(__pyx_v_ret); if (unlikely((__pyx_t_15 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 430; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_14 = __pyx_t_15;
  } else {
    __pyx_t_14 = 0;
  }
  __pyx_r = __pyx_t_14;
  goto __pyx_L0;

  /* "efl/elementary/gengrid.pyx":414
 *         return NULL
 * 
 * cdef Eina_Bool _py_elm_gengrid_item_state_get(void *data, Evas_Object *obj, const char *part) with gil:             # <<<<<<<<<<<<<<
 *     cdef:
 *         GengridItem item = <GengridItem>data
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_XDECREF(__pyx_t_11);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_WriteUnraisable("efl.elementary.gengrid._py_elm_gengrid_item_state_get", __pyx_clineno, __pyx_lineno, __pyx_filename, 0);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_item);
  __Pyx_XDECREF(__pyx_v_u);
  __Pyx_XDECREF(__pyx_v_func);
  __Pyx_XDECREF(__pyx_v_o);
  __Pyx_XDECREF(__pyx_v_ret);
  __Pyx_RefNannyFinishContext();
  #ifdef WITH_THREAD
  PyGILState_Release(__pyx_gilstate_save);
  #endif
  return __pyx_r;
}

/* "efl/elementary/gengrid.pyx":432
 *     return ret if ret is not None else 0
 * 
 * cdef void _py_elm_gengrid_object_item_del(void *data, Evas_Object *obj) with gil:             # <<<<<<<<<<<<<<
 *     cdef GengridItem item = <GengridItem>data
 * 
 */

static void __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_object_item_del(void *__pyx_v_data, Evas_Object *__pyx_v_obj) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_item = 0;
  PyObject *__pyx_v_func = NULL;
  PyObject *__pyx_v_o = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  Py_ssize_t __pyx_t_9;
  PyObject *__pyx_t_10 = NULL;
  int __pyx_t_11;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  #ifdef WITH_THREAD
  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
  #endif
  __Pyx_RefNannySetupContext("_py_elm_gengrid_object_item_del", 0);

  /* "efl/elementary/gengrid.pyx":433
 * 
 * cdef void _py_elm_gengrid_object_item_del(void *data, Evas_Object *obj) with gil:
 *     cdef GengridItem item = <GengridItem>data             # <<<<<<<<<<<<<<
 * 
 *     if item is None:
 */
  __pyx_t_1 = ((PyObject *)__pyx_v_data);
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_item = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":435
 *     cdef GengridItem item = <GengridItem>data
 * 
 *     if item is None:             # <<<<<<<<<<<<<<
 *         return
 * 
 */
  __pyx_t_2 = (((PyObject *)__pyx_v_item) == Py_None);
  __pyx_t_3 = (__pyx_t_2 != 0);
  if (__pyx_t_3) {

    /* "efl/elementary/gengrid.pyx":436
 * 
 *     if item is None:
 *         return             # <<<<<<<<<<<<<<
 * 
 *     func = item.item_class._del_func
 */
    goto __pyx_L0;
  }

  /* "efl/elementary/gengrid.pyx":438
 *         return
 * 
 *     func = item.item_class._del_func             # <<<<<<<<<<<<<<
 * 
 *     if func is not None:
 */
  __pyx_t_1 = __pyx_v_item->item_class->_del_func;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_func = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":440
 *     func = item.item_class._del_func
 * 
 *     if func is not None:             # <<<<<<<<<<<<<<
 *         try:
 *             o = object_from_instance(obj)
 */
  __pyx_t_3 = (__pyx_v_func != Py_None);
  __pyx_t_2 = (__pyx_t_3 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid.pyx":441
 * 
 *     if func is not None:
 *         try:             # <<<<<<<<<<<<<<
 *             o = object_from_instance(obj)
 *             func(o, item.item_data)
 */
    {
      __Pyx_ExceptionSave(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6);
      __Pyx_XGOTREF(__pyx_t_4);
      __Pyx_XGOTREF(__pyx_t_5);
      __Pyx_XGOTREF(__pyx_t_6);
      /*try:*/ {

        /* "efl/elementary/gengrid.pyx":442
 *     if func is not None:
 *         try:
 *             o = object_from_instance(obj)             # <<<<<<<<<<<<<<
 *             func(o, item.item_data)
 *         except Exception:
 */
        __pyx_t_1 = __pyx_f_3efl_2eo_object_from_instance(__pyx_v_obj); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
        __Pyx_GOTREF(__pyx_t_1);
        __pyx_v_o = __pyx_t_1;
        __pyx_t_1 = 0;

        /* "efl/elementary/gengrid.pyx":443
 *         try:
 *             o = object_from_instance(obj)
 *             func(o, item.item_data)             # <<<<<<<<<<<<<<
 *         except Exception:
 *             traceback.print_exc()
 */
        __Pyx_INCREF(__pyx_v_func);
        __pyx_t_7 = __pyx_v_func; __pyx_t_8 = NULL;
        __pyx_t_9 = 0;
        if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_7))) {
          __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_7);
          if (likely(__pyx_t_8)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7);
            __Pyx_INCREF(__pyx_t_8);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_7, function);
            __pyx_t_9 = 1;
          }
        }
        __pyx_t_10 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
        __Pyx_GOTREF(__pyx_t_10);
        if (__pyx_t_8) {
          PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_8); __Pyx_GIVEREF(__pyx_t_8); __pyx_t_8 = NULL;
        }
        __Pyx_INCREF(__pyx_v_o);
        PyTuple_SET_ITEM(__pyx_t_10, 0+__pyx_t_9, __pyx_v_o);
        __Pyx_GIVEREF(__pyx_v_o);
        __Pyx_INCREF(__pyx_v_item->item_data);
        PyTuple_SET_ITEM(__pyx_t_10, 1+__pyx_t_9, __pyx_v_item->item_data);
        __Pyx_GIVEREF(__pyx_v_item->item_data);
        __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_10, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
        __Pyx_GOTREF(__pyx_t_1);
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      }
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      goto __pyx_L12_try_end;
      __pyx_L5_error:;
      __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
      __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;

      /* "efl/elementary/gengrid.pyx":444
 *             o = object_from_instance(obj)
 *             func(o, item.item_data)
 *         except Exception:             # <<<<<<<<<<<<<<
 *             traceback.print_exc()
 * 
 */
      __pyx_t_11 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
      if (__pyx_t_11) {
        __Pyx_AddTraceback("efl.elementary.gengrid._py_elm_gengrid_object_item_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
        if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_7, &__pyx_t_10) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 444; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
        __Pyx_GOTREF(__pyx_t_1);
        __Pyx_GOTREF(__pyx_t_7);
        __Pyx_GOTREF(__pyx_t_10);

        /* "efl/elementary/gengrid.pyx":445
 *             func(o, item.item_data)
 *         except Exception:
 *             traceback.print_exc()             # <<<<<<<<<<<<<<
 * 
 *     item._unset_obj()
 */
        __pyx_t_12 = __Pyx_GetModuleGlobalName(__pyx_n_s_traceback); if (unlikely(!__pyx_t_12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
        __Pyx_GOTREF(__pyx_t_12);
        __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_print_exc); if (unlikely(!__pyx_t_13)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
        __Pyx_GOTREF(__pyx_t_13);
        __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
        __pyx_t_12 = NULL;
        if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_13))) {
          __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_13);
          if (likely(__pyx_t_12)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_13);
            __Pyx_INCREF(__pyx_t_12);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_13, function);
          }
        }
        if (__pyx_t_12) {
          __pyx_t_8 = __Pyx_PyObject_CallOneArg(__pyx_t_13, __pyx_t_12); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
          __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
        } else {
          __pyx_t_8 = __Pyx_PyObject_CallNoArg(__pyx_t_13); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
        }
        __Pyx_GOTREF(__pyx_t_8);
        __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        goto __pyx_L6_exception_handled;
      }
      goto __pyx_L7_except_error;
      __pyx_L7_except_error:;
      __Pyx_XGIVEREF(__pyx_t_4);
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
      goto __pyx_L1_error;
      __pyx_L6_exception_handled:;
      __Pyx_XGIVEREF(__pyx_t_4);
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
      __pyx_L12_try_end:;
    }
    goto __pyx_L4;
  }
  __pyx_L4:;

  /* "efl/elementary/gengrid.pyx":447
 *             traceback.print_exc()
 * 
 *     item._unset_obj()             # <<<<<<<<<<<<<<
 * 
 * cdef void _py_elm_gengrid_item_func(void *data, Evas_Object *obj, void *event_info) with gil:
 */
  ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_item->__pyx_base.__pyx_vtab)->_unset_obj(__pyx_v_item);

  /* "efl/elementary/gengrid.pyx":432
 *     return ret if ret is not None else 0
 * 
 * cdef void _py_elm_gengrid_object_item_del(void *data, Evas_Object *obj) with gil:             # <<<<<<<<<<<<<<
 *     cdef GengridItem item = <GengridItem>data
 * 
 */

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_WriteUnraisable("efl.elementary.gengrid._py_elm_gengrid_object_item_del", __pyx_clineno, __pyx_lineno, __pyx_filename, 0);
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_item);
  __Pyx_XDECREF(__pyx_v_func);
  __Pyx_XDECREF(__pyx_v_o);
  __Pyx_RefNannyFinishContext();
  #ifdef WITH_THREAD
  PyGILState_Release(__pyx_gilstate_save);
  #endif
}

/* "efl/elementary/gengrid.pyx":449
 *     item._unset_obj()
 * 
 * cdef void _py_elm_gengrid_item_func(void *data, Evas_Object *obj, void *event_info) with gil:             # <<<<<<<<<<<<<<
 *     cdef GengridItem item
 * 
 */

static void __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_func(void *__pyx_v_data, Evas_Object *__pyx_v_obj, CYTHON_UNUSED void *__pyx_v_event_info) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_item = 0;
  PyObject *__pyx_v_o = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  Py_ssize_t __pyx_t_9;
  PyObject *__pyx_t_10 = NULL;
  int __pyx_t_11;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  #ifdef WITH_THREAD
  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
  #endif
  __Pyx_RefNannySetupContext("_py_elm_gengrid_item_func", 0);

  /* "efl/elementary/gengrid.pyx":452
 *     cdef GengridItem item
 * 
 *     assert data != NULL, "data is NULL in Gengrid select cb"             # <<<<<<<<<<<<<<
 * 
 *     item = <GengridItem>data
 */
  #ifndef CYTHON_WITHOUT_ASSERTIONS
  if (unlikely(!Py_OptimizeFlag)) {
    if (unlikely(!((__pyx_v_data != NULL) != 0))) {
      PyErr_SetObject(PyExc_AssertionError, __pyx_kp_s_data_is_NULL_in_Gengrid_select_c);
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
  }
  #endif

  /* "efl/elementary/gengrid.pyx":454
 *     assert data != NULL, "data is NULL in Gengrid select cb"
 * 
 *     item = <GengridItem>data             # <<<<<<<<<<<<<<
 * 
 *     if item.cb_func is not None:
 */
  __pyx_t_1 = ((PyObject *)__pyx_v_data);
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_item = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid.pyx":456
 *     item = <GengridItem>data
 * 
 *     if item.cb_func is not None:             # <<<<<<<<<<<<<<
 *         try:
 *             o = object_from_instance(obj)
 */
  __pyx_t_2 = (__pyx_v_item->__pyx_base.cb_func != Py_None);
  __pyx_t_3 = (__pyx_t_2 != 0);
  if (__pyx_t_3) {

    /* "efl/elementary/gengrid.pyx":457
 * 
 *     if item.cb_func is not None:
 *         try:             # <<<<<<<<<<<<<<
 *             o = object_from_instance(obj)
 *             item.cb_func(item, o, item.func_data)
 */
    {
      __Pyx_ExceptionSave(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6);
      __Pyx_XGOTREF(__pyx_t_4);
      __Pyx_XGOTREF(__pyx_t_5);
      __Pyx_XGOTREF(__pyx_t_6);
      /*try:*/ {

        /* "efl/elementary/gengrid.pyx":458
 *     if item.cb_func is not None:
 *         try:
 *             o = object_from_instance(obj)             # <<<<<<<<<<<<<<
 *             item.cb_func(item, o, item.func_data)
 *         except Exception:
 */
        __pyx_t_1 = __pyx_f_3efl_2eo_object_from_instance(__pyx_v_obj); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
        __Pyx_GOTREF(__pyx_t_1);
        __pyx_v_o = __pyx_t_1;
        __pyx_t_1 = 0;

        /* "efl/elementary/gengrid.pyx":459
 *         try:
 *             o = object_from_instance(obj)
 *             item.cb_func(item, o, item.func_data)             # <<<<<<<<<<<<<<
 *         except Exception:
 *             traceback.print_exc()
 */
        __Pyx_INCREF(__pyx_v_item->__pyx_base.cb_func);
        __pyx_t_7 = __pyx_v_item->__pyx_base.cb_func; __pyx_t_8 = NULL;
        __pyx_t_9 = 0;
        if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_7))) {
          __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_7);
          if (likely(__pyx_t_8)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7);
            __Pyx_INCREF(__pyx_t_8);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_7, function);
            __pyx_t_9 = 1;
          }
        }
        __pyx_t_10 = PyTuple_New(3+__pyx_t_9); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
        __Pyx_GOTREF(__pyx_t_10);
        if (__pyx_t_8) {
          PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_8); __Pyx_GIVEREF(__pyx_t_8); __pyx_t_8 = NULL;
        }
        __Pyx_INCREF(((PyObject *)__pyx_v_item));
        PyTuple_SET_ITEM(__pyx_t_10, 0+__pyx_t_9, ((PyObject *)__pyx_v_item));
        __Pyx_GIVEREF(((PyObject *)__pyx_v_item));
        __Pyx_INCREF(__pyx_v_o);
        PyTuple_SET_ITEM(__pyx_t_10, 1+__pyx_t_9, __pyx_v_o);
        __Pyx_GIVEREF(__pyx_v_o);
        __Pyx_INCREF(__pyx_v_item->func_data);
        PyTuple_SET_ITEM(__pyx_t_10, 2+__pyx_t_9, __pyx_v_item->func_data);
        __Pyx_GIVEREF(__pyx_v_item->func_data);
        __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_10, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
        __Pyx_GOTREF(__pyx_t_1);
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      }
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      goto __pyx_L11_try_end;
      __pyx_L4_error:;
      __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
      __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;

      /* "efl/elementary/gengrid.pyx":460
 *             o = object_from_instance(obj)
 *             item.cb_func(item, o, item.func_data)
 *         except Exception:             # <<<<<<<<<<<<<<
 *             traceback.print_exc()
 * 
 */
      __pyx_t_11 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
      if (__pyx_t_11) {
        __Pyx_AddTraceback("efl.elementary.gengrid._py_elm_gengrid_item_func", __pyx_clineno, __pyx_lineno, __pyx_filename);
        if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_7, &__pyx_t_10) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
        __Pyx_GOTREF(__pyx_t_1);
        __Pyx_GOTREF(__pyx_t_7);
        __Pyx_GOTREF(__pyx_t_10);

        /* "efl/elementary/gengrid.pyx":461
 *             item.cb_func(item, o, item.func_data)
 *         except Exception:
 *             traceback.print_exc()             # <<<<<<<<<<<<<<
 * 
 * cdef int _gengrid_compare_cb(const void *data1, const void *data2) with gil:
 */
        __pyx_t_12 = __Pyx_GetModuleGlobalName(__pyx_n_s_traceback); if (unlikely(!__pyx_t_12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 461; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
        __Pyx_GOTREF(__pyx_t_12);
        __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_print_exc); if (unlikely(!__pyx_t_13)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 461; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
        __Pyx_GOTREF(__pyx_t_13);
        __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
        __pyx_t_12 = NULL;
        if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_13))) {
          __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_13);
          if (likely(__pyx_t_12)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_13);
            __Pyx_INCREF(__pyx_t_12);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_13, function);
          }
        }
        if (__pyx_t_12) {
          __pyx_t_8 = __Pyx_PyObject_CallOneArg(__pyx_t_13, __pyx_t_12); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 461; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
          __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
        } else {
          __pyx_t_8 = __Pyx_PyObject_CallNoArg(__pyx_t_13); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 461; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
        }
        __Pyx_GOTREF(__pyx_t_8);
        __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        goto __pyx_L5_exception_handled;
      }
      goto __pyx_L6_except_error;
      __pyx_L6_except_error:;
      __Pyx_XGIVEREF(__pyx_t_4);
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
      goto __pyx_L1_error;
      __pyx_L5_exception_handled:;
      __Pyx_XGIVEREF(__pyx_t_4);
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
      __pyx_L11_try_end:;
    }
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/gengrid.pyx":449
 *     item._unset_obj()
 * 
 * cdef void _py_elm_gengrid_item_func(void *data, Evas_Object *obj, void *event_info) with gil:             # <<<<<<<<<<<<<<
 *     cdef GengridItem item
 * 
 */

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_WriteUnraisable("efl.elementary.gengrid._py_elm_gengrid_item_func", __pyx_clineno, __pyx_lineno, __pyx_filename, 0);
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_item);
  __Pyx_XDECREF(__pyx_v_o);
  __Pyx_RefNannyFinishContext();
  #ifdef WITH_THREAD
  PyGILState_Release(__pyx_gilstate_save);
  #endif
}

/* "efl/elementary/gengrid.pyx":463
 *             traceback.print_exc()
 * 
 * cdef int _gengrid_compare_cb(const void *data1, const void *data2) with gil:             # <<<<<<<<<<<<<<
 *     cdef:
 *         Elm_Object_Item *citem1 = <Elm_Object_Item *>data1
 */

static int __pyx_f_3efl_10elementary_7gengrid__gengrid_compare_cb(void const *__pyx_v_data1, void const *__pyx_v_data2) {
  Elm_Object_Item *__pyx_v_citem1;
  Elm_Object_Item *__pyx_v_citem2;
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_item1 = 0;
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_item2 = 0;
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_ret = NULL;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  void *__pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_t_3;
  int __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  Py_ssize_t __pyx_t_7;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  PyObject *__pyx_t_11 = NULL;
  int __pyx_t_12;
  PyObject *__pyx_t_13 = NULL;
  PyObject *__pyx_t_14 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  #ifdef WITH_THREAD
  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
  #endif
  __Pyx_RefNannySetupContext("_gengrid_compare_cb", 0);

  /* "efl/elementary/gengrid.pyx":465
 * cdef int _gengrid_compare_cb(const void *data1, const void *data2) with gil:
 *     cdef:
 *         Elm_Object_Item *citem1 = <Elm_Object_Item *>data1             # <<<<<<<<<<<<<<
 *         Elm_Object_Item *citem2 = <Elm_Object_Item *>data2
 *         GengridItem item1 = <GengridItem>elm_object_item_data_get(citem1)
 */
  __pyx_v_citem1 = ((Elm_Object_Item *)__pyx_v_data1);

  /* "efl/elementary/gengrid.pyx":466
 *     cdef:
 *         Elm_Object_Item *citem1 = <Elm_Object_Item *>data1
 *         Elm_Object_Item *citem2 = <Elm_Object_Item *>data2             # <<<<<<<<<<<<<<
 *         GengridItem item1 = <GengridItem>elm_object_item_data_get(citem1)
 *         GengridItem item2 = <GengridItem>elm_object_item_data_get(citem2)
 */
  __pyx_v_citem2 = ((Elm_Object_Item *)__pyx_v_data2);

  /* "efl/elementary/gengrid.pyx":467
 *         Elm_Object_Item *citem1 = <Elm_Object_Item *>data1
 *         Elm_Object_Item *citem2 = <Elm_Object_Item *>data2
 *         GengridItem item1 = <GengridItem>elm_object_item_data_get(citem1)             # <<<<<<<<<<<<<<
 *         GengridItem item2 = <GengridItem>elm_object_item_data_get(citem2)
 *         object func
 */
  __pyx_t_1 = elm_object_item_data_get(__pyx_v_citem1);
  __pyx_t_2 = ((PyObject *)__pyx_t_1);
  __Pyx_INCREF(__pyx_t_2);
  __pyx_v_item1 = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_t_2);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid.pyx":468
 *         Elm_Object_Item *citem2 = <Elm_Object_Item *>data2
 *         GengridItem item1 = <GengridItem>elm_object_item_data_get(citem1)
 *         GengridItem item2 = <GengridItem>elm_object_item_data_get(citem2)             # <<<<<<<<<<<<<<
 *         object func
 * 
 */
  __pyx_t_1 = elm_object_item_data_get(__pyx_v_citem2);
  __pyx_t_2 = ((PyObject *)__pyx_t_1);
  __Pyx_INCREF(__pyx_t_2);
  __pyx_v_item2 = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_t_2);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid.pyx":471
 *         object func
 * 
 *     if item1.comparison_func is not None:             # <<<<<<<<<<<<<<
 *         func = item1.comparison_func
 *     elif item2.comparison_func is not None:
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_item1), __pyx_n_s_comparison_func); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 471; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = (__pyx_t_2 != Py_None);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_4 = (__pyx_t_3 != 0);
  if (__pyx_t_4) {

    /* "efl/elementary/gengrid.pyx":472
 * 
 *     if item1.comparison_func is not None:
 *         func = item1.comparison_func             # <<<<<<<<<<<<<<
 *     elif item2.comparison_func is not None:
 *         func = item2.comparison_func
 */
    __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_item1), __pyx_n_s_comparison_func); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_v_func = __pyx_t_2;
    __pyx_t_2 = 0;
    goto __pyx_L3;
  }

  /* "efl/elementary/gengrid.pyx":473
 *     if item1.comparison_func is not None:
 *         func = item1.comparison_func
 *     elif item2.comparison_func is not None:             # <<<<<<<<<<<<<<
 *         func = item2.comparison_func
 *     else:
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_item2), __pyx_n_s_comparison_func); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 473; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = (__pyx_t_2 != Py_None);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_3 = (__pyx_t_4 != 0);
  if (__pyx_t_3) {

    /* "efl/elementary/gengrid.pyx":474
 *         func = item1.comparison_func
 *     elif item2.comparison_func is not None:
 *         func = item2.comparison_func             # <<<<<<<<<<<<<<
 *     else:
 *         return 0
 */
    __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_item2), __pyx_n_s_comparison_func); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_v_func = __pyx_t_2;
    __pyx_t_2 = 0;
    goto __pyx_L3;
  }
  /*else*/ {

    /* "efl/elementary/gengrid.pyx":476
 *         func = item2.comparison_func
 *     else:
 *         return 0             # <<<<<<<<<<<<<<
 * 
 *     ret = func(item1, item2)
 */
    __pyx_r = 0;
    goto __pyx_L0;
  }
  __pyx_L3:;

  /* "efl/elementary/gengrid.pyx":478
 *         return 0
 * 
 *     ret = func(item1, item2)             # <<<<<<<<<<<<<<
 *     if ret is not None:
 *         try:
 */
  __Pyx_INCREF(__pyx_v_func);
  __pyx_t_5 = __pyx_v_func; __pyx_t_6 = NULL;
  __pyx_t_7 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_5))) {
    __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_5);
    if (likely(__pyx_t_6)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
      __Pyx_INCREF(__pyx_t_6);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_5, function);
      __pyx_t_7 = 1;
    }
  }
  __pyx_t_8 = PyTuple_New(2+__pyx_t_7); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_8);
  if (__pyx_t_6) {
    PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_6); __Pyx_GIVEREF(__pyx_t_6); __pyx_t_6 = NULL;
  }
  __Pyx_INCREF(((PyObject *)__pyx_v_item1));
  PyTuple_SET_ITEM(__pyx_t_8, 0+__pyx_t_7, ((PyObject *)__pyx_v_item1));
  __Pyx_GIVEREF(((PyObject *)__pyx_v_item1));
  __Pyx_INCREF(((PyObject *)__pyx_v_item2));
  PyTuple_SET_ITEM(__pyx_t_8, 1+__pyx_t_7, ((PyObject *)__pyx_v_item2));
  __Pyx_GIVEREF(((PyObject *)__pyx_v_item2));
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_8, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __pyx_v_ret = __pyx_t_2;
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid.pyx":479
 * 
 *     ret = func(item1, item2)
 *     if ret is not None:             # <<<<<<<<<<<<<<
 *         try:
 *             return ret
 */
  __pyx_t_3 = (__pyx_v_ret != Py_None);
  __pyx_t_4 = (__pyx_t_3 != 0);
  if (__pyx_t_4) {

    /* "efl/elementary/gengrid.pyx":480
 *     ret = func(item1, item2)
 *     if ret is not None:
 *         try:             # <<<<<<<<<<<<<<
 *             return ret
 *         except Exception:
 */
    {
      __Pyx_ExceptionSave(&__pyx_t_9, &__pyx_t_10, &__pyx_t_11);
      __Pyx_XGOTREF(__pyx_t_9);
      __Pyx_XGOTREF(__pyx_t_10);
      __Pyx_XGOTREF(__pyx_t_11);
      /*try:*/ {

        /* "efl/elementary/gengrid.pyx":481
 *     if ret is not None:
 *         try:
 *             return ret             # <<<<<<<<<<<<<<
 *         except Exception:
 *             traceback.print_exc()
 */
        __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_v_ret); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 481; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
        __pyx_r = __pyx_t_12;
        goto __pyx_L9_try_return;
      }
      __pyx_L5_error:;
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;

      /* "efl/elementary/gengrid.pyx":482
 *         try:
 *             return ret
 *         except Exception:             # <<<<<<<<<<<<<<
 *             traceback.print_exc()
 *             return 0
 */
      __pyx_t_12 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
      if (__pyx_t_12) {
        __Pyx_AddTraceback("efl.elementary.gengrid._gengrid_compare_cb", __pyx_clineno, __pyx_lineno, __pyx_filename);
        if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_5, &__pyx_t_8) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 482; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
        __Pyx_GOTREF(__pyx_t_2);
        __Pyx_GOTREF(__pyx_t_5);
        __Pyx_GOTREF(__pyx_t_8);

        /* "efl/elementary/gengrid.pyx":483
 *             return ret
 *         except Exception:
 *             traceback.print_exc()             # <<<<<<<<<<<<<<
 *             return 0
 *     else:
 */
        __pyx_t_13 = __Pyx_GetModuleGlobalName(__pyx_n_s_traceback); if (unlikely(!__pyx_t_13)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 483; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
        __Pyx_GOTREF(__pyx_t_13);
        __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_13, __pyx_n_s_print_exc); if (unlikely(!__pyx_t_14)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 483; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
        __Pyx_GOTREF(__pyx_t_14);
        __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
        __pyx_t_13 = NULL;
        if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_14))) {
          __pyx_t_13 = PyMethod_GET_SELF(__pyx_t_14);
          if (likely(__pyx_t_13)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_14);
            __Pyx_INCREF(__pyx_t_13);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_14, function);
          }
        }
        if (__pyx_t_13) {
          __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_t_14, __pyx_t_13); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 483; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
          __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
        } else {
          __pyx_t_6 = __Pyx_PyObject_CallNoArg(__pyx_t_14); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 483; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
        }
        __Pyx_GOTREF(__pyx_t_6);
        __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

        /* "efl/elementary/gengrid.pyx":484
 *         except Exception:
 *             traceback.print_exc()
 *             return 0             # <<<<<<<<<<<<<<
 *     else:
 *         return 0
 */
        __pyx_r = 0;
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
        goto __pyx_L8_except_return;
      }
      goto __pyx_L7_except_error;
      __pyx_L7_except_error:;
      __Pyx_XGIVEREF(__pyx_t_9);
      __Pyx_XGIVEREF(__pyx_t_10);
      __Pyx_XGIVEREF(__pyx_t_11);
      __Pyx_ExceptionReset(__pyx_t_9, __pyx_t_10, __pyx_t_11);
      goto __pyx_L1_error;
      __pyx_L9_try_return:;
      __Pyx_XGIVEREF(__pyx_t_9);
      __Pyx_XGIVEREF(__pyx_t_10);
      __Pyx_XGIVEREF(__pyx_t_11);
      __Pyx_ExceptionReset(__pyx_t_9, __pyx_t_10, __pyx_t_11);
      goto __pyx_L0;
      __pyx_L8_except_return:;
      __Pyx_XGIVEREF(__pyx_t_9);
      __Pyx_XGIVEREF(__pyx_t_10);
      __Pyx_XGIVEREF(__pyx_t_11);
      __Pyx_ExceptionReset(__pyx_t_9, __pyx_t_10, __pyx_t_11);
      goto __pyx_L0;
    }
  }
  /*else*/ {

    /* "efl/elementary/gengrid.pyx":486
 *             return 0
 *     else:
 *         return 0             # <<<<<<<<<<<<<<
 * 
 * include "gengrid_widget.pxi"
 */
    __pyx_r = 0;
    goto __pyx_L0;
  }

  /* "efl/elementary/gengrid.pyx":463
 *             traceback.print_exc()
 * 
 * cdef int _gengrid_compare_cb(const void *data1, const void *data2) with gil:             # <<<<<<<<<<<<<<
 *     cdef:
 *         Elm_Object_Item *citem1 = <Elm_Object_Item *>data1
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_XDECREF(__pyx_t_14);
  __Pyx_WriteUnraisable("efl.elementary.gengrid._gengrid_compare_cb", __pyx_clineno, __pyx_lineno, __pyx_filename, 0);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_item1);
  __Pyx_XDECREF((PyObject *)__pyx_v_item2);
  __Pyx_XDECREF(__pyx_v_func);
  __Pyx_XDECREF(__pyx_v_ret);
  __Pyx_RefNannyFinishContext();
  #ifdef WITH_THREAD
  PyGILState_Release(__pyx_gilstate_save);
  #endif
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":10
 *     """
 * 
 *     def __init__(self, evasObject parent, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Gengrid(...)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid___init__[] = "Gengrid(...)\n\n        :param parent: The parent object\n        :type parent: :py:class:`efl.evas.Object`\n        :param \\**kwargs: All the remaining keyword arguments are interpreted\n                          as properties of the instance\n\n        ";
#if CYTHON_COMPILING_IN_CPYTHON
struct wrapperbase __pyx_wrapperbase_3efl_10elementary_7gengrid_7Gengrid___init__;
#endif
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  struct __pyx_obj_3efl_4evas_Object *__pyx_v_parent = 0;
  CYTHON_UNUSED PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return -1;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return -1;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_parent,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_parent)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 10; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_parent = ((struct __pyx_obj_3efl_4evas_Object *)values[0]);
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 10; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_3efl_4evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 10; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid___init__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_parent, __pyx_v_args, __pyx_v_kwargs);

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid___init__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, struct __pyx_obj_3efl_4evas_Object *__pyx_v_parent, CYTHON_UNUSED PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "efl/elementary/gengrid_widget.pxi":19
 * 
 *         """
 *         self._set_obj(elm_gengrid_add(parent.obj))             # <<<<<<<<<<<<<<
 *         self._set_properties_from_keyword_args(kwargs)
 * 
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct __pyx_obj_3efl_2eo_Eo *)__pyx_v_self), elm_gengrid_add(__pyx_v_parent->__pyx_base.obj)); if (unlikely(__pyx_t_1 == 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/gengrid_widget.pxi":20
 *         """
 *         self._set_obj(elm_gengrid_add(parent.obj))
 *         self._set_properties_from_keyword_args(kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def clear(self):
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_properties_from_keyword_args(((struct __pyx_obj_3efl_2eo_Eo *)__pyx_v_self), __pyx_v_kwargs); if (unlikely(__pyx_t_1 == 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/gengrid_widget.pxi":10
 *     """
 * 
 *     def __init__(self, evasObject parent, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Gengrid(...)
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":22
 *         self._set_properties_from_keyword_args(kwargs)
 * 
 *     def clear(self):             # <<<<<<<<<<<<<<
 *         """Remove all items from a given gengrid widget."""
 *         elm_gengrid_clear(self.obj)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_3clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_2clear[] = "Gengrid.clear(self)\nRemove all items from a given gengrid widget.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_3clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("clear (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_2clear(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_2clear(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("clear", 0);

  /* "efl/elementary/gengrid_widget.pxi":24
 *     def clear(self):
 *         """Remove all items from a given gengrid widget."""
 *         elm_gengrid_clear(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     property multi_select:
 */
  elm_gengrid_clear(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);

  /* "efl/elementary/gengrid_widget.pxi":22
 *         self._set_properties_from_keyword_args(kwargs)
 * 
 *     def clear(self):             # <<<<<<<<<<<<<<
 *         """Remove all items from a given gengrid widget."""
 *         elm_gengrid_clear(self.obj)
 */

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

/* "efl/elementary/gengrid_widget.pxi":39
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_multi_select_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_12multi_select_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_12multi_select_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12multi_select___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12multi_select___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  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/gengrid_widget.pxi":40
 *         """
 *         def __get__(self):
 *             return bool(elm_gengrid_multi_select_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, multi):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_multi_select_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 40; __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/gengrid_widget.pxi":39
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_multi_select_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":42
 *             return bool(elm_gengrid_multi_select_get(self.obj))
 * 
 *         def __set__(self, multi):             # <<<<<<<<<<<<<<
 *             elm_gengrid_multi_select_set(self.obj, bool(multi))
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_12multi_select_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_multi); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_12multi_select_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_multi) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12multi_select_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_multi));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12multi_select_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_multi) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":43
 * 
 *         def __set__(self, multi):
 *             elm_gengrid_multi_select_set(self.obj, bool(multi))             # <<<<<<<<<<<<<<
 * 
 *     def multi_select_set(self, multi):
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_multi); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_multi_select_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (!(!__pyx_t_1)));

  /* "efl/elementary/gengrid_widget.pxi":42
 *             return bool(elm_gengrid_multi_select_get(self.obj))
 * 
 *         def __set__(self, multi):             # <<<<<<<<<<<<<<
 *             elm_gengrid_multi_select_set(self.obj, bool(multi))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":45
 *             elm_gengrid_multi_select_set(self.obj, bool(multi))
 * 
 *     def multi_select_set(self, multi):             # <<<<<<<<<<<<<<
 *         elm_gengrid_multi_select_set(self.obj, bool(multi))
 *     def multi_select_get(self):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_5multi_select_set(PyObject *__pyx_v_self, PyObject *__pyx_v_multi); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_4multi_select_set[] = "Gengrid.multi_select_set(self, multi)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_5multi_select_set(PyObject *__pyx_v_self, PyObject *__pyx_v_multi) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("multi_select_set (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_4multi_select_set(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_multi));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_4multi_select_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_multi) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("multi_select_set", 0);

  /* "efl/elementary/gengrid_widget.pxi":46
 * 
 *     def multi_select_set(self, multi):
 *         elm_gengrid_multi_select_set(self.obj, bool(multi))             # <<<<<<<<<<<<<<
 *     def multi_select_get(self):
 *         return bool(elm_gengrid_multi_select_get(self.obj))
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_multi); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_multi_select_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (!(!__pyx_t_1)));

  /* "efl/elementary/gengrid_widget.pxi":45
 *             elm_gengrid_multi_select_set(self.obj, bool(multi))
 * 
 *     def multi_select_set(self, multi):             # <<<<<<<<<<<<<<
 *         elm_gengrid_multi_select_set(self.obj, bool(multi))
 *     def multi_select_get(self):
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.multi_select_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":47
 *     def multi_select_set(self, multi):
 *         elm_gengrid_multi_select_set(self.obj, bool(multi))
 *     def multi_select_get(self):             # <<<<<<<<<<<<<<
 *         return bool(elm_gengrid_multi_select_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_7multi_select_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_6multi_select_get[] = "Gengrid.multi_select_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_7multi_select_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("multi_select_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6multi_select_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6multi_select_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  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("multi_select_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":48
 *         elm_gengrid_multi_select_set(self.obj, bool(multi))
 *     def multi_select_get(self):
 *         return bool(elm_gengrid_multi_select_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_multi_select_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 48; __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/gengrid_widget.pxi":47
 *     def multi_select_set(self, multi):
 *         elm_gengrid_multi_select_set(self.obj, bool(multi))
 *     def multi_select_get(self):             # <<<<<<<<<<<<<<
 *         return bool(elm_gengrid_multi_select_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":69
 * 
 *         """
 *         def __set__(self, Elm_Object_Multi_Select_Mode mode):             # <<<<<<<<<<<<<<
 *             elm_gengrid_multi_select_mode_set(self.obj, mode)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_17multi_select_mode_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_mode); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_17multi_select_mode_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_mode) {
  Elm_Object_Multi_Select_Mode __pyx_v_mode;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  assert(__pyx_arg_mode); {
    __pyx_v_mode = ((Elm_Object_Multi_Select_Mode)PyInt_AsLong(__pyx_arg_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.multi_select_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_17multi_select_mode___set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((Elm_Object_Multi_Select_Mode)__pyx_v_mode));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_17multi_select_mode___set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, Elm_Object_Multi_Select_Mode __pyx_v_mode) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":70
 *         """
 *         def __set__(self, Elm_Object_Multi_Select_Mode mode):
 *             elm_gengrid_multi_select_mode_set(self.obj, mode)             # <<<<<<<<<<<<<<
 * 
 *         def __get__(self):
 */
  elm_gengrid_multi_select_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_mode);

  /* "efl/elementary/gengrid_widget.pxi":69
 * 
 *         """
 *         def __set__(self, Elm_Object_Multi_Select_Mode mode):             # <<<<<<<<<<<<<<
 *             elm_gengrid_multi_select_mode_set(self.obj, mode)
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":72
 *             elm_gengrid_multi_select_mode_set(self.obj, mode)
 * 
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return elm_gengrid_multi_select_mode_get(self.obj)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_17multi_select_mode_3__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_17multi_select_mode_3__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_17multi_select_mode_2__get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_17multi_select_mode_2__get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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/gengrid_widget.pxi":73
 * 
 *         def __get__(self):
 *             return elm_gengrid_multi_select_mode_get(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     property horizontal:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyInt_FromLong(elm_gengrid_multi_select_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 73; __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/gengrid_widget.pxi":72
 *             elm_gengrid_multi_select_mode_set(self.obj, mode)
 * 
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return elm_gengrid_multi_select_mode_get(self.obj)
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":87
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_horizontal_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_10horizontal_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_10horizontal_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_10horizontal___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_10horizontal___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  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/gengrid_widget.pxi":88
 *         """
 *         def __get__(self):
 *             return bool(elm_gengrid_horizontal_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, setting):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 88; __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/gengrid_widget.pxi":87
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_horizontal_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":90
 *             return bool(elm_gengrid_horizontal_get(self.obj))
 * 
 *         def __set__(self, setting):             # <<<<<<<<<<<<<<
 *             elm_gengrid_horizontal_set(self.obj, bool(setting))
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_setting); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_setting) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_10horizontal_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_setting));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_10horizontal_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_setting) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":91
 * 
 *         def __set__(self, setting):
 *             elm_gengrid_horizontal_set(self.obj, bool(setting))             # <<<<<<<<<<<<<<
 * 
 *     def horizontal_set(self, setting):
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_setting); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (!(!__pyx_t_1)));

  /* "efl/elementary/gengrid_widget.pxi":90
 *             return bool(elm_gengrid_horizontal_get(self.obj))
 * 
 *         def __set__(self, setting):             # <<<<<<<<<<<<<<
 *             elm_gengrid_horizontal_set(self.obj, bool(setting))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":93
 *             elm_gengrid_horizontal_set(self.obj, bool(setting))
 * 
 *     def horizontal_set(self, setting):             # <<<<<<<<<<<<<<
 *         elm_gengrid_horizontal_set(self.obj, bool(setting))
 *     def horizontal_get(self):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_setting); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_8horizontal_set[] = "Gengrid.horizontal_set(self, setting)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_setting) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("horizontal_set (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_8horizontal_set(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_setting));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_8horizontal_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_setting) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("horizontal_set", 0);

  /* "efl/elementary/gengrid_widget.pxi":94
 * 
 *     def horizontal_set(self, setting):
 *         elm_gengrid_horizontal_set(self.obj, bool(setting))             # <<<<<<<<<<<<<<
 *     def horizontal_get(self):
 *         return bool(elm_gengrid_horizontal_get(self.obj))
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_setting); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (!(!__pyx_t_1)));

  /* "efl/elementary/gengrid_widget.pxi":93
 *             elm_gengrid_horizontal_set(self.obj, bool(setting))
 * 
 *     def horizontal_set(self, setting):             # <<<<<<<<<<<<<<
 *         elm_gengrid_horizontal_set(self.obj, bool(setting))
 *     def horizontal_get(self):
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.horizontal_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":95
 *     def horizontal_set(self, setting):
 *         elm_gengrid_horizontal_set(self.obj, bool(setting))
 *     def horizontal_get(self):             # <<<<<<<<<<<<<<
 *         return bool(elm_gengrid_horizontal_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_11horizontal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_10horizontal_get[] = "Gengrid.horizontal_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_11horizontal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("horizontal_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_10horizontal_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_10horizontal_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  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("horizontal_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":96
 *         elm_gengrid_horizontal_set(self.obj, bool(setting))
 *     def horizontal_get(self):
 *         return bool(elm_gengrid_horizontal_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     property page_size:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 96; __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/gengrid_widget.pxi":95
 *     def horizontal_set(self, setting):
 *         elm_gengrid_horizontal_set(self.obj, bool(setting))
 *     def horizontal_get(self):             # <<<<<<<<<<<<<<
 *         return bool(elm_gengrid_horizontal_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":106
 * 
 *         """
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             cdef Evas_Coord h_pagesize, v_pagesize
 *             h_pagesize, v_pagesize = value
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9page_size_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9page_size_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_9page_size___set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_9page_size___set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value) {
  Evas_Coord __pyx_v_h_pagesize;
  Evas_Coord __pyx_v_v_pagesize;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *(*__pyx_t_4)(PyObject *);
  Evas_Coord __pyx_t_5;
  Evas_Coord __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":108
 *         def __set__(self, value):
 *             cdef Evas_Coord h_pagesize, v_pagesize
 *             h_pagesize, v_pagesize = value             # <<<<<<<<<<<<<<
 *             elm_gengrid_page_size_set(self.obj, h_pagesize, v_pagesize)
 * 
 */
  if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
    PyObject* sequence = __pyx_v_value;
    #if CYTHON_COMPILING_IN_CPYTHON
    Py_ssize_t size = Py_SIZE(sequence);
    #else
    Py_ssize_t size = PySequence_Size(sequence);
    #endif
    if (unlikely(size != 2)) {
      if (size > 2) __Pyx_RaiseTooManyValuesError(2);
      else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
      {__pyx_filename = __pyx_f[3]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    #if CYTHON_COMPILING_IN_CPYTHON
    if (likely(PyTuple_CheckExact(sequence))) {
      __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); 
    } else {
      __pyx_t_1 = PyList_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyList_GET_ITEM(sequence, 1); 
    }
    __Pyx_INCREF(__pyx_t_1);
    __Pyx_INCREF(__pyx_t_2);
    #else
    __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_2 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    #endif
  } else {
    Py_ssize_t index = -1;
    __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = Py_TYPE(__pyx_t_3)->tp_iternext;
    index = 0; __pyx_t_1 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_1);
    index = 1; __pyx_t_2 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_2);
    if (__Pyx_IternextUnpackEndCheck(__pyx_t_4(__pyx_t_3), 2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = NULL;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    goto __pyx_L4_unpacking_done;
    __pyx_L3_unpacking_failed:;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_t_4 = NULL;
    if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
    {__pyx_filename = __pyx_f[3]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_L4_unpacking_done:;
  }
  __pyx_t_5 = __Pyx_PyInt_As_Evas_Coord(__pyx_t_1); if (unlikely((__pyx_t_5 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_6 = __Pyx_PyInt_As_Evas_Coord(__pyx_t_2); if (unlikely((__pyx_t_6 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_v_h_pagesize = __pyx_t_5;
  __pyx_v_v_pagesize = __pyx_t_6;

  /* "efl/elementary/gengrid_widget.pxi":109
 *             cdef Evas_Coord h_pagesize, v_pagesize
 *             h_pagesize, v_pagesize = value
 *             elm_gengrid_page_size_set(self.obj, h_pagesize, v_pagesize)             # <<<<<<<<<<<<<<
 * 
 *     def item_append(self, GengridItemClass item_class not None,
 */
  elm_gengrid_page_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_h_pagesize, __pyx_v_v_pagesize);

  /* "efl/elementary/gengrid_widget.pxi":106
 * 
 *         """
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             cdef Evas_Coord h_pagesize, v_pagesize
 *             h_pagesize, v_pagesize = value
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.page_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":111
 *             elm_gengrid_page_size_set(self.obj, h_pagesize, v_pagesize)
 * 
 *     def item_append(self, GengridItemClass item_class not None,             # <<<<<<<<<<<<<<
 *                     item_data, func=None):
 *         """Append a new item (add as last item) to this gengrid.
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_13item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_12item_append[] = "Gengrid.item_append(self, GengridItemClass item_class, item_data, func=None)\nAppend a new item (add as last item) to this gengrid.\n\n        :param item_class: a valid instance that defines the\n            behavior of this item. See :py:class:`GengridItemClass`.\n        :param item_data: some data that defines the model of this\n            item. This value will be given to methods of\n            ``item_class`` such as\n            :py:func:`GengridItemClass.text_get()`. It will also be\n            provided to ``func`` as its last parameter.\n        :param func: if not None, this must be a callable to be\n            called back when the item is selected. The function\n            signature is::\n\n                func(item, obj, item_data)\n\n            Where ``item`` is the handle, ``obj`` is the Evas object\n            that represents this item, and ``item_data`` is the\n            value given as parameter to this function.\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_13item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class = 0;
  PyObject *__pyx_v_item_data = 0;
  PyObject *__pyx_v_func = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("item_append (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_item_class,&__pyx_n_s_item_data,&__pyx_n_s_func,0};
    PyObject* values[3] = {0,0,0};

    /* "efl/elementary/gengrid_widget.pxi":112
 * 
 *     def item_append(self, GengridItemClass item_class not None,
 *                     item_data, func=None):             # <<<<<<<<<<<<<<
 *         """Append a new item (add as last item) to this gengrid.
 * 
 */
    values[2] = ((PyObject *)Py_None);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        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_item_class)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_item_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("item_append", 0, 2, 3, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func);
          if (value) { values[2] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "item_append") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_item_class = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)values[0]);
    __pyx_v_item_data = values[1];
    __pyx_v_func = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("item_append", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_item_class), __pyx_ptype_3efl_10elementary_7gengrid_GengridItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12item_append(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_func);

  /* "efl/elementary/gengrid_widget.pxi":111
 *             elm_gengrid_page_size_set(self.obj, h_pagesize, v_pagesize)
 * 
 *     def item_append(self, GengridItemClass item_class not None,             # <<<<<<<<<<<<<<
 *                     item_data, func=None):
 *         """Append a new item (add as last item) to this gengrid.
 */

  /* 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_7gengrid_7Gengrid_12item_append(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, PyObject *__pyx_v_func) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("item_append", 0);

  /* "efl/elementary/gengrid_widget.pxi":132
 *             value given as parameter to this function.
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\             # <<<<<<<<<<<<<<
 *                           .append_to(self)
 * 
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/elementary/gengrid_widget.pxi":133
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\
 *                           .append_to(self)             # <<<<<<<<<<<<<<
 * 
 *     def item_prepend(self, GengridItemClass item_class not None,
 */
  __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_item_class));
  __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
  __Pyx_INCREF(__pyx_v_item_data);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_item_data);
  __Pyx_GIVEREF(__pyx_v_item_data);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __Pyx_INCREF(__pyx_v_item_data);
  PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_v_item_data);
  __Pyx_GIVEREF(__pyx_v_item_data);

  /* "efl/elementary/gengrid_widget.pxi":132
 *             value given as parameter to this function.
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\             # <<<<<<<<<<<<<<
 *                           .append_to(self)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_3efl_10elementary_7gengrid_GengridItem)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":133
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\
 *                           .append_to(self)             # <<<<<<<<<<<<<<
 * 
 *     def item_prepend(self, GengridItemClass item_class not None,
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_append_to); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  if (!__pyx_t_3) {
    __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
  } else {
    __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
    __Pyx_INCREF(((PyObject *)__pyx_v_self));
    PyTuple_SET_ITEM(__pyx_t_4, 0+1, ((PyObject *)__pyx_v_self));
    __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":111
 *             elm_gengrid_page_size_set(self.obj, h_pagesize, v_pagesize)
 * 
 *     def item_append(self, GengridItemClass item_class not None,             # <<<<<<<<<<<<<<
 *                     item_data, func=None):
 *         """Append a new item (add as last item) to this gengrid.
 */

  /* 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_AddTraceback("efl.elementary.gengrid.Gengrid.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":135
 *                           .append_to(self)
 * 
 *     def item_prepend(self, GengridItemClass item_class not None,             # <<<<<<<<<<<<<<
 *                      item_data, func=None):
 *         """Prepend a new item (add as first item) to this gengrid.
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_14item_prepend[] = "Gengrid.item_prepend(self, GengridItemClass item_class, item_data, func=None)\nPrepend a new item (add as first item) to this gengrid.\n\n        :param item_class: a valid instance that defines the\n            behavior of this item. See :py:class:`GengridItemClass`.\n        :param item_data: some data that defines the model of this\n            item. This value will be given to methods of\n            ``item_class`` such as\n            :py:func:`GengridItemClass.text_get()`. It will also be\n            provided to ``func`` as its last parameter.\n        :param func: if not None, this must be a callable to be\n            called back when the item is selected. The function\n            signature is::\n\n                func(item, obj, item_data)\n\n            Where ``item`` is the handle, ``obj`` is the Evas object\n            that represents this item, and ``item_data`` is the\n            value given as parameter to this function.\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class = 0;
  PyObject *__pyx_v_item_data = 0;
  PyObject *__pyx_v_func = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("item_prepend (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_item_class,&__pyx_n_s_item_data,&__pyx_n_s_func,0};
    PyObject* values[3] = {0,0,0};

    /* "efl/elementary/gengrid_widget.pxi":136
 * 
 *     def item_prepend(self, GengridItemClass item_class not None,
 *                      item_data, func=None):             # <<<<<<<<<<<<<<
 *         """Prepend a new item (add as first item) to this gengrid.
 * 
 */
    values[2] = ((PyObject *)Py_None);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        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_item_class)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_item_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("item_prepend", 0, 2, 3, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func);
          if (value) { values[2] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "item_prepend") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_item_class = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)values[0]);
    __pyx_v_item_data = values[1];
    __pyx_v_func = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("item_prepend", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.item_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_item_class), __pyx_ptype_3efl_10elementary_7gengrid_GengridItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14item_prepend(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_func);

  /* "efl/elementary/gengrid_widget.pxi":135
 *                           .append_to(self)
 * 
 *     def item_prepend(self, GengridItemClass item_class not None,             # <<<<<<<<<<<<<<
 *                      item_data, func=None):
 *         """Prepend a new item (add as first item) to this gengrid.
 */

  /* 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_7gengrid_7Gengrid_14item_prepend(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, PyObject *__pyx_v_func) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("item_prepend", 0);

  /* "efl/elementary/gengrid_widget.pxi":156
 *             value given as parameter to this function.
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\             # <<<<<<<<<<<<<<
 *                           .prepend_to(self)
 * 
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/elementary/gengrid_widget.pxi":157
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\
 *                           .prepend_to(self)             # <<<<<<<<<<<<<<
 * 
 *     def item_insert_before(self, GengridItemClass item_class not None,
 */
  __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_item_class));
  __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
  __Pyx_INCREF(__pyx_v_item_data);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_item_data);
  __Pyx_GIVEREF(__pyx_v_item_data);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __Pyx_INCREF(__pyx_v_item_data);
  PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_v_item_data);
  __Pyx_GIVEREF(__pyx_v_item_data);

  /* "efl/elementary/gengrid_widget.pxi":156
 *             value given as parameter to this function.
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\             # <<<<<<<<<<<<<<
 *                           .prepend_to(self)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_3efl_10elementary_7gengrid_GengridItem)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":157
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\
 *                           .prepend_to(self)             # <<<<<<<<<<<<<<
 * 
 *     def item_insert_before(self, GengridItemClass item_class not None,
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_prepend_to); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  if (!__pyx_t_3) {
    __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
  } else {
    __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
    __Pyx_INCREF(((PyObject *)__pyx_v_self));
    PyTuple_SET_ITEM(__pyx_t_4, 0+1, ((PyObject *)__pyx_v_self));
    __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":135
 *                           .append_to(self)
 * 
 *     def item_prepend(self, GengridItemClass item_class not None,             # <<<<<<<<<<<<<<
 *                      item_data, func=None):
 *         """Prepend a new item (add as first item) to this gengrid.
 */

  /* 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_AddTraceback("efl.elementary.gengrid.Gengrid.item_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":159
 *                           .prepend_to(self)
 * 
 *     def item_insert_before(self, GengridItemClass item_class not None,             # <<<<<<<<<<<<<<
 *                            item_data, GengridItem before_item=None,
 *                            func=None):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_17item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_16item_insert_before[] = "Gengrid.item_insert_before(self, GengridItemClass item_class, item_data, GengridItem before_item=None, func=None)\nInsert a new item before another item in this gengrid.\n\n        :param item_class: a valid instance that defines the\n            behavior of this item. See :py:class:`GengridItemClass`.\n        :param item_data: some data that defines the model of this\n            item. This value will be given to methods of\n            ``item_class`` such as\n            :py:func:`GengridItemClass.text_get()`. It will also be\n            provided to ``func`` as its last parameter.\n        :param before_item: a reference item to use, the new item\n            will be inserted before it.\n        :param func: if not None, this must be a callable to be\n            called back when the item is selected. The function\n            signature is::\n\n                func(item, obj, item_data)\n\n            Where ``item`` is the handle, ``obj`` is the Evas object\n            that represents this item, and ``item_data`` is the\n            value given as parameter to this function.\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_17item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class = 0;
  PyObject *__pyx_v_item_data = 0;
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_before_item = 0;
  PyObject *__pyx_v_func = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("item_insert_before (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_item_class,&__pyx_n_s_item_data,&__pyx_n_s_before_item,&__pyx_n_s_func,0};
    PyObject* values[4] = {0,0,0,0};

    /* "efl/elementary/gengrid_widget.pxi":160
 * 
 *     def item_insert_before(self, GengridItemClass item_class not None,
 *                            item_data, GengridItem before_item=None,             # <<<<<<<<<<<<<<
 *                            func=None):
 *         """Insert a new item before another item in this gengrid.
 */
    values[2] = (PyObject *)((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)Py_None);

    /* "efl/elementary/gengrid_widget.pxi":161
 *     def item_insert_before(self, GengridItemClass item_class not None,
 *                            item_data, GengridItem before_item=None,
 *                            func=None):             # <<<<<<<<<<<<<<
 *         """Insert a new item before another item in this gengrid.
 * 
 */
    values[3] = ((PyObject *)Py_None);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        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_item_class)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_item_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("item_insert_before", 0, 2, 4, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_before_item);
          if (value) { values[2] = value; kw_args--; }
        }
        case  3:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func);
          if (value) { values[3] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "item_insert_before") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_item_class = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)values[0]);
    __pyx_v_item_data = values[1];
    __pyx_v_before_item = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)values[2]);
    __pyx_v_func = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("item_insert_before", 0, 2, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.item_insert_before", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_item_class), __pyx_ptype_3efl_10elementary_7gengrid_GengridItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_before_item), __pyx_ptype_3efl_10elementary_7gengrid_GengridItem, 1, "before_item", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_16item_insert_before(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_before_item, __pyx_v_func);

  /* "efl/elementary/gengrid_widget.pxi":159
 *                           .prepend_to(self)
 * 
 *     def item_insert_before(self, GengridItemClass item_class not None,             # <<<<<<<<<<<<<<
 *                            item_data, GengridItem before_item=None,
 *                            func=None):
 */

  /* 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_7gengrid_7Gengrid_16item_insert_before(CYTHON_UNUSED struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_before_item, PyObject *__pyx_v_func) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("item_insert_before", 0);

  /* "efl/elementary/gengrid_widget.pxi":183
 *             value given as parameter to this function.
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\             # <<<<<<<<<<<<<<
 *                           .insert_before(before_item)
 * 
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/elementary/gengrid_widget.pxi":184
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\
 *                           .insert_before(before_item)             # <<<<<<<<<<<<<<
 * 
 *     def item_insert_after(self, GengridItemClass item_class not None,
 */
  __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_item_class));
  __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
  __Pyx_INCREF(__pyx_v_item_data);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_item_data);
  __Pyx_GIVEREF(__pyx_v_item_data);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __Pyx_INCREF(__pyx_v_item_data);
  PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_v_item_data);
  __Pyx_GIVEREF(__pyx_v_item_data);

  /* "efl/elementary/gengrid_widget.pxi":183
 *             value given as parameter to this function.
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\             # <<<<<<<<<<<<<<
 *                           .insert_before(before_item)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_3efl_10elementary_7gengrid_GengridItem)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":184
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\
 *                           .insert_before(before_item)             # <<<<<<<<<<<<<<
 * 
 *     def item_insert_after(self, GengridItemClass item_class not None,
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_insert_before); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  if (!__pyx_t_3) {
    __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, ((PyObject *)__pyx_v_before_item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
  } else {
    __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
    __Pyx_INCREF(((PyObject *)__pyx_v_before_item));
    PyTuple_SET_ITEM(__pyx_t_4, 0+1, ((PyObject *)__pyx_v_before_item));
    __Pyx_GIVEREF(((PyObject *)__pyx_v_before_item));
    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":159
 *                           .prepend_to(self)
 * 
 *     def item_insert_before(self, GengridItemClass item_class not None,             # <<<<<<<<<<<<<<
 *                            item_data, GengridItem before_item=None,
 *                            func=None):
 */

  /* 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_AddTraceback("efl.elementary.gengrid.Gengrid.item_insert_before", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":186
 *                           .insert_before(before_item)
 * 
 *     def item_insert_after(self, GengridItemClass item_class not None,             # <<<<<<<<<<<<<<
 *                           item_data, GengridItem after_item=None,
 *                           func=None):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_19item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_18item_insert_after[] = "Gengrid.item_insert_after(self, GengridItemClass item_class, item_data, GengridItem after_item=None, func=None)\nInsert a new item after another item in this gengrid.\n\n        :param item_class: a valid instance that defines the\n            behavior of this item. See :py:class:`GengridItemClass`.\n        :param item_data: some data that defines the model of this\n            item. This value will be given to methods of\n            ``item_class`` such as\n            :py:func:`GengridItemClass.text_get()`. It will also be\n            provided to ``func`` as its last parameter.\n        :param after_item: a reference item to use, the new item\n            will be inserted after it.\n        :param func: if not None, this must be a callable to be\n            called back when the item is selected. The function\n            signature is::\n\n                func(item, obj, item_data)\n\n            Where ``item`` is the handle, ``obj`` is the Evas object\n            that represents this item, and ``item_data`` is the\n            value given as parameter to this function.\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_19item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class = 0;
  PyObject *__pyx_v_item_data = 0;
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_after_item = 0;
  PyObject *__pyx_v_func = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("item_insert_after (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_item_class,&__pyx_n_s_item_data,&__pyx_n_s_after_item,&__pyx_n_s_func,0};
    PyObject* values[4] = {0,0,0,0};

    /* "efl/elementary/gengrid_widget.pxi":187
 * 
 *     def item_insert_after(self, GengridItemClass item_class not None,
 *                           item_data, GengridItem after_item=None,             # <<<<<<<<<<<<<<
 *                           func=None):
 *         """Insert a new item after another item in this gengrid.
 */
    values[2] = (PyObject *)((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)Py_None);

    /* "efl/elementary/gengrid_widget.pxi":188
 *     def item_insert_after(self, GengridItemClass item_class not None,
 *                           item_data, GengridItem after_item=None,
 *                           func=None):             # <<<<<<<<<<<<<<
 *         """Insert a new item after another item in this gengrid.
 * 
 */
    values[3] = ((PyObject *)Py_None);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        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_item_class)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_item_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("item_insert_after", 0, 2, 4, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_after_item);
          if (value) { values[2] = value; kw_args--; }
        }
        case  3:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func);
          if (value) { values[3] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "item_insert_after") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_item_class = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)values[0]);
    __pyx_v_item_data = values[1];
    __pyx_v_after_item = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)values[2]);
    __pyx_v_func = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("item_insert_after", 0, 2, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.item_insert_after", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_item_class), __pyx_ptype_3efl_10elementary_7gengrid_GengridItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_after_item), __pyx_ptype_3efl_10elementary_7gengrid_GengridItem, 1, "after_item", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_18item_insert_after(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_after_item, __pyx_v_func);

  /* "efl/elementary/gengrid_widget.pxi":186
 *                           .insert_before(before_item)
 * 
 *     def item_insert_after(self, GengridItemClass item_class not None,             # <<<<<<<<<<<<<<
 *                           item_data, GengridItem after_item=None,
 *                           func=None):
 */

  /* 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_7gengrid_7Gengrid_18item_insert_after(CYTHON_UNUSED struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_after_item, PyObject *__pyx_v_func) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("item_insert_after", 0);

  /* "efl/elementary/gengrid_widget.pxi":210
 *             value given as parameter to this function.
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\             # <<<<<<<<<<<<<<
 *                           .insert_before(after_item)
 * 
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/elementary/gengrid_widget.pxi":211
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\
 *                           .insert_before(after_item)             # <<<<<<<<<<<<<<
 * 
 *     # XXX TODO elm_gengrid_item_sorted_insert()
 */
  __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_item_class));
  __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
  __Pyx_INCREF(__pyx_v_item_data);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_item_data);
  __Pyx_GIVEREF(__pyx_v_item_data);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __Pyx_INCREF(__pyx_v_item_data);
  PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_v_item_data);
  __Pyx_GIVEREF(__pyx_v_item_data);

  /* "efl/elementary/gengrid_widget.pxi":210
 *             value given as parameter to this function.
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\             # <<<<<<<<<<<<<<
 *                           .insert_before(after_item)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_3efl_10elementary_7gengrid_GengridItem)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":211
 *         """
 *         return GengridItem(item_class, item_data, func, item_data)\
 *                           .insert_before(after_item)             # <<<<<<<<<<<<<<
 * 
 *     # XXX TODO elm_gengrid_item_sorted_insert()
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_insert_before); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  if (!__pyx_t_3) {
    __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, ((PyObject *)__pyx_v_after_item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
  } else {
    __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
    __Pyx_INCREF(((PyObject *)__pyx_v_after_item));
    PyTuple_SET_ITEM(__pyx_t_4, 0+1, ((PyObject *)__pyx_v_after_item));
    __Pyx_GIVEREF(((PyObject *)__pyx_v_after_item));
    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":186
 *                           .insert_before(before_item)
 * 
 *     def item_insert_after(self, GengridItemClass item_class not None,             # <<<<<<<<<<<<<<
 *                           item_data, GengridItem after_item=None,
 *                           func=None):
 */

  /* 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_AddTraceback("efl.elementary.gengrid.Gengrid.item_insert_after", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":224
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_to_python(elm_gengrid_selected_item_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_13selected_item_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_13selected_item_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_13selected_item___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_13selected_item___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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/gengrid_widget.pxi":225
 *         """
 *         def __get__(self):
 *             return _object_item_to_python(elm_gengrid_selected_item_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     def selected_item_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(elm_gengrid_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 225; __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/gengrid_widget.pxi":224
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_to_python(elm_gengrid_selected_item_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":227
 *             return _object_item_to_python(elm_gengrid_selected_item_get(self.obj))
 * 
 *     def selected_item_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_to_python(elm_gengrid_selected_item_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_21selected_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_20selected_item_get[] = "Gengrid.selected_item_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_21selected_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("selected_item_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_20selected_item_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_20selected_item_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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("selected_item_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":228
 * 
 *     def selected_item_get(self):
 *         return _object_item_to_python(elm_gengrid_selected_item_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     property selected_items:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(elm_gengrid_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 228; __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/gengrid_widget.pxi":227
 *             return _object_item_to_python(elm_gengrid_selected_item_get(self.obj))
 * 
 *     def selected_item_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_to_python(elm_gengrid_selected_item_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":239
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_list_to_python(elm_gengrid_selected_items_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14selected_items_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14selected_items_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14selected_items___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14selected_items___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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/gengrid_widget.pxi":240
 *         """
 *         def __get__(self):
 *             return _object_item_list_to_python(elm_gengrid_selected_items_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     def selected_items_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_list_to_python(elm_gengrid_selected_items_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 240; __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/gengrid_widget.pxi":239
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_list_to_python(elm_gengrid_selected_items_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":242
 *             return _object_item_list_to_python(elm_gengrid_selected_items_get(self.obj))
 * 
 *     def selected_items_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_list_to_python(elm_gengrid_selected_items_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_23selected_items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_22selected_items_get[] = "Gengrid.selected_items_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_23selected_items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("selected_items_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_22selected_items_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_22selected_items_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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("selected_items_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":243
 * 
 *     def selected_items_get(self):
 *         return _object_item_list_to_python(elm_gengrid_selected_items_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     property realized_items:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_list_to_python(elm_gengrid_selected_items_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 243; __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/gengrid_widget.pxi":242
 *             return _object_item_list_to_python(elm_gengrid_selected_items_get(self.obj))
 * 
 *     def selected_items_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_list_to_python(elm_gengrid_selected_items_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":253
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14realized_items_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14realized_items_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14realized_items___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14realized_items___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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/gengrid_widget.pxi":254
 *         """
 *         def __get__(self):
 *             return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     def realized_items_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_list_to_python(elm_gengrid_realized_items_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 254; __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/gengrid_widget.pxi":253
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":256
 *             return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj))
 * 
 *     def realized_items_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_25realized_items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_24realized_items_get[] = "Gengrid.realized_items_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_25realized_items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("realized_items_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_24realized_items_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_24realized_items_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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("realized_items_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":257
 * 
 *     def realized_items_get(self):
 *         return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     def realized_items_update(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_list_to_python(elm_gengrid_realized_items_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 257; __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/gengrid_widget.pxi":256
 *             return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj))
 * 
 *     def realized_items_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":259
 *         return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj))
 * 
 *     def realized_items_update(self):             # <<<<<<<<<<<<<<
 *         """This updates all realized items by calling all the item class
 *         functions again to get the contents, texts and states. Use this when
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_27realized_items_update(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_26realized_items_update[] = "Gengrid.realized_items_update(self)\nThis updates all realized items by calling all the item class\n        functions again to get the contents, texts and states. Use this when\n        the original item data has changed and the changes are desired to be\n        reflected.\n\n        To update just one item, use elm_gengrid_item_update().\n\n        .. seealso:: :py:attr:`realized_items` :py:func:`GengridItem.update()`\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_27realized_items_update(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("realized_items_update (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_26realized_items_update(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_26realized_items_update(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("realized_items_update", 0);

  /* "efl/elementary/gengrid_widget.pxi":270
 * 
 *         """
 *         elm_gengrid_realized_items_update(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     property first_item:
 */
  elm_gengrid_realized_items_update(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);

  /* "efl/elementary/gengrid_widget.pxi":259
 *         return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj))
 * 
 *     def realized_items_update(self):             # <<<<<<<<<<<<<<
 *         """This updates all realized items by calling all the item class
 *         functions again to get the contents, texts and states. Use this when
 */

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

/* "efl/elementary/gengrid_widget.pxi":278
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_to_python(elm_gengrid_first_item_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_10first_item_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_10first_item_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_10first_item___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_10first_item___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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/gengrid_widget.pxi":279
 *         """
 *         def __get__(self):
 *             return _object_item_to_python(elm_gengrid_first_item_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     def first_item_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(elm_gengrid_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 279; __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/gengrid_widget.pxi":278
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_to_python(elm_gengrid_first_item_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":281
 *             return _object_item_to_python(elm_gengrid_first_item_get(self.obj))
 * 
 *     def first_item_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_to_python(elm_gengrid_first_item_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_29first_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_28first_item_get[] = "Gengrid.first_item_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_29first_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("first_item_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_28first_item_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_28first_item_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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("first_item_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":282
 * 
 *     def first_item_get(self):
 *         return _object_item_to_python(elm_gengrid_first_item_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     property last_item:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(elm_gengrid_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 282; __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/gengrid_widget.pxi":281
 *             return _object_item_to_python(elm_gengrid_first_item_get(self.obj))
 * 
 *     def first_item_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_to_python(elm_gengrid_first_item_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":290
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_to_python(elm_gengrid_last_item_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9last_item_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9last_item_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_9last_item___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_9last_item___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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/gengrid_widget.pxi":291
 *         """
 *         def __get__(self):
 *             return _object_item_to_python(elm_gengrid_last_item_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     def last_item_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(elm_gengrid_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 291; __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/gengrid_widget.pxi":290
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_to_python(elm_gengrid_last_item_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":293
 *             return _object_item_to_python(elm_gengrid_last_item_get(self.obj))
 * 
 *     def last_item_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_to_python(elm_gengrid_last_item_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_31last_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_30last_item_get[] = "Gengrid.last_item_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_31last_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("last_item_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_30last_item_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_30last_item_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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("last_item_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":294
 * 
 *     def last_item_get(self):
 *         return _object_item_to_python(elm_gengrid_last_item_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     property wheel_disabled:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(elm_gengrid_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 294; __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/gengrid_widget.pxi":293
 *             return _object_item_to_python(elm_gengrid_last_item_get(self.obj))
 * 
 *     def last_item_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_to_python(elm_gengrid_last_item_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":308
 * 
 *         """
 *         def __set__(self, bint disabled):             # <<<<<<<<<<<<<<
 *             elm_gengrid_wheel_disabled_set(self.obj, disabled)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14wheel_disabled_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_disabled); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14wheel_disabled_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_disabled) {
  int __pyx_v_disabled;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  assert(__pyx_arg_disabled); {
    __pyx_v_disabled = __Pyx_PyObject_IsTrue(__pyx_arg_disabled); if (unlikely((__pyx_v_disabled == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.wheel_disabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14wheel_disabled___set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((int)__pyx_v_disabled));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14wheel_disabled___set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, int __pyx_v_disabled) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":309
 *         """
 *         def __set__(self, bint disabled):
 *             elm_gengrid_wheel_disabled_set(self.obj, disabled)             # <<<<<<<<<<<<<<
 * 
 *         def __get__(self):
 */
  elm_gengrid_wheel_disabled_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_disabled);

  /* "efl/elementary/gengrid_widget.pxi":308
 * 
 *         """
 *         def __set__(self, bint disabled):             # <<<<<<<<<<<<<<
 *             elm_gengrid_wheel_disabled_set(self.obj, disabled)
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":311
 *             elm_gengrid_wheel_disabled_set(self.obj, disabled)
 * 
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_wheel_disabled_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14wheel_disabled_3__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14wheel_disabled_3__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14wheel_disabled_2__get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14wheel_disabled_2__get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  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/gengrid_widget.pxi":312
 * 
 *         def __get__(self):
 *             return bool(elm_gengrid_wheel_disabled_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     property items_count:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_wheel_disabled_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 312; __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/gengrid_widget.pxi":311
 *             elm_gengrid_wheel_disabled_set(self.obj, disabled)
 * 
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_wheel_disabled_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":320
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return elm_gengrid_items_count(self.obj)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_11items_count_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_11items_count_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_11items_count___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_11items_count___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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/gengrid_widget.pxi":321
 *         """
 *         def __get__(self):
 *             return elm_gengrid_items_count(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     property item_size:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(elm_gengrid_items_count(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 321; __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/gengrid_widget.pxi":320
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return elm_gengrid_items_count(self.obj)
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":331
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             cdef Evas_Coord x, y
 *             elm_gengrid_item_size_get(self.obj, &x, &y)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9item_size_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9item_size_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_9item_size___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_9item_size___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  Evas_Coord __pyx_v_x;
  Evas_Coord __pyx_v_y;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/elementary/gengrid_widget.pxi":333
 *         def __get__(self):
 *             cdef Evas_Coord x, y
 *             elm_gengrid_item_size_get(self.obj, &x, &y)             # <<<<<<<<<<<<<<
 *             return (x, y)
 * 
 */
  elm_gengrid_item_size_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y));

  /* "efl/elementary/gengrid_widget.pxi":334
 *             cdef Evas_Coord x, y
 *             elm_gengrid_item_size_get(self.obj, &x, &y)
 *             return (x, y)             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, value):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Evas_Coord(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyInt_From_Evas_Coord(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":331
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             cdef Evas_Coord x, y
 *             elm_gengrid_item_size_get(self.obj, &x, &y)
 */

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

/* "efl/elementary/gengrid_widget.pxi":336
 *             return (x, y)
 * 
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             w, h = value
 *             elm_gengrid_item_size_set(self.obj, w, h)
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9item_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9item_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_9item_size_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_9item_size_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value) {
  PyObject *__pyx_v_w = NULL;
  PyObject *__pyx_v_h = NULL;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *(*__pyx_t_4)(PyObject *);
  Evas_Coord __pyx_t_5;
  Evas_Coord __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":337
 * 
 *         def __set__(self, value):
 *             w, h = value             # <<<<<<<<<<<<<<
 *             elm_gengrid_item_size_set(self.obj, w, h)
 * 
 */
  if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
    PyObject* sequence = __pyx_v_value;
    #if CYTHON_COMPILING_IN_CPYTHON
    Py_ssize_t size = Py_SIZE(sequence);
    #else
    Py_ssize_t size = PySequence_Size(sequence);
    #endif
    if (unlikely(size != 2)) {
      if (size > 2) __Pyx_RaiseTooManyValuesError(2);
      else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
      {__pyx_filename = __pyx_f[3]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    #if CYTHON_COMPILING_IN_CPYTHON
    if (likely(PyTuple_CheckExact(sequence))) {
      __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); 
    } else {
      __pyx_t_1 = PyList_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyList_GET_ITEM(sequence, 1); 
    }
    __Pyx_INCREF(__pyx_t_1);
    __Pyx_INCREF(__pyx_t_2);
    #else
    __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_2 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    #endif
  } else {
    Py_ssize_t index = -1;
    __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = Py_TYPE(__pyx_t_3)->tp_iternext;
    index = 0; __pyx_t_1 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_1);
    index = 1; __pyx_t_2 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_2);
    if (__Pyx_IternextUnpackEndCheck(__pyx_t_4(__pyx_t_3), 2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = NULL;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    goto __pyx_L4_unpacking_done;
    __pyx_L3_unpacking_failed:;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_t_4 = NULL;
    if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
    {__pyx_filename = __pyx_f[3]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_L4_unpacking_done:;
  }
  __pyx_v_w = __pyx_t_1;
  __pyx_t_1 = 0;
  __pyx_v_h = __pyx_t_2;
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":338
 *         def __set__(self, value):
 *             w, h = value
 *             elm_gengrid_item_size_set(self.obj, w, h)             # <<<<<<<<<<<<<<
 * 
 *     def item_size_set(self, w, h):
 */
  __pyx_t_5 = __Pyx_PyInt_As_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_5 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_6 = __Pyx_PyInt_As_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_6 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_item_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);

  /* "efl/elementary/gengrid_widget.pxi":336
 *             return (x, y)
 * 
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             w, h = value
 *             elm_gengrid_item_size_set(self.obj, w, h)
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.item_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_w);
  __Pyx_XDECREF(__pyx_v_h);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":340
 *             elm_gengrid_item_size_set(self.obj, w, h)
 * 
 *     def item_size_set(self, w, h):             # <<<<<<<<<<<<<<
 *         elm_gengrid_item_size_set(self.obj, w, h)
 *     def item_size_get(self):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_33item_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_32item_size_set[] = "Gengrid.item_size_set(self, w, h)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_33item_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_w = 0;
  PyObject *__pyx_v_h = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("item_size_set (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_w,&__pyx_n_s_h,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_w)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_h)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("item_size_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "item_size_set") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 340; __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_w = values[0];
    __pyx_v_h = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("item_size_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.item_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_32item_size_set(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_w, __pyx_v_h);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_32item_size_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_w, PyObject *__pyx_v_h) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  Evas_Coord __pyx_t_1;
  Evas_Coord __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("item_size_set", 0);

  /* "efl/elementary/gengrid_widget.pxi":341
 * 
 *     def item_size_set(self, w, h):
 *         elm_gengrid_item_size_set(self.obj, w, h)             # <<<<<<<<<<<<<<
 *     def item_size_get(self):
 *         cdef Evas_Coord x, y
 */
  __pyx_t_1 = __Pyx_PyInt_As_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_2 = __Pyx_PyInt_As_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_item_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":340
 *             elm_gengrid_item_size_set(self.obj, w, h)
 * 
 *     def item_size_set(self, w, h):             # <<<<<<<<<<<<<<
 *         elm_gengrid_item_size_set(self.obj, w, h)
 *     def item_size_get(self):
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.item_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":342
 *     def item_size_set(self, w, h):
 *         elm_gengrid_item_size_set(self.obj, w, h)
 *     def item_size_get(self):             # <<<<<<<<<<<<<<
 *         cdef Evas_Coord x, y
 *         elm_gengrid_item_size_get(self.obj, &x, &y)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_35item_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_34item_size_get[] = "Gengrid.item_size_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_35item_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("item_size_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_34item_size_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_34item_size_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  Evas_Coord __pyx_v_x;
  Evas_Coord __pyx_v_y;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("item_size_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":344
 *     def item_size_get(self):
 *         cdef Evas_Coord x, y
 *         elm_gengrid_item_size_get(self.obj, &x, &y)             # <<<<<<<<<<<<<<
 *         return (x, y)
 * 
 */
  elm_gengrid_item_size_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y));

  /* "efl/elementary/gengrid_widget.pxi":345
 *         cdef Evas_Coord x, y
 *         elm_gengrid_item_size_get(self.obj, &x, &y)
 *         return (x, y)             # <<<<<<<<<<<<<<
 * 
 *     property group_item_size:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Evas_Coord(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyInt_From_Evas_Coord(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":342
 *     def item_size_set(self, w, h):
 *         elm_gengrid_item_size_set(self.obj, w, h)
 *     def item_size_get(self):             # <<<<<<<<<<<<<<
 *         cdef Evas_Coord x, y
 *         elm_gengrid_item_size_get(self.obj, &x, &y)
 */

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

/* "efl/elementary/gengrid_widget.pxi":355
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             cdef Evas_Coord w, h
 *             elm_gengrid_group_item_size_get(self.obj, &w, &h)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15group_item_size_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15group_item_size_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_15group_item_size___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_15group_item_size___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  Evas_Coord __pyx_v_w;
  Evas_Coord __pyx_v_h;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/elementary/gengrid_widget.pxi":357
 *         def __get__(self):
 *             cdef Evas_Coord w, h
 *             elm_gengrid_group_item_size_get(self.obj, &w, &h)             # <<<<<<<<<<<<<<
 *             return (w, h)
 * 
 */
  elm_gengrid_group_item_size_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));

  /* "efl/elementary/gengrid_widget.pxi":358
 *             cdef Evas_Coord w, h
 *             elm_gengrid_group_item_size_get(self.obj, &w, &h)
 *             return (w, h)             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, value):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyInt_From_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":355
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             cdef Evas_Coord w, h
 *             elm_gengrid_group_item_size_get(self.obj, &w, &h)
 */

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

/* "efl/elementary/gengrid_widget.pxi":360
 *             return (w, h)
 * 
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             w, h = value
 *             elm_gengrid_group_item_size_set(self.obj, w, h)
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15group_item_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15group_item_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_15group_item_size_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_15group_item_size_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value) {
  PyObject *__pyx_v_w = NULL;
  PyObject *__pyx_v_h = NULL;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *(*__pyx_t_4)(PyObject *);
  Evas_Coord __pyx_t_5;
  Evas_Coord __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":361
 * 
 *         def __set__(self, value):
 *             w, h = value             # <<<<<<<<<<<<<<
 *             elm_gengrid_group_item_size_set(self.obj, w, h)
 * 
 */
  if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
    PyObject* sequence = __pyx_v_value;
    #if CYTHON_COMPILING_IN_CPYTHON
    Py_ssize_t size = Py_SIZE(sequence);
    #else
    Py_ssize_t size = PySequence_Size(sequence);
    #endif
    if (unlikely(size != 2)) {
      if (size > 2) __Pyx_RaiseTooManyValuesError(2);
      else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
      {__pyx_filename = __pyx_f[3]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    #if CYTHON_COMPILING_IN_CPYTHON
    if (likely(PyTuple_CheckExact(sequence))) {
      __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); 
    } else {
      __pyx_t_1 = PyList_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyList_GET_ITEM(sequence, 1); 
    }
    __Pyx_INCREF(__pyx_t_1);
    __Pyx_INCREF(__pyx_t_2);
    #else
    __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_2 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    #endif
  } else {
    Py_ssize_t index = -1;
    __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = Py_TYPE(__pyx_t_3)->tp_iternext;
    index = 0; __pyx_t_1 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_1);
    index = 1; __pyx_t_2 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_2);
    if (__Pyx_IternextUnpackEndCheck(__pyx_t_4(__pyx_t_3), 2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = NULL;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    goto __pyx_L4_unpacking_done;
    __pyx_L3_unpacking_failed:;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_t_4 = NULL;
    if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
    {__pyx_filename = __pyx_f[3]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_L4_unpacking_done:;
  }
  __pyx_v_w = __pyx_t_1;
  __pyx_t_1 = 0;
  __pyx_v_h = __pyx_t_2;
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":362
 *         def __set__(self, value):
 *             w, h = value
 *             elm_gengrid_group_item_size_set(self.obj, w, h)             # <<<<<<<<<<<<<<
 * 
 *     def group_item_size_set(self, w, h):
 */
  __pyx_t_5 = __Pyx_PyInt_As_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_5 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_6 = __Pyx_PyInt_As_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_6 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_group_item_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);

  /* "efl/elementary/gengrid_widget.pxi":360
 *             return (w, h)
 * 
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             w, h = value
 *             elm_gengrid_group_item_size_set(self.obj, w, h)
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.group_item_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_w);
  __Pyx_XDECREF(__pyx_v_h);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":364
 *             elm_gengrid_group_item_size_set(self.obj, w, h)
 * 
 *     def group_item_size_set(self, w, h):             # <<<<<<<<<<<<<<
 *         elm_gengrid_group_item_size_set(self.obj, w, h)
 *     def group_item_size_get(self):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_37group_item_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_36group_item_size_set[] = "Gengrid.group_item_size_set(self, w, h)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_37group_item_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_w = 0;
  PyObject *__pyx_v_h = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("group_item_size_set (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_w,&__pyx_n_s_h,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_w)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_h)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("group_item_size_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 364; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "group_item_size_set") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 364; __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_w = values[0];
    __pyx_v_h = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("group_item_size_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 364; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.group_item_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_36group_item_size_set(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_w, __pyx_v_h);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_36group_item_size_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_w, PyObject *__pyx_v_h) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  Evas_Coord __pyx_t_1;
  Evas_Coord __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("group_item_size_set", 0);

  /* "efl/elementary/gengrid_widget.pxi":365
 * 
 *     def group_item_size_set(self, w, h):
 *         elm_gengrid_group_item_size_set(self.obj, w, h)             # <<<<<<<<<<<<<<
 *     def group_item_size_get(self):
 *         cdef Evas_Coord w, h
 */
  __pyx_t_1 = __Pyx_PyInt_As_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_2 = __Pyx_PyInt_As_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_group_item_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":364
 *             elm_gengrid_group_item_size_set(self.obj, w, h)
 * 
 *     def group_item_size_set(self, w, h):             # <<<<<<<<<<<<<<
 *         elm_gengrid_group_item_size_set(self.obj, w, h)
 *     def group_item_size_get(self):
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.group_item_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":366
 *     def group_item_size_set(self, w, h):
 *         elm_gengrid_group_item_size_set(self.obj, w, h)
 *     def group_item_size_get(self):             # <<<<<<<<<<<<<<
 *         cdef Evas_Coord w, h
 *         elm_gengrid_group_item_size_get(self.obj, &w, &h)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_39group_item_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_38group_item_size_get[] = "Gengrid.group_item_size_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_39group_item_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("group_item_size_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_38group_item_size_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_38group_item_size_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  Evas_Coord __pyx_v_w;
  Evas_Coord __pyx_v_h;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("group_item_size_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":368
 *     def group_item_size_get(self):
 *         cdef Evas_Coord w, h
 *         elm_gengrid_group_item_size_get(self.obj, &w, &h)             # <<<<<<<<<<<<<<
 *         return (w, h)
 * 
 */
  elm_gengrid_group_item_size_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));

  /* "efl/elementary/gengrid_widget.pxi":369
 *         cdef Evas_Coord w, h
 *         elm_gengrid_group_item_size_get(self.obj, &w, &h)
 *         return (w, h)             # <<<<<<<<<<<<<<
 * 
 *     property align:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyInt_From_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":366
 *     def group_item_size_set(self, w, h):
 *         elm_gengrid_group_item_size_set(self.obj, w, h)
 *     def group_item_size_get(self):             # <<<<<<<<<<<<<<
 *         cdef Evas_Coord w, h
 *         elm_gengrid_group_item_size_get(self.obj, &w, &h)
 */

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

/* "efl/elementary/gengrid_widget.pxi":384
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             cdef double align_x, align_y
 *             elm_gengrid_align_get(self.obj, &align_x, &align_y)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_5align_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_5align_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_5align___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_5align___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  double __pyx_v_align_x;
  double __pyx_v_align_y;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/elementary/gengrid_widget.pxi":386
 *         def __get__(self):
 *             cdef double align_x, align_y
 *             elm_gengrid_align_get(self.obj, &align_x, &align_y)             # <<<<<<<<<<<<<<
 *             return (align_x, align_y)
 * 
 */
  elm_gengrid_align_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_align_x), (&__pyx_v_align_y));

  /* "efl/elementary/gengrid_widget.pxi":387
 *             cdef double align_x, align_y
 *             elm_gengrid_align_get(self.obj, &align_x, &align_y)
 *             return (align_x, align_y)             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, value):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyFloat_FromDouble(__pyx_v_align_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyFloat_FromDouble(__pyx_v_align_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":384
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             cdef double align_x, align_y
 *             elm_gengrid_align_get(self.obj, &align_x, &align_y)
 */

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

/* "efl/elementary/gengrid_widget.pxi":389
 *             return (align_x, align_y)
 * 
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             align_x, align_y = value
 *             elm_gengrid_align_set(self.obj, align_x, align_y)
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_5align_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_5align_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_5align_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_5align_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value) {
  PyObject *__pyx_v_align_x = NULL;
  PyObject *__pyx_v_align_y = NULL;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *(*__pyx_t_4)(PyObject *);
  double __pyx_t_5;
  double __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":390
 * 
 *         def __set__(self, value):
 *             align_x, align_y = value             # <<<<<<<<<<<<<<
 *             elm_gengrid_align_set(self.obj, align_x, align_y)
 * 
 */
  if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
    PyObject* sequence = __pyx_v_value;
    #if CYTHON_COMPILING_IN_CPYTHON
    Py_ssize_t size = Py_SIZE(sequence);
    #else
    Py_ssize_t size = PySequence_Size(sequence);
    #endif
    if (unlikely(size != 2)) {
      if (size > 2) __Pyx_RaiseTooManyValuesError(2);
      else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
      {__pyx_filename = __pyx_f[3]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    #if CYTHON_COMPILING_IN_CPYTHON
    if (likely(PyTuple_CheckExact(sequence))) {
      __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); 
    } else {
      __pyx_t_1 = PyList_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyList_GET_ITEM(sequence, 1); 
    }
    __Pyx_INCREF(__pyx_t_1);
    __Pyx_INCREF(__pyx_t_2);
    #else
    __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_2 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    #endif
  } else {
    Py_ssize_t index = -1;
    __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = Py_TYPE(__pyx_t_3)->tp_iternext;
    index = 0; __pyx_t_1 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_1);
    index = 1; __pyx_t_2 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_2);
    if (__Pyx_IternextUnpackEndCheck(__pyx_t_4(__pyx_t_3), 2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = NULL;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    goto __pyx_L4_unpacking_done;
    __pyx_L3_unpacking_failed:;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_t_4 = NULL;
    if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
    {__pyx_filename = __pyx_f[3]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_L4_unpacking_done:;
  }
  __pyx_v_align_x = __pyx_t_1;
  __pyx_t_1 = 0;
  __pyx_v_align_y = __pyx_t_2;
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":391
 *         def __set__(self, value):
 *             align_x, align_y = value
 *             elm_gengrid_align_set(self.obj, align_x, align_y)             # <<<<<<<<<<<<<<
 * 
 *     def align_set(self, align_x, align_y):
 */
  __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_v_align_x); if (unlikely((__pyx_t_5 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_6 = __pyx_PyFloat_AsDouble(__pyx_v_align_y); if (unlikely((__pyx_t_6 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_align_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);

  /* "efl/elementary/gengrid_widget.pxi":389
 *             return (align_x, align_y)
 * 
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             align_x, align_y = value
 *             elm_gengrid_align_set(self.obj, align_x, align_y)
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.align.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_align_x);
  __Pyx_XDECREF(__pyx_v_align_y);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":393
 *             elm_gengrid_align_set(self.obj, align_x, align_y)
 * 
 *     def align_set(self, align_x, align_y):             # <<<<<<<<<<<<<<
 *         elm_gengrid_align_set(self.obj, align_x, align_y)
 *     def align_get(self):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_41align_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_40align_set[] = "Gengrid.align_set(self, align_x, align_y)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_41align_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_align_x = 0;
  PyObject *__pyx_v_align_y = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("align_set (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_align_x,&__pyx_n_s_align_y,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_align_x)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_align_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("align_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "align_set") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 393; __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_align_x = values[0];
    __pyx_v_align_y = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("align_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.align_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_40align_set(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_align_x, __pyx_v_align_y);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_40align_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_align_x, PyObject *__pyx_v_align_y) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  double __pyx_t_1;
  double __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("align_set", 0);

  /* "efl/elementary/gengrid_widget.pxi":394
 * 
 *     def align_set(self, align_x, align_y):
 *         elm_gengrid_align_set(self.obj, align_x, align_y)             # <<<<<<<<<<<<<<
 *     def align_get(self):
 *         cdef double align_x, align_y
 */
  __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_align_x); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_align_y); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_align_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":393
 *             elm_gengrid_align_set(self.obj, align_x, align_y)
 * 
 *     def align_set(self, align_x, align_y):             # <<<<<<<<<<<<<<
 *         elm_gengrid_align_set(self.obj, align_x, align_y)
 *     def align_get(self):
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.align_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":395
 *     def align_set(self, align_x, align_y):
 *         elm_gengrid_align_set(self.obj, align_x, align_y)
 *     def align_get(self):             # <<<<<<<<<<<<<<
 *         cdef double align_x, align_y
 *         elm_gengrid_align_get(self.obj, &align_x, &align_y)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_43align_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_42align_get[] = "Gengrid.align_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_43align_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("align_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_42align_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_42align_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  double __pyx_v_align_x;
  double __pyx_v_align_y;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("align_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":397
 *     def align_get(self):
 *         cdef double align_x, align_y
 *         elm_gengrid_align_get(self.obj, &align_x, &align_y)             # <<<<<<<<<<<<<<
 *         return (align_x, align_y)
 * 
 */
  elm_gengrid_align_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_align_x), (&__pyx_v_align_y));

  /* "efl/elementary/gengrid_widget.pxi":398
 *         cdef double align_x, align_y
 *         elm_gengrid_align_get(self.obj, &align_x, &align_y)
 *         return (align_x, align_y)             # <<<<<<<<<<<<<<
 * 
 *     property reorder_mode:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyFloat_FromDouble(__pyx_v_align_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyFloat_FromDouble(__pyx_v_align_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":395
 *     def align_set(self, align_x, align_y):
 *         elm_gengrid_align_set(self.obj, align_x, align_y)
 *     def align_get(self):             # <<<<<<<<<<<<<<
 *         cdef double align_x, align_y
 *         elm_gengrid_align_get(self.obj, &align_x, &align_y)
 */

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

/* "efl/elementary/gengrid_widget.pxi":414
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_reorder_mode_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_12reorder_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_12reorder_mode_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12reorder_mode___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12reorder_mode___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  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/gengrid_widget.pxi":415
 *         """
 *         def __get__(self):
 *             return bool(elm_gengrid_reorder_mode_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, mode):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_reorder_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 415; __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/gengrid_widget.pxi":414
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_reorder_mode_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":417
 *             return bool(elm_gengrid_reorder_mode_get(self.obj))
 * 
 *         def __set__(self, mode):             # <<<<<<<<<<<<<<
 *             elm_gengrid_reorder_mode_set(self.obj, bool(mode))
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_12reorder_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_12reorder_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12reorder_mode_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_mode));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12reorder_mode_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_mode) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":418
 * 
 *         def __set__(self, mode):
 *             elm_gengrid_reorder_mode_set(self.obj, bool(mode))             # <<<<<<<<<<<<<<
 * 
 *     def reorder_mode_set(self, mode):
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_mode); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_reorder_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (!(!__pyx_t_1)));

  /* "efl/elementary/gengrid_widget.pxi":417
 *             return bool(elm_gengrid_reorder_mode_get(self.obj))
 * 
 *         def __set__(self, mode):             # <<<<<<<<<<<<<<
 *             elm_gengrid_reorder_mode_set(self.obj, bool(mode))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":420
 *             elm_gengrid_reorder_mode_set(self.obj, bool(mode))
 * 
 *     def reorder_mode_set(self, mode):             # <<<<<<<<<<<<<<
 *         elm_gengrid_reorder_mode_set(self.obj, bool(mode))
 *     def reorder_mode_get(self, mode):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_45reorder_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_44reorder_mode_set[] = "Gengrid.reorder_mode_set(self, mode)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_45reorder_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("reorder_mode_set (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_44reorder_mode_set(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_mode));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_44reorder_mode_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("reorder_mode_set", 0);

  /* "efl/elementary/gengrid_widget.pxi":421
 * 
 *     def reorder_mode_set(self, mode):
 *         elm_gengrid_reorder_mode_set(self.obj, bool(mode))             # <<<<<<<<<<<<<<
 *     def reorder_mode_get(self, mode):
 *         return bool(elm_gengrid_reorder_mode_get(self.obj))
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_mode); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 421; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_reorder_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (!(!__pyx_t_1)));

  /* "efl/elementary/gengrid_widget.pxi":420
 *             elm_gengrid_reorder_mode_set(self.obj, bool(mode))
 * 
 *     def reorder_mode_set(self, mode):             # <<<<<<<<<<<<<<
 *         elm_gengrid_reorder_mode_set(self.obj, bool(mode))
 *     def reorder_mode_get(self, mode):
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.reorder_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":422
 *     def reorder_mode_set(self, mode):
 *         elm_gengrid_reorder_mode_set(self.obj, bool(mode))
 *     def reorder_mode_get(self, mode):             # <<<<<<<<<<<<<<
 *         return bool(elm_gengrid_reorder_mode_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_47reorder_mode_get(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_46reorder_mode_get[] = "Gengrid.reorder_mode_get(self, mode)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_47reorder_mode_get(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("reorder_mode_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_46reorder_mode_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_mode));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_46reorder_mode_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_mode) {
  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("reorder_mode_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":423
 *         elm_gengrid_reorder_mode_set(self.obj, bool(mode))
 *     def reorder_mode_get(self, mode):
 *         return bool(elm_gengrid_reorder_mode_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     def reorder_mode_start(self, tween_mode):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_reorder_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 423; __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/gengrid_widget.pxi":422
 *     def reorder_mode_set(self, mode):
 *         elm_gengrid_reorder_mode_set(self.obj, bool(mode))
 *     def reorder_mode_get(self, mode):             # <<<<<<<<<<<<<<
 *         return bool(elm_gengrid_reorder_mode_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":425
 *         return bool(elm_gengrid_reorder_mode_get(self.obj))
 * 
 *     def reorder_mode_start(self, tween_mode):             # <<<<<<<<<<<<<<
 *         """Enable the gengrid widget mode reordered with keys.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_49reorder_mode_start(PyObject *__pyx_v_self, PyObject *__pyx_v_tween_mode); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_48reorder_mode_start[] = "Gengrid.reorder_mode_start(self, tween_mode)\nEnable the gengrid widget mode reordered with keys.\n\n        :param tween_mode: Position mappings for animation\n        :type tween_mode: `efl.ecore.Ecore_Pos_Map`\n\n        .. versionadded:: 1.10\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_49reorder_mode_start(PyObject *__pyx_v_self, PyObject *__pyx_v_tween_mode) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("reorder_mode_start (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_48reorder_mode_start(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_tween_mode));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_48reorder_mode_start(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_tween_mode) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  Ecore_Pos_Map __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("reorder_mode_start", 0);

  /* "efl/elementary/gengrid_widget.pxi":434
 * 
 *         """
 *         elm_gengrid_reorder_mode_start(self.obj, tween_mode)             # <<<<<<<<<<<<<<
 * 
 *     def reorder_mode_stop(self):
 */
  __pyx_t_1 = ((Ecore_Pos_Map)PyInt_AsLong(__pyx_v_tween_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_reorder_mode_start(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);

  /* "efl/elementary/gengrid_widget.pxi":425
 *         return bool(elm_gengrid_reorder_mode_get(self.obj))
 * 
 *     def reorder_mode_start(self, tween_mode):             # <<<<<<<<<<<<<<
 *         """Enable the gengrid widget mode reordered with keys.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.reorder_mode_start", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":436
 *         elm_gengrid_reorder_mode_start(self.obj, tween_mode)
 * 
 *     def reorder_mode_stop(self):             # <<<<<<<<<<<<<<
 *         """Stop the gengrid widget mode reorder.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_51reorder_mode_stop(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_50reorder_mode_stop[] = "Gengrid.reorder_mode_stop(self)\nStop the gengrid widget mode reorder.\n\n        .. versionadded:: 1.10\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_51reorder_mode_stop(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("reorder_mode_stop (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_50reorder_mode_stop(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_50reorder_mode_stop(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("reorder_mode_stop", 0);

  /* "efl/elementary/gengrid_widget.pxi":442
 * 
 *         """
 *         elm_gengrid_reorder_mode_stop(self.obj)             # <<<<<<<<<<<<<<
 * 
 * 
 */
  elm_gengrid_reorder_mode_stop(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);

  /* "efl/elementary/gengrid_widget.pxi":436
 *         elm_gengrid_reorder_mode_start(self.obj, tween_mode)
 * 
 *     def reorder_mode_stop(self):             # <<<<<<<<<<<<<<
 *         """Stop the gengrid widget mode reorder.
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":456
 * 
 *         """
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             elm_gengrid_reorder_type_set(self.obj, value)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_12reorder_type_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_12reorder_type_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12reorder_type___set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_12reorder_type___set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  Elm_Gengrid_Reorder_Type __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":457
 *         """
 *         def __set__(self, value):
 *             elm_gengrid_reorder_type_set(self.obj, value)             # <<<<<<<<<<<<<<
 * 
 *     def reorder_type_set(self, value):
 */
  __pyx_t_1 = ((Elm_Gengrid_Reorder_Type)PyInt_AsLong(__pyx_v_value)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 457; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_reorder_type_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);

  /* "efl/elementary/gengrid_widget.pxi":456
 * 
 *         """
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             elm_gengrid_reorder_type_set(self.obj, value)
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":459
 *             elm_gengrid_reorder_type_set(self.obj, value)
 * 
 *     def reorder_type_set(self, value):             # <<<<<<<<<<<<<<
 *         elm_gengrid_reorder_type_set(self.obj, value)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_53reorder_type_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_52reorder_type_set[] = "Gengrid.reorder_type_set(self, value)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_53reorder_type_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("reorder_type_set (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_52reorder_type_set(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_52reorder_type_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  Elm_Gengrid_Reorder_Type __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("reorder_type_set", 0);

  /* "efl/elementary/gengrid_widget.pxi":460
 * 
 *     def reorder_type_set(self, value):
 *         elm_gengrid_reorder_type_set(self.obj, value)             # <<<<<<<<<<<<<<
 * 
 *     property filled:
 */
  __pyx_t_1 = ((Elm_Gengrid_Reorder_Type)PyInt_AsLong(__pyx_v_value)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_reorder_type_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);

  /* "efl/elementary/gengrid_widget.pxi":459
 *             elm_gengrid_reorder_type_set(self.obj, value)
 * 
 *     def reorder_type_set(self, value):             # <<<<<<<<<<<<<<
 *         elm_gengrid_reorder_type_set(self.obj, value)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.reorder_type_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":471
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_filled_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_6filled_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_6filled_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6filled___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6filled___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  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/gengrid_widget.pxi":472
 *         """
 *         def __get__(self):
 *             return bool(elm_gengrid_filled_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, fill):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_filled_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 472; __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/gengrid_widget.pxi":471
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_filled_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":474
 *             return bool(elm_gengrid_filled_get(self.obj))
 * 
 *         def __set__(self, fill):             # <<<<<<<<<<<<<<
 *             elm_gengrid_filled_set(self.obj, bool(fill))
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_6filled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fill); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_6filled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fill) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6filled_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_fill));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6filled_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_fill) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":475
 * 
 *         def __set__(self, fill):
 *             elm_gengrid_filled_set(self.obj, bool(fill))             # <<<<<<<<<<<<<<
 * 
 *     def filled_set(self, fill):
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_fill); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 475; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_filled_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (!(!__pyx_t_1)));

  /* "efl/elementary/gengrid_widget.pxi":474
 *             return bool(elm_gengrid_filled_get(self.obj))
 * 
 *         def __set__(self, fill):             # <<<<<<<<<<<<<<
 *             elm_gengrid_filled_set(self.obj, bool(fill))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":477
 *             elm_gengrid_filled_set(self.obj, bool(fill))
 * 
 *     def filled_set(self, fill):             # <<<<<<<<<<<<<<
 *         elm_gengrid_filled_set(self.obj, bool(fill))
 *     def filled_get(self, fill):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_55filled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fill); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_54filled_set[] = "Gengrid.filled_set(self, fill)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_55filled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fill) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("filled_set (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_54filled_set(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_fill));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_54filled_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_fill) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("filled_set", 0);

  /* "efl/elementary/gengrid_widget.pxi":478
 * 
 *     def filled_set(self, fill):
 *         elm_gengrid_filled_set(self.obj, bool(fill))             # <<<<<<<<<<<<<<
 *     def filled_get(self, fill):
 *         return bool(elm_gengrid_filled_get(self.obj))
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_fill); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_filled_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (!(!__pyx_t_1)));

  /* "efl/elementary/gengrid_widget.pxi":477
 *             elm_gengrid_filled_set(self.obj, bool(fill))
 * 
 *     def filled_set(self, fill):             # <<<<<<<<<<<<<<
 *         elm_gengrid_filled_set(self.obj, bool(fill))
 *     def filled_get(self, fill):
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.filled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":479
 *     def filled_set(self, fill):
 *         elm_gengrid_filled_set(self.obj, bool(fill))
 *     def filled_get(self, fill):             # <<<<<<<<<<<<<<
 *         return bool(elm_gengrid_filled_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_57filled_get(PyObject *__pyx_v_self, PyObject *__pyx_v_fill); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_56filled_get[] = "Gengrid.filled_get(self, fill)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_57filled_get(PyObject *__pyx_v_self, PyObject *__pyx_v_fill) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("filled_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_56filled_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_fill));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_56filled_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_fill) {
  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("filled_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":480
 *         elm_gengrid_filled_set(self.obj, bool(fill))
 *     def filled_get(self, fill):
 *         return bool(elm_gengrid_filled_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     property page_relative:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_filled_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 480; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 480; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 480; __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/gengrid_widget.pxi":479
 *     def filled_set(self, fill):
 *         elm_gengrid_filled_set(self.obj, bool(fill))
 *     def filled_get(self, fill):             # <<<<<<<<<<<<<<
 *         return bool(elm_gengrid_filled_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":490
 * 
 *         """
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             cdef double h_pagerel, v_pagerel
 *             h_pagerel, v_pagerel = value
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_13page_relative_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_13page_relative_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_13page_relative___set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_13page_relative___set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value) {
  double __pyx_v_h_pagerel;
  double __pyx_v_v_pagerel;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *(*__pyx_t_4)(PyObject *);
  double __pyx_t_5;
  double __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":492
 *         def __set__(self, value):
 *             cdef double h_pagerel, v_pagerel
 *             h_pagerel, v_pagerel = value             # <<<<<<<<<<<<<<
 *             elm_gengrid_page_relative_set(self.obj, h_pagerel, v_pagerel)
 * 
 */
  if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
    PyObject* sequence = __pyx_v_value;
    #if CYTHON_COMPILING_IN_CPYTHON
    Py_ssize_t size = Py_SIZE(sequence);
    #else
    Py_ssize_t size = PySequence_Size(sequence);
    #endif
    if (unlikely(size != 2)) {
      if (size > 2) __Pyx_RaiseTooManyValuesError(2);
      else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
      {__pyx_filename = __pyx_f[3]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    #if CYTHON_COMPILING_IN_CPYTHON
    if (likely(PyTuple_CheckExact(sequence))) {
      __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); 
    } else {
      __pyx_t_1 = PyList_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyList_GET_ITEM(sequence, 1); 
    }
    __Pyx_INCREF(__pyx_t_1);
    __Pyx_INCREF(__pyx_t_2);
    #else
    __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_2 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    #endif
  } else {
    Py_ssize_t index = -1;
    __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = Py_TYPE(__pyx_t_3)->tp_iternext;
    index = 0; __pyx_t_1 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_1);
    index = 1; __pyx_t_2 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_2);
    if (__Pyx_IternextUnpackEndCheck(__pyx_t_4(__pyx_t_3), 2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = NULL;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    goto __pyx_L4_unpacking_done;
    __pyx_L3_unpacking_failed:;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_t_4 = NULL;
    if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
    {__pyx_filename = __pyx_f[3]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_L4_unpacking_done:;
  }
  __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_5 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_6 = __pyx_PyFloat_AsDouble(__pyx_t_2); if (unlikely((__pyx_t_6 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_v_h_pagerel = __pyx_t_5;
  __pyx_v_v_pagerel = __pyx_t_6;

  /* "efl/elementary/gengrid_widget.pxi":493
 *             cdef double h_pagerel, v_pagerel
 *             h_pagerel, v_pagerel = value
 *             elm_gengrid_page_relative_set(self.obj, h_pagerel, v_pagerel)             # <<<<<<<<<<<<<<
 * 
 *         def __get__(self):
 */
  elm_gengrid_page_relative_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_h_pagerel, __pyx_v_v_pagerel);

  /* "efl/elementary/gengrid_widget.pxi":490
 * 
 *         """
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             cdef double h_pagerel, v_pagerel
 *             h_pagerel, v_pagerel = value
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.page_relative.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":495
 *             elm_gengrid_page_relative_set(self.obj, h_pagerel, v_pagerel)
 * 
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             cdef double h_pagerel, v_pagerel
 *             elm_gengrid_page_relative_get(self.obj, &h_pagerel, &v_pagerel)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_13page_relative_3__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_13page_relative_3__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_13page_relative_2__get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_13page_relative_2__get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  double __pyx_v_h_pagerel;
  double __pyx_v_v_pagerel;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/elementary/gengrid_widget.pxi":497
 *         def __get__(self):
 *             cdef double h_pagerel, v_pagerel
 *             elm_gengrid_page_relative_get(self.obj, &h_pagerel, &v_pagerel)             # <<<<<<<<<<<<<<
 *             return h_pagerel, v_pagerel
 * 
 */
  elm_gengrid_page_relative_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_h_pagerel), (&__pyx_v_v_pagerel));

  /* "efl/elementary/gengrid_widget.pxi":498
 *             cdef double h_pagerel, v_pagerel
 *             elm_gengrid_page_relative_get(self.obj, &h_pagerel, &v_pagerel)
 *             return h_pagerel, v_pagerel             # <<<<<<<<<<<<<<
 * 
 *     property select_mode:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyFloat_FromDouble(__pyx_v_h_pagerel); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyFloat_FromDouble(__pyx_v_v_pagerel); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":495
 *             elm_gengrid_page_relative_set(self.obj, h_pagerel, v_pagerel)
 * 
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             cdef double h_pagerel, v_pagerel
 *             elm_gengrid_page_relative_get(self.obj, &h_pagerel, &v_pagerel)
 */

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

/* "efl/elementary/gengrid_widget.pxi":513
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return elm_gengrid_select_mode_get(self.obj)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_11select_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_11select_mode_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_11select_mode___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_11select_mode___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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/gengrid_widget.pxi":514
 *         """
 *         def __get__(self):
 *             return elm_gengrid_select_mode_get(self.obj)             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, mode):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyInt_FromLong(elm_gengrid_select_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 514; __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/gengrid_widget.pxi":513
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return elm_gengrid_select_mode_get(self.obj)
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":516
 *             return elm_gengrid_select_mode_get(self.obj)
 * 
 *         def __set__(self, mode):             # <<<<<<<<<<<<<<
 *             elm_gengrid_select_mode_set(self.obj, mode)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_11select_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_11select_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_11select_mode_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_mode));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_11select_mode_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_mode) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  Elm_Object_Select_Mode __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":517
 * 
 *         def __set__(self, mode):
 *             elm_gengrid_select_mode_set(self.obj, mode)             # <<<<<<<<<<<<<<
 * 
 *     def select_mode_set(self, mode):
 */
  __pyx_t_1 = ((Elm_Object_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_select_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);

  /* "efl/elementary/gengrid_widget.pxi":516
 *             return elm_gengrid_select_mode_get(self.obj)
 * 
 *         def __set__(self, mode):             # <<<<<<<<<<<<<<
 *             elm_gengrid_select_mode_set(self.obj, mode)
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":519
 *             elm_gengrid_select_mode_set(self.obj, mode)
 * 
 *     def select_mode_set(self, mode):             # <<<<<<<<<<<<<<
 *         elm_gengrid_select_mode_set(self.obj, mode)
 *     def select_mode_get(self):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_59select_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_58select_mode_set[] = "Gengrid.select_mode_set(self, mode)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_59select_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("select_mode_set (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_58select_mode_set(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_mode));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_58select_mode_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  Elm_Object_Select_Mode __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("select_mode_set", 0);

  /* "efl/elementary/gengrid_widget.pxi":520
 * 
 *     def select_mode_set(self, mode):
 *         elm_gengrid_select_mode_set(self.obj, mode)             # <<<<<<<<<<<<<<
 *     def select_mode_get(self):
 *         return elm_gengrid_select_mode_get(self.obj)
 */
  __pyx_t_1 = ((Elm_Object_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 520; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_select_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);

  /* "efl/elementary/gengrid_widget.pxi":519
 *             elm_gengrid_select_mode_set(self.obj, mode)
 * 
 *     def select_mode_set(self, mode):             # <<<<<<<<<<<<<<
 *         elm_gengrid_select_mode_set(self.obj, mode)
 *     def select_mode_get(self):
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.select_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":521
 *     def select_mode_set(self, mode):
 *         elm_gengrid_select_mode_set(self.obj, mode)
 *     def select_mode_get(self):             # <<<<<<<<<<<<<<
 *         return elm_gengrid_select_mode_get(self.obj)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_61select_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_60select_mode_get[] = "Gengrid.select_mode_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_61select_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("select_mode_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_60select_mode_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_60select_mode_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__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("select_mode_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":522
 *         elm_gengrid_select_mode_set(self.obj, mode)
 *     def select_mode_get(self):
 *         return elm_gengrid_select_mode_get(self.obj)             # <<<<<<<<<<<<<<
 * 
 *     property highlight_mode:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyInt_FromLong(elm_gengrid_select_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 522; __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/gengrid_widget.pxi":521
 *     def select_mode_set(self, mode):
 *         elm_gengrid_select_mode_set(self.obj, mode)
 *     def select_mode_get(self):             # <<<<<<<<<<<<<<
 *         return elm_gengrid_select_mode_get(self.obj)
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":532
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_highlight_mode_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14highlight_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14highlight_mode_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14highlight_mode___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14highlight_mode___get__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  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/gengrid_widget.pxi":533
 *         """
 *         def __get__(self):
 *             return bool(elm_gengrid_highlight_mode_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, highlight):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_highlight_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 533; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 533; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 533; __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/gengrid_widget.pxi":532
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_highlight_mode_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":535
 *             return bool(elm_gengrid_highlight_mode_get(self.obj))
 * 
 *         def __set__(self, highlight):             # <<<<<<<<<<<<<<
 *             elm_gengrid_highlight_mode_set(self.obj, bool(highlight))
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14highlight_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_highlight); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14highlight_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_highlight) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14highlight_mode_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_highlight));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_14highlight_mode_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_highlight) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":536
 * 
 *         def __set__(self, highlight):
 *             elm_gengrid_highlight_mode_set(self.obj, bool(highlight))             # <<<<<<<<<<<<<<
 * 
 *     def highlight_mode_set(self, highlight):
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_highlight); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 536; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_highlight_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (!(!__pyx_t_1)));

  /* "efl/elementary/gengrid_widget.pxi":535
 *             return bool(elm_gengrid_highlight_mode_get(self.obj))
 * 
 *         def __set__(self, highlight):             # <<<<<<<<<<<<<<
 *             elm_gengrid_highlight_mode_set(self.obj, bool(highlight))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":538
 *             elm_gengrid_highlight_mode_set(self.obj, bool(highlight))
 * 
 *     def highlight_mode_set(self, highlight):             # <<<<<<<<<<<<<<
 *         elm_gengrid_highlight_mode_set(self.obj, bool(highlight))
 *     def highlight_mode_get(self, fill):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_63highlight_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_highlight); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_62highlight_mode_set[] = "Gengrid.highlight_mode_set(self, highlight)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_63highlight_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_highlight) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("highlight_mode_set (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_62highlight_mode_set(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_highlight));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_62highlight_mode_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_highlight) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("highlight_mode_set", 0);

  /* "efl/elementary/gengrid_widget.pxi":539
 * 
 *     def highlight_mode_set(self, highlight):
 *         elm_gengrid_highlight_mode_set(self.obj, bool(highlight))             # <<<<<<<<<<<<<<
 *     def highlight_mode_get(self, fill):
 *         return bool(elm_gengrid_highlight_mode_get(self.obj))
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_highlight); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 539; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_highlight_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (!(!__pyx_t_1)));

  /* "efl/elementary/gengrid_widget.pxi":538
 *             elm_gengrid_highlight_mode_set(self.obj, bool(highlight))
 * 
 *     def highlight_mode_set(self, highlight):             # <<<<<<<<<<<<<<
 *         elm_gengrid_highlight_mode_set(self.obj, bool(highlight))
 *     def highlight_mode_get(self, fill):
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.highlight_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":540
 *     def highlight_mode_set(self, highlight):
 *         elm_gengrid_highlight_mode_set(self.obj, bool(highlight))
 *     def highlight_mode_get(self, fill):             # <<<<<<<<<<<<<<
 *         return bool(elm_gengrid_highlight_mode_get(self.obj))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_65highlight_mode_get(PyObject *__pyx_v_self, PyObject *__pyx_v_fill); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_64highlight_mode_get[] = "Gengrid.highlight_mode_get(self, fill)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_65highlight_mode_get(PyObject *__pyx_v_self, PyObject *__pyx_v_fill) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("highlight_mode_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_64highlight_mode_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_fill));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_64highlight_mode_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_fill) {
  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("highlight_mode_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":541
 *         elm_gengrid_highlight_mode_set(self.obj, bool(highlight))
 *     def highlight_mode_get(self, fill):
 *         return bool(elm_gengrid_highlight_mode_get(self.obj))             # <<<<<<<<<<<<<<
 * 
 *     def nth_item_get(self, unsigned int nth):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_highlight_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 541; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 541; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 541; __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/gengrid_widget.pxi":540
 *     def highlight_mode_set(self, highlight):
 *         elm_gengrid_highlight_mode_set(self.obj, bool(highlight))
 *     def highlight_mode_get(self, fill):             # <<<<<<<<<<<<<<
 *         return bool(elm_gengrid_highlight_mode_get(self.obj))
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":543
 *         return bool(elm_gengrid_highlight_mode_get(self.obj))
 * 
 *     def nth_item_get(self, unsigned int nth):             # <<<<<<<<<<<<<<
 *         """Get the nth item, in a given gengrid widget, placed at position
 *         ``nth``, in its internal items list
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_67nth_item_get(PyObject *__pyx_v_self, PyObject *__pyx_arg_nth); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_66nth_item_get[] = "Gengrid.nth_item_get(self, unsigned int nth)\nGet the nth item, in a given gengrid widget, placed at position\n        ``nth``, in its internal items list\n\n        :param nth: The number of the item to grab (0 being the first)\n\n        :return: The item stored in the object at position ``nth`` or\n            ``None``, if there's no item with that index (and on errors)\n\n        .. versionadded:: 1.8\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_67nth_item_get(PyObject *__pyx_v_self, PyObject *__pyx_arg_nth) {
  unsigned int __pyx_v_nth;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("nth_item_get (wrapper)", 0);
  assert(__pyx_arg_nth); {
    __pyx_v_nth = __Pyx_PyInt_As_unsigned_int(__pyx_arg_nth); if (unlikely((__pyx_v_nth == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.nth_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_66nth_item_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((unsigned int)__pyx_v_nth));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_66nth_item_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, unsigned int __pyx_v_nth) {
  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("nth_item_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":555
 * 
 *         """
 *         return _object_item_to_python(elm_gengrid_nth_item_get(self.obj, nth))             # <<<<<<<<<<<<<<
 * 
 *     def at_xy_item_get(self, int x, int y):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(elm_gengrid_nth_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_nth)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 555; __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/gengrid_widget.pxi":543
 *         return bool(elm_gengrid_highlight_mode_get(self.obj))
 * 
 *     def nth_item_get(self, unsigned int nth):             # <<<<<<<<<<<<<<
 *         """Get the nth item, in a given gengrid widget, placed at position
 *         ``nth``, in its internal items list
 */

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

/* "efl/elementary/gengrid_widget.pxi":557
 *         return _object_item_to_python(elm_gengrid_nth_item_get(self.obj, nth))
 * 
 *     def at_xy_item_get(self, int x, int y):             # <<<<<<<<<<<<<<
 *         """Get the item that is at the x, y canvas coords.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_69at_xy_item_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_68at_xy_item_get[] = "Gengrid.at_xy_item_get(self, int x, int y)\nGet the item that is at the x, y canvas coords.\n\n        :param x: The input x coordinate\n        :param y: The input y coordinate\n        :return: (:py:class:`GengridItem`, **int** xposret, **int** yposret)\n\n        This returns the item at the given coordinates (which are canvas\n        relative, not object-relative). If an item is at that coordinate,\n        that item handle is returned, and if @p xposret is not NULL, the\n        integer pointed to is set to a value of -1, 0 or 1, depending if\n        the coordinate is on the left portion of that item (-1), on the\n        middle section (0) or on the right part (1).\n        if @p yposret is not NULL, the\n        integer pointed to is set to a value of -1, 0 or 1, depending if\n        the coordinate is on the upper portion of that item (-1), on the\n        middle section (0) or on the lower part (1). If NULL is returned as\n        an item (no item found there), then posret may indicate -1 or 1\n        based if the coordinate is above or below all items respectively in\n        the gengrid.\n\n        .. versionadded:: 1.8\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_69at_xy_item_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  int __pyx_v_x;
  int __pyx_v_y;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("at_xy_item_get (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_x,&__pyx_n_s_y,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_x)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("at_xy_item_get", 1, 2, 2, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 557; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "at_xy_item_get") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 557; __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_x = __Pyx_PyInt_As_int(values[0]); if (unlikely((__pyx_v_x == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 557; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
    __pyx_v_y = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_y == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 557; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("at_xy_item_get", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 557; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.at_xy_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_68at_xy_item_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_x, __pyx_v_y);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_68at_xy_item_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, int __pyx_v_x, int __pyx_v_y) {
  int __pyx_v_xposret;
  int __pyx_v_yposret;
  Elm_Object_Item *__pyx_v_ret;
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("at_xy_item_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":585
 *             Elm_Object_Item *ret
 * 
 *         ret = elm_gengrid_at_xy_item_get(self.obj, x, y, &xposret, &yposret)             # <<<<<<<<<<<<<<
 *         return _object_item_to_python(ret), xposret, yposret
 * 
 */
  __pyx_v_ret = elm_gengrid_at_xy_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_x, __pyx_v_y, (&__pyx_v_xposret), (&__pyx_v_yposret));

  /* "efl/elementary/gengrid_widget.pxi":586
 * 
 *         ret = elm_gengrid_at_xy_item_get(self.obj, x, y, &xposret, &yposret)
 *         return _object_item_to_python(ret), xposret, yposret             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(__pyx_v_ret); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_xposret); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_yposret); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_t_3 = 0;
  __pyx_r = __pyx_t_4;
  __pyx_t_4 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":557
 *         return _object_item_to_python(elm_gengrid_nth_item_get(self.obj, nth))
 * 
 *     def at_xy_item_get(self, int x, int y):             # <<<<<<<<<<<<<<
 *         """Get the item that is at the x, y canvas coords.
 * 
 */

  /* 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_AddTraceback("efl.elementary.gengrid.Gengrid.at_xy_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":589
 * 
 * 
 *     def search_by_text_item_get(self, GengridItem item_to_search_from,             # <<<<<<<<<<<<<<
 *                                 part_name, pattern, Elm_Glob_Match_Flags flags):
 *         """Search gengrid item by given string.
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_71search_by_text_item_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_70search_by_text_item_get[] = "Gengrid.search_by_text_item_get(self, GengridItem item_to_search_from, part_name, pattern, Elm_Glob_Match_Flags flags)\nSearch gengrid item by given string.\n\n        This function uses globs (like \"\\*.jpg\") for searching and takes\n        search flags as last parameter. That is a bitfield with values\n        to be ored together or 0 for no flags.\n\n        :param item_to_search_from: item to start search from, or None to\n            search from the first item.\n        :type item_to_search_from: :py:class:`GengridItem`\n        :param part_name: Name of the TEXT part of gengrid item to search\n            string in (usually \"elm.text\").\n        :type part_name: string\n        :param pattern: The search pattern.\n        :type pattern: string\n        :param flags: Search flags\n        :type flags: :ref:`Elm_Glob_Match_Flags`\n\n        :return: The first item found\n        :rtype: :py:class:`GengridItem`\n\n        .. versionadded:: 1.11\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_71search_by_text_item_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_item_to_search_from = 0;
  PyObject *__pyx_v_part_name = 0;
  PyObject *__pyx_v_pattern = 0;
  Elm_Glob_Match_Flags __pyx_v_flags;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("search_by_text_item_get (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_item_to_search_from,&__pyx_n_s_part_name,&__pyx_n_s_pattern,&__pyx_n_s_flags,0};
    PyObject* values[4] = {0,0,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  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        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_item_to_search_from)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_part_name)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("search_by_text_item_get", 1, 4, 4, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_pattern)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("search_by_text_item_get", 1, 4, 4, 2); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  3:
        if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_flags)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("search_by_text_item_get", 1, 4, 4, 3); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "search_by_text_item_get") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_item_to_search_from = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)values[0]);
    __pyx_v_part_name = values[1];
    __pyx_v_pattern = values[2];
    __pyx_v_flags = ((Elm_Glob_Match_Flags)PyInt_AsLong(values[3])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 590; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("search_by_text_item_get", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.search_by_text_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_item_to_search_from), __pyx_ptype_3efl_10elementary_7gengrid_GengridItem, 1, "item_to_search_from", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_70search_by_text_item_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_item_to_search_from, __pyx_v_part_name, __pyx_v_pattern, __pyx_v_flags);

  /* 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_7gengrid_7Gengrid_70search_by_text_item_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_item_to_search_from, PyObject *__pyx_v_part_name, PyObject *__pyx_v_pattern, Elm_Glob_Match_Flags __pyx_v_flags) {
  Elm_Object_Item *__pyx_v_from_item;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  Elm_Object_Item *__pyx_t_4;
  char const *__pyx_t_5;
  char const *__pyx_t_6;
  char const *__pyx_t_7;
  char const *__pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("search_by_text_item_get", 0);
  __Pyx_INCREF(__pyx_v_part_name);
  __Pyx_INCREF(__pyx_v_pattern);

  /* "efl/elementary/gengrid_widget.pxi":614
 * 
 *         """
 *         cdef Elm_Object_Item *from_item = NULL             # <<<<<<<<<<<<<<
 * 
 *         if isinstance(part_name, unicode):
 */
  __pyx_v_from_item = NULL;

  /* "efl/elementary/gengrid_widget.pxi":616
 *         cdef Elm_Object_Item *from_item = NULL
 * 
 *         if isinstance(part_name, unicode):             # <<<<<<<<<<<<<<
 *             part_name = PyUnicode_AsUTF8String(part_name)
 *         if isinstance(pattern, unicode):
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_part_name); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_widget.pxi":617
 * 
 *         if isinstance(part_name, unicode):
 *             part_name = PyUnicode_AsUTF8String(part_name)             # <<<<<<<<<<<<<<
 *         if isinstance(pattern, unicode):
 *             pattern = PyUnicode_AsUTF8String(pattern)
 */
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_part_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 617; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_part_name, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/gengrid_widget.pxi":618
 *         if isinstance(part_name, unicode):
 *             part_name = PyUnicode_AsUTF8String(part_name)
 *         if isinstance(pattern, unicode):             # <<<<<<<<<<<<<<
 *             pattern = PyUnicode_AsUTF8String(pattern)
 *         if item_to_search_from is not None:
 */
  __pyx_t_2 = PyUnicode_Check(__pyx_v_pattern); 
  __pyx_t_1 = (__pyx_t_2 != 0);
  if (__pyx_t_1) {

    /* "efl/elementary/gengrid_widget.pxi":619
 *             part_name = PyUnicode_AsUTF8String(part_name)
 *         if isinstance(pattern, unicode):
 *             pattern = PyUnicode_AsUTF8String(pattern)             # <<<<<<<<<<<<<<
 *         if item_to_search_from is not None:
 *             from_item = _object_item_from_python(item_to_search_from)
 */
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_pattern); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_pattern, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L4;
  }
  __pyx_L4:;

  /* "efl/elementary/gengrid_widget.pxi":620
 *         if isinstance(pattern, unicode):
 *             pattern = PyUnicode_AsUTF8String(pattern)
 *         if item_to_search_from is not None:             # <<<<<<<<<<<<<<
 *             from_item = _object_item_from_python(item_to_search_from)
 * 
 */
  __pyx_t_1 = (((PyObject *)__pyx_v_item_to_search_from) != Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_widget.pxi":621
 *             pattern = PyUnicode_AsUTF8String(pattern)
 *         if item_to_search_from is not None:
 *             from_item = _object_item_from_python(item_to_search_from)             # <<<<<<<<<<<<<<
 * 
 *         return _object_item_to_python(elm_gengrid_search_by_text_item_get(
 */
    __pyx_t_4 = __pyx_f_3efl_10elementary_11object_item__object_item_from_python(((struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *)__pyx_v_item_to_search_from)); if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 621; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_v_from_item = __pyx_t_4;
    goto __pyx_L5;
  }
  __pyx_L5:;

  /* "efl/elementary/gengrid_widget.pxi":623
 *             from_item = _object_item_from_python(item_to_search_from)
 * 
 *         return _object_item_to_python(elm_gengrid_search_by_text_item_get(             # <<<<<<<<<<<<<<
 *                     self.obj, from_item,
 *                     <const char *>part_name if part_name is not None else NULL,
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/elementary/gengrid_widget.pxi":625
 *         return _object_item_to_python(elm_gengrid_search_by_text_item_get(
 *                     self.obj, from_item,
 *                     <const char *>part_name if part_name is not None else NULL,             # <<<<<<<<<<<<<<
 *                     <const char *>pattern if pattern is not None else NULL,
 *                     flags))
 */
  __pyx_t_2 = (__pyx_v_part_name != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_6 = __Pyx_PyObject_AsString(__pyx_v_part_name); if (unlikely((!__pyx_t_6) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_5 = ((char const *)__pyx_t_6);
  } else {
    __pyx_t_5 = NULL;
  }

  /* "efl/elementary/gengrid_widget.pxi":626
 *                     self.obj, from_item,
 *                     <const char *>part_name if part_name is not None else NULL,
 *                     <const char *>pattern if pattern is not None else NULL,             # <<<<<<<<<<<<<<
 *                     flags))
 * 
 */
  __pyx_t_2 = (__pyx_v_pattern != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_8 = __Pyx_PyObject_AsString(__pyx_v_pattern); if (unlikely((!__pyx_t_8) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 626; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_7 = ((char const *)__pyx_t_8);
  } else {
    __pyx_t_7 = NULL;
  }

  /* "efl/elementary/gengrid_widget.pxi":623
 *             from_item = _object_item_from_python(item_to_search_from)
 * 
 *         return _object_item_to_python(elm_gengrid_search_by_text_item_get(             # <<<<<<<<<<<<<<
 *                     self.obj, from_item,
 *                     <const char *>part_name if part_name is not None else NULL,
 */
  __pyx_t_3 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(elm_gengrid_search_by_text_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_from_item, __pyx_t_5, __pyx_t_7, __pyx_v_flags)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 623; __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/gengrid_widget.pxi":589
 * 
 * 
 *     def search_by_text_item_get(self, GengridItem item_to_search_from,             # <<<<<<<<<<<<<<
 *                                 part_name, pattern, Elm_Glob_Match_Flags flags):
 *         """Search gengrid item by given string.
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.search_by_text_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_part_name);
  __Pyx_XDECREF(__pyx_v_pattern);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":738
 * 
 * 
 *     def callback_activated_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         self._callback_add_full("activated", _cb_object_item_conv,
 *                                 func, *args, **kwargs)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_73callback_activated_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_72callback_activated_add[] = "Gengrid.callback_activated_add(self, func, *args, **kwargs)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_73callback_activated_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_activated_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_activated_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 738; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_activated_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 738; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_activated_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_72callback_activated_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_72callback_activated_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_activated_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":739
 * 
 *     def callback_activated_add(self, func, *args, **kwargs):
 *         self._callback_add_full("activated", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 739; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 739; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":740
 *     def callback_activated_add(self, func, *args, **kwargs):
 *         self._callback_add_full("activated", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_activated_del(self, func):
 */
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 739; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_n_s_activated);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_activated);
  __Pyx_GIVEREF(__pyx_n_s_activated);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":739
 * 
 *     def callback_activated_add(self, func, *args, **kwargs):
 *         self._callback_add_full("activated", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 739; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 739; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":740
 *     def callback_activated_add(self, func, *args, **kwargs):
 *         self._callback_add_full("activated", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_activated_del(self, func):
 */
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":739
 * 
 *     def callback_activated_add(self, func, *args, **kwargs):
 *         self._callback_add_full("activated", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 739; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":738
 * 
 * 
 *     def callback_activated_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         self._callback_add_full("activated", _cb_object_item_conv,
 *                                 func, *args, **kwargs)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_activated_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":742
 *                                 func, *args, **kwargs)
 * 
 *     def callback_activated_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("activated", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_75callback_activated_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_74callback_activated_del[] = "Gengrid.callback_activated_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_75callback_activated_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_activated_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_74callback_activated_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_74callback_activated_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_activated_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":743
 * 
 *     def callback_activated_del(self, func):
 *         self._callback_del_full("activated", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_clicked_double_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 743; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 743; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 743; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_activated);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_n_s_activated);
  __Pyx_GIVEREF(__pyx_n_s_activated);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 743; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":742
 *                                 func, *args, **kwargs)
 * 
 *     def callback_activated_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("activated", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_activated_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":745
 *         self._callback_del_full("activated", _cb_object_item_conv, func)
 * 
 *     def callback_clicked_double_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         self._callback_add_full("clicked,double", _cb_object_item_conv,
 *                                 func, *args, **kwargs)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_77callback_clicked_double_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_76callback_clicked_double_add[] = "Gengrid.callback_clicked_double_add(self, func, *args, **kwargs)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_77callback_clicked_double_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_clicked_double_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_clicked_double_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 745; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_clicked_double_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 745; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_76callback_clicked_double_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_76callback_clicked_double_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_clicked_double_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":746
 * 
 *     def callback_clicked_double_add(self, func, *args, **kwargs):
 *         self._callback_add_full("clicked,double", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 746; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 746; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":747
 *     def callback_clicked_double_add(self, func, *args, **kwargs):
 *         self._callback_add_full("clicked,double", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_clicked_double_del(self, func):
 */
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 746; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_kp_s_clicked_double);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_s_clicked_double);
  __Pyx_GIVEREF(__pyx_kp_s_clicked_double);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":746
 * 
 *     def callback_clicked_double_add(self, func, *args, **kwargs):
 *         self._callback_add_full("clicked,double", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 746; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 746; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":747
 *     def callback_clicked_double_add(self, func, *args, **kwargs):
 *         self._callback_add_full("clicked,double", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_clicked_double_del(self, func):
 */
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":746
 * 
 *     def callback_clicked_double_add(self, func, *args, **kwargs):
 *         self._callback_add_full("clicked,double", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 746; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":745
 *         self._callback_del_full("activated", _cb_object_item_conv, func)
 * 
 *     def callback_clicked_double_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         self._callback_add_full("clicked,double", _cb_object_item_conv,
 *                                 func, *args, **kwargs)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":749
 *                                 func, *args, **kwargs)
 * 
 *     def callback_clicked_double_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("clicked,double", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_79callback_clicked_double_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_78callback_clicked_double_del[] = "Gengrid.callback_clicked_double_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_79callback_clicked_double_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_clicked_double_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_78callback_clicked_double_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_78callback_clicked_double_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_clicked_double_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":750
 * 
 *     def callback_clicked_double_del(self, func):
 *         self._callback_del_full("clicked,double", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_clicked_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 750; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 750; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 750; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_clicked_double);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_kp_s_clicked_double);
  __Pyx_GIVEREF(__pyx_kp_s_clicked_double);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 750; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":749
 *                                 func, *args, **kwargs)
 * 
 *     def callback_clicked_double_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("clicked,double", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_clicked_double_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":752
 *         self._callback_del_full("clicked,double", _cb_object_item_conv, func)
 * 
 *     def callback_clicked_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         self._callback_add_full("clicked", _cb_object_item_conv,
 *                                 func, *args, **kwargs)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_81callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_80callback_clicked_add[] = "Gengrid.callback_clicked_add(self, func, *args, **kwargs)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_81callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_clicked_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_clicked_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 752; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 752; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_80callback_clicked_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_80callback_clicked_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_clicked_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":753
 * 
 *     def callback_clicked_add(self, func, *args, **kwargs):
 *         self._callback_add_full("clicked", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":754
 *     def callback_clicked_add(self, func, *args, **kwargs):
 *         self._callback_add_full("clicked", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_clicked_del(self, func):
 */
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_n_s_clicked);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_clicked);
  __Pyx_GIVEREF(__pyx_n_s_clicked);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":753
 * 
 *     def callback_clicked_add(self, func, *args, **kwargs):
 *         self._callback_add_full("clicked", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":754
 *     def callback_clicked_add(self, func, *args, **kwargs):
 *         self._callback_add_full("clicked", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_clicked_del(self, func):
 */
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":753
 * 
 *     def callback_clicked_add(self, func, *args, **kwargs):
 *         self._callback_add_full("clicked", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":752
 *         self._callback_del_full("clicked,double", _cb_object_item_conv, func)
 * 
 *     def callback_clicked_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         self._callback_add_full("clicked", _cb_object_item_conv,
 *                                 func, *args, **kwargs)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":756
 *                                 func, *args, **kwargs)
 * 
 *     def callback_clicked_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("clicked", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_83callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_82callback_clicked_del[] = "Gengrid.callback_clicked_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_83callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_clicked_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_82callback_clicked_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_82callback_clicked_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_clicked_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":757
 * 
 *     def callback_clicked_del(self, func):
 *         self._callback_del_full("clicked", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_clicked_right_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 757; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 757; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 757; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_clicked);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_n_s_clicked);
  __Pyx_GIVEREF(__pyx_n_s_clicked);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 757; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":756
 *                                 func, *args, **kwargs)
 * 
 *     def callback_clicked_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("clicked", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":759
 *         self._callback_del_full("clicked", _cb_object_item_conv, func)
 * 
 *     def callback_clicked_right_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """The user has right-clicked an item.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_85callback_clicked_right_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_84callback_clicked_right_add[] = "Gengrid.callback_clicked_right_add(self, func, *args, **kwargs)\nThe user has right-clicked an item.\n\n        .. versionadded:: 1.13\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_85callback_clicked_right_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_clicked_right_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_clicked_right_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 759; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_clicked_right_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 759; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_clicked_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_84callback_clicked_right_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_84callback_clicked_right_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_clicked_right_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":765
 * 
 *         """
 *         self._callback_add_full("clicked,right", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 765; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 765; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":766
 *         """
 *         self._callback_add_full("clicked,right", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_clicked_right_del(self, func):
 */
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 765; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_kp_s_clicked_right);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_s_clicked_right);
  __Pyx_GIVEREF(__pyx_kp_s_clicked_right);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":765
 * 
 *         """
 *         self._callback_add_full("clicked,right", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 765; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 765; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":766
 *         """
 *         self._callback_add_full("clicked,right", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_clicked_right_del(self, func):
 */
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":765
 * 
 *         """
 *         self._callback_add_full("clicked,right", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 765; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":759
 *         self._callback_del_full("clicked", _cb_object_item_conv, func)
 * 
 *     def callback_clicked_right_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """The user has right-clicked an item.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_clicked_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":768
 *                                 func, *args, **kwargs)
 * 
 *     def callback_clicked_right_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("clicked,right", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_87callback_clicked_right_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_86callback_clicked_right_del[] = "Gengrid.callback_clicked_right_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_87callback_clicked_right_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_clicked_right_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_86callback_clicked_right_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_86callback_clicked_right_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_clicked_right_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":769
 * 
 *     def callback_clicked_right_del(self, func):
 *         self._callback_del_full("clicked,right", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_selected_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 769; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 769; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 769; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_clicked_right);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_kp_s_clicked_right);
  __Pyx_GIVEREF(__pyx_kp_s_clicked_right);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 769; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":768
 *                                 func, *args, **kwargs)
 * 
 *     def callback_clicked_right_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("clicked,right", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_clicked_right_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":771
 *         self._callback_del_full("clicked,right", _cb_object_item_conv, func)
 * 
 *     def callback_selected_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         self._callback_add_full("selected", _cb_object_item_conv,
 *                                 func, *args, **kwargs)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_89callback_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_88callback_selected_add[] = "Gengrid.callback_selected_add(self, func, *args, **kwargs)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_89callback_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_selected_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_selected_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 771; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_selected_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 771; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_88callback_selected_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_88callback_selected_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_selected_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":772
 * 
 *     def callback_selected_add(self, func, *args, **kwargs):
 *         self._callback_add_full("selected", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":773
 *     def callback_selected_add(self, func, *args, **kwargs):
 *         self._callback_add_full("selected", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_selected_del(self, func):
 */
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_n_s_selected);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_selected);
  __Pyx_GIVEREF(__pyx_n_s_selected);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":772
 * 
 *     def callback_selected_add(self, func, *args, **kwargs):
 *         self._callback_add_full("selected", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":773
 *     def callback_selected_add(self, func, *args, **kwargs):
 *         self._callback_add_full("selected", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_selected_del(self, func):
 */
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":772
 * 
 *     def callback_selected_add(self, func, *args, **kwargs):
 *         self._callback_add_full("selected", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":771
 *         self._callback_del_full("clicked,right", _cb_object_item_conv, func)
 * 
 *     def callback_selected_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         self._callback_add_full("selected", _cb_object_item_conv,
 *                                 func, *args, **kwargs)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":775
 *                                 func, *args, **kwargs)
 * 
 *     def callback_selected_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("selected",  _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_91callback_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_90callback_selected_del[] = "Gengrid.callback_selected_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_91callback_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_selected_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_90callback_selected_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_90callback_selected_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_selected_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":776
 * 
 *     def callback_selected_del(self, func):
 *         self._callback_del_full("selected",  _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_unselected_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_selected);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_n_s_selected);
  __Pyx_GIVEREF(__pyx_n_s_selected);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":775
 *                                 func, *args, **kwargs)
 * 
 *     def callback_selected_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("selected",  _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_selected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":778
 *         self._callback_del_full("selected",  _cb_object_item_conv, func)
 * 
 *     def callback_unselected_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         self._callback_add_full("unselected", _cb_object_item_conv,
 *                                 func, *args, **kwargs)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_93callback_unselected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_92callback_unselected_add[] = "Gengrid.callback_unselected_add(self, func, *args, **kwargs)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_93callback_unselected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_unselected_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_unselected_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 778; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_unselected_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 778; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_unselected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_92callback_unselected_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_92callback_unselected_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_unselected_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":779
 * 
 *     def callback_unselected_add(self, func, *args, **kwargs):
 *         self._callback_add_full("unselected", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 779; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 779; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":780
 *     def callback_unselected_add(self, func, *args, **kwargs):
 *         self._callback_add_full("unselected", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_unselected_del(self, func):
 */
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 779; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_n_s_unselected);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_unselected);
  __Pyx_GIVEREF(__pyx_n_s_unselected);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":779
 * 
 *     def callback_unselected_add(self, func, *args, **kwargs):
 *         self._callback_add_full("unselected", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 779; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 779; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":780
 *     def callback_unselected_add(self, func, *args, **kwargs):
 *         self._callback_add_full("unselected", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_unselected_del(self, func):
 */
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":779
 * 
 *     def callback_unselected_add(self, func, *args, **kwargs):
 *         self._callback_add_full("unselected", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 779; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":778
 *         self._callback_del_full("selected",  _cb_object_item_conv, func)
 * 
 *     def callback_unselected_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         self._callback_add_full("unselected", _cb_object_item_conv,
 *                                 func, *args, **kwargs)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_unselected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":782
 *                                 func, *args, **kwargs)
 * 
 *     def callback_unselected_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("unselected", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_95callback_unselected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_94callback_unselected_del[] = "Gengrid.callback_unselected_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_95callback_unselected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_unselected_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_94callback_unselected_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_94callback_unselected_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_unselected_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":783
 * 
 *     def callback_unselected_del(self, func):
 *         self._callback_del_full("unselected", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_realized_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 783; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 783; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 783; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_unselected);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_n_s_unselected);
  __Pyx_GIVEREF(__pyx_n_s_unselected);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 783; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":782
 *                                 func, *args, **kwargs)
 * 
 *     def callback_unselected_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("unselected", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_unselected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":785
 *         self._callback_del_full("unselected", _cb_object_item_conv, func)
 * 
 *     def callback_realized_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the item in the gengrid
 *         has its implementing Evas object instantiated, de facto.
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_97callback_realized_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_96callback_realized_add[] = "Gengrid.callback_realized_add(self, func, *args, **kwargs)\nThis is called when the item in the gengrid\n        has its implementing Evas object instantiated, de facto.\n        ``event_info`` is the gengrid item that was created. The object\n        may be deleted at any time, so it is highly advised to the\n        caller **not** to use the object returned from\n        :py:attr:`GengridItem.object`, because it may point to freed\n        objects.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_97callback_realized_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_realized_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_realized_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 785; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_realized_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 785; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_realized_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_96callback_realized_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_96callback_realized_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_realized_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":793
 *         :py:attr:`GengridItem.object`, because it may point to freed
 *         objects."""
 *         self._callback_add_full("realized", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":794
 *         objects."""
 *         self._callback_add_full("realized", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_realized_del(self, func):
 */
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_n_s_realized);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_realized);
  __Pyx_GIVEREF(__pyx_n_s_realized);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":793
 *         :py:attr:`GengridItem.object`, because it may point to freed
 *         objects."""
 *         self._callback_add_full("realized", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":794
 *         objects."""
 *         self._callback_add_full("realized", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_realized_del(self, func):
 */
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":793
 *         :py:attr:`GengridItem.object`, because it may point to freed
 *         objects."""
 *         self._callback_add_full("realized", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":785
 *         self._callback_del_full("unselected", _cb_object_item_conv, func)
 * 
 *     def callback_realized_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the item in the gengrid
 *         has its implementing Evas object instantiated, de facto.
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_realized_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":796
 *                                 func, *args, **kwargs)
 * 
 *     def callback_realized_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("realized", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_99callback_realized_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_98callback_realized_del[] = "Gengrid.callback_realized_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_99callback_realized_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_realized_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_98callback_realized_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_98callback_realized_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_realized_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":797
 * 
 *     def callback_realized_del(self, func):
 *         self._callback_del_full("realized", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_unrealized_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 797; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 797; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 797; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_realized);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_n_s_realized);
  __Pyx_GIVEREF(__pyx_n_s_realized);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 797; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":796
 *                                 func, *args, **kwargs)
 * 
 *     def callback_realized_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("realized", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_realized_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":799
 *         self._callback_del_full("realized", _cb_object_item_conv, func)
 * 
 *     def callback_unrealized_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the implementing Evas
 *         object for this item is deleted. ``event_info`` is the gengrid
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_101callback_unrealized_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_100callback_unrealized_add[] = "Gengrid.callback_unrealized_add(self, func, *args, **kwargs)\nThis is called when the implementing Evas\n        object for this item is deleted. ``event_info`` is the gengrid\n        item that was deleted.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_101callback_unrealized_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_unrealized_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_unrealized_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 799; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_unrealized_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 799; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_unrealized_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_100callback_unrealized_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_100callback_unrealized_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_unrealized_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":803
 *         object for this item is deleted. ``event_info`` is the gengrid
 *         item that was deleted."""
 *         self._callback_add_full("unrealized", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":804
 *         item that was deleted."""
 *         self._callback_add_full("unrealized", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_unrealized_del(self, func):
 */
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_n_s_unrealized);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_unrealized);
  __Pyx_GIVEREF(__pyx_n_s_unrealized);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":803
 *         object for this item is deleted. ``event_info`` is the gengrid
 *         item that was deleted."""
 *         self._callback_add_full("unrealized", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":804
 *         item that was deleted."""
 *         self._callback_add_full("unrealized", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_unrealized_del(self, func):
 */
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":803
 *         object for this item is deleted. ``event_info`` is the gengrid
 *         item that was deleted."""
 *         self._callback_add_full("unrealized", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":799
 *         self._callback_del_full("realized", _cb_object_item_conv, func)
 * 
 *     def callback_unrealized_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the implementing Evas
 *         object for this item is deleted. ``event_info`` is the gengrid
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_unrealized_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":806
 *                                 func, *args, **kwargs)
 * 
 *     def callback_unrealized_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("unrealized", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_103callback_unrealized_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_102callback_unrealized_del[] = "Gengrid.callback_unrealized_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_103callback_unrealized_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_unrealized_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_102callback_unrealized_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_102callback_unrealized_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_unrealized_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":807
 * 
 *     def callback_unrealized_del(self, func):
 *         self._callback_del_full("unrealized", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_changed_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 807; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 807; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 807; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_unrealized);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_n_s_unrealized);
  __Pyx_GIVEREF(__pyx_n_s_unrealized);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 807; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":806
 *                                 func, *args, **kwargs)
 * 
 *     def callback_unrealized_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("unrealized", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_unrealized_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":809
 *         self._callback_del_full("unrealized", _cb_object_item_conv, func)
 * 
 *     def callback_changed_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when an item is added, removed, resized
 *         or moved and when the gengrid is resized or gets "horizontal"
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_105callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_104callback_changed_add[] = "Gengrid.callback_changed_add(self, func, *args, **kwargs)\nCalled when an item is added, removed, resized\n        or moved and when the gengrid is resized or gets \"horizontal\"\n        property changes.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_105callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_changed_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_changed_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 809; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 809; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_104callback_changed_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_104callback_changed_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_changed_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":813
 *         or moved and when the gengrid is resized or gets "horizontal"
 *         property changes."""
 *         self._callback_add("changed", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_changed_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_s_changed);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_changed);
  __Pyx_GIVEREF(__pyx_n_s_changed);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":809
 *         self._callback_del_full("unrealized", _cb_object_item_conv, func)
 * 
 *     def callback_changed_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when an item is added, removed, resized
 *         or moved and when the gengrid is resized or gets "horizontal"
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":815
 *         self._callback_add("changed", func, *args, **kwargs)
 * 
 *     def callback_changed_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("changed", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_107callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_106callback_changed_del[] = "Gengrid.callback_changed_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_107callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_changed_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_106callback_changed_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_106callback_changed_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_changed_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":816
 * 
 *     def callback_changed_del(self, func):
 *         self._callback_del("changed", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_scroll_anim_start_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_changed);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_n_s_changed);
  __Pyx_GIVEREF(__pyx_n_s_changed);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":815
 *         self._callback_add("changed", func, *args, **kwargs)
 * 
 *     def callback_changed_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("changed", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":818
 *         self._callback_del("changed", func)
 * 
 *     def callback_scroll_anim_start_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when scrolling animation has
 *         started."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_109callback_scroll_anim_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_108callback_scroll_anim_start_add[] = "Gengrid.callback_scroll_anim_start_add(self, func, *args, **kwargs)\nThis is called when scrolling animation has\n        started.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_109callback_scroll_anim_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_scroll_anim_start_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_scroll_anim_start_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_scroll_anim_start_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_anim_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_108callback_scroll_anim_start_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_108callback_scroll_anim_start_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_scroll_anim_start_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":821
 *         """This is called when scrolling animation has
 *         started."""
 *         self._callback_add("scroll,anim,start", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_scroll_anim_start_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 821; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 821; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_scroll_anim_start);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_scroll_anim_start);
  __Pyx_GIVEREF(__pyx_kp_s_scroll_anim_start);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 821; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 821; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 821; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":818
 *         self._callback_del("changed", func)
 * 
 *     def callback_scroll_anim_start_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when scrolling animation has
 *         started."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_anim_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":823
 *         self._callback_add("scroll,anim,start", func, *args, **kwargs)
 * 
 *     def callback_scroll_anim_start_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("scroll,anim,start", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_111callback_scroll_anim_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_110callback_scroll_anim_start_del[] = "Gengrid.callback_scroll_anim_start_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_111callback_scroll_anim_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_scroll_anim_start_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_110callback_scroll_anim_start_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_110callback_scroll_anim_start_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_scroll_anim_start_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":824
 * 
 *     def callback_scroll_anim_start_del(self, func):
 *         self._callback_del("scroll,anim,start", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_scroll_anim_stop_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 824; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 824; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_scroll_anim_start);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_scroll_anim_start);
  __Pyx_GIVEREF(__pyx_kp_s_scroll_anim_start);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 824; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":823
 *         self._callback_add("scroll,anim,start", func, *args, **kwargs)
 * 
 *     def callback_scroll_anim_start_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("scroll,anim,start", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_anim_start_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":826
 *         self._callback_del("scroll,anim,start", func)
 * 
 *     def callback_scroll_anim_stop_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when scrolling animation has
 *         stopped."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_113callback_scroll_anim_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_112callback_scroll_anim_stop_add[] = "Gengrid.callback_scroll_anim_stop_add(self, func, *args, **kwargs)\nThis is called when scrolling animation has\n        stopped.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_113callback_scroll_anim_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_scroll_anim_stop_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_scroll_anim_stop_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_scroll_anim_stop_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_anim_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_112callback_scroll_anim_stop_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_112callback_scroll_anim_stop_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_scroll_anim_stop_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":829
 *         """This is called when scrolling animation has
 *         stopped."""
 *         self._callback_add("scroll,anim,stop", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_scroll_anim_stop_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 829; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 829; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_scroll_anim_stop);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_scroll_anim_stop);
  __Pyx_GIVEREF(__pyx_kp_s_scroll_anim_stop);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 829; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 829; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 829; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":826
 *         self._callback_del("scroll,anim,start", func)
 * 
 *     def callback_scroll_anim_stop_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when scrolling animation has
 *         stopped."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_anim_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":831
 *         self._callback_add("scroll,anim,stop", func, *args, **kwargs)
 * 
 *     def callback_scroll_anim_stop_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("scroll,anim,stop", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_115callback_scroll_anim_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_114callback_scroll_anim_stop_del[] = "Gengrid.callback_scroll_anim_stop_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_115callback_scroll_anim_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_scroll_anim_stop_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_114callback_scroll_anim_stop_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_114callback_scroll_anim_stop_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_scroll_anim_stop_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":832
 * 
 *     def callback_scroll_anim_stop_del(self, func):
 *         self._callback_del("scroll,anim,stop", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_drag_start_up_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_scroll_anim_stop);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_scroll_anim_stop);
  __Pyx_GIVEREF(__pyx_kp_s_scroll_anim_stop);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":831
 *         self._callback_add("scroll,anim,stop", func, *args, **kwargs)
 * 
 *     def callback_scroll_anim_stop_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("scroll,anim,stop", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_anim_stop_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":834
 *         self._callback_del("scroll,anim,stop", func)
 * 
 *     def callback_drag_start_up_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when the item in the gengrid has
 *         been dragged (not scrolled) up."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_117callback_drag_start_up_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_116callback_drag_start_up_add[] = "Gengrid.callback_drag_start_up_add(self, func, *args, **kwargs)\nCalled when the item in the gengrid has\n        been dragged (not scrolled) up.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_117callback_drag_start_up_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_drag_start_up_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_drag_start_up_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 834; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_drag_start_up_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 834; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_start_up_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_116callback_drag_start_up_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_116callback_drag_start_up_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_drag_start_up_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":837
 *         """Called when the item in the gengrid has
 *         been dragged (not scrolled) up."""
 *         self._callback_add("drag,start,up", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_drag_start_up_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 837; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 837; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_drag_start_up);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_drag_start_up);
  __Pyx_GIVEREF(__pyx_kp_s_drag_start_up);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 837; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 837; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 837; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":834
 *         self._callback_del("scroll,anim,stop", func)
 * 
 *     def callback_drag_start_up_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when the item in the gengrid has
 *         been dragged (not scrolled) up."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_start_up_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":839
 *         self._callback_add("drag,start,up", func, *args, **kwargs)
 * 
 *     def callback_drag_start_up_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("drag,start,up", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_119callback_drag_start_up_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_118callback_drag_start_up_del[] = "Gengrid.callback_drag_start_up_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_119callback_drag_start_up_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_drag_start_up_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_118callback_drag_start_up_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_118callback_drag_start_up_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_drag_start_up_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":840
 * 
 *     def callback_drag_start_up_del(self, func):
 *         self._callback_del("drag,start,up", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_drag_start_down_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_drag_start_up);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_drag_start_up);
  __Pyx_GIVEREF(__pyx_kp_s_drag_start_up);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":839
 *         self._callback_add("drag,start,up", func, *args, **kwargs)
 * 
 *     def callback_drag_start_up_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("drag,start,up", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_start_up_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":842
 *         self._callback_del("drag,start,up", func)
 * 
 *     def callback_drag_start_down_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when the item in the gengrid has
 *         been dragged (not scrolled) down."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_121callback_drag_start_down_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_120callback_drag_start_down_add[] = "Gengrid.callback_drag_start_down_add(self, func, *args, **kwargs)\nCalled when the item in the gengrid has\n        been dragged (not scrolled) down.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_121callback_drag_start_down_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_drag_start_down_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_drag_start_down_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_drag_start_down_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_start_down_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_120callback_drag_start_down_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_120callback_drag_start_down_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_drag_start_down_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":845
 *         """Called when the item in the gengrid has
 *         been dragged (not scrolled) down."""
 *         self._callback_add("drag,start,down", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_drag_start_down_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 845; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 845; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_drag_start_down);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_drag_start_down);
  __Pyx_GIVEREF(__pyx_kp_s_drag_start_down);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 845; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 845; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 845; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":842
 *         self._callback_del("drag,start,up", func)
 * 
 *     def callback_drag_start_down_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when the item in the gengrid has
 *         been dragged (not scrolled) down."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_start_down_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":847
 *         self._callback_add("drag,start,down", func, *args, **kwargs)
 * 
 *     def callback_drag_start_down_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("drag,start,down", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_123callback_drag_start_down_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_122callback_drag_start_down_del[] = "Gengrid.callback_drag_start_down_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_123callback_drag_start_down_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_drag_start_down_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_122callback_drag_start_down_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_122callback_drag_start_down_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_drag_start_down_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":848
 * 
 *     def callback_drag_start_down_del(self, func):
 *         self._callback_del("drag,start,down", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_drag_start_left_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 848; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 848; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_drag_start_down);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_drag_start_down);
  __Pyx_GIVEREF(__pyx_kp_s_drag_start_down);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 848; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":847
 *         self._callback_add("drag,start,down", func, *args, **kwargs)
 * 
 *     def callback_drag_start_down_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("drag,start,down", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_start_down_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":850
 *         self._callback_del("drag,start,down", func)
 * 
 *     def callback_drag_start_left_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when the item in the gengrid has
 *         been dragged (not scrolled) left."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_125callback_drag_start_left_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_124callback_drag_start_left_add[] = "Gengrid.callback_drag_start_left_add(self, func, *args, **kwargs)\nCalled when the item in the gengrid has\n        been dragged (not scrolled) left.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_125callback_drag_start_left_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_drag_start_left_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_drag_start_left_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 850; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_drag_start_left_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 850; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_start_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_124callback_drag_start_left_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_124callback_drag_start_left_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_drag_start_left_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":853
 *         """Called when the item in the gengrid has
 *         been dragged (not scrolled) left."""
 *         self._callback_add("drag,start,left", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_drag_start_left_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 853; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 853; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_drag_start_left);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_drag_start_left);
  __Pyx_GIVEREF(__pyx_kp_s_drag_start_left);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 853; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 853; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 853; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":850
 *         self._callback_del("drag,start,down", func)
 * 
 *     def callback_drag_start_left_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when the item in the gengrid has
 *         been dragged (not scrolled) left."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_start_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":855
 *         self._callback_add("drag,start,left", func, *args, **kwargs)
 * 
 *     def callback_drag_start_left_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("drag,start,left", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_127callback_drag_start_left_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_126callback_drag_start_left_del[] = "Gengrid.callback_drag_start_left_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_127callback_drag_start_left_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_drag_start_left_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_126callback_drag_start_left_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_126callback_drag_start_left_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_drag_start_left_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":856
 * 
 *     def callback_drag_start_left_del(self, func):
 *         self._callback_del("drag,start,left", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_drag_start_right_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 856; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 856; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_drag_start_left);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_drag_start_left);
  __Pyx_GIVEREF(__pyx_kp_s_drag_start_left);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 856; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":855
 *         self._callback_add("drag,start,left", func, *args, **kwargs)
 * 
 *     def callback_drag_start_left_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("drag,start,left", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_start_left_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":858
 *         self._callback_del("drag,start,left", func)
 * 
 *     def callback_drag_start_right_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when the item in the gengrid has
 *         been dragged (not scrolled) right."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_129callback_drag_start_right_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_128callback_drag_start_right_add[] = "Gengrid.callback_drag_start_right_add(self, func, *args, **kwargs)\nCalled when the item in the gengrid has\n        been dragged (not scrolled) right.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_129callback_drag_start_right_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_drag_start_right_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_drag_start_right_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 858; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_drag_start_right_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 858; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_start_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_128callback_drag_start_right_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_128callback_drag_start_right_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_drag_start_right_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":861
 *         """Called when the item in the gengrid has
 *         been dragged (not scrolled) right."""
 *         self._callback_add("drag,start,right", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_drag_start_right_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 861; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 861; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_drag_start_right);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_drag_start_right);
  __Pyx_GIVEREF(__pyx_kp_s_drag_start_right);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 861; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 861; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 861; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":858
 *         self._callback_del("drag,start,left", func)
 * 
 *     def callback_drag_start_right_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when the item in the gengrid has
 *         been dragged (not scrolled) right."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_start_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":863
 *         self._callback_add("drag,start,right", func, *args, **kwargs)
 * 
 *     def callback_drag_start_right_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("drag,start,right", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_131callback_drag_start_right_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_130callback_drag_start_right_del[] = "Gengrid.callback_drag_start_right_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_131callback_drag_start_right_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_drag_start_right_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_130callback_drag_start_right_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_130callback_drag_start_right_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_drag_start_right_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":864
 * 
 *     def callback_drag_start_right_del(self, func):
 *         self._callback_del("drag,start,right", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_drag_stop_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 864; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 864; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_drag_start_right);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_drag_start_right);
  __Pyx_GIVEREF(__pyx_kp_s_drag_start_right);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 864; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":863
 *         self._callback_add("drag,start,right", func, *args, **kwargs)
 * 
 *     def callback_drag_start_right_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("drag,start,right", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_start_right_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":866
 *         self._callback_del("drag,start,right", func)
 * 
 *     def callback_drag_stop_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when the item in the gengrid has
 *         stopped being dragged."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_133callback_drag_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_132callback_drag_stop_add[] = "Gengrid.callback_drag_stop_add(self, func, *args, **kwargs)\nCalled when the item in the gengrid has\n        stopped being dragged.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_133callback_drag_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_drag_stop_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_drag_stop_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 866; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_drag_stop_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 866; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_132callback_drag_stop_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_132callback_drag_stop_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_drag_stop_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":869
 *         """Called when the item in the gengrid has
 *         stopped being dragged."""
 *         self._callback_add("drag,stop", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_drag_stop_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 869; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 869; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_drag_stop);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_drag_stop);
  __Pyx_GIVEREF(__pyx_kp_s_drag_stop);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 869; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 869; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 869; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":866
 *         self._callback_del("drag,start,right", func)
 * 
 *     def callback_drag_stop_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when the item in the gengrid has
 *         stopped being dragged."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":871
 *         self._callback_add("drag,stop", func, *args, **kwargs)
 * 
 *     def callback_drag_stop_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("drag,stop", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_135callback_drag_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_134callback_drag_stop_del[] = "Gengrid.callback_drag_stop_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_135callback_drag_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_drag_stop_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_134callback_drag_stop_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_134callback_drag_stop_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_drag_stop_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":872
 * 
 *     def callback_drag_stop_del(self, func):
 *         self._callback_del("drag,stop", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_drag_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 872; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 872; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_drag_stop);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_drag_stop);
  __Pyx_GIVEREF(__pyx_kp_s_drag_stop);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 872; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":871
 *         self._callback_add("drag,stop", func, *args, **kwargs)
 * 
 *     def callback_drag_stop_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("drag,stop", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_stop_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":874
 *         self._callback_del("drag,stop", func)
 * 
 *     def callback_drag_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when the item in the gengrid is being
 *         dragged."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_137callback_drag_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_136callback_drag_add[] = "Gengrid.callback_drag_add(self, func, *args, **kwargs)\nCalled when the item in the gengrid is being\n        dragged.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_137callback_drag_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_drag_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_drag_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 874; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_drag_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 874; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_136callback_drag_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_136callback_drag_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_drag_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":877
 *         """Called when the item in the gengrid is being
 *         dragged."""
 *         self._callback_add("drag", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_drag_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 877; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 877; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_s_drag);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_drag);
  __Pyx_GIVEREF(__pyx_n_s_drag);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 877; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 877; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 877; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":874
 *         self._callback_del("drag,stop", func)
 * 
 *     def callback_drag_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """Called when the item in the gengrid is being
 *         dragged."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":879
 *         self._callback_add("drag", func, *args, **kwargs)
 * 
 *     def callback_drag_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("drag", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_139callback_drag_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_138callback_drag_del[] = "Gengrid.callback_drag_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_139callback_drag_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_drag_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_138callback_drag_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_138callback_drag_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_drag_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":880
 * 
 *     def callback_drag_del(self, func):
 *         self._callback_del("drag", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_scroll_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 880; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 880; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_drag);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_n_s_drag);
  __Pyx_GIVEREF(__pyx_n_s_drag);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 880; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":879
 *         self._callback_add("drag", func, *args, **kwargs)
 * 
 *     def callback_drag_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("drag", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_drag_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":882
 *         self._callback_del("drag", func)
 * 
 *     def callback_scroll_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """called when the content has been scrolled
 *         (moved)."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_141callback_scroll_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_140callback_scroll_add[] = "Gengrid.callback_scroll_add(self, func, *args, **kwargs)\ncalled when the content has been scrolled\n        (moved).";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_141callback_scroll_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_scroll_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_scroll_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 882; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_scroll_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 882; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_140callback_scroll_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_140callback_scroll_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_scroll_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":885
 *         """called when the content has been scrolled
 *         (moved)."""
 *         self._callback_add("scroll", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_scroll_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 885; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 885; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_s_scroll);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_scroll);
  __Pyx_GIVEREF(__pyx_n_s_scroll);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 885; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 885; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 885; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":882
 *         self._callback_del("drag", func)
 * 
 *     def callback_scroll_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """called when the content has been scrolled
 *         (moved)."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":887
 *         self._callback_add("scroll", func, *args, **kwargs)
 * 
 *     def callback_scroll_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("scroll", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_143callback_scroll_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_142callback_scroll_del[] = "Gengrid.callback_scroll_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_143callback_scroll_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_scroll_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_142callback_scroll_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_142callback_scroll_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_scroll_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":888
 * 
 *     def callback_scroll_del(self, func):
 *         self._callback_del("scroll", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_scroll_drag_start_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 888; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 888; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_scroll);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_n_s_scroll);
  __Pyx_GIVEREF(__pyx_n_s_scroll);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 888; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":887
 *         self._callback_add("scroll", func, *args, **kwargs)
 * 
 *     def callback_scroll_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("scroll", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":890
 *         self._callback_del("scroll", func)
 * 
 *     def callback_scroll_drag_start_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """called when dragging the content has
 *         started."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_145callback_scroll_drag_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_144callback_scroll_drag_start_add[] = "Gengrid.callback_scroll_drag_start_add(self, func, *args, **kwargs)\ncalled when dragging the content has\n        started.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_145callback_scroll_drag_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_scroll_drag_start_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_scroll_drag_start_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 890; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_scroll_drag_start_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 890; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_drag_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_144callback_scroll_drag_start_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_144callback_scroll_drag_start_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_scroll_drag_start_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":893
 *         """called when dragging the content has
 *         started."""
 *         self._callback_add("scroll,drag,start", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_scroll_drag_start_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_scroll_drag_start);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_scroll_drag_start);
  __Pyx_GIVEREF(__pyx_kp_s_scroll_drag_start);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":890
 *         self._callback_del("scroll", func)
 * 
 *     def callback_scroll_drag_start_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """called when dragging the content has
 *         started."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_drag_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":895
 *         self._callback_add("scroll,drag,start", func, *args, **kwargs)
 * 
 *     def callback_scroll_drag_start_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("scroll,drag,start", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_147callback_scroll_drag_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_146callback_scroll_drag_start_del[] = "Gengrid.callback_scroll_drag_start_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_147callback_scroll_drag_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_scroll_drag_start_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_146callback_scroll_drag_start_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_146callback_scroll_drag_start_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_scroll_drag_start_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":896
 * 
 *     def callback_scroll_drag_start_del(self, func):
 *         self._callback_del("scroll,drag,start", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_scroll_drag_stop_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 896; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 896; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_scroll_drag_start);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_scroll_drag_start);
  __Pyx_GIVEREF(__pyx_kp_s_scroll_drag_start);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 896; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":895
 *         self._callback_add("scroll,drag,start", func, *args, **kwargs)
 * 
 *     def callback_scroll_drag_start_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("scroll,drag,start", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_drag_start_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":898
 *         self._callback_del("scroll,drag,start", func)
 * 
 *     def callback_scroll_drag_stop_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """called when dragging the content has
 *         stopped."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_149callback_scroll_drag_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_148callback_scroll_drag_stop_add[] = "Gengrid.callback_scroll_drag_stop_add(self, func, *args, **kwargs)\ncalled when dragging the content has\n        stopped.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_149callback_scroll_drag_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_scroll_drag_stop_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_scroll_drag_stop_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 898; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_scroll_drag_stop_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 898; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_148callback_scroll_drag_stop_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_148callback_scroll_drag_stop_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_scroll_drag_stop_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":901
 *         """called when dragging the content has
 *         stopped."""
 *         self._callback_add("scroll,drag,stop", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_scroll_drag_stop_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 901; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 901; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_scroll_drag_stop);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_scroll_drag_stop);
  __Pyx_GIVEREF(__pyx_kp_s_scroll_drag_stop);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 901; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 901; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 901; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":898
 *         self._callback_del("scroll,drag,start", func)
 * 
 *     def callback_scroll_drag_stop_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """called when dragging the content has
 *         stopped."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":903
 *         self._callback_add("scroll,drag,stop", func, *args, **kwargs)
 * 
 *     def callback_scroll_drag_stop_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("scroll,drag,stop", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_151callback_scroll_drag_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_150callback_scroll_drag_stop_del[] = "Gengrid.callback_scroll_drag_stop_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_151callback_scroll_drag_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_scroll_drag_stop_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_150callback_scroll_drag_stop_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_150callback_scroll_drag_stop_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_scroll_drag_stop_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":904
 * 
 *     def callback_scroll_drag_stop_del(self, func):
 *         self._callback_del("scroll,drag,stop", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_edge_top_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 904; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 904; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_scroll_drag_stop);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_scroll_drag_stop);
  __Pyx_GIVEREF(__pyx_kp_s_scroll_drag_stop);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 904; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":903
 *         self._callback_add("scroll,drag,stop", func, *args, **kwargs)
 * 
 *     def callback_scroll_drag_stop_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("scroll,drag,stop", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_scroll_drag_stop_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":906
 *         self._callback_del("scroll,drag,stop", func)
 * 
 *     def callback_edge_top_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the gengrid is scrolled until
 *         the top edge."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_153callback_edge_top_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_152callback_edge_top_add[] = "Gengrid.callback_edge_top_add(self, func, *args, **kwargs)\nThis is called when the gengrid is scrolled until\n        the top edge.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_153callback_edge_top_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_edge_top_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_edge_top_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 906; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_edge_top_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 906; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_edge_top_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_152callback_edge_top_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_152callback_edge_top_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_edge_top_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":909
 *         """This is called when the gengrid is scrolled until
 *         the top edge."""
 *         self._callback_add("edge,top", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_edge_top_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 909; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 909; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_edge_top);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_edge_top);
  __Pyx_GIVEREF(__pyx_kp_s_edge_top);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 909; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 909; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 909; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":906
 *         self._callback_del("scroll,drag,stop", func)
 * 
 *     def callback_edge_top_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the gengrid is scrolled until
 *         the top edge."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_edge_top_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":911
 *         self._callback_add("edge,top", func, *args, **kwargs)
 * 
 *     def callback_edge_top_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("edge,top", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_155callback_edge_top_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_154callback_edge_top_del[] = "Gengrid.callback_edge_top_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_155callback_edge_top_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_edge_top_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_154callback_edge_top_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_154callback_edge_top_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_edge_top_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":912
 * 
 *     def callback_edge_top_del(self, func):
 *         self._callback_del("edge,top", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_edge_bottom_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 912; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 912; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_edge_top);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_edge_top);
  __Pyx_GIVEREF(__pyx_kp_s_edge_top);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 912; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":911
 *         self._callback_add("edge,top", func, *args, **kwargs)
 * 
 *     def callback_edge_top_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("edge,top", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_edge_top_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":914
 *         self._callback_del("edge,top", func)
 * 
 *     def callback_edge_bottom_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the gengrid is scrolled
 *         until the bottom edge."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_157callback_edge_bottom_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_156callback_edge_bottom_add[] = "Gengrid.callback_edge_bottom_add(self, func, *args, **kwargs)\nThis is called when the gengrid is scrolled\n        until the bottom edge.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_157callback_edge_bottom_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_edge_bottom_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_edge_bottom_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 914; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_edge_bottom_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 914; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_edge_bottom_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_156callback_edge_bottom_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_156callback_edge_bottom_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_edge_bottom_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":917
 *         """This is called when the gengrid is scrolled
 *         until the bottom edge."""
 *         self._callback_add("edge,bottom", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_edge_bottom_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 917; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 917; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_edge_bottom);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_edge_bottom);
  __Pyx_GIVEREF(__pyx_kp_s_edge_bottom);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 917; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 917; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 917; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":914
 *         self._callback_del("edge,top", func)
 * 
 *     def callback_edge_bottom_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the gengrid is scrolled
 *         until the bottom edge."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_edge_bottom_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":919
 *         self._callback_add("edge,bottom", func, *args, **kwargs)
 * 
 *     def callback_edge_bottom_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("edge,bottom", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_159callback_edge_bottom_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_158callback_edge_bottom_del[] = "Gengrid.callback_edge_bottom_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_159callback_edge_bottom_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_edge_bottom_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_158callback_edge_bottom_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_158callback_edge_bottom_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_edge_bottom_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":920
 * 
 *     def callback_edge_bottom_del(self, func):
 *         self._callback_del("edge,bottom", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_edge_left_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 920; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 920; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_edge_bottom);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_edge_bottom);
  __Pyx_GIVEREF(__pyx_kp_s_edge_bottom);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 920; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":919
 *         self._callback_add("edge,bottom", func, *args, **kwargs)
 * 
 *     def callback_edge_bottom_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("edge,bottom", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_edge_bottom_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":922
 *         self._callback_del("edge,bottom", func)
 * 
 *     def callback_edge_left_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the gengrid is scrolled
 *         until the left edge."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_161callback_edge_left_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_160callback_edge_left_add[] = "Gengrid.callback_edge_left_add(self, func, *args, **kwargs)\nThis is called when the gengrid is scrolled\n        until the left edge.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_161callback_edge_left_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_edge_left_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_edge_left_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 922; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_edge_left_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 922; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_edge_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_160callback_edge_left_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_160callback_edge_left_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_edge_left_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":925
 *         """This is called when the gengrid is scrolled
 *         until the left edge."""
 *         self._callback_add("edge,left", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_edge_left_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 925; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 925; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_edge_left);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_edge_left);
  __Pyx_GIVEREF(__pyx_kp_s_edge_left);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 925; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 925; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 925; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":922
 *         self._callback_del("edge,bottom", func)
 * 
 *     def callback_edge_left_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the gengrid is scrolled
 *         until the left edge."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_edge_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":927
 *         self._callback_add("edge,left", func, *args, **kwargs)
 * 
 *     def callback_edge_left_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("edge,left", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_163callback_edge_left_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_162callback_edge_left_del[] = "Gengrid.callback_edge_left_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_163callback_edge_left_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_edge_left_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_162callback_edge_left_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_162callback_edge_left_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_edge_left_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":928
 * 
 *     def callback_edge_left_del(self, func):
 *         self._callback_del("edge,left", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_edge_right_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 928; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 928; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_edge_left);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_edge_left);
  __Pyx_GIVEREF(__pyx_kp_s_edge_left);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 928; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":927
 *         self._callback_add("edge,left", func, *args, **kwargs)
 * 
 *     def callback_edge_left_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("edge,left", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_edge_left_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":930
 *         self._callback_del("edge,left", func)
 * 
 *     def callback_edge_right_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the gengrid is scrolled
 *         until the right edge."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_165callback_edge_right_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_164callback_edge_right_add[] = "Gengrid.callback_edge_right_add(self, func, *args, **kwargs)\nThis is called when the gengrid is scrolled\n        until the right edge.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_165callback_edge_right_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_edge_right_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_edge_right_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 930; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_edge_right_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 930; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_edge_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_164callback_edge_right_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_164callback_edge_right_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_edge_right_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":933
 *         """This is called when the gengrid is scrolled
 *         until the right edge."""
 *         self._callback_add("edge,right", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_edge_right_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 933; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 933; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_edge_right);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_edge_right);
  __Pyx_GIVEREF(__pyx_kp_s_edge_right);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 933; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 933; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 933; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":930
 *         self._callback_del("edge,left", func)
 * 
 *     def callback_edge_right_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the gengrid is scrolled
 *         until the right edge."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_edge_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":935
 *         self._callback_add("edge,right", func, *args, **kwargs)
 * 
 *     def callback_edge_right_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("edge,right", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_167callback_edge_right_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_166callback_edge_right_del[] = "Gengrid.callback_edge_right_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_167callback_edge_right_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_edge_right_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_166callback_edge_right_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_166callback_edge_right_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_edge_right_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":936
 * 
 *     def callback_edge_right_del(self, func):
 *         self._callback_del("edge,right", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_moved_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 936; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 936; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_edge_right);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_edge_right);
  __Pyx_GIVEREF(__pyx_kp_s_edge_right);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 936; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":935
 *         self._callback_add("edge,right", func, *args, **kwargs)
 * 
 *     def callback_edge_right_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("edge,right", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_edge_right_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":938
 *         self._callback_del("edge,right", func)
 * 
 *     def callback_moved_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when a gengrid item is moved by a user
 *         interaction in a reorder mode. The %c event_info parameter is the item that
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_169callback_moved_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_168callback_moved_add[] = "Gengrid.callback_moved_add(self, func, *args, **kwargs)\nThis is called when a gengrid item is moved by a user\n        interaction in a reorder mode. The %c event_info parameter is the item that\n        was moved.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_169callback_moved_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_moved_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_moved_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 938; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_moved_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 938; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_moved_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_168callback_moved_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_168callback_moved_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_moved_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":942
 *         interaction in a reorder mode. The %c event_info parameter is the item that
 *         was moved."""
 *         self._callback_add_full("moved", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 942; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 942; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":943
 *         was moved."""
 *         self._callback_add_full("moved", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_moved_del(self, func):
 */
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 942; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_n_s_moved);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_moved);
  __Pyx_GIVEREF(__pyx_n_s_moved);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":942
 *         interaction in a reorder mode. The %c event_info parameter is the item that
 *         was moved."""
 *         self._callback_add_full("moved", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 942; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 942; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":943
 *         was moved."""
 *         self._callback_add_full("moved", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_moved_del(self, func):
 */
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":942
 *         interaction in a reorder mode. The %c event_info parameter is the item that
 *         was moved."""
 *         self._callback_add_full("moved", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 942; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":938
 *         self._callback_del("edge,right", func)
 * 
 *     def callback_moved_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when a gengrid item is moved by a user
 *         interaction in a reorder mode. The %c event_info parameter is the item that
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_moved_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":945
 *                                 func, *args, **kwargs)
 * 
 *     def callback_moved_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("moved", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_171callback_moved_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_170callback_moved_del[] = "Gengrid.callback_moved_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_171callback_moved_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_moved_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_170callback_moved_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_170callback_moved_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_moved_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":946
 * 
 *     def callback_moved_del(self, func):
 *         self._callback_del_full("moved", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_index_update_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 946; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 946; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 946; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_moved);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_n_s_moved);
  __Pyx_GIVEREF(__pyx_n_s_moved);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 946; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":945
 *                                 func, *args, **kwargs)
 * 
 *     def callback_moved_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("moved", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_moved_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":948
 *         self._callback_del_full("moved", _cb_object_item_conv, func)
 * 
 *     def callback_index_update_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when a gengrid item index is changed.
 *         Note that this callback is called while each item is being realized."""
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_173callback_index_update_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_172callback_index_update_add[] = "Gengrid.callback_index_update_add(self, func, *args, **kwargs)\nThis is called when a gengrid item index is changed.\n        Note that this callback is called while each item is being realized.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_173callback_index_update_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_index_update_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_index_update_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 948; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_index_update_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 948; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_index_update_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_172callback_index_update_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_172callback_index_update_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_index_update_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":951
 *         """This is called when a gengrid item index is changed.
 *         Note that this callback is called while each item is being realized."""
 *         self._callback_add("index,update", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_index_update_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 951; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 951; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_index_update);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_index_update);
  __Pyx_GIVEREF(__pyx_kp_s_index_update);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 951; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 951; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 951; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":948
 *         self._callback_del_full("moved", _cb_object_item_conv, func)
 * 
 *     def callback_index_update_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when a gengrid item index is changed.
 *         Note that this callback is called while each item is being realized."""
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_index_update_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":953
 *         self._callback_add("index,update", func, *args, **kwargs)
 * 
 *     def callback_index_update_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("index,update", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_175callback_index_update_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_174callback_index_update_del[] = "Gengrid.callback_index_update_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_175callback_index_update_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_index_update_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_174callback_index_update_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_174callback_index_update_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_index_update_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":954
 * 
 *     def callback_index_update_del(self, func):
 *         self._callback_del("index,update", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_highlighted_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 954; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 954; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_index_update);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_kp_s_index_update);
  __Pyx_GIVEREF(__pyx_kp_s_index_update);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 954; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":953
 *         self._callback_add("index,update", func, *args, **kwargs)
 * 
 *     def callback_index_update_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("index,update", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_index_update_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":956
 *         self._callback_del("index,update", func)
 * 
 *     def callback_highlighted_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """an item in the list is highlighted. This is called when
 *         the user presses an item or keyboard selection is done so the item is
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_177callback_highlighted_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_176callback_highlighted_add[] = "Gengrid.callback_highlighted_add(self, func, *args, **kwargs)\nan item in the list is highlighted. This is called when\n        the user presses an item or keyboard selection is done so the item is\n        physically highlighted. The %c event_info parameter is the item that was\n        highlighted.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_177callback_highlighted_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_highlighted_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_highlighted_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 956; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_highlighted_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 956; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_highlighted_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_176callback_highlighted_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_176callback_highlighted_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_highlighted_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":961
 *         physically highlighted. The %c event_info parameter is the item that was
 *         highlighted."""
 *         self._callback_add_full("highlighted", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 961; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 961; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":962
 *         highlighted."""
 *         self._callback_add_full("highlighted", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_highlighted_del(self, func):
 */
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 961; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_n_s_highlighted);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_highlighted);
  __Pyx_GIVEREF(__pyx_n_s_highlighted);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":961
 *         physically highlighted. The %c event_info parameter is the item that was
 *         highlighted."""
 *         self._callback_add_full("highlighted", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 961; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 961; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":962
 *         highlighted."""
 *         self._callback_add_full("highlighted", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_highlighted_del(self, func):
 */
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":961
 *         physically highlighted. The %c event_info parameter is the item that was
 *         highlighted."""
 *         self._callback_add_full("highlighted", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 961; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":956
 *         self._callback_del("index,update", func)
 * 
 *     def callback_highlighted_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """an item in the list is highlighted. This is called when
 *         the user presses an item or keyboard selection is done so the item is
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_highlighted_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":964
 *                                 func, *args, **kwargs)
 * 
 *     def callback_highlighted_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("highlighted", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_179callback_highlighted_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_178callback_highlighted_del[] = "Gengrid.callback_highlighted_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_179callback_highlighted_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_highlighted_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_178callback_highlighted_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_178callback_highlighted_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_highlighted_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":965
 * 
 *     def callback_highlighted_del(self, func):
 *         self._callback_del_full("highlighted", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_unhighlighted_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 965; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 965; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 965; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_highlighted);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_n_s_highlighted);
  __Pyx_GIVEREF(__pyx_n_s_highlighted);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 965; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":964
 *                                 func, *args, **kwargs)
 * 
 *     def callback_highlighted_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("highlighted", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_highlighted_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":967
 *         self._callback_del_full("highlighted", _cb_object_item_conv, func)
 * 
 *     def callback_unhighlighted_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """an item in the list is unhighlighted. This is called
 *         when the user releases an item or keyboard selection is moved so the item
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_181callback_unhighlighted_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_180callback_unhighlighted_add[] = "Gengrid.callback_unhighlighted_add(self, func, *args, **kwargs)\nan item in the list is unhighlighted. This is called\n        when the user releases an item or keyboard selection is moved so the item\n        is physically unhighlighted. The %c event_info parameter is the item that\n        was unhighlighted.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_181callback_unhighlighted_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_unhighlighted_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_unhighlighted_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 967; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_unhighlighted_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 967; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_unhighlighted_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_180callback_unhighlighted_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_180callback_unhighlighted_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_unhighlighted_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":972
 *         is physically unhighlighted. The %c event_info parameter is the item that
 *         was unhighlighted."""
 *         self._callback_add_full("unhighlighted", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":973
 *         was unhighlighted."""
 *         self._callback_add_full("unhighlighted", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_unhighlighted_del(self, func):
 */
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_n_s_unhighlighted);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_unhighlighted);
  __Pyx_GIVEREF(__pyx_n_s_unhighlighted);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":972
 *         is physically unhighlighted. The %c event_info parameter is the item that
 *         was unhighlighted."""
 *         self._callback_add_full("unhighlighted", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":973
 *         was unhighlighted."""
 *         self._callback_add_full("unhighlighted", _cb_object_item_conv,
 *                                 func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_unhighlighted_del(self, func):
 */
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":972
 *         is physically unhighlighted. The %c event_info parameter is the item that
 *         was unhighlighted."""
 *         self._callback_add_full("unhighlighted", _cb_object_item_conv,             # <<<<<<<<<<<<<<
 *                                 func, *args, **kwargs)
 * 
 */
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":967
 *         self._callback_del_full("highlighted", _cb_object_item_conv, func)
 * 
 *     def callback_unhighlighted_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """an item in the list is unhighlighted. This is called
 *         when the user releases an item or keyboard selection is moved so the item
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_unhighlighted_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":975
 *                                 func, *args, **kwargs)
 * 
 *     def callback_unhighlighted_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("unhighlighted", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_183callback_unhighlighted_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_182callback_unhighlighted_del[] = "Gengrid.callback_unhighlighted_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_183callback_unhighlighted_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_unhighlighted_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_182callback_unhighlighted_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_182callback_unhighlighted_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_unhighlighted_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":976
 * 
 *     def callback_unhighlighted_del(self, func):
 *         self._callback_del_full("unhighlighted", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_language_changed_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 976; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 976; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 976; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_unhighlighted);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_n_s_unhighlighted);
  __Pyx_GIVEREF(__pyx_n_s_unhighlighted);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 976; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":975
 *                                 func, *args, **kwargs)
 * 
 *     def callback_unhighlighted_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("unhighlighted", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_unhighlighted_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":978
 *         self._callback_del_full("unhighlighted", _cb_object_item_conv, func)
 * 
 *     def callback_language_changed_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the program's language is
 *         changed. Call the elm_gengrid_realized_items_update() if items text should
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_185callback_language_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_184callback_language_changed_add[] = "Gengrid.callback_language_changed_add(self, func, *args, **kwargs)\nThis is called when the program's language is\n        changed. Call the elm_gengrid_realized_items_update() if items text should\n        be translated.";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_185callback_language_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_language_changed_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_language_changed_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 978; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_language_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 978; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_184callback_language_changed_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_184callback_language_changed_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_language_changed_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":982
 *         changed. Call the elm_gengrid_realized_items_update() if items text should
 *         be translated."""
 *         self.callback_add("language,changed", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_focused_add(self, func, *args, **kwargs):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_kp_s_language_changed);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_s_language_changed);
  __Pyx_GIVEREF(__pyx_kp_s_language_changed);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":978
 *         self._callback_del_full("unhighlighted", _cb_object_item_conv, func)
 * 
 *     def callback_language_changed_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """This is called when the program's language is
 *         changed. Call the elm_gengrid_realized_items_update() if items text should
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":984
 *         self.callback_add("language,changed", func, *args, **kwargs)
 * 
 *     def callback_focused_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """When the gengrid has received focus.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_187callback_focused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_186callback_focused_add[] = "Gengrid.callback_focused_add(self, func, *args, **kwargs)\nWhen the gengrid has received focus.\n\n        .. versionadded:: 1.8\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_187callback_focused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_focused_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_focused_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 984; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_focused_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 984; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_focused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_186callback_focused_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_186callback_focused_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_focused_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":989
 *         .. versionadded:: 1.8
 *         """
 *         self._callback_add("focused", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_focused_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 989; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 989; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_s_focused);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_focused);
  __Pyx_GIVEREF(__pyx_n_s_focused);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 989; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 989; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 989; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":984
 *         self.callback_add("language,changed", func, *args, **kwargs)
 * 
 *     def callback_focused_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """When the gengrid has received focus.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_focused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":991
 *         self._callback_add("focused", func, *args, **kwargs)
 * 
 *     def callback_focused_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("focused", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_189callback_focused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_188callback_focused_del[] = "Gengrid.callback_focused_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_189callback_focused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_focused_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_188callback_focused_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_188callback_focused_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_focused_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":992
 * 
 *     def callback_focused_del(self, func):
 *         self._callback_del("focused", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_unfocused_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 992; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 992; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_focused);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_n_s_focused);
  __Pyx_GIVEREF(__pyx_n_s_focused);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 992; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":991
 *         self._callback_add("focused", func, *args, **kwargs)
 * 
 *     def callback_focused_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("focused", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_focused_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":994
 *         self._callback_del("focused", func)
 * 
 *     def callback_unfocused_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """When the gengrid has lost focus.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_191callback_unfocused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_190callback_unfocused_add[] = "Gengrid.callback_unfocused_add(self, func, *args, **kwargs)\nWhen the gengrid has lost focus.\n\n        .. versionadded:: 1.8\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_191callback_unfocused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_unfocused_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_unfocused_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 994; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_unfocused_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 994; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_unfocused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_190callback_unfocused_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_190callback_unfocused_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_unfocused_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":999
 *         .. versionadded:: 1.8
 *         """
 *         self._callback_add("unfocused", func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_unfocused_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 999; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 999; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_s_unfocused);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_unfocused);
  __Pyx_GIVEREF(__pyx_n_s_unfocused);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 999; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 999; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 999; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":994
 *         self._callback_del("focused", func)
 * 
 *     def callback_unfocused_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """When the gengrid has lost focus.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_unfocused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1001
 *         self._callback_add("unfocused", func, *args, **kwargs)
 * 
 *     def callback_unfocused_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("unfocused", func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_193callback_unfocused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_192callback_unfocused_del[] = "Gengrid.callback_unfocused_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_193callback_unfocused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_unfocused_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_192callback_unfocused_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_192callback_unfocused_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_unfocused_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":1002
 * 
 *     def callback_unfocused_del(self, func):
 *         self._callback_del("unfocused", func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_item_focused_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1002; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1002; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (__pyx_t_3) {
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); __pyx_t_3 = NULL;
  }
  __Pyx_INCREF(__pyx_n_s_unfocused);
  PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_n_s_unfocused);
  __Pyx_GIVEREF(__pyx_n_s_unfocused);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1002; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":1001
 *         self._callback_add("unfocused", func, *args, **kwargs)
 * 
 *     def callback_unfocused_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del("unfocused", func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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_5);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_unfocused_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1004
 *         self._callback_del("unfocused", func)
 * 
 *     def callback_item_focused_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """When the gengrid item has received focus.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_195callback_item_focused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_194callback_item_focused_add[] = "Gengrid.callback_item_focused_add(self, func, *args, **kwargs)\nWhen the gengrid item has received focus.\n\n        .. versionadded:: 1.10\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_195callback_item_focused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_item_focused_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_item_focused_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1004; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_item_focused_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1004; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_item_focused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_194callback_item_focused_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_194callback_item_focused_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_item_focused_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":1010
 * 
 *         """
 *         self._callback_add_full("item,focused", _cb_object_item_conv, func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_item_focused_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1010; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1010; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1010; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_kp_s_item_focused);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_s_item_focused);
  __Pyx_GIVEREF(__pyx_kp_s_item_focused);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1010; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1010; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1010; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":1004
 *         self._callback_del("unfocused", func)
 * 
 *     def callback_item_focused_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """When the gengrid item has received focus.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_item_focused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1012
 *         self._callback_add_full("item,focused", _cb_object_item_conv, func, *args, **kwargs)
 * 
 *     def callback_item_focused_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("item,focused", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_197callback_item_focused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_196callback_item_focused_del[] = "Gengrid.callback_item_focused_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_197callback_item_focused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_item_focused_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_196callback_item_focused_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_196callback_item_focused_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_item_focused_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":1013
 * 
 *     def callback_item_focused_del(self, func):
 *         self._callback_del_full("item,focused", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_item_unfocused_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1013; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1013; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1013; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_item_focused);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_kp_s_item_focused);
  __Pyx_GIVEREF(__pyx_kp_s_item_focused);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1013; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":1012
 *         self._callback_add_full("item,focused", _cb_object_item_conv, func, *args, **kwargs)
 * 
 *     def callback_item_focused_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("item,focused", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_item_focused_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1015
 *         self._callback_del_full("item,focused", _cb_object_item_conv, func)
 * 
 *     def callback_item_unfocused_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """When the gengrid item has lost focus.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_199callback_item_unfocused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_198callback_item_unfocused_add[] = "Gengrid.callback_item_unfocused_add(self, func, *args, **kwargs)\nWhen the gengrid item has lost focus.\n\n        .. versionadded:: 1.10\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_199callback_item_unfocused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_item_unfocused_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_item_unfocused_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1015; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_item_unfocused_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1015; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_item_unfocused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_198callback_item_unfocused_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_198callback_item_unfocused_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_item_unfocused_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":1021
 * 
 *         """
 *         self._callback_add_full("item,unfocused", _cb_object_item_conv, func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_item_unfocused_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1021; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1021; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1021; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_kp_s_item_unfocused);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_s_item_unfocused);
  __Pyx_GIVEREF(__pyx_kp_s_item_unfocused);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1021; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1021; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1021; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":1015
 *         self._callback_del_full("item,focused", _cb_object_item_conv, func)
 * 
 *     def callback_item_unfocused_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """When the gengrid item has lost focus.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_item_unfocused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1023
 *         self._callback_add_full("item,unfocused", _cb_object_item_conv, func, *args, **kwargs)
 * 
 *     def callback_item_unfocused_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("item,unfocused", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_201callback_item_unfocused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_200callback_item_unfocused_del[] = "Gengrid.callback_item_unfocused_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_201callback_item_unfocused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_item_unfocused_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_200callback_item_unfocused_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_200callback_item_unfocused_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_item_unfocused_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":1024
 * 
 *     def callback_item_unfocused_del(self, func):
 *         self._callback_del_full("item,unfocused", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_item_reorder_anim_start_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_item_unfocused);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_kp_s_item_unfocused);
  __Pyx_GIVEREF(__pyx_kp_s_item_unfocused);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":1023
 *         self._callback_add_full("item,unfocused", _cb_object_item_conv, func, *args, **kwargs)
 * 
 *     def callback_item_unfocused_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("item,unfocused", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_item_unfocused_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1026
 *         self._callback_del_full("item,unfocused", _cb_object_item_conv, func)
 * 
 *     def callback_item_reorder_anim_start_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """When a gengrid item movement has just started by keys.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_203callback_item_reorder_anim_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_202callback_item_reorder_anim_start_add[] = "Gengrid.callback_item_reorder_anim_start_add(self, func, *args, **kwargs)\nWhen a gengrid item movement has just started by keys.\n\n        .. versionadded:: 1.10\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_203callback_item_reorder_anim_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_item_reorder_anim_start_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_item_reorder_anim_start_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_item_reorder_anim_start_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_item_reorder_anim_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_202callback_item_reorder_anim_start_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_202callback_item_reorder_anim_start_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_item_reorder_anim_start_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":1032
 * 
 *         """
 *         self._callback_add_full("item,reorder,anim,start", _cb_object_item_conv, func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_item_reorder_anim_start_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1032; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1032; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1032; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_kp_s_item_reorder_anim_start);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_s_item_reorder_anim_start);
  __Pyx_GIVEREF(__pyx_kp_s_item_reorder_anim_start);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1032; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1032; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1032; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":1026
 *         self._callback_del_full("item,unfocused", _cb_object_item_conv, func)
 * 
 *     def callback_item_reorder_anim_start_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """When a gengrid item movement has just started by keys.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_item_reorder_anim_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1034
 *         self._callback_add_full("item,reorder,anim,start", _cb_object_item_conv, func, *args, **kwargs)
 * 
 *     def callback_item_reorder_anim_start_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("item,reorder,anim,start", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_205callback_item_reorder_anim_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_204callback_item_reorder_anim_start_del[] = "Gengrid.callback_item_reorder_anim_start_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_205callback_item_reorder_anim_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_item_reorder_anim_start_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_204callback_item_reorder_anim_start_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_204callback_item_reorder_anim_start_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_item_reorder_anim_start_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":1035
 * 
 *     def callback_item_reorder_anim_start_del(self, func):
 *         self._callback_del_full("item,reorder,anim,start", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     def callback_item_reorder_anim_stop_add(self, func, *args, **kwargs):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_item_reorder_anim_start);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_kp_s_item_reorder_anim_start);
  __Pyx_GIVEREF(__pyx_kp_s_item_reorder_anim_start);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":1034
 *         self._callback_add_full("item,reorder,anim,start", _cb_object_item_conv, func, *args, **kwargs)
 * 
 *     def callback_item_reorder_anim_start_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("item,reorder,anim,start", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_item_reorder_anim_start_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1037
 *         self._callback_del_full("item,reorder,anim,start", _cb_object_item_conv, func)
 * 
 *     def callback_item_reorder_anim_stop_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """When a gengrid item movement just stopped in reorder mode.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_207callback_item_reorder_anim_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_206callback_item_reorder_anim_stop_add[] = "Gengrid.callback_item_reorder_anim_stop_add(self, func, *args, **kwargs)\nWhen a gengrid item movement just stopped in reorder mode.\n\n        .. versionadded:: 1.10\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_207callback_item_reorder_anim_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_item_reorder_anim_stop_add (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 1) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return NULL;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "callback_item_reorder_anim_stop_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1037; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_func = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("callback_item_reorder_anim_stop_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1037; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_item_reorder_anim_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_206callback_item_reorder_anim_stop_add(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_206callback_item_reorder_anim_stop_add(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_item_reorder_anim_stop_add", 0);

  /* "efl/elementary/gengrid_widget.pxi":1043
 * 
 *         """
 *         self._callback_add_full("item,reorder,anim,stop", _cb_object_item_conv, func, *args, **kwargs)             # <<<<<<<<<<<<<<
 * 
 *     def callback_item_reorder_anim_stop_del(self, func):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_kp_s_item_reorder_anim_stop);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_s_item_reorder_anim_stop);
  __Pyx_GIVEREF(__pyx_kp_s_item_reorder_anim_stop);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_2 = 0;
  __pyx_t_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyNumber_Add(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __pyx_v_kwargs;
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_widget.pxi":1037
 *         self._callback_del_full("item,reorder,anim,start", _cb_object_item_conv, func)
 * 
 *     def callback_item_reorder_anim_stop_add(self, func, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """When a gengrid item movement just stopped in reorder mode.
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_item_reorder_anim_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1045
 *         self._callback_add_full("item,reorder,anim,stop", _cb_object_item_conv, func, *args, **kwargs)
 * 
 *     def callback_item_reorder_anim_stop_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("item,reorder,anim,stop", _cb_object_item_conv, func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_209callback_item_reorder_anim_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_208callback_item_reorder_anim_stop_del[] = "Gengrid.callback_item_reorder_anim_stop_del(self, func)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_209callback_item_reorder_anim_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("callback_item_reorder_anim_stop_del (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_208callback_item_reorder_anim_stop_del(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_208callback_item_reorder_anim_stop_del(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_func) {
  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;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("callback_item_reorder_anim_stop_del", 0);

  /* "efl/elementary/gengrid_widget.pxi":1046
 * 
 *     def callback_item_reorder_anim_stop_del(self, func):
 *         self._callback_del_full("item,reorder,anim,stop", _cb_object_item_conv, func)             # <<<<<<<<<<<<<<
 * 
 *     property scroller_policy:
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_callback_del_full); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1046; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_cb_object_item_conv); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1046; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  __pyx_t_6 = PyTuple_New(3+__pyx_t_5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1046; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4) {
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = NULL;
  }
  __Pyx_INCREF(__pyx_kp_s_item_reorder_anim_stop);
  PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_kp_s_item_reorder_anim_stop);
  __Pyx_GIVEREF(__pyx_kp_s_item_reorder_anim_stop);
  PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_func);
  PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __pyx_t_3 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1046; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_widget.pxi":1045
 *         self._callback_add_full("item,reorder,anim,stop", _cb_object_item_conv, func, *args, **kwargs)
 * 
 *     def callback_item_reorder_anim_stop_del(self, func):             # <<<<<<<<<<<<<<
 *         self._callback_del_full("item,reorder,anim,stop", _cb_object_item_conv, func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  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);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.callback_item_reorder_anim_stop_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1055
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return self.scroller_policy_get()
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15scroller_policy_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15scroller_policy_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_15scroller_policy___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

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

  /* "efl/elementary/gengrid_widget.pxi":1056
 *         """
 *         def __get__(self):
 *             return self.scroller_policy_get()             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, value):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_scroller_policy_get); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  if (__pyx_t_3) {
    __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  } else {
    __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":1055
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return self.scroller_policy_get()
 * 
 */

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

/* "efl/elementary/gengrid_widget.pxi":1058
 *             return self.scroller_policy_get()
 * 
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             cdef Elm_Scroller_Policy policy_h, policy_v
 *             policy_h, policy_v = value
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15scroller_policy_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15scroller_policy_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_15scroller_policy_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_15scroller_policy_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value) {
  Elm_Scroller_Policy __pyx_v_policy_h;
  Elm_Scroller_Policy __pyx_v_policy_v;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *(*__pyx_t_4)(PyObject *);
  Elm_Scroller_Policy __pyx_t_5;
  Elm_Scroller_Policy __pyx_t_6;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  Py_ssize_t __pyx_t_9;
  PyObject *__pyx_t_10 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":1060
 *         def __set__(self, value):
 *             cdef Elm_Scroller_Policy policy_h, policy_v
 *             policy_h, policy_v = value             # <<<<<<<<<<<<<<
 *             self.scroller_policy_set(policy_h, policy_v)
 * 
 */
  if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
    PyObject* sequence = __pyx_v_value;
    #if CYTHON_COMPILING_IN_CPYTHON
    Py_ssize_t size = Py_SIZE(sequence);
    #else
    Py_ssize_t size = PySequence_Size(sequence);
    #endif
    if (unlikely(size != 2)) {
      if (size > 2) __Pyx_RaiseTooManyValuesError(2);
      else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
      {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    #if CYTHON_COMPILING_IN_CPYTHON
    if (likely(PyTuple_CheckExact(sequence))) {
      __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); 
    } else {
      __pyx_t_1 = PyList_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyList_GET_ITEM(sequence, 1); 
    }
    __Pyx_INCREF(__pyx_t_1);
    __Pyx_INCREF(__pyx_t_2);
    #else
    __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_2 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    #endif
  } else {
    Py_ssize_t index = -1;
    __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = Py_TYPE(__pyx_t_3)->tp_iternext;
    index = 0; __pyx_t_1 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_1);
    index = 1; __pyx_t_2 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_2);
    if (__Pyx_IternextUnpackEndCheck(__pyx_t_4(__pyx_t_3), 2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = NULL;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    goto __pyx_L4_unpacking_done;
    __pyx_L3_unpacking_failed:;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_t_4 = NULL;
    if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
    {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_L4_unpacking_done:;
  }
  __pyx_t_5 = ((Elm_Scroller_Policy)PyInt_AsLong(__pyx_t_1)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_6 = ((Elm_Scroller_Policy)PyInt_AsLong(__pyx_t_2)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_v_policy_h = __pyx_t_5;
  __pyx_v_policy_v = __pyx_t_6;

  /* "efl/elementary/gengrid_widget.pxi":1061
 *             cdef Elm_Scroller_Policy policy_h, policy_v
 *             policy_h, policy_v = value
 *             self.scroller_policy_set(policy_h, policy_v)             # <<<<<<<<<<<<<<
 * 
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_scroller_policy_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_3 = PyInt_FromLong(__pyx_v_policy_h); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_7 = PyInt_FromLong(__pyx_v_policy_v); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_7);
  __pyx_t_8 = NULL;
  __pyx_t_9 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_1))) {
    __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_1);
    if (likely(__pyx_t_8)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_1);
      __Pyx_INCREF(__pyx_t_8);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_1, function);
      __pyx_t_9 = 1;
    }
  }
  __pyx_t_10 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_10);
  if (__pyx_t_8) {
    PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_8); __Pyx_GIVEREF(__pyx_t_8); __pyx_t_8 = NULL;
  }
  PyTuple_SET_ITEM(__pyx_t_10, 0+__pyx_t_9, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_10, 1+__pyx_t_9, __pyx_t_7);
  __Pyx_GIVEREF(__pyx_t_7);
  __pyx_t_3 = 0;
  __pyx_t_7 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_10, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":1058
 *             return self.scroller_policy_get()
 * 
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             cdef Elm_Scroller_Policy policy_h, policy_v
 *             policy_h, policy_v = value
 */

  /* function exit code */
  __pyx_r = 0;
  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_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.scroller_policy.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1064
 * 
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def scroller_policy_set(self, policy_h, policy_v):             # <<<<<<<<<<<<<<
 *         elm_scroller_policy_set(self.obj, policy_h, policy_v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_211scroller_policy_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_210scroller_policy_set[] = "Gengrid.scroller_policy_set(self, policy_h, policy_v)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_211scroller_policy_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_policy_h = 0;
  PyObject *__pyx_v_policy_v = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("scroller_policy_set (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_policy_h,&__pyx_n_s_policy_v,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_policy_h)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_policy_v)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("scroller_policy_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1064; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "scroller_policy_set") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1064; __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_policy_h = values[0];
    __pyx_v_policy_v = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("scroller_policy_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1064; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.scroller_policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_210scroller_policy_set(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_policy_h, __pyx_v_policy_v);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_210scroller_policy_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_policy_h, PyObject *__pyx_v_policy_v) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  Elm_Scroller_Policy __pyx_t_1;
  Elm_Scroller_Policy __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("scroller_policy_set", 0);

  /* "efl/elementary/gengrid_widget.pxi":1065
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def scroller_policy_set(self, policy_h, policy_v):
 *         elm_scroller_policy_set(self.obj, policy_h, policy_v)             # <<<<<<<<<<<<<<
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def scroller_policy_get(self):
 */
  __pyx_t_1 = ((Elm_Scroller_Policy)PyInt_AsLong(__pyx_v_policy_h)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1065; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_2 = ((Elm_Scroller_Policy)PyInt_AsLong(__pyx_v_policy_v)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1065; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_scroller_policy_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":1064
 * 
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def scroller_policy_set(self, policy_h, policy_v):             # <<<<<<<<<<<<<<
 *         elm_scroller_policy_set(self.obj, policy_h, policy_v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.scroller_policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1067
 *         elm_scroller_policy_set(self.obj, policy_h, policy_v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def scroller_policy_get(self):             # <<<<<<<<<<<<<<
 *         cdef Elm_Scroller_Policy policy_h, policy_v
 *         elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_213scroller_policy_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_212scroller_policy_get[] = "Gengrid.scroller_policy_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_213scroller_policy_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("scroller_policy_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_212scroller_policy_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_212scroller_policy_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  Elm_Scroller_Policy __pyx_v_policy_h;
  Elm_Scroller_Policy __pyx_v_policy_v;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("scroller_policy_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":1069
 *     def scroller_policy_get(self):
 *         cdef Elm_Scroller_Policy policy_h, policy_v
 *         elm_scroller_policy_get(self.obj, &policy_h, &policy_v)             # <<<<<<<<<<<<<<
 *         return (policy_h, policy_v)
 * 
 */
  elm_scroller_policy_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_policy_h), (&__pyx_v_policy_v));

  /* "efl/elementary/gengrid_widget.pxi":1070
 *         cdef Elm_Scroller_Policy policy_h, policy_v
 *         elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
 *         return (policy_h, policy_v)             # <<<<<<<<<<<<<<
 * 
 *     property bounce:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyInt_FromLong(__pyx_v_policy_h); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1070; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyInt_FromLong(__pyx_v_policy_v); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1070; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1070; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":1067
 *         elm_scroller_policy_set(self.obj, policy_h, policy_v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def scroller_policy_get(self):             # <<<<<<<<<<<<<<
 *         cdef Elm_Scroller_Policy policy_h, policy_v
 *         elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
 */

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

/* "efl/elementary/gengrid_widget.pxi":1079
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return self.bounce_get()
 *         def __set__(self, value):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_6bounce_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_6bounce_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6bounce___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

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

  /* "efl/elementary/gengrid_widget.pxi":1080
 *         """
 *         def __get__(self):
 *             return self.bounce_get()             # <<<<<<<<<<<<<<
 *         def __set__(self, value):
 *             cdef Eina_Bool h, v
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_bounce_get); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1080; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  if (__pyx_t_3) {
    __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1080; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  } else {
    __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1080; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":1079
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return self.bounce_get()
 *         def __set__(self, value):
 */

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

/* "efl/elementary/gengrid_widget.pxi":1081
 *         def __get__(self):
 *             return self.bounce_get()
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             cdef Eina_Bool h, v
 *             h, v = value
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_6bounce_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_6bounce_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6bounce_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_6bounce_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_value) {
  Eina_Bool __pyx_v_h;
  Eina_Bool __pyx_v_v;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *(*__pyx_t_4)(PyObject *);
  Eina_Bool __pyx_t_5;
  Eina_Bool __pyx_t_6;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  Py_ssize_t __pyx_t_9;
  PyObject *__pyx_t_10 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_widget.pxi":1083
 *         def __set__(self, value):
 *             cdef Eina_Bool h, v
 *             h, v = value             # <<<<<<<<<<<<<<
 *             self.bounce_set(h, v)
 * 
 */
  if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
    PyObject* sequence = __pyx_v_value;
    #if CYTHON_COMPILING_IN_CPYTHON
    Py_ssize_t size = Py_SIZE(sequence);
    #else
    Py_ssize_t size = PySequence_Size(sequence);
    #endif
    if (unlikely(size != 2)) {
      if (size > 2) __Pyx_RaiseTooManyValuesError(2);
      else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
      {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    #if CYTHON_COMPILING_IN_CPYTHON
    if (likely(PyTuple_CheckExact(sequence))) {
      __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); 
    } else {
      __pyx_t_1 = PyList_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyList_GET_ITEM(sequence, 1); 
    }
    __Pyx_INCREF(__pyx_t_1);
    __Pyx_INCREF(__pyx_t_2);
    #else
    __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_2 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    #endif
  } else {
    Py_ssize_t index = -1;
    __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = Py_TYPE(__pyx_t_3)->tp_iternext;
    index = 0; __pyx_t_1 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_1);
    index = 1; __pyx_t_2 = __pyx_t_4(__pyx_t_3); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_2);
    if (__Pyx_IternextUnpackEndCheck(__pyx_t_4(__pyx_t_3), 2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = NULL;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    goto __pyx_L4_unpacking_done;
    __pyx_L3_unpacking_failed:;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_t_4 = NULL;
    if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
    {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_L4_unpacking_done:;
  }
  __pyx_t_5 = __Pyx_PyInt_As_Eina_Bool(__pyx_t_1); if (unlikely((__pyx_t_5 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_6 = __Pyx_PyInt_As_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_6 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_v_h = __pyx_t_5;
  __pyx_v_v = __pyx_t_6;

  /* "efl/elementary/gengrid_widget.pxi":1084
 *             cdef Eina_Bool h, v
 *             h, v = value
 *             self.bounce_set(h, v)             # <<<<<<<<<<<<<<
 * 
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_bounce_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_3 = __Pyx_PyInt_From_Eina_Bool(__pyx_v_h); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_7 = __Pyx_PyInt_From_Eina_Bool(__pyx_v_v); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_7);
  __pyx_t_8 = NULL;
  __pyx_t_9 = 0;
  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_1))) {
    __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_1);
    if (likely(__pyx_t_8)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_1);
      __Pyx_INCREF(__pyx_t_8);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_1, function);
      __pyx_t_9 = 1;
    }
  }
  __pyx_t_10 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_10);
  if (__pyx_t_8) {
    PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_8); __Pyx_GIVEREF(__pyx_t_8); __pyx_t_8 = NULL;
  }
  PyTuple_SET_ITEM(__pyx_t_10, 0+__pyx_t_9, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_10, 1+__pyx_t_9, __pyx_t_7);
  __Pyx_GIVEREF(__pyx_t_7);
  __pyx_t_3 = 0;
  __pyx_t_7 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_10, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "efl/elementary/gengrid_widget.pxi":1081
 *         def __get__(self):
 *             return self.bounce_get()
 *         def __set__(self, value):             # <<<<<<<<<<<<<<
 *             cdef Eina_Bool h, v
 *             h, v = value
 */

  /* function exit code */
  __pyx_r = 0;
  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_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.bounce.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1087
 * 
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def bounce_set(self, h, v):             # <<<<<<<<<<<<<<
 *         elm_scroller_bounce_set(self.obj, h, v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_215bounce_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_214bounce_set[] = "Gengrid.bounce_set(self, h, v)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_215bounce_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_h = 0;
  PyObject *__pyx_v_v = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("bounce_set (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_h,&__pyx_n_s_v,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_h)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_v)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("bounce_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1087; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "bounce_set") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1087; __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_h = values[0];
    __pyx_v_v = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("bounce_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1087; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.bounce_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_214bounce_set(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self), __pyx_v_h, __pyx_v_v);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_214bounce_set(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self, PyObject *__pyx_v_h, PyObject *__pyx_v_v) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  Eina_Bool __pyx_t_1;
  Eina_Bool __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("bounce_set", 0);

  /* "efl/elementary/gengrid_widget.pxi":1088
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def bounce_set(self, h, v):
 *         elm_scroller_bounce_set(self.obj, h, v)             # <<<<<<<<<<<<<<
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def bounce_get(self):
 */
  __pyx_t_1 = __Pyx_PyInt_As_Eina_Bool(__pyx_v_h); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1088; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_2 = __Pyx_PyInt_As_Eina_Bool(__pyx_v_v); if (unlikely((__pyx_t_2 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1088; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_scroller_bounce_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);

  /* "efl/elementary/gengrid_widget.pxi":1087
 * 
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def bounce_set(self, h, v):             # <<<<<<<<<<<<<<
 *         elm_scroller_bounce_set(self.obj, h, v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.Gengrid.bounce_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_widget.pxi":1090
 *         elm_scroller_bounce_set(self.obj, h, v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def bounce_get(self):             # <<<<<<<<<<<<<<
 *         cdef Eina_Bool h, v
 *         elm_scroller_bounce_get(self.obj, &h, &v)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_217bounce_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_216bounce_get[] = "Gengrid.bounce_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_217bounce_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("bounce_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_7Gengrid_216bounce_get(((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_7Gengrid_216bounce_get(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_self) {
  Eina_Bool __pyx_v_h;
  Eina_Bool __pyx_v_v;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("bounce_get", 0);

  /* "efl/elementary/gengrid_widget.pxi":1092
 *     def bounce_get(self):
 *         cdef Eina_Bool h, v
 *         elm_scroller_bounce_get(self.obj, &h, &v)             # <<<<<<<<<<<<<<
 *         return (h, v)
 * 
 */
  elm_scroller_bounce_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_h), (&__pyx_v_v));

  /* "efl/elementary/gengrid_widget.pxi":1093
 *         cdef Eina_Bool h, v
 *         elm_scroller_bounce_get(self.obj, &h, &v)
 *         return (h, v)             # <<<<<<<<<<<<<<
 * 
 * _object_mapping_register("Elm_Gengrid", Gengrid)
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(__pyx_v_h); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1093; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyInt_From_Eina_Bool(__pyx_v_v); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1093; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1093; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_widget.pxi":1090
 *         elm_scroller_bounce_set(self.obj, h, v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def bounce_get(self):             # <<<<<<<<<<<<<<
 *         cdef Eina_Bool h, v
 *         elm_scroller_bounce_get(self.obj, &h, &v)
 */

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

/* "efl/elementary/gengrid_item_class.pxi":24
 *         object _item_style
 * 
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.cls = elm_gengrid_item_class_new()
 *         self.cls.func.text_get = _py_elm_gengrid_item_text_get
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
  if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) {
    __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 0, 0, PyTuple_GET_SIZE(__pyx_args)); return -1;}
  if (unlikely(__pyx_kwds) && unlikely(PyDict_Size(__pyx_kwds) > 0) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__cinit__", 0))) return -1;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass___cinit__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)__pyx_v_self));

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

static int __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass___cinit__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__cinit__", 0);

  /* "efl/elementary/gengrid_item_class.pxi":25
 * 
 *     def __cinit__(self):
 *         self.cls = elm_gengrid_item_class_new()             # <<<<<<<<<<<<<<
 *         self.cls.func.text_get = _py_elm_gengrid_item_text_get
 *         self.cls.func.content_get = _py_elm_gengrid_item_content_get
 */
  __pyx_v_self->cls = elm_gengrid_item_class_new();

  /* "efl/elementary/gengrid_item_class.pxi":26
 *     def __cinit__(self):
 *         self.cls = elm_gengrid_item_class_new()
 *         self.cls.func.text_get = _py_elm_gengrid_item_text_get             # <<<<<<<<<<<<<<
 *         self.cls.func.content_get = _py_elm_gengrid_item_content_get
 *         self.cls.func.state_get = _py_elm_gengrid_item_state_get
 */
  __pyx_v_self->cls->func.text_get = __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_text_get;

  /* "efl/elementary/gengrid_item_class.pxi":27
 *         self.cls = elm_gengrid_item_class_new()
 *         self.cls.func.text_get = _py_elm_gengrid_item_text_get
 *         self.cls.func.content_get = _py_elm_gengrid_item_content_get             # <<<<<<<<<<<<<<
 *         self.cls.func.state_get = _py_elm_gengrid_item_state_get
 *         # In C the struct member is del but we rename it to del_ in pxd
 */
  __pyx_v_self->cls->func.content_get = __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_content_get;

  /* "efl/elementary/gengrid_item_class.pxi":28
 *         self.cls.func.text_get = _py_elm_gengrid_item_text_get
 *         self.cls.func.content_get = _py_elm_gengrid_item_content_get
 *         self.cls.func.state_get = _py_elm_gengrid_item_state_get             # <<<<<<<<<<<<<<
 *         # In C the struct member is del but we rename it to del_ in pxd
 *         self.cls.func.del_ = _py_elm_gengrid_object_item_del
 */
  __pyx_v_self->cls->func.state_get = __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_state_get;

  /* "efl/elementary/gengrid_item_class.pxi":30
 *         self.cls.func.state_get = _py_elm_gengrid_item_state_get
 *         # In C the struct member is del but we rename it to del_ in pxd
 *         self.cls.func.del_ = _py_elm_gengrid_object_item_del             # <<<<<<<<<<<<<<
 * 
 *     def __dealloc__(self):
 */
  __pyx_v_self->cls->func.del = __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_object_item_del;

  /* "efl/elementary/gengrid_item_class.pxi":24
 *         object _item_style
 * 
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.cls = elm_gengrid_item_class_new()
 *         self.cls.func.text_get = _py_elm_gengrid_item_text_get
 */

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

/* "efl/elementary/gengrid_item_class.pxi":32
 *         self.cls.func.del_ = _py_elm_gengrid_object_item_del
 * 
 *     def __dealloc__(self):             # <<<<<<<<<<<<<<
 *         elm_gengrid_item_class_free(self.cls)
 *         self.cls = NULL
 */

/* Python wrapper */
static void __pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_3__dealloc__(PyObject *__pyx_v_self); /*proto*/
static void __pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_3__dealloc__(PyObject *__pyx_v_self) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__dealloc__ (wrapper)", 0);
  __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_2__dealloc__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)__pyx_v_self));

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

static void __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_2__dealloc__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__dealloc__", 0);

  /* "efl/elementary/gengrid_item_class.pxi":33
 * 
 *     def __dealloc__(self):
 *         elm_gengrid_item_class_free(self.cls)             # <<<<<<<<<<<<<<
 *         self.cls = NULL
 * 
 */
  elm_gengrid_item_class_free(__pyx_v_self->cls);

  /* "efl/elementary/gengrid_item_class.pxi":34
 *     def __dealloc__(self):
 *         elm_gengrid_item_class_free(self.cls)
 *         self.cls = NULL             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, item_style=None, text_get_func=None,
 */
  __pyx_v_self->cls = NULL;

  /* "efl/elementary/gengrid_item_class.pxi":32
 *         self.cls.func.del_ = _py_elm_gengrid_object_item_del
 * 
 *     def __dealloc__(self):             # <<<<<<<<<<<<<<
 *         elm_gengrid_item_class_free(self.cls)
 *         self.cls = NULL
 */

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

/* "efl/elementary/gengrid_item_class.pxi":36
 *         self.cls = NULL
 * 
 *     def __init__(self, item_style=None, text_get_func=None,             # <<<<<<<<<<<<<<
 *                  content_get_func=None, state_get_func=None, del_func=None):
 *         """GengridItemClass constructor.
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_5__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_4__init__[] = "GengridItemClass constructor.\n\n        :param item_style: the string that defines the gengrid item\n            theme to be used. The corresponding edje group will\n            have this as suffix.\n\n        :param text_get_func: if provided will override the\n            behavior defined by :py:func:`text_get()` in this class. Its\n            purpose is to return the label string to be used by a\n            given part and row. This function should have the\n            signature:\n            ``func(obj, part, item_data) -> str``\n\n        :param content_get_func: if provided will override the behavior\n            defined by :py:func:`content_get()` in this class. Its purpose is\n            to return the icon object to be used (swallowed) by a\n            given part and row. This function should have the\n            signature:\n            ``func(obj, part, item_data) -> obj``\n\n        :param state_get_func: if provided will override the\n            behavior defined by :py:func:`state_get()` in this class. Its\n            purpose is to return the boolean state to be used by a\n            given part and row. This function should have the\n            signature:\n            ``func(obj, part, item_data) -> bool``\n\n        :param del_func: if provided will override the behavior\n            defined by ``delete()`` in this class. Its purpose is to be\n            called when item is deleted, thus finalizing resources\n            and similar. This function should have the signature:\n            ``func(obj, item_data)``\n\n        .. note:: In all these signatures, 'obj' means Gengrid and\n            'item_data' is the value given to Gengrid item append/prepend\n            methods, it should represent your item model as you want.\n        ";
#if CYTHON_COMPILING_IN_CPYTHON
struct wrapperbase __pyx_wrapperbase_3efl_10elementary_7gengrid_16GengridItemClass_4__init__;
#endif
static int __pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_5__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_item_style = 0;
  PyObject *__pyx_v_text_get_func = 0;
  PyObject *__pyx_v_content_get_func = 0;
  PyObject *__pyx_v_state_get_func = 0;
  PyObject *__pyx_v_del_func = 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_item_style,&__pyx_n_s_text_get_func,&__pyx_n_s_content_get_func,&__pyx_n_s_state_get_func,&__pyx_n_s_del_func,0};
    PyObject* values[5] = {0,0,0,0,0};
    values[0] = ((PyObject *)Py_None);
    values[1] = ((PyObject *)Py_None);

    /* "efl/elementary/gengrid_item_class.pxi":37
 * 
 *     def __init__(self, item_style=None, text_get_func=None,
 *                  content_get_func=None, state_get_func=None, del_func=None):             # <<<<<<<<<<<<<<
 *         """GengridItemClass constructor.
 * 
 */
    values[2] = ((PyObject *)Py_None);
    values[3] = ((PyObject *)Py_None);
    values[4] = ((PyObject *)Py_None);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        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 (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_item_style);
          if (value) { values[0] = value; kw_args--; }
        }
        case  1:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_text_get_func);
          if (value) { values[1] = value; kw_args--; }
        }
        case  2:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_content_get_func);
          if (value) { values[2] = value; kw_args--; }
        }
        case  3:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_state_get_func);
          if (value) { values[3] = value; kw_args--; }
        }
        case  4:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_del_func);
          if (value) { values[4] = 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[1]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        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;
      }
    }
    __pyx_v_item_style = values[0];
    __pyx_v_text_get_func = values[1];
    __pyx_v_content_get_func = values[2];
    __pyx_v_state_get_func = values[3];
    __pyx_v_del_func = values[4];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItemClass.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_4__init__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)__pyx_v_self), __pyx_v_item_style, __pyx_v_text_get_func, __pyx_v_content_get_func, __pyx_v_state_get_func, __pyx_v_del_func);

  /* "efl/elementary/gengrid_item_class.pxi":36
 *         self.cls = NULL
 * 
 *     def __init__(self, item_style=None, text_get_func=None,             # <<<<<<<<<<<<<<
 *                  content_get_func=None, state_get_func=None, del_func=None):
 *         """GengridItemClass constructor.
 */

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

static int __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_4__init__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self, PyObject *__pyx_v_item_style, PyObject *__pyx_v_text_get_func, PyObject *__pyx_v_content_get_func, PyObject *__pyx_v_state_get_func, PyObject *__pyx_v_del_func) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_t_7;
  char *__pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);
  __Pyx_INCREF(__pyx_v_item_style);

  /* "efl/elementary/gengrid_item_class.pxi":75
 *             methods, it should represent your item model as you want.
 *         """
 *         if text_get_func is not None:             # <<<<<<<<<<<<<<
 *             if callable(text_get_func):
 *                 self._text_get_func = text_get_func
 */
  __pyx_t_1 = (__pyx_v_text_get_func != Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_item_class.pxi":76
 *         """
 *         if text_get_func is not None:
 *             if callable(text_get_func):             # <<<<<<<<<<<<<<
 *                 self._text_get_func = text_get_func
 *             else:
 */
    __pyx_t_2 = __Pyx_PyCallable_Check(__pyx_v_text_get_func); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_1 = (__pyx_t_2 != 0);
    if (__pyx_t_1) {

      /* "efl/elementary/gengrid_item_class.pxi":77
 *         if text_get_func is not None:
 *             if callable(text_get_func):
 *                 self._text_get_func = text_get_func             # <<<<<<<<<<<<<<
 *             else:
 *                 raise TypeError("text_get_func is not callable!")
 */
      __Pyx_INCREF(__pyx_v_text_get_func);
      __Pyx_GIVEREF(__pyx_v_text_get_func);
      __Pyx_GOTREF(__pyx_v_self->_text_get_func);
      __Pyx_DECREF(__pyx_v_self->_text_get_func);
      __pyx_v_self->_text_get_func = __pyx_v_text_get_func;
      goto __pyx_L4;
    }
    /*else*/ {

      /* "efl/elementary/gengrid_item_class.pxi":79
 *                 self._text_get_func = text_get_func
 *             else:
 *                 raise TypeError("text_get_func is not callable!")             # <<<<<<<<<<<<<<
 *         else:
 *             self._text_get_func = self.text_get
 */
      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple_, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_Raise(__pyx_t_3, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      {__pyx_filename = __pyx_f[1]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __pyx_L4:;
    goto __pyx_L3;
  }
  /*else*/ {

    /* "efl/elementary/gengrid_item_class.pxi":81
 *                 raise TypeError("text_get_func is not callable!")
 *         else:
 *             self._text_get_func = self.text_get             # <<<<<<<<<<<<<<
 * 
 *         if content_get_func is not None:
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_text_get); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_GIVEREF(__pyx_t_3);
    __Pyx_GOTREF(__pyx_v_self->_text_get_func);
    __Pyx_DECREF(__pyx_v_self->_text_get_func);
    __pyx_v_self->_text_get_func = __pyx_t_3;
    __pyx_t_3 = 0;
  }
  __pyx_L3:;

  /* "efl/elementary/gengrid_item_class.pxi":83
 *             self._text_get_func = self.text_get
 * 
 *         if content_get_func is not None:             # <<<<<<<<<<<<<<
 *             if callable(content_get_func):
 *                 self._content_get_func = content_get_func
 */
  __pyx_t_1 = (__pyx_v_content_get_func != Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_item_class.pxi":84
 * 
 *         if content_get_func is not None:
 *             if callable(content_get_func):             # <<<<<<<<<<<<<<
 *                 self._content_get_func = content_get_func
 *             else:
 */
    __pyx_t_2 = __Pyx_PyCallable_Check(__pyx_v_content_get_func); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_1 = (__pyx_t_2 != 0);
    if (__pyx_t_1) {

      /* "efl/elementary/gengrid_item_class.pxi":85
 *         if content_get_func is not None:
 *             if callable(content_get_func):
 *                 self._content_get_func = content_get_func             # <<<<<<<<<<<<<<
 *             else:
 *                 raise TypeError("content_get_func is not callable!")
 */
      __Pyx_INCREF(__pyx_v_content_get_func);
      __Pyx_GIVEREF(__pyx_v_content_get_func);
      __Pyx_GOTREF(__pyx_v_self->_content_get_func);
      __Pyx_DECREF(__pyx_v_self->_content_get_func);
      __pyx_v_self->_content_get_func = __pyx_v_content_get_func;
      goto __pyx_L6;
    }
    /*else*/ {

      /* "efl/elementary/gengrid_item_class.pxi":87
 *                 self._content_get_func = content_get_func
 *             else:
 *                 raise TypeError("content_get_func is not callable!")             # <<<<<<<<<<<<<<
 *         else:
 *             self._content_get_func = self.content_get
 */
      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_Raise(__pyx_t_3, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      {__pyx_filename = __pyx_f[1]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __pyx_L6:;
    goto __pyx_L5;
  }
  /*else*/ {

    /* "efl/elementary/gengrid_item_class.pxi":89
 *                 raise TypeError("content_get_func is not callable!")
 *         else:
 *             self._content_get_func = self.content_get             # <<<<<<<<<<<<<<
 * 
 *         if state_get_func is not None:
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_content_get); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_GIVEREF(__pyx_t_3);
    __Pyx_GOTREF(__pyx_v_self->_content_get_func);
    __Pyx_DECREF(__pyx_v_self->_content_get_func);
    __pyx_v_self->_content_get_func = __pyx_t_3;
    __pyx_t_3 = 0;
  }
  __pyx_L5:;

  /* "efl/elementary/gengrid_item_class.pxi":91
 *             self._content_get_func = self.content_get
 * 
 *         if state_get_func is not None:             # <<<<<<<<<<<<<<
 *             if callable(state_get_func):
 *                 self._state_get_func = state_get_func
 */
  __pyx_t_1 = (__pyx_v_state_get_func != Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_item_class.pxi":92
 * 
 *         if state_get_func is not None:
 *             if callable(state_get_func):             # <<<<<<<<<<<<<<
 *                 self._state_get_func = state_get_func
 *             else:
 */
    __pyx_t_2 = __Pyx_PyCallable_Check(__pyx_v_state_get_func); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_1 = (__pyx_t_2 != 0);
    if (__pyx_t_1) {

      /* "efl/elementary/gengrid_item_class.pxi":93
 *         if state_get_func is not None:
 *             if callable(state_get_func):
 *                 self._state_get_func = state_get_func             # <<<<<<<<<<<<<<
 *             else:
 *                 raise TypeError("state_get_func is not callable!")
 */
      __Pyx_INCREF(__pyx_v_state_get_func);
      __Pyx_GIVEREF(__pyx_v_state_get_func);
      __Pyx_GOTREF(__pyx_v_self->_state_get_func);
      __Pyx_DECREF(__pyx_v_self->_state_get_func);
      __pyx_v_self->_state_get_func = __pyx_v_state_get_func;
      goto __pyx_L8;
    }
    /*else*/ {

      /* "efl/elementary/gengrid_item_class.pxi":95
 *                 self._state_get_func = state_get_func
 *             else:
 *                 raise TypeError("state_get_func is not callable!")             # <<<<<<<<<<<<<<
 *         else:
 *             self._state_get_func = self.state_get
 */
      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__3, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_Raise(__pyx_t_3, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      {__pyx_filename = __pyx_f[1]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __pyx_L8:;
    goto __pyx_L7;
  }
  /*else*/ {

    /* "efl/elementary/gengrid_item_class.pxi":97
 *                 raise TypeError("state_get_func is not callable!")
 *         else:
 *             self._state_get_func = self.state_get             # <<<<<<<<<<<<<<
 * 
 *         if del_func is not None:
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_state_get); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_GIVEREF(__pyx_t_3);
    __Pyx_GOTREF(__pyx_v_self->_state_get_func);
    __Pyx_DECREF(__pyx_v_self->_state_get_func);
    __pyx_v_self->_state_get_func = __pyx_t_3;
    __pyx_t_3 = 0;
  }
  __pyx_L7:;

  /* "efl/elementary/gengrid_item_class.pxi":99
 *             self._state_get_func = self.state_get
 * 
 *         if del_func is not None:             # <<<<<<<<<<<<<<
 *             if callable(del_func):
 *                 self._del_func = del_func
 */
  __pyx_t_1 = (__pyx_v_del_func != Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_item_class.pxi":100
 * 
 *         if del_func is not None:
 *             if callable(del_func):             # <<<<<<<<<<<<<<
 *                 self._del_func = del_func
 *             else:
 */
    __pyx_t_2 = __Pyx_PyCallable_Check(__pyx_v_del_func); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_1 = (__pyx_t_2 != 0);
    if (__pyx_t_1) {

      /* "efl/elementary/gengrid_item_class.pxi":101
 *         if del_func is not None:
 *             if callable(del_func):
 *                 self._del_func = del_func             # <<<<<<<<<<<<<<
 *             else:
 *                 raise TypeError("del_func is not callable!")
 */
      __Pyx_INCREF(__pyx_v_del_func);
      __Pyx_GIVEREF(__pyx_v_del_func);
      __Pyx_GOTREF(__pyx_v_self->_del_func);
      __Pyx_DECREF(__pyx_v_self->_del_func);
      __pyx_v_self->_del_func = __pyx_v_del_func;
      goto __pyx_L10;
    }
    /*else*/ {

      /* "efl/elementary/gengrid_item_class.pxi":103
 *                 self._del_func = del_func
 *             else:
 *                 raise TypeError("del_func is not callable!")             # <<<<<<<<<<<<<<
 *         else:
 *             try:
 */
      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__4, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_Raise(__pyx_t_3, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      {__pyx_filename = __pyx_f[1]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __pyx_L10:;
    goto __pyx_L9;
  }
  /*else*/ {

    /* "efl/elementary/gengrid_item_class.pxi":105
 *                 raise TypeError("del_func is not callable!")
 *         else:
 *             try:             # <<<<<<<<<<<<<<
 *                 self._del_func = self.delete
 *             except AttributeError:
 */
    {
      __Pyx_ExceptionSave(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6);
      __Pyx_XGOTREF(__pyx_t_4);
      __Pyx_XGOTREF(__pyx_t_5);
      __Pyx_XGOTREF(__pyx_t_6);
      /*try:*/ {

        /* "efl/elementary/gengrid_item_class.pxi":106
 *         else:
 *             try:
 *                 self._del_func = self.delete             # <<<<<<<<<<<<<<
 *             except AttributeError:
 *                 pass
 */
        __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_delete); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L11_error;}
        __Pyx_GOTREF(__pyx_t_3);
        __Pyx_GIVEREF(__pyx_t_3);
        __Pyx_GOTREF(__pyx_v_self->_del_func);
        __Pyx_DECREF(__pyx_v_self->_del_func);
        __pyx_v_self->_del_func = __pyx_t_3;
        __pyx_t_3 = 0;
      }
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      goto __pyx_L18_try_end;
      __pyx_L11_error:;
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;

      /* "efl/elementary/gengrid_item_class.pxi":107
 *             try:
 *                 self._del_func = self.delete
 *             except AttributeError:             # <<<<<<<<<<<<<<
 *                 pass
 * 
 */
      __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_AttributeError);
      if (__pyx_t_7) {
        PyErr_Restore(0,0,0);
        goto __pyx_L12_exception_handled;
      }
      goto __pyx_L13_except_error;
      __pyx_L13_except_error:;
      __Pyx_XGIVEREF(__pyx_t_4);
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
      goto __pyx_L1_error;
      __pyx_L12_exception_handled:;
      __Pyx_XGIVEREF(__pyx_t_4);
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
      __pyx_L18_try_end:;
    }
  }
  __pyx_L9:;

  /* "efl/elementary/gengrid_item_class.pxi":110
 *                 pass
 * 
 *         if item_style is not None:             # <<<<<<<<<<<<<<
 *             if isinstance(item_style, unicode):
 *                 item_style = PyUnicode_AsUTF8String(item_style)
 */
  __pyx_t_1 = (__pyx_v_item_style != Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_item_class.pxi":111
 * 
 *         if item_style is not None:
 *             if isinstance(item_style, unicode):             # <<<<<<<<<<<<<<
 *                 item_style = PyUnicode_AsUTF8String(item_style)
 *             self._item_style = item_style
 */
    __pyx_t_2 = PyUnicode_Check(__pyx_v_item_style); 
    __pyx_t_1 = (__pyx_t_2 != 0);
    if (__pyx_t_1) {

      /* "efl/elementary/gengrid_item_class.pxi":112
 *         if item_style is not None:
 *             if isinstance(item_style, unicode):
 *                 item_style = PyUnicode_AsUTF8String(item_style)             # <<<<<<<<<<<<<<
 *             self._item_style = item_style
 * 
 */
      __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_item_style); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_DECREF_SET(__pyx_v_item_style, __pyx_t_3);
      __pyx_t_3 = 0;
      goto __pyx_L20;
    }
    __pyx_L20:;

    /* "efl/elementary/gengrid_item_class.pxi":113
 *             if isinstance(item_style, unicode):
 *                 item_style = PyUnicode_AsUTF8String(item_style)
 *             self._item_style = item_style             # <<<<<<<<<<<<<<
 * 
 *             self.cls.item_style = <char *>self._item_style
 */
    __Pyx_INCREF(__pyx_v_item_style);
    __Pyx_GIVEREF(__pyx_v_item_style);
    __Pyx_GOTREF(__pyx_v_self->_item_style);
    __Pyx_DECREF(__pyx_v_self->_item_style);
    __pyx_v_self->_item_style = __pyx_v_item_style;

    /* "efl/elementary/gengrid_item_class.pxi":115
 *             self._item_style = item_style
 * 
 *             self.cls.item_style = <char *>self._item_style             # <<<<<<<<<<<<<<
 * 
 *     def __repr__(self):
 */
    __pyx_t_8 = __Pyx_PyObject_AsString(__pyx_v_self->_item_style); if (unlikely((!__pyx_t_8) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_v_self->cls->item_style = ((char *)__pyx_t_8);
    goto __pyx_L19;
  }
  __pyx_L19:;

  /* "efl/elementary/gengrid_item_class.pxi":36
 *         self.cls = NULL
 * 
 *     def __init__(self, item_style=None, text_get_func=None,             # <<<<<<<<<<<<<<
 *                  content_get_func=None, state_get_func=None, del_func=None):
 *         """GengridItemClass constructor.
 */

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

/* "efl/elementary/gengrid_item_class.pxi":117
 *             self.cls.item_style = <char *>self._item_style
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return ("<%s(%#x, refcount=%d, Elm_Gengrid_Item_Class=%#x, "
 *                 "item_style=%r, text_get_func=%s, content_get_func=%s, "
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_7__repr__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_7__repr__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_6__repr__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_6__repr__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__repr__", 0);

  /* "efl/elementary/gengrid_item_class.pxi":118
 * 
 *     def __repr__(self):
 *         return ("<%s(%#x, refcount=%d, Elm_Gengrid_Item_Class=%#x, "             # <<<<<<<<<<<<<<
 *                 "item_style=%r, text_get_func=%s, content_get_func=%s, "
 *                 "state_get_func=%s, del_func=%s)>") % \
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/elementary/gengrid_item_class.pxi":121
 *                 "item_style=%r, text_get_func=%s, content_get_func=%s, "
 *                 "state_get_func=%s, del_func=%s)>") % \
 *                (type(self).__name__,             # <<<<<<<<<<<<<<
 *                 <uintptr_t><void *>self,
 *                 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[1]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);

  /* "efl/elementary/gengrid_item_class.pxi":122
 *                 "state_get_func=%s, del_func=%s)>") % \
 *                (type(self).__name__,
 *                 <uintptr_t><void *>self,             # <<<<<<<<<<<<<<
 *                 PY_REFCOUNT(self),
 *                 <uintptr_t>self.cls,
 */
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(((uintptr_t)((void *)__pyx_v_self))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_item_class.pxi":123
 *                (type(self).__name__,
 *                 <uintptr_t><void *>self,
 *                 PY_REFCOUNT(self),             # <<<<<<<<<<<<<<
 *                 <uintptr_t>self.cls,
 *                 _ctouni(self.cls.item_style),
 */
  __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[1]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);

  /* "efl/elementary/gengrid_item_class.pxi":124
 *                 <uintptr_t><void *>self,
 *                 PY_REFCOUNT(self),
 *                 <uintptr_t>self.cls,             # <<<<<<<<<<<<<<
 *                 _ctouni(self.cls.item_style),
 *                 self._text_get_func,
 */
  __pyx_t_4 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->cls)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);

  /* "efl/elementary/gengrid_item_class.pxi":125
 *                 PY_REFCOUNT(self),
 *                 <uintptr_t>self.cls,
 *                 _ctouni(self.cls.item_style),             # <<<<<<<<<<<<<<
 *                 self._text_get_func,
 *                 self._content_get_func,
 */
  __pyx_t_5 = __pyx_f_3efl_5utils_11conversions__ctouni(__pyx_v_self->cls->item_style); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);

  /* "efl/elementary/gengrid_item_class.pxi":121
 *                 "item_style=%r, text_get_func=%s, content_get_func=%s, "
 *                 "state_get_func=%s, del_func=%s)>") % \
 *                (type(self).__name__,             # <<<<<<<<<<<<<<
 *                 <uintptr_t><void *>self,
 *                 PY_REFCOUNT(self),
 */
  __pyx_t_6 = PyTuple_New(9); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_6, 3, __pyx_t_4);
  __Pyx_GIVEREF(__pyx_t_4);
  PyTuple_SET_ITEM(__pyx_t_6, 4, __pyx_t_5);
  __Pyx_GIVEREF(__pyx_t_5);
  __Pyx_INCREF(__pyx_v_self->_text_get_func);
  PyTuple_SET_ITEM(__pyx_t_6, 5, __pyx_v_self->_text_get_func);
  __Pyx_GIVEREF(__pyx_v_self->_text_get_func);
  __Pyx_INCREF(__pyx_v_self->_content_get_func);
  PyTuple_SET_ITEM(__pyx_t_6, 6, __pyx_v_self->_content_get_func);
  __Pyx_GIVEREF(__pyx_v_self->_content_get_func);
  __Pyx_INCREF(__pyx_v_self->_state_get_func);
  PyTuple_SET_ITEM(__pyx_t_6, 7, __pyx_v_self->_state_get_func);
  __Pyx_GIVEREF(__pyx_v_self->_state_get_func);
  __Pyx_INCREF(__pyx_v_self->_del_func);
  PyTuple_SET_ITEM(__pyx_t_6, 8, __pyx_v_self->_del_func);
  __Pyx_GIVEREF(__pyx_v_self->_del_func);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_t_3 = 0;
  __pyx_t_4 = 0;
  __pyx_t_5 = 0;

  /* "efl/elementary/gengrid_item_class.pxi":120
 *         return ("<%s(%#x, refcount=%d, Elm_Gengrid_Item_Class=%#x, "
 *                 "item_style=%r, text_get_func=%s, content_get_func=%s, "
 *                 "state_get_func=%s, del_func=%s)>") % \             # <<<<<<<<<<<<<<
 *                (type(self).__name__,
 *                 <uintptr_t><void *>self,
 */
  __pyx_t_5 = __Pyx_PyString_Format(__pyx_kp_s_s_x_refcount_d_Elm_Gengrid_Item, __pyx_t_6); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __pyx_r = __pyx_t_5;
  __pyx_t_5 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item_class.pxi":117
 *             self.cls.item_style = <char *>self._item_style
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return ("<%s(%#x, refcount=%d, Elm_Gengrid_Item_Class=%#x, "
 *                 "item_style=%r, text_get_func=%s, content_get_func=%s, "
 */

  /* 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_AddTraceback("efl.elementary.gengrid.GengridItemClass.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_item_class.pxi":131
 *                 self._del_func)
 * 
 *     def ref(self):             # <<<<<<<<<<<<<<
 *         """Increase the C level reference count.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_9ref(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_8ref[] = "GengridItemClass.ref(self)\nIncrease the C level reference count.\n\n        .. versionadded:: 1.8\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_9ref(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("ref (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_8ref(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_8ref(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("ref", 0);

  /* "efl/elementary/gengrid_item_class.pxi":137
 * 
 *         """
 *         elm_gengrid_item_class_ref(self.cls)             # <<<<<<<<<<<<<<
 * 
 *     def unref(self):
 */
  elm_gengrid_item_class_ref(__pyx_v_self->cls);

  /* "efl/elementary/gengrid_item_class.pxi":131
 *                 self._del_func)
 * 
 *     def ref(self):             # <<<<<<<<<<<<<<
 *         """Increase the C level reference count.
 * 
 */

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

/* "efl/elementary/gengrid_item_class.pxi":139
 *         elm_gengrid_item_class_ref(self.cls)
 * 
 *     def unref(self):             # <<<<<<<<<<<<<<
 *         """Decrease the C level reference count.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_11unref(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_10unref[] = "GengridItemClass.unref(self)\nDecrease the C level reference count.\n\n        .. versionadded:: 1.8\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_11unref(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("unref (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_10unref(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_10unref(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("unref", 0);

  /* "efl/elementary/gengrid_item_class.pxi":145
 * 
 *         """
 *         elm_gengrid_item_class_unref(self.cls)             # <<<<<<<<<<<<<<
 * 
 *     def free(self):
 */
  elm_gengrid_item_class_unref(__pyx_v_self->cls);

  /* "efl/elementary/gengrid_item_class.pxi":139
 *         elm_gengrid_item_class_ref(self.cls)
 * 
 *     def unref(self):             # <<<<<<<<<<<<<<
 *         """Decrease the C level reference count.
 * 
 */

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

/* "efl/elementary/gengrid_item_class.pxi":147
 *         elm_gengrid_item_class_unref(self.cls)
 * 
 *     def free(self):             # <<<<<<<<<<<<<<
 *         """Free the C level struct.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_13free(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_12free[] = "GengridItemClass.free(self)\nFree the C level struct.\n\n        .. versionadded:: 1.8\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_13free(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_7gengrid_16GengridItemClass_12free(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_12free(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("free", 0);

  /* "efl/elementary/gengrid_item_class.pxi":153
 * 
 *         """
 *         elm_gengrid_item_class_free(self.cls)             # <<<<<<<<<<<<<<
 * 
 *     property item_style:
 */
  elm_gengrid_item_class_free(__pyx_v_self->cls);

  /* "efl/elementary/gengrid_item_class.pxi":147
 *         elm_gengrid_item_class_unref(self.cls)
 * 
 *     def free(self):             # <<<<<<<<<<<<<<
 *         """Free the C level struct.
 * 
 */

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

/* "efl/elementary/gengrid_item_class.pxi":157
 *     property item_style:
 *         """The style of this item class."""
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return self._item_style.decode("UTF-8")
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_10item_style_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_10item_style_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_10item_style___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_10item_style___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__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/gengrid_item_class.pxi":158
 *         """The style of this item class."""
 *         def __get__(self):
 *             return self._item_style.decode("UTF-8")             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, style):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->_item_style, __pyx_n_s_decode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__5, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 158; __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/gengrid_item_class.pxi":157
 *     property item_style:
 *         """The style of this item class."""
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return self._item_style.decode("UTF-8")
 * 
 */

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

/* "efl/elementary/gengrid_item_class.pxi":160
 *             return self._item_style.decode("UTF-8")
 * 
 *         def __set__(self, style):             # <<<<<<<<<<<<<<
 *             if isinstance(style, unicode): style = PyUnicode_AsUTF8String(style)
 *             self._item_style = style
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_10item_style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_style); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_10item_style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_style) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_10item_style_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)__pyx_v_self), ((PyObject *)__pyx_v_style));

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

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

  /* "efl/elementary/gengrid_item_class.pxi":161
 * 
 *         def __set__(self, style):
 *             if isinstance(style, unicode): style = PyUnicode_AsUTF8String(style)             # <<<<<<<<<<<<<<
 *             self._item_style = style
 *             self.cls.item_style = <char *>style if style is not None else NULL
 */
  __pyx_t_1 = PyUnicode_Check(__pyx_v_style); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {
    __pyx_t_3 = PyUnicode_AsUTF8String(__pyx_v_style); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_style, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/gengrid_item_class.pxi":162
 *         def __set__(self, style):
 *             if isinstance(style, unicode): style = PyUnicode_AsUTF8String(style)
 *             self._item_style = style             # <<<<<<<<<<<<<<
 *             self.cls.item_style = <char *>style if style is not None else NULL
 * 
 */
  __Pyx_INCREF(__pyx_v_style);
  __Pyx_GIVEREF(__pyx_v_style);
  __Pyx_GOTREF(__pyx_v_self->_item_style);
  __Pyx_DECREF(__pyx_v_self->_item_style);
  __pyx_v_self->_item_style = __pyx_v_style;

  /* "efl/elementary/gengrid_item_class.pxi":163
 *             if isinstance(style, unicode): style = PyUnicode_AsUTF8String(style)
 *             self._item_style = style
 *             self.cls.item_style = <char *>style if style is not None else NULL             # <<<<<<<<<<<<<<
 * 
 *     def text_get(self, evasObject obj, part, item_data):
 */
  __pyx_t_2 = (__pyx_v_style != Py_None);
  if ((__pyx_t_2 != 0)) {
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_style); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = ((char *)__pyx_t_5);
  } else {
    __pyx_t_4 = NULL;
  }
  __pyx_v_self->cls->item_style = __pyx_t_4;

  /* "efl/elementary/gengrid_item_class.pxi":160
 *             return self._item_style.decode("UTF-8")
 * 
 *         def __set__(self, style):             # <<<<<<<<<<<<<<
 *             if isinstance(style, unicode): style = PyUnicode_AsUTF8String(style)
 *             self._item_style = style
 */

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

/* "efl/elementary/gengrid_item_class.pxi":165
 *             self.cls.item_style = <char *>style if style is not None else NULL
 * 
 *     def text_get(self, evasObject obj, part, item_data):             # <<<<<<<<<<<<<<
 *         """To be called by Gengrid for each item to get its label.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_15text_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_14text_get[] = "GengridItemClass.text_get(self, Object obj, part, item_data)\nTo be called by Gengrid for each item to get its label.\n\n        :param obj: the Gengrid instance\n        :param part: the part that is being handled.\n        :param item_data: the value given to gengrid append/prepend.\n\n        :return: label to be used.\n        :rtype: str or None\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_15text_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  CYTHON_UNUSED struct __pyx_obj_3efl_4evas_Object *__pyx_v_obj = 0;
  CYTHON_UNUSED PyObject *__pyx_v_part = 0;
  CYTHON_UNUSED PyObject *__pyx_v_item_data = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("text_get (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_obj,&__pyx_n_s_part,&__pyx_n_s_item_data,0};
    PyObject* values[3] = {0,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  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        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_obj)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_part)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("text_get", 1, 3, 3, 1); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_item_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("text_get", 1, 3, 3, 2); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "text_get") < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_obj = ((struct __pyx_obj_3efl_4evas_Object *)values[0]);
    __pyx_v_part = values[1];
    __pyx_v_item_data = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("text_get", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItemClass.text_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_ptype_3efl_4evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_14text_get(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)__pyx_v_self), __pyx_v_obj, __pyx_v_part, __pyx_v_item_data);

  /* 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_7gengrid_16GengridItemClass_14text_get(CYTHON_UNUSED struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_3efl_4evas_Object *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("text_get", 0);

  /* "efl/elementary/gengrid_item_class.pxi":175
 *         :rtype: str or None
 *         """
 *         return None             # <<<<<<<<<<<<<<
 * 
 *     def content_get(self, evasObject obj, part, item_data):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(Py_None);
  __pyx_r = Py_None;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item_class.pxi":165
 *             self.cls.item_style = <char *>style if style is not None else NULL
 * 
 *     def text_get(self, evasObject obj, part, item_data):             # <<<<<<<<<<<<<<
 *         """To be called by Gengrid for each item to get its label.
 * 
 */

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

/* "efl/elementary/gengrid_item_class.pxi":177
 *         return None
 * 
 *     def content_get(self, evasObject obj, part, item_data):             # <<<<<<<<<<<<<<
 *         """To be called by Gengrid for each item to get its icon.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_17content_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_16content_get[] = "GengridItemClass.content_get(self, Object obj, part, item_data)\nTo be called by Gengrid for each item to get its icon.\n\n        :param obj: the Gengrid instance\n        :param part: the part that is being handled.\n        :param item_data: the value given to gengrid append/prepend.\n\n        :return: icon object to be used and swallowed.\n        :rtype: evas Object or None\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_17content_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  CYTHON_UNUSED struct __pyx_obj_3efl_4evas_Object *__pyx_v_obj = 0;
  CYTHON_UNUSED PyObject *__pyx_v_part = 0;
  CYTHON_UNUSED PyObject *__pyx_v_item_data = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("content_get (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_obj,&__pyx_n_s_part,&__pyx_n_s_item_data,0};
    PyObject* values[3] = {0,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  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        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_obj)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_part)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("content_get", 1, 3, 3, 1); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_item_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("content_get", 1, 3, 3, 2); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "content_get") < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_obj = ((struct __pyx_obj_3efl_4evas_Object *)values[0]);
    __pyx_v_part = values[1];
    __pyx_v_item_data = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("content_get", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItemClass.content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_ptype_3efl_4evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_16content_get(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)__pyx_v_self), __pyx_v_obj, __pyx_v_part, __pyx_v_item_data);

  /* 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_7gengrid_16GengridItemClass_16content_get(CYTHON_UNUSED struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_3efl_4evas_Object *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("content_get", 0);

  /* "efl/elementary/gengrid_item_class.pxi":187
 *         :rtype: evas Object or None
 *         """
 *         return None             # <<<<<<<<<<<<<<
 * 
 *     def state_get(self, evasObject obj, part, item_data):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(Py_None);
  __pyx_r = Py_None;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item_class.pxi":177
 *         return None
 * 
 *     def content_get(self, evasObject obj, part, item_data):             # <<<<<<<<<<<<<<
 *         """To be called by Gengrid for each item to get its icon.
 * 
 */

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

/* "efl/elementary/gengrid_item_class.pxi":189
 *         return None
 * 
 *     def state_get(self, evasObject obj, part, item_data):             # <<<<<<<<<<<<<<
 *         """To be called by Gengrid for each item to get its state.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_19state_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_18state_get[] = "GengridItemClass.state_get(self, Object obj, part, item_data)\nTo be called by Gengrid for each item to get its state.\n\n        :param obj: the Gengrid instance\n        :param part: the part that is being handled.\n        :param item_data: the value given to gengrid append/prepend.\n\n        :return: boolean state to be used.\n        :rtype: bool or None\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_19state_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  CYTHON_UNUSED struct __pyx_obj_3efl_4evas_Object *__pyx_v_obj = 0;
  CYTHON_UNUSED PyObject *__pyx_v_part = 0;
  CYTHON_UNUSED PyObject *__pyx_v_item_data = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("state_get (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_obj,&__pyx_n_s_part,&__pyx_n_s_item_data,0};
    PyObject* values[3] = {0,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  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        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_obj)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_part)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("state_get", 1, 3, 3, 1); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_item_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("state_get", 1, 3, 3, 2); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "state_get") < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_obj = ((struct __pyx_obj_3efl_4evas_Object *)values[0]);
    __pyx_v_part = values[1];
    __pyx_v_item_data = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("state_get", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItemClass.state_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_ptype_3efl_4evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_16GengridItemClass_18state_get(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)__pyx_v_self), __pyx_v_obj, __pyx_v_part, __pyx_v_item_data);

  /* 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_7gengrid_16GengridItemClass_18state_get(CYTHON_UNUSED struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_3efl_4evas_Object *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("state_get", 0);

  /* "efl/elementary/gengrid_item_class.pxi":199
 *         :rtype: bool or None
 *         """
 *         return False             # <<<<<<<<<<<<<<
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(Py_False);
  __pyx_r = Py_False;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item_class.pxi":189
 *         return None
 * 
 *     def state_get(self, evasObject obj, part, item_data):             # <<<<<<<<<<<<<<
 *         """To be called by Gengrid for each item to get its state.
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":14
 *         object item_data, func_data, compare_func
 * 
 *     cdef int _set_obj(self, Elm_Object_Item *item) except 0:             # <<<<<<<<<<<<<<
 *         assert self.item == NULL, "Object must be clean"
 *         self.item = item
 */

static int __pyx_f_3efl_10elementary_7gengrid_11GengridItem__set_obj(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, Elm_Object_Item *__pyx_v_item) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("_set_obj", 0);

  /* "efl/elementary/gengrid_item.pxi":15
 * 
 *     cdef int _set_obj(self, Elm_Object_Item *item) except 0:
 *         assert self.item == NULL, "Object must be clean"             # <<<<<<<<<<<<<<
 *         self.item = item
 *         Py_INCREF(self)
 */
  #ifndef CYTHON_WITHOUT_ASSERTIONS
  if (unlikely(!Py_OptimizeFlag)) {
    if (unlikely(!((__pyx_v_self->__pyx_base.item == NULL) != 0))) {
      PyErr_SetObject(PyExc_AssertionError, __pyx_kp_s_Object_must_be_clean);
      {__pyx_filename = __pyx_f[2]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
  }
  #endif

  /* "efl/elementary/gengrid_item.pxi":16
 *     cdef int _set_obj(self, Elm_Object_Item *item) except 0:
 *         assert self.item == NULL, "Object must be clean"
 *         self.item = item             # <<<<<<<<<<<<<<
 *         Py_INCREF(self)
 *         return 1
 */
  __pyx_v_self->__pyx_base.item = __pyx_v_item;

  /* "efl/elementary/gengrid_item.pxi":17
 *         assert self.item == NULL, "Object must be clean"
 *         self.item = item
 *         Py_INCREF(self)             # <<<<<<<<<<<<<<
 *         return 1
 * 
 */
  Py_INCREF(((PyObject *)__pyx_v_self));

  /* "efl/elementary/gengrid_item.pxi":18
 *         self.item = item
 *         Py_INCREF(self)
 *         return 1             # <<<<<<<<<<<<<<
 * 
 *     cdef void _unset_obj(self):
 */
  __pyx_r = 1;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item.pxi":14
 *         object item_data, func_data, compare_func
 * 
 *     cdef int _set_obj(self, Elm_Object_Item *item) except 0:             # <<<<<<<<<<<<<<
 *         assert self.item == NULL, "Object must be clean"
 *         self.item = item
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItem._set_obj", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_item.pxi":20
 *         return 1
 * 
 *     cdef void _unset_obj(self):             # <<<<<<<<<<<<<<
 *         assert self.item != NULL, "Object must wrap something"
 *         self.item = NULL
 */

static void __pyx_f_3efl_10elementary_7gengrid_11GengridItem__unset_obj(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self) {
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("_unset_obj", 0);

  /* "efl/elementary/gengrid_item.pxi":21
 * 
 *     cdef void _unset_obj(self):
 *         assert self.item != NULL, "Object must wrap something"             # <<<<<<<<<<<<<<
 *         self.item = NULL
 * 
 */
  #ifndef CYTHON_WITHOUT_ASSERTIONS
  if (unlikely(!Py_OptimizeFlag)) {
    if (unlikely(!((__pyx_v_self->__pyx_base.item != NULL) != 0))) {
      PyErr_SetObject(PyExc_AssertionError, __pyx_kp_s_Object_must_wrap_something);
      {__pyx_filename = __pyx_f[2]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
  }
  #endif

  /* "efl/elementary/gengrid_item.pxi":22
 *     cdef void _unset_obj(self):
 *         assert self.item != NULL, "Object must wrap something"
 *         self.item = NULL             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, GengridItemClass item_class not None, item_data = None, \
 */
  __pyx_v_self->__pyx_base.item = NULL;

  /* "efl/elementary/gengrid_item.pxi":20
 *         return 1
 * 
 *     cdef void _unset_obj(self):             # <<<<<<<<<<<<<<
 *         assert self.item != NULL, "Object must wrap something"
 *         self.item = NULL
 */

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_WriteUnraisable("efl.elementary.gengrid.GengridItem._unset_obj", __pyx_clineno, __pyx_lineno, __pyx_filename, 0);
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
}

/* "efl/elementary/gengrid_item.pxi":24
 *         self.item = NULL
 * 
 *     def __init__(self, GengridItemClass item_class not None, item_data = None, \             # <<<<<<<<<<<<<<
 *         func = None, func_data = None, *args, **kwargs):
 *         """GengridItem(..)
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem___init__[] = "GengridItem(..)\n\n        :param item_class: a valid instance that defines the\n            behavior of this item. See :py:class:`GengridItemClass`.\n        :param item_data: some data that defines the model of this\n            item. This value will be given to methods of\n            ``item_class`` such as\n            :py:func:`GengridItemClass.text_get()`. It will also be\n            provided to ``func`` as its last parameter.\n        :param func: if not None, this must be a callable to be\n            called back when the item is selected. The function\n            signature is::\n\n                func(item, obj, item_data)\n\n            Where ``item`` is the handle, ``obj`` is the Evas object\n            that represents this item, and ``item_data`` is the\n            value given as parameter to this function.\n\n        ";
#if CYTHON_COMPILING_IN_CPYTHON
struct wrapperbase __pyx_wrapperbase_3efl_10elementary_7gengrid_11GengridItem___init__;
#endif
static int __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class = 0;
  PyObject *__pyx_v_item_data = 0;
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_func_data = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return -1;
  __Pyx_GOTREF(__pyx_v_kwargs);
  if (PyTuple_GET_SIZE(__pyx_args) > 4) {
    __pyx_v_args = PyTuple_GetSlice(__pyx_args, 4, PyTuple_GET_SIZE(__pyx_args));
    if (unlikely(!__pyx_v_args)) {
      __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
      __Pyx_RefNannyFinishContext();
      return -1;
    }
    __Pyx_GOTREF(__pyx_v_args);
  } else {
    __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
  }
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_item_class,&__pyx_n_s_item_data,&__pyx_n_s_func,&__pyx_n_s_func_data,0};
    PyObject* values[4] = {0,0,0,0};
    values[1] = ((PyObject *)Py_None);

    /* "efl/elementary/gengrid_item.pxi":25
 * 
 *     def __init__(self, GengridItemClass item_class not None, item_data = None, \
 *         func = None, func_data = None, *args, **kwargs):             # <<<<<<<<<<<<<<
 *         """GengridItem(..)
 * 
 */
    values[2] = ((PyObject *)Py_None);
    values[3] = ((PyObject *)Py_None);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        default:
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_item_class)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_item_data);
          if (value) { values[1] = value; kw_args--; }
        }
        case  2:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func);
          if (value) { values[2] = value; kw_args--; }
        }
        case  3:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_func_data);
          if (value) { values[3] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        const Py_ssize_t used_pos_args = (pos_args < 4) ? pos_args : 4;
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        default:
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        case  0:
        goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_item_class = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)values[0]);
    __pyx_v_item_data = values[1];
    __pyx_v_func = values[2];
    __pyx_v_func_data = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_item_class), __pyx_ptype_3efl_10elementary_7gengrid_GengridItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem___init__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_func, __pyx_v_func_data, __pyx_v_args, __pyx_v_kwargs);

  /* "efl/elementary/gengrid_item.pxi":24
 *         self.item = NULL
 * 
 *     def __init__(self, GengridItemClass item_class not None, item_data = None, \             # <<<<<<<<<<<<<<
 *         func = None, func_data = None, *args, **kwargs):
 *         """GengridItem(..)
 */

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

static int __pyx_pf_3efl_10elementary_7gengrid_11GengridItem___init__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, PyObject *__pyx_v_func, PyObject *__pyx_v_func_data, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "efl/elementary/gengrid_item.pxi":46
 * 
 *         """
 *         if func is not None:             # <<<<<<<<<<<<<<
 *             if not callable(func):
 *                 raise TypeError("func is not None or callable")
 */
  __pyx_t_1 = (__pyx_v_func != Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_item.pxi":47
 *         """
 *         if func is not None:
 *             if not callable(func):             # <<<<<<<<<<<<<<
 *                 raise TypeError("func is not None or callable")
 * 
 */
    __pyx_t_2 = __Pyx_PyCallable_Check(__pyx_v_func); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_1 = ((!(__pyx_t_2 != 0)) != 0);
    if (__pyx_t_1) {

      /* "efl/elementary/gengrid_item.pxi":48
 *         if func is not None:
 *             if not callable(func):
 *                 raise TypeError("func is not None or callable")             # <<<<<<<<<<<<<<
 * 
 *         self.item_class = item_class
 */
      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__6, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_Raise(__pyx_t_3, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      {__pyx_filename = __pyx_f[2]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/gengrid_item.pxi":50
 *                 raise TypeError("func is not None or callable")
 * 
 *         self.item_class = item_class             # <<<<<<<<<<<<<<
 *         self.cb_func = func
 *         self.item_data = item_data
 */
  __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
  __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
  __Pyx_GOTREF(__pyx_v_self->item_class);
  __Pyx_DECREF(((PyObject *)__pyx_v_self->item_class));
  __pyx_v_self->item_class = __pyx_v_item_class;

  /* "efl/elementary/gengrid_item.pxi":51
 * 
 *         self.item_class = item_class
 *         self.cb_func = func             # <<<<<<<<<<<<<<
 *         self.item_data = item_data
 *         self.func_data = func_data
 */
  __Pyx_INCREF(__pyx_v_func);
  __Pyx_GIVEREF(__pyx_v_func);
  __Pyx_GOTREF(__pyx_v_self->__pyx_base.cb_func);
  __Pyx_DECREF(__pyx_v_self->__pyx_base.cb_func);
  __pyx_v_self->__pyx_base.cb_func = __pyx_v_func;

  /* "efl/elementary/gengrid_item.pxi":52
 *         self.item_class = item_class
 *         self.cb_func = func
 *         self.item_data = item_data             # <<<<<<<<<<<<<<
 *         self.func_data = func_data
 *         self.args = args
 */
  __Pyx_INCREF(__pyx_v_item_data);
  __Pyx_GIVEREF(__pyx_v_item_data);
  __Pyx_GOTREF(__pyx_v_self->item_data);
  __Pyx_DECREF(__pyx_v_self->item_data);
  __pyx_v_self->item_data = __pyx_v_item_data;

  /* "efl/elementary/gengrid_item.pxi":53
 *         self.cb_func = func
 *         self.item_data = item_data
 *         self.func_data = func_data             # <<<<<<<<<<<<<<
 *         self.args = args
 *         self.kwargs = kwargs
 */
  __Pyx_INCREF(__pyx_v_func_data);
  __Pyx_GIVEREF(__pyx_v_func_data);
  __Pyx_GOTREF(__pyx_v_self->func_data);
  __Pyx_DECREF(__pyx_v_self->func_data);
  __pyx_v_self->func_data = __pyx_v_func_data;

  /* "efl/elementary/gengrid_item.pxi":54
 *         self.item_data = item_data
 *         self.func_data = func_data
 *         self.args = args             # <<<<<<<<<<<<<<
 *         self.kwargs = kwargs
 * 
 */
  __Pyx_INCREF(__pyx_v_args);
  __Pyx_GIVEREF(__pyx_v_args);
  __Pyx_GOTREF(__pyx_v_self->__pyx_base.args);
  __Pyx_DECREF(__pyx_v_self->__pyx_base.args);
  __pyx_v_self->__pyx_base.args = __pyx_v_args;

  /* "efl/elementary/gengrid_item.pxi":55
 *         self.func_data = func_data
 *         self.args = args
 *         self.kwargs = kwargs             # <<<<<<<<<<<<<<
 * 
 *     def __repr__(self):
 */
  __Pyx_INCREF(__pyx_v_kwargs);
  __Pyx_GIVEREF(__pyx_v_kwargs);
  __Pyx_GOTREF(__pyx_v_self->__pyx_base.kwargs);
  __Pyx_DECREF(__pyx_v_self->__pyx_base.kwargs);
  __pyx_v_self->__pyx_base.kwargs = __pyx_v_kwargs;

  /* "efl/elementary/gengrid_item.pxi":24
 *         self.item = NULL
 * 
 *     def __init__(self, GengridItemClass item_class not None, item_data = None, \             # <<<<<<<<<<<<<<
 *         func = None, func_data = None, *args, **kwargs):
 *         """GengridItem(..)
 */

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

/* "efl/elementary/gengrid_item.pxi":57
 *         self.kwargs = kwargs
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return ("<%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
 *                 "item_class=%s, func=%s, item_data=%r)>") % \
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_3__repr__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_3__repr__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_2__repr__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_2__repr__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__repr__", 0);

  /* "efl/elementary/gengrid_item.pxi":58
 * 
 *     def __repr__(self):
 *         return ("<%s(%#x, refcount=%d, Elm_Object_Item=%#x, "             # <<<<<<<<<<<<<<
 *                 "item_class=%s, func=%s, item_data=%r)>") % \
 *                (type(self).__name__,
 */
  __Pyx_XDECREF(__pyx_r);

  /* "efl/elementary/gengrid_item.pxi":60
 *         return ("<%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
 *                 "item_class=%s, func=%s, item_data=%r)>") % \
 *                (type(self).__name__,             # <<<<<<<<<<<<<<
 *                 <uintptr_t><void*>self,
 *                 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[2]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);

  /* "efl/elementary/gengrid_item.pxi":61
 *                 "item_class=%s, func=%s, item_data=%r)>") % \
 *                (type(self).__name__,
 *                 <uintptr_t><void*>self,             # <<<<<<<<<<<<<<
 *                 PY_REFCOUNT(self),
 *                 <uintptr_t>self.item,
 */
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(((uintptr_t)((void *)__pyx_v_self))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "efl/elementary/gengrid_item.pxi":62
 *                (type(self).__name__,
 *                 <uintptr_t><void*>self,
 *                 PY_REFCOUNT(self),             # <<<<<<<<<<<<<<
 *                 <uintptr_t>self.item,
 *                 type(self.item_class).__name__,
 */
  __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[2]; __pyx_lineno = 62; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);

  /* "efl/elementary/gengrid_item.pxi":63
 *                 <uintptr_t><void*>self,
 *                 PY_REFCOUNT(self),
 *                 <uintptr_t>self.item,             # <<<<<<<<<<<<<<
 *                 type(self.item_class).__name__,
 *                 self.cb_func,
 */
  __pyx_t_4 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);

  /* "efl/elementary/gengrid_item.pxi":64
 *                 PY_REFCOUNT(self),
 *                 <uintptr_t>self.item,
 *                 type(self.item_class).__name__,             # <<<<<<<<<<<<<<
 *                 self.cb_func,
 *                 self.item_data)
 */
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self->item_class))), __pyx_n_s_name); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);

  /* "efl/elementary/gengrid_item.pxi":60
 *         return ("<%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
 *                 "item_class=%s, func=%s, item_data=%r)>") % \
 *                (type(self).__name__,             # <<<<<<<<<<<<<<
 *                 <uintptr_t><void*>self,
 *                 PY_REFCOUNT(self),
 */
  __pyx_t_6 = PyTuple_New(7); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_6, 3, __pyx_t_4);
  __Pyx_GIVEREF(__pyx_t_4);
  PyTuple_SET_ITEM(__pyx_t_6, 4, __pyx_t_5);
  __Pyx_GIVEREF(__pyx_t_5);
  __Pyx_INCREF(__pyx_v_self->__pyx_base.cb_func);
  PyTuple_SET_ITEM(__pyx_t_6, 5, __pyx_v_self->__pyx_base.cb_func);
  __Pyx_GIVEREF(__pyx_v_self->__pyx_base.cb_func);
  __Pyx_INCREF(__pyx_v_self->item_data);
  PyTuple_SET_ITEM(__pyx_t_6, 6, __pyx_v_self->item_data);
  __Pyx_GIVEREF(__pyx_v_self->item_data);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_t_3 = 0;
  __pyx_t_4 = 0;
  __pyx_t_5 = 0;

  /* "efl/elementary/gengrid_item.pxi":59
 *     def __repr__(self):
 *         return ("<%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
 *                 "item_class=%s, func=%s, item_data=%r)>") % \             # <<<<<<<<<<<<<<
 *                (type(self).__name__,
 *                 <uintptr_t><void*>self,
 */
  __pyx_t_5 = __Pyx_PyString_Format(__pyx_kp_s_s_x_refcount_d_Elm_Object_Item, __pyx_t_6); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __pyx_r = __pyx_t_5;
  __pyx_t_5 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item.pxi":57
 *         self.kwargs = kwargs
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return ("<%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
 *                 "item_class=%s, func=%s, item_data=%r)>") % \
 */

  /* 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_AddTraceback("efl.elementary.gengrid.GengridItem.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_item.pxi":68
 *                 self.item_data)
 * 
 *     def append_to(self, Gengrid gengrid not None):             # <<<<<<<<<<<<<<
 *         """Append a new item (add as last item) to this gengrid.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_5append_to(PyObject *__pyx_v_self, PyObject *__pyx_v_gengrid); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_4append_to[] = "GengridItem.append_to(self, Gengrid gengrid)\nAppend a new item (add as last item) to this gengrid.\n\n        .. versionadded:: 1.8\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_5append_to(PyObject *__pyx_v_self, PyObject *__pyx_v_gengrid) {
  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("append_to (wrapper)", 0);
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_gengrid), __pyx_ptype_3efl_10elementary_7gengrid_Gengrid, 0, "gengrid", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_4append_to(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self), ((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_gengrid));

  /* 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_7gengrid_11GengridItem_4append_to(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_gengrid) {
  Elm_Object_Item *__pyx_v_item;
  Evas_Smart_Cb __pyx_v_cb;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("append_to", 0);

  /* "efl/elementary/gengrid_item.pxi":76
 *         cdef:
 *             Elm_Object_Item *item
 *             Evas_Smart_Cb cb = NULL             # <<<<<<<<<<<<<<
 * 
 *         if self.cb_func is not None:
 */
  __pyx_v_cb = NULL;

  /* "efl/elementary/gengrid_item.pxi":78
 *             Evas_Smart_Cb cb = NULL
 * 
 *         if self.cb_func is not None:             # <<<<<<<<<<<<<<
 *             cb = _py_elm_gengrid_item_func
 * 
 */
  __pyx_t_1 = (__pyx_v_self->__pyx_base.cb_func != Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_item.pxi":79
 * 
 *         if self.cb_func is not None:
 *             cb = _py_elm_gengrid_item_func             # <<<<<<<<<<<<<<
 * 
 *         item = elm_gengrid_item_append(gengrid.obj,
 */
    __pyx_v_cb = __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_func;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/gengrid_item.pxi":81
 *             cb = _py_elm_gengrid_item_func
 * 
 *         item = elm_gengrid_item_append(gengrid.obj,             # <<<<<<<<<<<<<<
 *             self.item_class.cls, <void*>self,
 *             cb, <void*>self)
 */
  __pyx_v_item = elm_gengrid_item_append(__pyx_v_gengrid->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_self->item_class->cls, ((void *)__pyx_v_self), __pyx_v_cb, ((void *)__pyx_v_self));

  /* "efl/elementary/gengrid_item.pxi":85
 *             cb, <void*>self)
 * 
 *         if item == NULL:             # <<<<<<<<<<<<<<
 *             raise RuntimeError("The item could not be added to the widget.")
 * 
 */
  __pyx_t_2 = ((__pyx_v_item == NULL) != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_item.pxi":86
 * 
 *         if item == NULL:
 *             raise RuntimeError("The item could not be added to the widget.")             # <<<<<<<<<<<<<<
 * 
 *         self._set_obj(item)
 */
    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__7, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    {__pyx_filename = __pyx_f[2]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }

  /* "efl/elementary/gengrid_item.pxi":88
 *             raise RuntimeError("The item could not be added to the widget.")
 * 
 *         self._set_obj(item)             # <<<<<<<<<<<<<<
 *         self._set_properties_from_keyword_args(self.kwargs)
 *         return self
 */
  __pyx_t_4 = ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/gengrid_item.pxi":89
 * 
 *         self._set_obj(item)
 *         self._set_properties_from_keyword_args(self.kwargs)             # <<<<<<<<<<<<<<
 *         return self
 * 
 */
  __pyx_t_3 = __pyx_v_self->__pyx_base.kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_4 = ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_properties_from_keyword_args(((struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *)__pyx_v_self), ((PyObject*)__pyx_t_3)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_item.pxi":90
 *         self._set_obj(item)
 *         self._set_properties_from_keyword_args(self.kwargs)
 *         return self             # <<<<<<<<<<<<<<
 * 
 *     def prepend_to(self, Gengrid gengrid not None):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self));
  __pyx_r = ((PyObject *)__pyx_v_self);
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item.pxi":68
 *                 self.item_data)
 * 
 *     def append_to(self, Gengrid gengrid not None):             # <<<<<<<<<<<<<<
 *         """Append a new item (add as last item) to this gengrid.
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":92
 *         return self
 * 
 *     def prepend_to(self, Gengrid gengrid not None):             # <<<<<<<<<<<<<<
 *         """Prepend a new item (add as first item) to this gengrid.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_7prepend_to(PyObject *__pyx_v_self, PyObject *__pyx_v_gengrid); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_6prepend_to[] = "GengridItem.prepend_to(self, Gengrid gengrid)\nPrepend a new item (add as first item) to this gengrid.\n\n        .. versionadded:: 1.8\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_7prepend_to(PyObject *__pyx_v_self, PyObject *__pyx_v_gengrid) {
  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("prepend_to (wrapper)", 0);
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_gengrid), __pyx_ptype_3efl_10elementary_7gengrid_Gengrid, 0, "gengrid", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_6prepend_to(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self), ((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_v_gengrid));

  /* 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_7gengrid_11GengridItem_6prepend_to(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_gengrid) {
  Elm_Object_Item *__pyx_v_item;
  Evas_Smart_Cb __pyx_v_cb;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("prepend_to", 0);

  /* "efl/elementary/gengrid_item.pxi":100
 *         cdef:
 *             Elm_Object_Item *item
 *             Evas_Smart_Cb cb = NULL             # <<<<<<<<<<<<<<
 * 
 *         if self.cb_func is not None:
 */
  __pyx_v_cb = NULL;

  /* "efl/elementary/gengrid_item.pxi":102
 *             Evas_Smart_Cb cb = NULL
 * 
 *         if self.cb_func is not None:             # <<<<<<<<<<<<<<
 *             cb = _py_elm_gengrid_item_func
 * 
 */
  __pyx_t_1 = (__pyx_v_self->__pyx_base.cb_func != Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_item.pxi":103
 * 
 *         if self.cb_func is not None:
 *             cb = _py_elm_gengrid_item_func             # <<<<<<<<<<<<<<
 * 
 *         item = elm_gengrid_item_prepend(gengrid.obj, self.item_class.cls, <void*>self,
 */
    __pyx_v_cb = __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_func;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/gengrid_item.pxi":105
 *             cb = _py_elm_gengrid_item_func
 * 
 *         item = elm_gengrid_item_prepend(gengrid.obj, self.item_class.cls, <void*>self,             # <<<<<<<<<<<<<<
 *             cb, <void*>self)
 * 
 */
  __pyx_v_item = elm_gengrid_item_prepend(__pyx_v_gengrid->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_self->item_class->cls, ((void *)__pyx_v_self), __pyx_v_cb, ((void *)__pyx_v_self));

  /* "efl/elementary/gengrid_item.pxi":108
 *             cb, <void*>self)
 * 
 *         if item == NULL:             # <<<<<<<<<<<<<<
 *             raise RuntimeError("The item could not be added to the widget.")
 * 
 */
  __pyx_t_2 = ((__pyx_v_item == NULL) != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_item.pxi":109
 * 
 *         if item == NULL:
 *             raise RuntimeError("The item could not be added to the widget.")             # <<<<<<<<<<<<<<
 * 
 *         self._set_obj(item)
 */
    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__8, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    {__pyx_filename = __pyx_f[2]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }

  /* "efl/elementary/gengrid_item.pxi":111
 *             raise RuntimeError("The item could not be added to the widget.")
 * 
 *         self._set_obj(item)             # <<<<<<<<<<<<<<
 *         self._set_properties_from_keyword_args(self.kwargs)
 *         return self
 */
  __pyx_t_4 = ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/gengrid_item.pxi":112
 * 
 *         self._set_obj(item)
 *         self._set_properties_from_keyword_args(self.kwargs)             # <<<<<<<<<<<<<<
 *         return self
 * 
 */
  __pyx_t_3 = __pyx_v_self->__pyx_base.kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_4 = ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_properties_from_keyword_args(((struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *)__pyx_v_self), ((PyObject*)__pyx_t_3)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_item.pxi":113
 *         self._set_obj(item)
 *         self._set_properties_from_keyword_args(self.kwargs)
 *         return self             # <<<<<<<<<<<<<<
 * 
 *     def insert_before(self, GengridItem before not None):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self));
  __pyx_r = ((PyObject *)__pyx_v_self);
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item.pxi":92
 *         return self
 * 
 *     def prepend_to(self, Gengrid gengrid not None):             # <<<<<<<<<<<<<<
 *         """Prepend a new item (add as first item) to this gengrid.
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":115
 *         return self
 * 
 *     def insert_before(self, GengridItem before not None):             # <<<<<<<<<<<<<<
 *         """Insert a new item before another item in this gengrid.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_9insert_before(PyObject *__pyx_v_self, PyObject *__pyx_v_before); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_8insert_before[] = "GengridItem.insert_before(self, GengridItem before)\nInsert a new item before another item in this gengrid.\n\n        :param before: a reference item to use, the new item\n            will be inserted before it.\n\n        .. versionadded:: 1.8\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_9insert_before(PyObject *__pyx_v_self, PyObject *__pyx_v_before) {
  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("insert_before (wrapper)", 0);
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_before), __pyx_ptype_3efl_10elementary_7gengrid_GengridItem, 0, "before", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_8insert_before(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self), ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_before));

  /* 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_7gengrid_11GengridItem_8insert_before(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_before) {
  Elm_Object_Item *__pyx_v_item;
  Evas_Smart_Cb __pyx_v_cb;
  struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_gengrid = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  int __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("insert_before", 0);

  /* "efl/elementary/gengrid_item.pxi":126
 *         cdef:
 *             Elm_Object_Item *item
 *             Evas_Smart_Cb cb = NULL             # <<<<<<<<<<<<<<
 *             Gengrid gengrid = before.widget
 * 
 */
  __pyx_v_cb = NULL;

  /* "efl/elementary/gengrid_item.pxi":127
 *             Elm_Object_Item *item
 *             Evas_Smart_Cb cb = NULL
 *             Gengrid gengrid = before.widget             # <<<<<<<<<<<<<<
 * 
 *         if self.cb_func is not None:
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_before), __pyx_n_s_widget); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_3efl_10elementary_7gengrid_Gengrid))))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_gengrid = ((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_item.pxi":129
 *             Gengrid gengrid = before.widget
 * 
 *         if self.cb_func is not None:             # <<<<<<<<<<<<<<
 *             cb = _py_elm_gengrid_item_func
 * 
 */
  __pyx_t_2 = (__pyx_v_self->__pyx_base.cb_func != Py_None);
  __pyx_t_3 = (__pyx_t_2 != 0);
  if (__pyx_t_3) {

    /* "efl/elementary/gengrid_item.pxi":130
 * 
 *         if self.cb_func is not None:
 *             cb = _py_elm_gengrid_item_func             # <<<<<<<<<<<<<<
 * 
 *         item = elm_gengrid_item_insert_before(gengrid.obj, self.item_class.cls,
 */
    __pyx_v_cb = __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_func;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/gengrid_item.pxi":132
 *             cb = _py_elm_gengrid_item_func
 * 
 *         item = elm_gengrid_item_insert_before(gengrid.obj, self.item_class.cls,             # <<<<<<<<<<<<<<
 *             <void*>self, before.item, cb, <void*>self)
 * 
 */
  __pyx_v_item = elm_gengrid_item_insert_before(__pyx_v_gengrid->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_self->item_class->cls, ((void *)__pyx_v_self), __pyx_v_before->__pyx_base.item, __pyx_v_cb, ((void *)__pyx_v_self));

  /* "efl/elementary/gengrid_item.pxi":135
 *             <void*>self, before.item, cb, <void*>self)
 * 
 *         if item == NULL:             # <<<<<<<<<<<<<<
 *             raise RuntimeError("The item could not be added to the widget.")
 * 
 */
  __pyx_t_3 = ((__pyx_v_item == NULL) != 0);
  if (__pyx_t_3) {

    /* "efl/elementary/gengrid_item.pxi":136
 * 
 *         if item == NULL:
 *             raise RuntimeError("The item could not be added to the widget.")             # <<<<<<<<<<<<<<
 * 
 *         self._set_obj(item)
 */
    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__9, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    {__pyx_filename = __pyx_f[2]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }

  /* "efl/elementary/gengrid_item.pxi":138
 *             raise RuntimeError("The item could not be added to the widget.")
 * 
 *         self._set_obj(item)             # <<<<<<<<<<<<<<
 *         self._set_properties_from_keyword_args(self.kwargs)
 *         return self
 */
  __pyx_t_4 = ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/gengrid_item.pxi":139
 * 
 *         self._set_obj(item)
 *         self._set_properties_from_keyword_args(self.kwargs)             # <<<<<<<<<<<<<<
 *         return self
 * 
 */
  __pyx_t_1 = __pyx_v_self->__pyx_base.kwargs;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_t_4 = ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_properties_from_keyword_args(((struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *)__pyx_v_self), ((PyObject*)__pyx_t_1)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_item.pxi":140
 *         self._set_obj(item)
 *         self._set_properties_from_keyword_args(self.kwargs)
 *         return self             # <<<<<<<<<<<<<<
 * 
 *     def insert_after(self, GengridItem after not None):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self));
  __pyx_r = ((PyObject *)__pyx_v_self);
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item.pxi":115
 *         return self
 * 
 *     def insert_before(self, GengridItem before not None):             # <<<<<<<<<<<<<<
 *         """Insert a new item before another item in this gengrid.
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItem.insert_before", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_gengrid);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_item.pxi":142
 *         return self
 * 
 *     def insert_after(self, GengridItem after not None):             # <<<<<<<<<<<<<<
 *         """Insert a new item after another item in this gengrid.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_11insert_after(PyObject *__pyx_v_self, PyObject *__pyx_v_after); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_10insert_after[] = "GengridItem.insert_after(self, GengridItem after)\nInsert a new item after another item in this gengrid.\n\n        :param after: a reference item to use, the new item\n            will be inserted after it.\n\n        .. versionadded:: 1.8\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_11insert_after(PyObject *__pyx_v_self, PyObject *__pyx_v_after) {
  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("insert_after (wrapper)", 0);
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_after), __pyx_ptype_3efl_10elementary_7gengrid_GengridItem, 0, "after", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_10insert_after(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self), ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_after));

  /* 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_7gengrid_11GengridItem_10insert_after(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_after) {
  Elm_Object_Item *__pyx_v_item;
  Evas_Smart_Cb __pyx_v_cb;
  struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_gengrid = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  int __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("insert_after", 0);

  /* "efl/elementary/gengrid_item.pxi":153
 *         cdef:
 *             Elm_Object_Item *item
 *             Evas_Smart_Cb cb = NULL             # <<<<<<<<<<<<<<
 *             Gengrid gengrid = after.widget
 * 
 */
  __pyx_v_cb = NULL;

  /* "efl/elementary/gengrid_item.pxi":154
 *             Elm_Object_Item *item
 *             Evas_Smart_Cb cb = NULL
 *             Gengrid gengrid = after.widget             # <<<<<<<<<<<<<<
 * 
 *         if self.cb_func is not None:
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_after), __pyx_n_s_widget); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_3efl_10elementary_7gengrid_Gengrid))))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_gengrid = ((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_item.pxi":156
 *             Gengrid gengrid = after.widget
 * 
 *         if self.cb_func is not None:             # <<<<<<<<<<<<<<
 *             cb = _py_elm_gengrid_item_func
 * 
 */
  __pyx_t_2 = (__pyx_v_self->__pyx_base.cb_func != Py_None);
  __pyx_t_3 = (__pyx_t_2 != 0);
  if (__pyx_t_3) {

    /* "efl/elementary/gengrid_item.pxi":157
 * 
 *         if self.cb_func is not None:
 *             cb = _py_elm_gengrid_item_func             # <<<<<<<<<<<<<<
 * 
 *         item = elm_gengrid_item_insert_after(gengrid.obj, self.item_class.cls,
 */
    __pyx_v_cb = __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_func;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/gengrid_item.pxi":159
 *             cb = _py_elm_gengrid_item_func
 * 
 *         item = elm_gengrid_item_insert_after(gengrid.obj, self.item_class.cls,             # <<<<<<<<<<<<<<
 *             <void*>self, after.item, cb, <void*>self)
 * 
 */
  __pyx_v_item = elm_gengrid_item_insert_after(__pyx_v_gengrid->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_self->item_class->cls, ((void *)__pyx_v_self), __pyx_v_after->__pyx_base.item, __pyx_v_cb, ((void *)__pyx_v_self));

  /* "efl/elementary/gengrid_item.pxi":162
 *             <void*>self, after.item, cb, <void*>self)
 * 
 *         if item == NULL:             # <<<<<<<<<<<<<<
 *             raise RuntimeError("The item could not be added to the widget.")
 * 
 */
  __pyx_t_3 = ((__pyx_v_item == NULL) != 0);
  if (__pyx_t_3) {

    /* "efl/elementary/gengrid_item.pxi":163
 * 
 *         if item == NULL:
 *             raise RuntimeError("The item could not be added to the widget.")             # <<<<<<<<<<<<<<
 * 
 *         self._set_obj(item)
 */
    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__10, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    {__pyx_filename = __pyx_f[2]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }

  /* "efl/elementary/gengrid_item.pxi":165
 *             raise RuntimeError("The item could not be added to the widget.")
 * 
 *         self._set_obj(item)             # <<<<<<<<<<<<<<
 *         self._set_properties_from_keyword_args(self.kwargs)
 *         return self
 */
  __pyx_t_4 = ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/gengrid_item.pxi":166
 * 
 *         self._set_obj(item)
 *         self._set_properties_from_keyword_args(self.kwargs)             # <<<<<<<<<<<<<<
 *         return self
 * 
 */
  __pyx_t_1 = __pyx_v_self->__pyx_base.kwargs;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_t_4 = ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_properties_from_keyword_args(((struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *)__pyx_v_self), ((PyObject*)__pyx_t_1)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "efl/elementary/gengrid_item.pxi":167
 *         self._set_obj(item)
 *         self._set_properties_from_keyword_args(self.kwargs)
 *         return self             # <<<<<<<<<<<<<<
 * 
 *     def sorted_insert(self, Gengrid gengrid not None, compare_func not None):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self));
  __pyx_r = ((PyObject *)__pyx_v_self);
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item.pxi":142
 *         return self
 * 
 *     def insert_after(self, GengridItem after not None):             # <<<<<<<<<<<<<<
 *         """Insert a new item after another item in this gengrid.
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItem.insert_after", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_gengrid);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_item.pxi":169
 *         return self
 * 
 *     def sorted_insert(self, Gengrid gengrid not None, compare_func not None):             # <<<<<<<<<<<<<<
 *         """Insert a new item after another item in this gengrid.
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_13sorted_insert(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_12sorted_insert[] = "GengridItem.sorted_insert(self, Gengrid gengrid, compare_func)\nInsert a new item after another item in this gengrid.\n\n        :param after: a reference item to use, the new item\n            will be inserted after it.\n\n        .. versionadded:: 1.8\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_13sorted_insert(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_gengrid = 0;
  PyObject *__pyx_v_compare_func = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("sorted_insert (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_gengrid,&__pyx_n_s_compare_func,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_gengrid)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_compare_func)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("sorted_insert", 1, 2, 2, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "sorted_insert") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 169; __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_gengrid = ((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)values[0]);
    __pyx_v_compare_func = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("sorted_insert", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItem.sorted_insert", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_gengrid), __pyx_ptype_3efl_10elementary_7gengrid_Gengrid, 0, "gengrid", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (unlikely(((PyObject *)__pyx_v_compare_func) == Py_None)) {
    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "compare_func"); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_12sorted_insert(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self), __pyx_v_gengrid, __pyx_v_compare_func);

  /* 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_7gengrid_11GengridItem_12sorted_insert(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *__pyx_v_gengrid, PyObject *__pyx_v_compare_func) {
  Elm_Object_Item *__pyx_v_item;
  Evas_Smart_Cb __pyx_v_cb;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("sorted_insert", 0);

  /* "efl/elementary/gengrid_item.pxi":180
 *         cdef:
 *             Elm_Object_Item *item
 *             Evas_Smart_Cb cb = NULL             # <<<<<<<<<<<<<<
 * 
 *         self.compare_func = compare_func
 */
  __pyx_v_cb = NULL;

  /* "efl/elementary/gengrid_item.pxi":182
 *             Evas_Smart_Cb cb = NULL
 * 
 *         self.compare_func = compare_func             # <<<<<<<<<<<<<<
 * 
 *         if self.cb_func is not None:
 */
  __Pyx_INCREF(__pyx_v_compare_func);
  __Pyx_GIVEREF(__pyx_v_compare_func);
  __Pyx_GOTREF(__pyx_v_self->compare_func);
  __Pyx_DECREF(__pyx_v_self->compare_func);
  __pyx_v_self->compare_func = __pyx_v_compare_func;

  /* "efl/elementary/gengrid_item.pxi":184
 *         self.compare_func = compare_func
 * 
 *         if self.cb_func is not None:             # <<<<<<<<<<<<<<
 *             cb = _py_elm_gengrid_item_func
 * 
 */
  __pyx_t_1 = (__pyx_v_self->__pyx_base.cb_func != Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_item.pxi":185
 * 
 *         if self.cb_func is not None:
 *             cb = _py_elm_gengrid_item_func             # <<<<<<<<<<<<<<
 * 
 *         item = elm_gengrid_item_sorted_insert(gengrid.obj, self.item_class.cls,
 */
    __pyx_v_cb = __pyx_f_3efl_10elementary_7gengrid__py_elm_gengrid_item_func;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "efl/elementary/gengrid_item.pxi":187
 *             cb = _py_elm_gengrid_item_func
 * 
 *         item = elm_gengrid_item_sorted_insert(gengrid.obj, self.item_class.cls,             # <<<<<<<<<<<<<<
 *             <void*>self, _gengrid_compare_cb, cb, <void*>self)
 * 
 */
  __pyx_v_item = elm_gengrid_item_sorted_insert(__pyx_v_gengrid->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_self->item_class->cls, ((void *)__pyx_v_self), __pyx_f_3efl_10elementary_7gengrid__gengrid_compare_cb, __pyx_v_cb, ((void *)__pyx_v_self));

  /* "efl/elementary/gengrid_item.pxi":190
 *             <void*>self, _gengrid_compare_cb, cb, <void*>self)
 * 
 *         if item == NULL:             # <<<<<<<<<<<<<<
 *             raise RuntimeError("The item could not be added to the widget.")
 * 
 */
  __pyx_t_2 = ((__pyx_v_item == NULL) != 0);
  if (__pyx_t_2) {

    /* "efl/elementary/gengrid_item.pxi":191
 * 
 *         if item == NULL:
 *             raise RuntimeError("The item could not be added to the widget.")             # <<<<<<<<<<<<<<
 * 
 *         self._set_obj(item)
 */
    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    {__pyx_filename = __pyx_f[2]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }

  /* "efl/elementary/gengrid_item.pxi":193
 *             raise RuntimeError("The item could not be added to the widget.")
 * 
 *         self._set_obj(item)             # <<<<<<<<<<<<<<
 *         self._set_properties_from_keyword_args(self.kwargs)
 *         return self
 */
  __pyx_t_4 = ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/gengrid_item.pxi":194
 * 
 *         self._set_obj(item)
 *         self._set_properties_from_keyword_args(self.kwargs)             # <<<<<<<<<<<<<<
 *         return self
 * 
 */
  __pyx_t_3 = __pyx_v_self->__pyx_base.kwargs;
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_4 = ((struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_properties_from_keyword_args(((struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *)__pyx_v_self), ((PyObject*)__pyx_t_3)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "efl/elementary/gengrid_item.pxi":195
 *         self._set_obj(item)
 *         self._set_properties_from_keyword_args(self.kwargs)
 *         return self             # <<<<<<<<<<<<<<
 * 
 *     property data:
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self));
  __pyx_r = ((PyObject *)__pyx_v_self);
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item.pxi":169
 *         return self
 * 
 *     def sorted_insert(self, Gengrid gengrid not None, compare_func not None):             # <<<<<<<<<<<<<<
 *         """Insert a new item after another item in this gengrid.
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":199
 *     property data:
 *         """User data for the item."""
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return self.item_data
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_4data_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_4data_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_4data___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_4data___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/elementary/gengrid_item.pxi":200
 *         """User data for the item."""
 *         def __get__(self):
 *             return self.item_data             # <<<<<<<<<<<<<<
 * 
 *     def data_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->item_data);
  __pyx_r = __pyx_v_self->item_data;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item.pxi":199
 *     property data:
 *         """User data for the item."""
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return self.item_data
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":202
 *             return self.item_data
 * 
 *     def data_get(self):             # <<<<<<<<<<<<<<
 *         return self.item_data
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_15data_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_14data_get[] = "GengridItem.data_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_15data_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("data_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_14data_get(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_14data_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("data_get", 0);

  /* "efl/elementary/gengrid_item.pxi":203
 * 
 *     def data_get(self):
 *         return self.item_data             # <<<<<<<<<<<<<<
 * 
 *     property next:
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->item_data);
  __pyx_r = __pyx_v_self->item_data;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item.pxi":202
 *             return self.item_data
 * 
 *     def data_get(self):             # <<<<<<<<<<<<<<
 *         return self.item_data
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":210
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_to_python(elm_gengrid_item_next_get(self.item))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_4next_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_4next_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_4next___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_4next___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__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/gengrid_item.pxi":211
 *         """
 *         def __get__(self):
 *             return _object_item_to_python(elm_gengrid_item_next_get(self.item))             # <<<<<<<<<<<<<<
 * 
 *     def next_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(elm_gengrid_item_next_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 211; __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/gengrid_item.pxi":210
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_to_python(elm_gengrid_item_next_get(self.item))
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":213
 *             return _object_item_to_python(elm_gengrid_item_next_get(self.item))
 * 
 *     def next_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_to_python(elm_gengrid_item_next_get(self.item))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_17next_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_16next_get[] = "GengridItem.next_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_17next_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("next_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_16next_get(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_16next_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__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("next_get", 0);

  /* "efl/elementary/gengrid_item.pxi":214
 * 
 *     def next_get(self):
 *         return _object_item_to_python(elm_gengrid_item_next_get(self.item))             # <<<<<<<<<<<<<<
 * 
 *     property prev:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(elm_gengrid_item_next_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 214; __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/gengrid_item.pxi":213
 *             return _object_item_to_python(elm_gengrid_item_next_get(self.item))
 * 
 *     def next_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_to_python(elm_gengrid_item_next_get(self.item))
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":221
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_to_python(elm_gengrid_item_prev_get(self.item))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_4prev_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_4prev_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_4prev___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_4prev___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__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/gengrid_item.pxi":222
 *         """
 *         def __get__(self):
 *             return _object_item_to_python(elm_gengrid_item_prev_get(self.item))             # <<<<<<<<<<<<<<
 * 
 *     def prev_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(elm_gengrid_item_prev_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 222; __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/gengrid_item.pxi":221
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return _object_item_to_python(elm_gengrid_item_prev_get(self.item))
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":224
 *             return _object_item_to_python(elm_gengrid_item_prev_get(self.item))
 * 
 *     def prev_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_to_python(elm_gengrid_item_prev_get(self.item))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_19prev_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_18prev_get[] = "GengridItem.prev_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_19prev_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("prev_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_18prev_get(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_18prev_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__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("prev_get", 0);

  /* "efl/elementary/gengrid_item.pxi":225
 * 
 *     def prev_get(self):
 *         return _object_item_to_python(elm_gengrid_item_prev_get(self.item))             # <<<<<<<<<<<<<<
 * 
 *     property index:
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_3efl_10elementary_11object_item__object_item_to_python(elm_gengrid_item_prev_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 225; __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/gengrid_item.pxi":224
 *             return _object_item_to_python(elm_gengrid_item_prev_get(self.item))
 * 
 *     def prev_get(self):             # <<<<<<<<<<<<<<
 *         return _object_item_to_python(elm_gengrid_item_prev_get(self.item))
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":231
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return elm_gengrid_item_index_get(self.item)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_5index_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_5index_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_5index___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_5index___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__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/gengrid_item.pxi":232
 *         """
 *         def __get__(self):
 *             return elm_gengrid_item_index_get(self.item)             # <<<<<<<<<<<<<<
 * 
 *     def index_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_int(elm_gengrid_item_index_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 232; __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/gengrid_item.pxi":231
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return elm_gengrid_item_index_get(self.item)
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":234
 *             return elm_gengrid_item_index_get(self.item)
 * 
 *     def index_get(self):             # <<<<<<<<<<<<<<
 *         return elm_gengrid_item_index_get(self.item)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_21index_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_20index_get[] = "GengridItem.index_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_21index_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("index_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_20index_get(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_20index_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__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("index_get", 0);

  /* "efl/elementary/gengrid_item.pxi":235
 * 
 *     def index_get(self):
 *         return elm_gengrid_item_index_get(self.item)             # <<<<<<<<<<<<<<
 * 
 *     def update(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_int(elm_gengrid_item_index_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 235; __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/gengrid_item.pxi":234
 *             return elm_gengrid_item_index_get(self.item)
 * 
 *     def index_get(self):             # <<<<<<<<<<<<<<
 *         return elm_gengrid_item_index_get(self.item)
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":237
 *         return elm_gengrid_item_index_get(self.item)
 * 
 *     def update(self):             # <<<<<<<<<<<<<<
 *         """This updates an item by calling all the item class functions
 *         again to get the contents, texts and states. Use this when the
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_23update(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_22update[] = "GengridItem.update(self)\nThis updates an item by calling all the item class functions\n        again to get the contents, texts and states. Use this when the\n        original item data has changed and you want the changes to be\n        reflected.\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_23update(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("update (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_22update(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_22update(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("update", 0);

  /* "efl/elementary/gengrid_item.pxi":244
 * 
 *         """
 *         elm_gengrid_item_update(self.item)             # <<<<<<<<<<<<<<
 * 
 *     property selected:
 */
  elm_gengrid_item_update(__pyx_v_self->__pyx_base.item);

  /* "efl/elementary/gengrid_item.pxi":237
 *         return elm_gengrid_item_index_get(self.item)
 * 
 *     def update(self):             # <<<<<<<<<<<<<<
 *         """This updates an item by calling all the item class functions
 *         again to get the contents, texts and states. Use this when the
 */

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

/* "efl/elementary/gengrid_item.pxi":253
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_item_selected_get(self.item))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_8selected_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_8selected_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_8selected___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_8selected___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self) {
  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/gengrid_item.pxi":254
 *         """
 *         def __get__(self):
 *             return bool(elm_gengrid_item_selected_get(self.item))             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, selected):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 254; __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/gengrid_item.pxi":253
 * 
 *         """
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return bool(elm_gengrid_item_selected_get(self.item))
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":256
 *             return bool(elm_gengrid_item_selected_get(self.item))
 * 
 *         def __set__(self, selected):             # <<<<<<<<<<<<<<
 *             elm_gengrid_item_selected_set(self.item, bool(selected))
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_8selected_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_8selected_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_8selected_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));

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

static int __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_8selected_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, PyObject *__pyx_v_selected) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_item.pxi":257
 * 
 *         def __set__(self, selected):
 *             elm_gengrid_item_selected_set(self.item, bool(selected))             # <<<<<<<<<<<<<<
 * 
 *     def selected_set(self, selected):
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_selected); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_item_selected_set(__pyx_v_self->__pyx_base.item, (!(!__pyx_t_1)));

  /* "efl/elementary/gengrid_item.pxi":256
 *             return bool(elm_gengrid_item_selected_get(self.item))
 * 
 *         def __set__(self, selected):             # <<<<<<<<<<<<<<
 *             elm_gengrid_item_selected_set(self.item, bool(selected))
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":259
 *             elm_gengrid_item_selected_set(self.item, bool(selected))
 * 
 *     def selected_set(self, selected):             # <<<<<<<<<<<<<<
 *         elm_gengrid_item_selected_set(self.item, bool(selected))
 *     def selected_get(self):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_25selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_24selected_set[] = "GengridItem.selected_set(self, selected)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_25selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_selected) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("selected_set (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_24selected_set(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_24selected_set(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, PyObject *__pyx_v_selected) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("selected_set", 0);

  /* "efl/elementary/gengrid_item.pxi":260
 * 
 *     def selected_set(self, selected):
 *         elm_gengrid_item_selected_set(self.item, bool(selected))             # <<<<<<<<<<<<<<
 *     def selected_get(self):
 *         return bool(elm_gengrid_item_selected_get(self.item))
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_selected); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_item_selected_set(__pyx_v_self->__pyx_base.item, (!(!__pyx_t_1)));

  /* "efl/elementary/gengrid_item.pxi":259
 *             elm_gengrid_item_selected_set(self.item, bool(selected))
 * 
 *     def selected_set(self, selected):             # <<<<<<<<<<<<<<
 *         elm_gengrid_item_selected_set(self.item, bool(selected))
 *     def selected_get(self):
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItem.selected_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_item.pxi":261
 *     def selected_set(self, selected):
 *         elm_gengrid_item_selected_set(self.item, bool(selected))
 *     def selected_get(self):             # <<<<<<<<<<<<<<
 *         return bool(elm_gengrid_item_selected_get(self.item))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_27selected_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_26selected_get[] = "GengridItem.selected_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_27selected_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("selected_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_26selected_get(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_26selected_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self) {
  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("selected_get", 0);

  /* "efl/elementary/gengrid_item.pxi":262
 *         elm_gengrid_item_selected_set(self.item, bool(selected))
 *     def selected_get(self):
 *         return bool(elm_gengrid_item_selected_get(self.item))             # <<<<<<<<<<<<<<
 * 
 *     def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_Eina_Bool(elm_gengrid_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 262; __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/gengrid_item.pxi":261
 *     def selected_set(self, selected):
 *         elm_gengrid_item_selected_set(self.item, bool(selected))
 *     def selected_get(self):             # <<<<<<<<<<<<<<
 *         return bool(elm_gengrid_item_selected_get(self.item))
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":264
 *         return bool(elm_gengrid_item_selected_get(self.item))
 * 
 *     def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):             # <<<<<<<<<<<<<<
 *         """This causes gengrid to **redraw** its viewport's contents to the
 *         region containing the given ``item``, if it is not fully
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_29show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_28show[] = "GengridItem.show(self, scrollto_type=ELM_GENLIST_ITEM_SCROLLTO_IN)\nThis causes gengrid to **redraw** its viewport's contents to the\n        region containing the given ``item``, if it is not fully\n        visible.\n\n        .. seealso:: :py:func:`bring_in()`\n\n        :param type: Where to position the item in the viewport.\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_29show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_scrollto_type = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("show (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_scrollto_type,0};
    PyObject* values[1] = {0};
    values[0] = __pyx_k__12;
    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_scrollto_type);
          if (value) { values[0] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "show") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 264; __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_scrollto_type = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("show", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItem.show", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_28show(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self), __pyx_v_scrollto_type);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_28show(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, PyObject *__pyx_v_scrollto_type) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  Elm_Genlist_Item_Scrollto_Type __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("show", 0);

  /* "efl/elementary/gengrid_item.pxi":274
 * 
 *         """
 *         elm_gengrid_item_show(self.item, scrollto_type)             # <<<<<<<<<<<<<<
 * 
 *     def bring_in(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):
 */
  __pyx_t_1 = ((Elm_Genlist_Item_Scrollto_Type)PyInt_AsLong(__pyx_v_scrollto_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_item_show(__pyx_v_self->__pyx_base.item, __pyx_t_1);

  /* "efl/elementary/gengrid_item.pxi":264
 *         return bool(elm_gengrid_item_selected_get(self.item))
 * 
 *     def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):             # <<<<<<<<<<<<<<
 *         """This causes gengrid to **redraw** its viewport's contents to the
 *         region containing the given ``item``, if it is not fully
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItem.show", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_item.pxi":276
 *         elm_gengrid_item_show(self.item, scrollto_type)
 * 
 *     def bring_in(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):             # <<<<<<<<<<<<<<
 *         """This causes gengrid to jump to the item and show
 *         it (by scrolling), if it is not fully visible. This will use
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_31bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_30bring_in[] = "GengridItem.bring_in(self, scrollto_type=ELM_GENLIST_ITEM_SCROLLTO_IN)\nThis causes gengrid to jump to the item and show\n        it (by scrolling), if it is not fully visible. This will use\n        animation to do so and take a period of time to complete.\n\n        .. seealso:: :py:func:`show()`\n\n        :param type: Where to position the item in the viewport.\n\n        ";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_31bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_scrollto_type = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("bring_in (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_scrollto_type,0};
    PyObject* values[1] = {0};
    values[0] = __pyx_k__13;
    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_scrollto_type);
          if (value) { values[0] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "bring_in") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 276; __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_scrollto_type = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("bring_in", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItem.bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_30bring_in(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self), __pyx_v_scrollto_type);

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_30bring_in(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, PyObject *__pyx_v_scrollto_type) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  Elm_Genlist_Item_Scrollto_Type __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("bring_in", 0);

  /* "efl/elementary/gengrid_item.pxi":286
 * 
 *         """
 *         elm_gengrid_item_bring_in(self.item, scrollto_type)             # <<<<<<<<<<<<<<
 * 
 *     property pos:
 */
  __pyx_t_1 = ((Elm_Genlist_Item_Scrollto_Type)PyInt_AsLong(__pyx_v_scrollto_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_item_bring_in(__pyx_v_self->__pyx_base.item, __pyx_t_1);

  /* "efl/elementary/gengrid_item.pxi":276
 *         elm_gengrid_item_show(self.item, scrollto_type)
 * 
 *     def bring_in(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):             # <<<<<<<<<<<<<<
 *         """This causes gengrid to jump to the item and show
 *         it (by scrolling), if it is not fully visible. This will use
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItem.bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_item.pxi":289
 * 
 *     property pos:
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             cdef unsigned int x, y
 *             elm_gengrid_item_pos_get(self.item, &x, &y)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_3pos_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_3pos_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_3pos___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_3pos___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self) {
  unsigned int __pyx_v_x;
  unsigned int __pyx_v_y;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "efl/elementary/gengrid_item.pxi":291
 *         def __get__(self):
 *             cdef unsigned int x, y
 *             elm_gengrid_item_pos_get(self.item, &x, &y)             # <<<<<<<<<<<<<<
 *             return (x, y)
 * 
 */
  elm_gengrid_item_pos_get(__pyx_v_self->__pyx_base.item, (&__pyx_v_x), (&__pyx_v_y));

  /* "efl/elementary/gengrid_item.pxi":292
 *             cdef unsigned int x, y
 *             elm_gengrid_item_pos_get(self.item, &x, &y)
 *             return (x, y)             # <<<<<<<<<<<<<<
 * 
 *     def pos_get(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item.pxi":289
 * 
 *     property pos:
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             cdef unsigned int x, y
 *             elm_gengrid_item_pos_get(self.item, &x, &y)
 */

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

/* "efl/elementary/gengrid_item.pxi":294
 *             return (x, y)
 * 
 *     def pos_get(self):             # <<<<<<<<<<<<<<
 *         cdef unsigned int x, y
 *         elm_gengrid_item_pos_get(self.item, &x, &y)
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_33pos_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_32pos_get[] = "GengridItem.pos_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_33pos_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("pos_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_32pos_get(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_32pos_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self) {
  unsigned int __pyx_v_x;
  unsigned int __pyx_v_y;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("pos_get", 0);

  /* "efl/elementary/gengrid_item.pxi":296
 *     def pos_get(self):
 *         cdef unsigned int x, y
 *         elm_gengrid_item_pos_get(self.item, &x, &y)             # <<<<<<<<<<<<<<
 *         return (x, y)
 * 
 */
  elm_gengrid_item_pos_get(__pyx_v_self->__pyx_base.item, (&__pyx_v_x), (&__pyx_v_y));

  /* "efl/elementary/gengrid_item.pxi":297
 *         cdef unsigned int x, y
 *         elm_gengrid_item_pos_get(self.item, &x, &y)
 *         return (x, y)             # <<<<<<<<<<<<<<
 * 
 *     # XXX TODO elm_gengrid_item_item_class_update
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_1 = 0;
  __pyx_t_2 = 0;
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "efl/elementary/gengrid_item.pxi":294
 *             return (x, y)
 * 
 *     def pos_get(self):             # <<<<<<<<<<<<<<
 *         cdef unsigned int x, y
 *         elm_gengrid_item_pos_get(self.item, &x, &y)
 */

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

/* "efl/elementary/gengrid_item.pxi":305
 *     property select_mode:
 *         # TODO: document this
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return elm_gengrid_item_select_mode_get(self.item)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_11select_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_11select_mode_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_11select_mode___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_11select_mode___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__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/gengrid_item.pxi":306
 *         # TODO: document this
 *         def __get__(self):
 *             return elm_gengrid_item_select_mode_get(self.item)             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, mode):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyInt_FromLong(elm_gengrid_item_select_mode_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 306; __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/gengrid_item.pxi":305
 *     property select_mode:
 *         # TODO: document this
 *         def __get__(self):             # <<<<<<<<<<<<<<
 *             return elm_gengrid_item_select_mode_get(self.item)
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":308
 *             return elm_gengrid_item_select_mode_get(self.item)
 * 
 *         def __set__(self, mode):             # <<<<<<<<<<<<<<
 *             elm_gengrid_item_select_mode_set(self.item, mode)
 * 
 */

/* Python wrapper */
static int __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_11select_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
static int __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_11select_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_11select_mode_2__set__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_mode));

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

static int __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_11select_mode_2__set__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, PyObject *__pyx_v_mode) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  Elm_Object_Select_Mode __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "efl/elementary/gengrid_item.pxi":309
 * 
 *         def __set__(self, mode):
 *             elm_gengrid_item_select_mode_set(self.item, mode)             # <<<<<<<<<<<<<<
 * 
 *     def select_mode_set(self, mode):
 */
  __pyx_t_1 = ((Elm_Object_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_item_select_mode_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);

  /* "efl/elementary/gengrid_item.pxi":308
 *             return elm_gengrid_item_select_mode_get(self.item)
 * 
 *         def __set__(self, mode):             # <<<<<<<<<<<<<<
 *             elm_gengrid_item_select_mode_set(self.item, mode)
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":311
 *             elm_gengrid_item_select_mode_set(self.item, mode)
 * 
 *     def select_mode_set(self, mode):             # <<<<<<<<<<<<<<
 *         elm_gengrid_item_select_mode_set(self.item, mode)
 *     def select_mode_get(self):
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_35select_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_34select_mode_set[] = "GengridItem.select_mode_set(self, mode)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_35select_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("select_mode_set (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_34select_mode_set(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_mode));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_34select_mode_set(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  Elm_Object_Select_Mode __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("select_mode_set", 0);

  /* "efl/elementary/gengrid_item.pxi":312
 * 
 *     def select_mode_set(self, mode):
 *         elm_gengrid_item_select_mode_set(self.item, mode)             # <<<<<<<<<<<<<<
 *     def select_mode_get(self):
 *         return elm_gengrid_item_select_mode_get(self.item)
 */
  __pyx_t_1 = ((Elm_Object_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  elm_gengrid_item_select_mode_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);

  /* "efl/elementary/gengrid_item.pxi":311
 *             elm_gengrid_item_select_mode_set(self.item, mode)
 * 
 *     def select_mode_set(self, mode):             # <<<<<<<<<<<<<<
 *         elm_gengrid_item_select_mode_set(self.item, mode)
 *     def select_mode_get(self):
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("efl.elementary.gengrid.GengridItem.select_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "efl/elementary/gengrid_item.pxi":313
 *     def select_mode_set(self, mode):
 *         elm_gengrid_item_select_mode_set(self.item, mode)
 *     def select_mode_get(self):             # <<<<<<<<<<<<<<
 *         return elm_gengrid_item_select_mode_get(self.item)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_37select_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_36select_mode_get[] = "GengridItem.select_mode_get(self)";
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_37select_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("select_mode_get (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_36select_mode_get(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_36select_mode_get(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__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("select_mode_get", 0);

  /* "efl/elementary/gengrid_item.pxi":314
 *         elm_gengrid_item_select_mode_set(self.item, mode)
 *     def select_mode_get(self):
 *         return elm_gengrid_item_select_mode_get(self.item)             # <<<<<<<<<<<<<<
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyInt_FromLong(elm_gengrid_item_select_mode_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 314; __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/gengrid_item.pxi":313
 *     def select_mode_set(self, mode):
 *         elm_gengrid_item_select_mode_set(self.item, mode)
 *     def select_mode_get(self):             # <<<<<<<<<<<<<<
 *         return elm_gengrid_item_select_mode_get(self.item)
 * 
 */

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

/* "efl/elementary/gengrid_item.pxi":9
 * 
 *     cdef:
 *         readonly GengridItemClass item_class             # <<<<<<<<<<<<<<
 *         Elm_Object_Item *parent_item
 *         int flags
 */

/* Python wrapper */
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_10item_class_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_10item_class_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_3efl_10elementary_7gengrid_11GengridItem_10item_class___get__(((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)__pyx_v_self));

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

static PyObject *__pyx_pf_3efl_10elementary_7gengrid_11GengridItem_10item_class___get__(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self->item_class));
  __pyx_r = ((PyObject *)__pyx_v_self->item_class);
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}
static struct __pyx_vtabstruct_3efl_10elementary_7gengrid_Gengrid __pyx_vtable_3efl_10elementary_7gengrid_Gengrid;

static PyObject *__pyx_tp_new_3efl_10elementary_7gengrid_Gengrid(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *p;
  PyObject *o = __pyx_ptype_3efl_10elementary_6object_Object->tp_new(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid *)o);
  p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_3efl_2eo_Eo*)__pyx_vtabptr_3efl_10elementary_7gengrid_Gengrid;
  return o;
}

static void __pyx_tp_dealloc_3efl_10elementary_7gengrid_Gengrid(PyObject *o) {
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  PyObject_GC_Track(o);
  if (likely(__pyx_ptype_3efl_10elementary_6object_Object)) __pyx_ptype_3efl_10elementary_6object_Object->tp_dealloc(o); else __Pyx_call_next_tp_dealloc(o, __pyx_tp_dealloc_3efl_10elementary_7gengrid_Gengrid);
}

static int __pyx_tp_traverse_3efl_10elementary_7gengrid_Gengrid(PyObject *o, visitproc v, void *a) {
  int e;
  e = ((likely(__pyx_ptype_3efl_10elementary_6object_Object)) ? ((__pyx_ptype_3efl_10elementary_6object_Object->tp_traverse) ? __pyx_ptype_3efl_10elementary_6object_Object->tp_traverse(o, v, a) : 0) : __Pyx_call_next_tp_traverse(o, v, a, __pyx_tp_traverse_3efl_10elementary_7gengrid_Gengrid)); if (e) return e;
  return 0;
}

static int __pyx_tp_clear_3efl_10elementary_7gengrid_Gengrid(PyObject *o) {
  if (likely(__pyx_ptype_3efl_10elementary_6object_Object)) { if (__pyx_ptype_3efl_10elementary_6object_Object->tp_clear) __pyx_ptype_3efl_10elementary_6object_Object->tp_clear(o); } else __Pyx_call_next_tp_clear(o, __pyx_tp_clear_3efl_10elementary_7gengrid_Gengrid);
  return 0;
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_multi_select(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_12multi_select_1__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_multi_select_mode(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_17multi_select_mode_3__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_horizontal(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_10horizontal_1__get__(o);
}

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

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_selected_item(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_13selected_item_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_selected_items(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14selected_items_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_realized_items(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14realized_items_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_first_item(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_10first_item_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_last_item(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9last_item_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_wheel_disabled(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14wheel_disabled_3__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_items_count(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_11items_count_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_item_size(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9item_size_1__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_group_item_size(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15group_item_size_1__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_align(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_5align_1__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_reorder_mode(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_12reorder_mode_1__get__(o);
}

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

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_filled(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_6filled_1__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_page_relative(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_13page_relative_3__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_select_mode(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_11select_mode_1__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_highlight_mode(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_14highlight_mode_1__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_scroller_policy(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15scroller_policy_1__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_bounce(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_6bounce_1__get__(o);
}

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

static PyMethodDef __pyx_methods_3efl_10elementary_7gengrid_Gengrid[] = {
  {"clear", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_3clear, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_2clear},
  {"multi_select_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_5multi_select_set, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_4multi_select_set},
  {"multi_select_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_7multi_select_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_6multi_select_get},
  {"horizontal_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_9horizontal_set, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_8horizontal_set},
  {"horizontal_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_11horizontal_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_10horizontal_get},
  {"item_append", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_13item_append, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_12item_append},
  {"item_prepend", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_15item_prepend, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_14item_prepend},
  {"item_insert_before", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_17item_insert_before, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_16item_insert_before},
  {"item_insert_after", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_19item_insert_after, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_18item_insert_after},
  {"selected_item_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_21selected_item_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_20selected_item_get},
  {"selected_items_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_23selected_items_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_22selected_items_get},
  {"realized_items_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_25realized_items_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_24realized_items_get},
  {"realized_items_update", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_27realized_items_update, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_26realized_items_update},
  {"first_item_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_29first_item_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_28first_item_get},
  {"last_item_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_31last_item_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_30last_item_get},
  {"item_size_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_33item_size_set, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_32item_size_set},
  {"item_size_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_35item_size_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_34item_size_get},
  {"group_item_size_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_37group_item_size_set, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_36group_item_size_set},
  {"group_item_size_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_39group_item_size_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_38group_item_size_get},
  {"align_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_41align_set, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_40align_set},
  {"align_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_43align_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_42align_get},
  {"reorder_mode_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_45reorder_mode_set, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_44reorder_mode_set},
  {"reorder_mode_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_47reorder_mode_get, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_46reorder_mode_get},
  {"reorder_mode_start", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_49reorder_mode_start, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_48reorder_mode_start},
  {"reorder_mode_stop", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_51reorder_mode_stop, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_50reorder_mode_stop},
  {"reorder_type_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_53reorder_type_set, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_52reorder_type_set},
  {"filled_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_55filled_set, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_54filled_set},
  {"filled_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_57filled_get, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_56filled_get},
  {"select_mode_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_59select_mode_set, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_58select_mode_set},
  {"select_mode_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_61select_mode_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_60select_mode_get},
  {"highlight_mode_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_63highlight_mode_set, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_62highlight_mode_set},
  {"highlight_mode_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_65highlight_mode_get, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_64highlight_mode_get},
  {"nth_item_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_67nth_item_get, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_66nth_item_get},
  {"at_xy_item_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_69at_xy_item_get, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_68at_xy_item_get},
  {"search_by_text_item_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_71search_by_text_item_get, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_70search_by_text_item_get},
  {"callback_activated_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_73callback_activated_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_72callback_activated_add},
  {"callback_activated_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_75callback_activated_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_74callback_activated_del},
  {"callback_clicked_double_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_77callback_clicked_double_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_76callback_clicked_double_add},
  {"callback_clicked_double_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_79callback_clicked_double_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_78callback_clicked_double_del},
  {"callback_clicked_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_81callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_80callback_clicked_add},
  {"callback_clicked_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_83callback_clicked_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_82callback_clicked_del},
  {"callback_clicked_right_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_85callback_clicked_right_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_84callback_clicked_right_add},
  {"callback_clicked_right_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_87callback_clicked_right_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_86callback_clicked_right_del},
  {"callback_selected_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_89callback_selected_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_88callback_selected_add},
  {"callback_selected_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_91callback_selected_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_90callback_selected_del},
  {"callback_unselected_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_93callback_unselected_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_92callback_unselected_add},
  {"callback_unselected_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_95callback_unselected_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_94callback_unselected_del},
  {"callback_realized_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_97callback_realized_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_96callback_realized_add},
  {"callback_realized_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_99callback_realized_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_98callback_realized_del},
  {"callback_unrealized_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_101callback_unrealized_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_100callback_unrealized_add},
  {"callback_unrealized_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_103callback_unrealized_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_102callback_unrealized_del},
  {"callback_changed_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_105callback_changed_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_104callback_changed_add},
  {"callback_changed_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_107callback_changed_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_106callback_changed_del},
  {"callback_scroll_anim_start_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_109callback_scroll_anim_start_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_108callback_scroll_anim_start_add},
  {"callback_scroll_anim_start_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_111callback_scroll_anim_start_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_110callback_scroll_anim_start_del},
  {"callback_scroll_anim_stop_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_113callback_scroll_anim_stop_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_112callback_scroll_anim_stop_add},
  {"callback_scroll_anim_stop_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_115callback_scroll_anim_stop_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_114callback_scroll_anim_stop_del},
  {"callback_drag_start_up_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_117callback_drag_start_up_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_116callback_drag_start_up_add},
  {"callback_drag_start_up_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_119callback_drag_start_up_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_118callback_drag_start_up_del},
  {"callback_drag_start_down_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_121callback_drag_start_down_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_120callback_drag_start_down_add},
  {"callback_drag_start_down_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_123callback_drag_start_down_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_122callback_drag_start_down_del},
  {"callback_drag_start_left_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_125callback_drag_start_left_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_124callback_drag_start_left_add},
  {"callback_drag_start_left_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_127callback_drag_start_left_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_126callback_drag_start_left_del},
  {"callback_drag_start_right_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_129callback_drag_start_right_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_128callback_drag_start_right_add},
  {"callback_drag_start_right_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_131callback_drag_start_right_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_130callback_drag_start_right_del},
  {"callback_drag_stop_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_133callback_drag_stop_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_132callback_drag_stop_add},
  {"callback_drag_stop_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_135callback_drag_stop_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_134callback_drag_stop_del},
  {"callback_drag_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_137callback_drag_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_136callback_drag_add},
  {"callback_drag_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_139callback_drag_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_138callback_drag_del},
  {"callback_scroll_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_141callback_scroll_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_140callback_scroll_add},
  {"callback_scroll_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_143callback_scroll_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_142callback_scroll_del},
  {"callback_scroll_drag_start_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_145callback_scroll_drag_start_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_144callback_scroll_drag_start_add},
  {"callback_scroll_drag_start_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_147callback_scroll_drag_start_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_146callback_scroll_drag_start_del},
  {"callback_scroll_drag_stop_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_149callback_scroll_drag_stop_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_148callback_scroll_drag_stop_add},
  {"callback_scroll_drag_stop_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_151callback_scroll_drag_stop_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_150callback_scroll_drag_stop_del},
  {"callback_edge_top_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_153callback_edge_top_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_152callback_edge_top_add},
  {"callback_edge_top_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_155callback_edge_top_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_154callback_edge_top_del},
  {"callback_edge_bottom_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_157callback_edge_bottom_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_156callback_edge_bottom_add},
  {"callback_edge_bottom_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_159callback_edge_bottom_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_158callback_edge_bottom_del},
  {"callback_edge_left_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_161callback_edge_left_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_160callback_edge_left_add},
  {"callback_edge_left_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_163callback_edge_left_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_162callback_edge_left_del},
  {"callback_edge_right_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_165callback_edge_right_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_164callback_edge_right_add},
  {"callback_edge_right_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_167callback_edge_right_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_166callback_edge_right_del},
  {"callback_moved_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_169callback_moved_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_168callback_moved_add},
  {"callback_moved_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_171callback_moved_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_170callback_moved_del},
  {"callback_index_update_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_173callback_index_update_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_172callback_index_update_add},
  {"callback_index_update_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_175callback_index_update_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_174callback_index_update_del},
  {"callback_highlighted_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_177callback_highlighted_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_176callback_highlighted_add},
  {"callback_highlighted_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_179callback_highlighted_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_178callback_highlighted_del},
  {"callback_unhighlighted_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_181callback_unhighlighted_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_180callback_unhighlighted_add},
  {"callback_unhighlighted_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_183callback_unhighlighted_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_182callback_unhighlighted_del},
  {"callback_language_changed_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_185callback_language_changed_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_184callback_language_changed_add},
  {"callback_focused_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_187callback_focused_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_186callback_focused_add},
  {"callback_focused_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_189callback_focused_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_188callback_focused_del},
  {"callback_unfocused_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_191callback_unfocused_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_190callback_unfocused_add},
  {"callback_unfocused_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_193callback_unfocused_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_192callback_unfocused_del},
  {"callback_item_focused_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_195callback_item_focused_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_194callback_item_focused_add},
  {"callback_item_focused_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_197callback_item_focused_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_196callback_item_focused_del},
  {"callback_item_unfocused_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_199callback_item_unfocused_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_198callback_item_unfocused_add},
  {"callback_item_unfocused_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_201callback_item_unfocused_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_200callback_item_unfocused_del},
  {"callback_item_reorder_anim_start_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_203callback_item_reorder_anim_start_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_202callback_item_reorder_anim_start_add},
  {"callback_item_reorder_anim_start_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_205callback_item_reorder_anim_start_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_204callback_item_reorder_anim_start_del},
  {"callback_item_reorder_anim_stop_add", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_207callback_item_reorder_anim_stop_add, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_206callback_item_reorder_anim_stop_add},
  {"callback_item_reorder_anim_stop_del", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_209callback_item_reorder_anim_stop_del, METH_O, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_208callback_item_reorder_anim_stop_del},
  {"scroller_policy_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_211scroller_policy_set, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_210scroller_policy_set},
  {"scroller_policy_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_213scroller_policy_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_212scroller_policy_get},
  {"bounce_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_215bounce_set, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_214bounce_set},
  {"bounce_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_7Gengrid_217bounce_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_7Gengrid_216bounce_get},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_3efl_10elementary_7gengrid_Gengrid[] = {
  {(char *)"multi_select", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_multi_select, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_multi_select, __pyx_k_Multi_selection_is_the_ability_t, 0},
  {(char *)"multi_select_mode", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_multi_select_mode, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_multi_select_mode, __pyx_k_Gengrid_multi_select_mode_ELM_OB, 0},
  {(char *)"horizontal", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_horizontal, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_horizontal, __pyx_k_When_in_horizontal_mode_True_ite, 0},
  {(char *)"page_size", 0, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_page_size, __pyx_k_Set_a_given_gengrid_widget_s_scr, 0},
  {(char *)"selected_item", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_selected_item, 0, __pyx_k_This_returns_the_selected_item_I, 0},
  {(char *)"selected_items", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_selected_items, 0, __pyx_k_This_returns_a_tuple_of_the_sele, 0},
  {(char *)"realized_items", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_realized_items, 0, __pyx_k_This_returns_a_tuple_of_the_real, 0},
  {(char *)"first_item", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_first_item, 0, __pyx_k_Get_the_first_item_in_the_gengri, 0},
  {(char *)"last_item", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_last_item, 0, __pyx_k_Get_the_last_item_in_the_gengrid, 0},
  {(char *)"wheel_disabled", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_wheel_disabled, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_wheel_disabled, __pyx_k_Enable_or_disable_mouse_wheel_to, 0},
  {(char *)"items_count", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_items_count, 0, __pyx_k_Return_how_many_items_are_curren, 0},
  {(char *)"item_size", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_item_size, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_item_size, __pyx_k_A_gengrid_after_creation_has_sti, 0},
  {(char *)"group_item_size", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_group_item_size, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_group_item_size, __pyx_k_A_gengrid_after_creation_has_sti_2, 0},
  {(char *)"align", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_align, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_align, __pyx_k_This_sets_the_alignment_of_the_w, 0},
  {(char *)"reorder_mode", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_reorder_mode, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_reorder_mode, __pyx_k_If_a_gengrid_is_set_to_allow_reo, 0},
  {(char *)"reorder_type", 0, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_reorder_type, __pyx_k_Set_the_order_type_This_affect, 0},
  {(char *)"filled", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_filled, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_filled, __pyx_k_The_fill_state_of_the_whole_grid, 0},
  {(char *)"page_relative", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_page_relative, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_page_relative, __pyx_k_Gengrid_widget_s_scrolling_page, 0},
  {(char *)"select_mode", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_select_mode, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_select_mode, __pyx_k_Item_select_mode_in_the_gengrid, 0},
  {(char *)"highlight_mode", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_highlight_mode, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_highlight_mode, __pyx_k_This_will_turn_on_off_the_highli, 0},
  {(char *)"scroller_policy", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_scroller_policy, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_scroller_policy, __pyx_k_deprecated_1_8_You_should_combi, 0},
  {(char *)"bounce", __pyx_getprop_3efl_10elementary_7gengrid_7Gengrid_bounce, __pyx_setprop_3efl_10elementary_7gengrid_7Gengrid_bounce, __pyx_k_deprecated_1_8_You_should_combi, 0},
  {0, 0, 0, 0, 0}
};

static PyTypeObject __pyx_type_3efl_10elementary_7gengrid_Gengrid = {
  PyVarObject_HEAD_INIT(0, 0)
  "efl.elementary.gengrid.Gengrid", /*tp_name*/
  sizeof(struct __pyx_obj_3efl_10elementary_7gengrid_Gengrid), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_3efl_10elementary_7gengrid_Gengrid, /*tp_dealloc*/
  0, /*tp_print*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #else
  0, /*reserved*/
  #endif
  0, /*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|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  "Gengrid(Object parent, *args, **kwargs)\n\n\n    This is the class that actually implements the widget.\n\n    ", /*tp_doc*/
  __pyx_tp_traverse_3efl_10elementary_7gengrid_Gengrid, /*tp_traverse*/
  __pyx_tp_clear_3efl_10elementary_7gengrid_Gengrid, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_3efl_10elementary_7gengrid_Gengrid, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_3efl_10elementary_7gengrid_Gengrid, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_3efl_10elementary_7gengrid_7Gengrid_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_3efl_10elementary_7gengrid_Gengrid, /*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 PyObject *__pyx_tp_new_3efl_10elementary_7gengrid_GengridItemClass(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *p;
  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;
  p = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)o);
  p->_text_get_func = Py_None; Py_INCREF(Py_None);
  p->_content_get_func = Py_None; Py_INCREF(Py_None);
  p->_state_get_func = Py_None; Py_INCREF(Py_None);
  p->_del_func = Py_None; Py_INCREF(Py_None);
  p->_item_style = Py_None; Py_INCREF(Py_None);
  if (unlikely(__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_1__cinit__(o, __pyx_empty_tuple, NULL) < 0)) {
    Py_DECREF(o); o = 0;
  }
  return o;
}

static void __pyx_tp_dealloc_3efl_10elementary_7gengrid_GengridItemClass(PyObject *o) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *p = (struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)o;
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  {
    PyObject *etype, *eval, *etb;
    PyErr_Fetch(&etype, &eval, &etb);
    ++Py_REFCNT(o);
    __pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_3__dealloc__(o);
    --Py_REFCNT(o);
    PyErr_Restore(etype, eval, etb);
  }
  Py_CLEAR(p->_text_get_func);
  Py_CLEAR(p->_content_get_func);
  Py_CLEAR(p->_state_get_func);
  Py_CLEAR(p->_del_func);
  Py_CLEAR(p->_item_style);
  (*Py_TYPE(o)->tp_free)(o);
}

static int __pyx_tp_traverse_3efl_10elementary_7gengrid_GengridItemClass(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *p = (struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)o;
  if (p->_text_get_func) {
    e = (*v)(p->_text_get_func, a); if (e) return e;
  }
  if (p->_content_get_func) {
    e = (*v)(p->_content_get_func, a); if (e) return e;
  }
  if (p->_state_get_func) {
    e = (*v)(p->_state_get_func, a); if (e) return e;
  }
  if (p->_del_func) {
    e = (*v)(p->_del_func, a); if (e) return e;
  }
  if (p->_item_style) {
    e = (*v)(p->_item_style, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_3efl_10elementary_7gengrid_GengridItemClass(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *p = (struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)o;
  tmp = ((PyObject*)p->_text_get_func);
  p->_text_get_func = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->_content_get_func);
  p->_content_get_func = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->_state_get_func);
  p->_state_get_func = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->_del_func);
  p->_del_func = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->_item_style);
  p->_item_style = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_16GengridItemClass_item_style(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_10item_style_1__get__(o);
}

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

static PyMethodDef __pyx_methods_3efl_10elementary_7gengrid_GengridItemClass[] = {
  {"ref", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_9ref, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_8ref},
  {"unref", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_11unref, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_10unref},
  {"free", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_13free, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_12free},
  {"text_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_15text_get, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_14text_get},
  {"content_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_17content_get, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_16content_get},
  {"state_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_19state_get, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_18state_get},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_3efl_10elementary_7gengrid_GengridItemClass[] = {
  {(char *)"item_style", __pyx_getprop_3efl_10elementary_7gengrid_16GengridItemClass_item_style, __pyx_setprop_3efl_10elementary_7gengrid_16GengridItemClass_item_style, __pyx_k_The_style_of_this_item_class, 0},
  {0, 0, 0, 0, 0}
};

static PyTypeObject __pyx_type_3efl_10elementary_7gengrid_GengridItemClass = {
  PyVarObject_HEAD_INIT(0, 0)
  "efl.elementary.gengrid.GengridItemClass", /*tp_name*/
  sizeof(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_3efl_10elementary_7gengrid_GengridItemClass, /*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_7gengrid_16GengridItemClass_7__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|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  "GengridItemClass(item_style=None, text_get_func=None, content_get_func=None, state_get_func=None, del_func=None)\n\n\n    Defines the behavior of each grid item.\n\n    This class should be created and handled to the Gengrid itself.\n\n    It may be subclassed, in this case the methods :py:func:`text_get()`,\n    :py:func:`content_get()`, :py:func:`state_get()` and ``delete()`` will be used.\n\n    It may also be instantiated directly, given getters to override as\n    constructor parameters.\n\n    ", /*tp_doc*/
  __pyx_tp_traverse_3efl_10elementary_7gengrid_GengridItemClass, /*tp_traverse*/
  __pyx_tp_clear_3efl_10elementary_7gengrid_GengridItemClass, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_3efl_10elementary_7gengrid_GengridItemClass, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_3efl_10elementary_7gengrid_GengridItemClass, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_3efl_10elementary_7gengrid_16GengridItemClass_5__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_3efl_10elementary_7gengrid_GengridItemClass, /*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 struct __pyx_vtabstruct_3efl_10elementary_7gengrid_GengridItem __pyx_vtable_3efl_10elementary_7gengrid_GengridItem;

static PyObject *__pyx_tp_new_3efl_10elementary_7gengrid_GengridItem(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *p;
  PyObject *o = __pyx_ptype_3efl_10elementary_11object_item_ObjectItem->tp_new(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_3efl_10elementary_11object_item_ObjectItem*)__pyx_vtabptr_3efl_10elementary_7gengrid_GengridItem;
  p->item_class = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)Py_None); Py_INCREF(Py_None);
  p->item_data = Py_None; Py_INCREF(Py_None);
  p->func_data = Py_None; Py_INCREF(Py_None);
  p->compare_func = Py_None; Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_3efl_10elementary_7gengrid_GengridItem(PyObject *o) {
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *p = (struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)o;
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->item_class);
  Py_CLEAR(p->item_data);
  Py_CLEAR(p->func_data);
  Py_CLEAR(p->compare_func);
  PyObject_GC_Track(o);
  if (likely(__pyx_ptype_3efl_10elementary_11object_item_ObjectItem)) __pyx_ptype_3efl_10elementary_11object_item_ObjectItem->tp_dealloc(o); else __Pyx_call_next_tp_dealloc(o, __pyx_tp_dealloc_3efl_10elementary_7gengrid_GengridItem);
}

static int __pyx_tp_traverse_3efl_10elementary_7gengrid_GengridItem(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *p = (struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)o;
  e = ((likely(__pyx_ptype_3efl_10elementary_11object_item_ObjectItem)) ? ((__pyx_ptype_3efl_10elementary_11object_item_ObjectItem->tp_traverse) ? __pyx_ptype_3efl_10elementary_11object_item_ObjectItem->tp_traverse(o, v, a) : 0) : __Pyx_call_next_tp_traverse(o, v, a, __pyx_tp_traverse_3efl_10elementary_7gengrid_GengridItem)); if (e) return e;
  if (p->item_class) {
    e = (*v)(((PyObject*)p->item_class), a); if (e) return e;
  }
  if (p->item_data) {
    e = (*v)(p->item_data, a); if (e) return e;
  }
  if (p->func_data) {
    e = (*v)(p->func_data, a); if (e) return e;
  }
  if (p->compare_func) {
    e = (*v)(p->compare_func, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_3efl_10elementary_7gengrid_GengridItem(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *p = (struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *)o;
  if (likely(__pyx_ptype_3efl_10elementary_11object_item_ObjectItem)) { if (__pyx_ptype_3efl_10elementary_11object_item_ObjectItem->tp_clear) __pyx_ptype_3efl_10elementary_11object_item_ObjectItem->tp_clear(o); } else __Pyx_call_next_tp_clear(o, __pyx_tp_clear_3efl_10elementary_7gengrid_GengridItem);
  tmp = ((PyObject*)p->item_class);
  p->item_class = ((struct __pyx_obj_3efl_10elementary_7gengrid_GengridItemClass *)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->item_data);
  p->item_data = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->func_data);
  p->func_data = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->compare_func);
  p->compare_func = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_data(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_4data_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_next(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_4next_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_prev(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_4prev_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_index(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_5index_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_selected(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_8selected_1__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_pos(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_3pos_1__get__(o);
}

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_select_mode(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_11select_mode_1__get__(o);
}

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

static PyObject *__pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_item_class(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_10item_class_1__get__(o);
}

static PyMethodDef __pyx_methods_3efl_10elementary_7gengrid_GengridItem[] = {
  {"append_to", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_5append_to, METH_O, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_4append_to},
  {"prepend_to", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_7prepend_to, METH_O, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_6prepend_to},
  {"insert_before", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_9insert_before, METH_O, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_8insert_before},
  {"insert_after", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_11insert_after, METH_O, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_10insert_after},
  {"sorted_insert", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_13sorted_insert, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_12sorted_insert},
  {"data_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_15data_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_14data_get},
  {"next_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_17next_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_16next_get},
  {"prev_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_19prev_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_18prev_get},
  {"index_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_21index_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_20index_get},
  {"update", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_23update, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_22update},
  {"selected_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_25selected_set, METH_O, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_24selected_set},
  {"selected_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_27selected_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_26selected_get},
  {"show", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_29show, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_28show},
  {"bring_in", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_31bring_in, METH_VARARGS|METH_KEYWORDS, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_30bring_in},
  {"pos_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_33pos_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_32pos_get},
  {"select_mode_set", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_35select_mode_set, METH_O, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_34select_mode_set},
  {"select_mode_get", (PyCFunction)__pyx_pw_3efl_10elementary_7gengrid_11GengridItem_37select_mode_get, METH_NOARGS, __pyx_doc_3efl_10elementary_7gengrid_11GengridItem_36select_mode_get},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_3efl_10elementary_7gengrid_GengridItem[] = {
  {(char *)"data", __pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_data, 0, __pyx_k_User_data_for_the_item, 0},
  {(char *)"next", __pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_next, 0, __pyx_k_This_returns_the_item_placed_aft, 0},
  {(char *)"prev", __pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_prev, 0, __pyx_k_This_returns_the_item_placed_bef, 0},
  {(char *)"index", __pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_index, 0, __pyx_k_Get_the_index_of_the_item_It_is, 0},
  {(char *)"selected", __pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_selected, __pyx_setprop_3efl_10elementary_7gengrid_11GengridItem_selected, __pyx_k_The_selected_state_of_an_item_If, 0},
  {(char *)"pos", __pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_pos, 0, 0, 0},
  {(char *)"select_mode", __pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_select_mode, __pyx_setprop_3efl_10elementary_7gengrid_11GengridItem_select_mode, 0, 0},
  {(char *)"item_class", __pyx_getprop_3efl_10elementary_7gengrid_11GengridItem_item_class, 0, 0, 0},
  {0, 0, 0, 0, 0}
};

static PyTypeObject __pyx_type_3efl_10elementary_7gengrid_GengridItem = {
  PyVarObject_HEAD_INIT(0, 0)
  "efl.elementary.gengrid.GengridItem", /*tp_name*/
  sizeof(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_3efl_10elementary_7gengrid_GengridItem, /*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_7gengrid_11GengridItem_3__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|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  "GengridItem(GengridItemClass item_class, item_data=None, func=None, func_data=None, *args, **kwargs)\n\n\n    An item for the :py:class:`Gengrid` widget.\n\n    ", /*tp_doc*/
  __pyx_tp_traverse_3efl_10elementary_7gengrid_GengridItem, /*tp_traverse*/
  __pyx_tp_clear_3efl_10elementary_7gengrid_GengridItem, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_3efl_10elementary_7gengrid_GengridItem, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_3efl_10elementary_7gengrid_GengridItem, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_3efl_10elementary_7gengrid_11GengridItem_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_3efl_10elementary_7gengrid_GengridItem, /*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
    "gengrid",
    __pyx_k_mod_gengrid_Module_image_images, /* 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_kp_s_1_8, __pyx_k_1_8, sizeof(__pyx_k_1_8), 0, 0, 1, 0},
  {&__pyx_n_s_AttributeError, __pyx_k_AttributeError, sizeof(__pyx_k_AttributeError), 0, 0, 1, 1},
  {&__pyx_n_s_Exception, __pyx_k_Exception, sizeof(__pyx_k_Exception), 0, 0, 1, 1},
  {&__pyx_kp_s_Object_must_be_clean, __pyx_k_Object_must_be_clean, sizeof(__pyx_k_Object_must_be_clean), 0, 0, 1, 0},
  {&__pyx_kp_s_Object_must_wrap_something, __pyx_k_Object_must_wrap_something, sizeof(__pyx_k_Object_must_wrap_something), 0, 0, 1, 0},
  {&__pyx_n_s_RuntimeError, __pyx_k_RuntimeError, sizeof(__pyx_k_RuntimeError), 0, 0, 1, 1},
  {&__pyx_kp_s_The_item_could_not_be_added_to_t, __pyx_k_The_item_could_not_be_added_to_t, sizeof(__pyx_k_The_item_could_not_be_added_to_t), 0, 0, 1, 0},
  {&__pyx_n_s_TypeError, __pyx_k_TypeError, sizeof(__pyx_k_TypeError), 0, 0, 1, 1},
  {&__pyx_kp_s_UTF_8, __pyx_k_UTF_8, sizeof(__pyx_k_UTF_8), 0, 0, 1, 0},
  {&__pyx_kp_s_You_should_combine_with_Scrollab, __pyx_k_You_should_combine_with_Scrollab, sizeof(__pyx_k_You_should_combine_with_Scrollab), 0, 0, 1, 0},
  {&__pyx_n_s_activated, __pyx_k_activated, sizeof(__pyx_k_activated), 0, 0, 1, 1},
  {&__pyx_n_s_addr, __pyx_k_addr, sizeof(__pyx_k_addr), 0, 0, 1, 1},
  {&__pyx_n_s_after_item, __pyx_k_after_item, sizeof(__pyx_k_after_item), 0, 0, 1, 1},
  {&__pyx_n_s_align_x, __pyx_k_align_x, sizeof(__pyx_k_align_x), 0, 0, 1, 1},
  {&__pyx_n_s_align_y, __pyx_k_align_y, sizeof(__pyx_k_align_y), 0, 0, 1, 1},
  {&__pyx_n_s_append_to, __pyx_k_append_to, sizeof(__pyx_k_append_to), 0, 0, 1, 1},
  {&__pyx_n_s_before_item, __pyx_k_before_item, sizeof(__pyx_k_before_item), 0, 0, 1, 1},
  {&__pyx_n_s_bounce_get, __pyx_k_bounce_get, sizeof(__pyx_k_bounce_get), 0, 0, 1, 1},
  {&__pyx_n_s_bounce_set, __pyx_k_bounce_set, sizeof(__pyx_k_bounce_set), 0, 0, 1, 1},
  {&__pyx_n_s_callback_add, __pyx_k_callback_add, sizeof(__pyx_k_callback_add), 0, 0, 1, 1},
  {&__pyx_n_s_callback_add_2, __pyx_k_callback_add_2, sizeof(__pyx_k_callback_add_2), 0, 0, 1, 1},
  {&__pyx_n_s_callback_add_full, __pyx_k_callback_add_full, sizeof(__pyx_k_callback_add_full), 0, 0, 1, 1},
  {&__pyx_n_s_callback_del, __pyx_k_callback_del, sizeof(__pyx_k_callback_del), 0, 0, 1, 1},
  {&__pyx_n_s_callback_del_full, __pyx_k_callback_del_full, sizeof(__pyx_k_callback_del_full), 0, 0, 1, 1},
  {&__pyx_n_s_cb_object_item_conv, __pyx_k_cb_object_item_conv, sizeof(__pyx_k_cb_object_item_conv), 0, 0, 1, 1},
  {&__pyx_n_s_changed, __pyx_k_changed, sizeof(__pyx_k_changed), 0, 0, 1, 1},
  {&__pyx_n_s_clicked, __pyx_k_clicked, sizeof(__pyx_k_clicked), 0, 0, 1, 1},
  {&__pyx_kp_s_clicked_double, __pyx_k_clicked_double, sizeof(__pyx_k_clicked_double), 0, 0, 1, 0},
  {&__pyx_kp_s_clicked_right, __pyx_k_clicked_right, sizeof(__pyx_k_clicked_right), 0, 0, 1, 0},
  {&__pyx_n_s_compare_func, __pyx_k_compare_func, sizeof(__pyx_k_compare_func), 0, 0, 1, 1},
  {&__pyx_n_s_comparison_func, __pyx_k_comparison_func, sizeof(__pyx_k_comparison_func), 0, 0, 1, 1},
  {&__pyx_n_s_content_get, __pyx_k_content_get, sizeof(__pyx_k_content_get), 0, 0, 1, 1},
  {&__pyx_n_s_content_get_func, __pyx_k_content_get_func, sizeof(__pyx_k_content_get_func), 0, 0, 1, 1},
  {&__pyx_kp_s_content_get_func_is_not_callable, __pyx_k_content_get_func_is_not_callable, sizeof(__pyx_k_content_get_func_is_not_callable), 0, 0, 1, 0},
  {&__pyx_kp_s_data_is_NULL_in_Gengrid_select_c, __pyx_k_data_is_NULL_in_Gengrid_select_c, sizeof(__pyx_k_data_is_NULL_in_Gengrid_select_c), 0, 0, 1, 0},
  {&__pyx_n_s_decode, __pyx_k_decode, sizeof(__pyx_k_decode), 0, 0, 1, 1},
  {&__pyx_n_s_del_func, __pyx_k_del_func, sizeof(__pyx_k_del_func), 0, 0, 1, 1},
  {&__pyx_kp_s_del_func_is_not_callable, __pyx_k_del_func_is_not_callable, sizeof(__pyx_k_del_func_is_not_callable), 0, 0, 1, 0},
  {&__pyx_n_s_delete, __pyx_k_delete, sizeof(__pyx_k_delete), 0, 0, 1, 1},
  {&__pyx_n_s_drag, __pyx_k_drag, sizeof(__pyx_k_drag), 0, 0, 1, 1},
  {&__pyx_kp_s_drag_start_down, __pyx_k_drag_start_down, sizeof(__pyx_k_drag_start_down), 0, 0, 1, 0},
  {&__pyx_kp_s_drag_start_left, __pyx_k_drag_start_left, sizeof(__pyx_k_drag_start_left), 0, 0, 1, 0},
  {&__pyx_kp_s_drag_start_right, __pyx_k_drag_start_right, sizeof(__pyx_k_drag_start_right), 0, 0, 1, 0},
  {&__pyx_kp_s_drag_start_up, __pyx_k_drag_start_up, sizeof(__pyx_k_drag_start_up), 0, 0, 1, 0},
  {&__pyx_kp_s_drag_stop, __pyx_k_drag_stop, sizeof(__pyx_k_drag_stop), 0, 0, 1, 0},
  {&__pyx_kp_s_edge_bottom, __pyx_k_edge_bottom, sizeof(__pyx_k_edge_bottom), 0, 0, 1, 0},
  {&__pyx_kp_s_edge_left, __pyx_k_edge_left, sizeof(__pyx_k_edge_left), 0, 0, 1, 0},
  {&__pyx_kp_s_edge_right, __pyx_k_edge_right, sizeof(__pyx_k_edge_right), 0, 0, 1, 0},
  {&__pyx_kp_s_edge_top, __pyx_k_edge_top, sizeof(__pyx_k_edge_top), 0, 0, 1, 0},
  {&__pyx_n_s_efl_elementary_gengrid, __pyx_k_efl_elementary_gengrid, sizeof(__pyx_k_efl_elementary_gengrid), 0, 0, 1, 1},
  {&__pyx_n_s_flags, __pyx_k_flags, sizeof(__pyx_k_flags), 0, 0, 1, 1},
  {&__pyx_n_s_focused, __pyx_k_focused, sizeof(__pyx_k_focused), 0, 0, 1, 1},
  {&__pyx_n_s_func, __pyx_k_func, sizeof(__pyx_k_func), 0, 0, 1, 1},
  {&__pyx_n_s_func_data, __pyx_k_func_data, sizeof(__pyx_k_func_data), 0, 0, 1, 1},
  {&__pyx_kp_s_func_is_not_None_or_callable, __pyx_k_func_is_not_None_or_callable, sizeof(__pyx_k_func_is_not_None_or_callable), 0, 0, 1, 0},
  {&__pyx_n_s_gengrid, __pyx_k_gengrid, sizeof(__pyx_k_gengrid), 0, 0, 1, 1},
  {&__pyx_n_s_h, __pyx_k_h, sizeof(__pyx_k_h), 0, 0, 1, 1},
  {&__pyx_n_s_highlighted, __pyx_k_highlighted, sizeof(__pyx_k_highlighted), 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_import, __pyx_k_import, sizeof(__pyx_k_import), 0, 0, 1, 1},
  {&__pyx_kp_s_index_update, __pyx_k_index_update, sizeof(__pyx_k_index_update), 0, 0, 1, 0},
  {&__pyx_n_s_insert_before, __pyx_k_insert_before, sizeof(__pyx_k_insert_before), 0, 0, 1, 1},
  {&__pyx_n_s_it, __pyx_k_it, sizeof(__pyx_k_it), 0, 0, 1, 1},
  {&__pyx_n_s_item_class, __pyx_k_item_class, sizeof(__pyx_k_item_class), 0, 0, 1, 1},
  {&__pyx_n_s_item_data, __pyx_k_item_data, sizeof(__pyx_k_item_data), 0, 0, 1, 1},
  {&__pyx_kp_s_item_focused, __pyx_k_item_focused, sizeof(__pyx_k_item_focused), 0, 0, 1, 0},
  {&__pyx_kp_s_item_reorder_anim_start, __pyx_k_item_reorder_anim_start, sizeof(__pyx_k_item_reorder_anim_start), 0, 0, 1, 0},
  {&__pyx_kp_s_item_reorder_anim_stop, __pyx_k_item_reorder_anim_stop, sizeof(__pyx_k_item_reorder_anim_stop), 0, 0, 1, 0},
  {&__pyx_n_s_item_style, __pyx_k_item_style, sizeof(__pyx_k_item_style), 0, 0, 1, 1},
  {&__pyx_n_s_item_to_search_from, __pyx_k_item_to_search_from, sizeof(__pyx_k_item_to_search_from), 0, 0, 1, 1},
  {&__pyx_kp_s_item_unfocused, __pyx_k_item_unfocused, sizeof(__pyx_k_item_unfocused), 0, 0, 1, 0},
  {&__pyx_kp_s_language_changed, __pyx_k_language_changed, sizeof(__pyx_k_language_changed), 0, 0, 1, 0},
  {&__pyx_n_s_main, __pyx_k_main, sizeof(__pyx_k_main), 0, 0, 1, 1},
  {&__pyx_n_s_moved, __pyx_k_moved, sizeof(__pyx_k_moved), 0, 0, 1, 1},
  {&__pyx_n_s_name, __pyx_k_name, sizeof(__pyx_k_name), 0, 0, 1, 1},
  {&__pyx_n_s_obj, __pyx_k_obj, sizeof(__pyx_k_obj), 0, 0, 1, 1},
  {&__pyx_n_s_parent, __pyx_k_parent, sizeof(__pyx_k_parent), 0, 0, 1, 1},
  {&__pyx_n_s_part, __pyx_k_part, sizeof(__pyx_k_part), 0, 0, 1, 1},
  {&__pyx_n_s_part_name, __pyx_k_part_name, sizeof(__pyx_k_part_name), 0, 0, 1, 1},
  {&__pyx_n_s_pattern, __pyx_k_pattern, sizeof(__pyx_k_pattern), 0, 0, 1, 1},
  {&__pyx_n_s_policy_h, __pyx_k_policy_h, sizeof(__pyx_k_policy_h), 0, 0, 1, 1},
  {&__pyx_n_s_policy_v, __pyx_k_policy_v, sizeof(__pyx_k_policy_v), 0, 0, 1, 1},
  {&__pyx_n_s_prepend_to, __pyx_k_prepend_to, sizeof(__pyx_k_prepend_to), 0, 0, 1, 1},
  {&__pyx_n_s_print_exc, __pyx_k_print_exc, sizeof(__pyx_k_print_exc), 0, 0, 1, 1},
  {&__pyx_n_s_pyx_vtable, __pyx_k_pyx_vtable, sizeof(__pyx_k_pyx_vtable), 0, 0, 1, 1},
  {&__pyx_n_s_realized, __pyx_k_realized, sizeof(__pyx_k_realized), 0, 0, 1, 1},
  {&__pyx_kp_s_s_x_refcount_d_Elm_Gengrid_Item, __pyx_k_s_x_refcount_d_Elm_Gengrid_Item, sizeof(__pyx_k_s_x_refcount_d_Elm_Gengrid_Item), 0, 0, 1, 0},
  {&__pyx_kp_s_s_x_refcount_d_Elm_Object_Item, __pyx_k_s_x_refcount_d_Elm_Object_Item, sizeof(__pyx_k_s_x_refcount_d_Elm_Object_Item), 0, 0, 1, 0},
  {&__pyx_n_s_scroll, __pyx_k_scroll, sizeof(__pyx_k_scroll), 0, 0, 1, 1},
  {&__pyx_kp_s_scroll_anim_start, __pyx_k_scroll_anim_start, sizeof(__pyx_k_scroll_anim_start), 0, 0, 1, 0},
  {&__pyx_kp_s_scroll_anim_stop, __pyx_k_scroll_anim_stop, sizeof(__pyx_k_scroll_anim_stop), 0, 0, 1, 0},
  {&__pyx_kp_s_scroll_drag_start, __pyx_k_scroll_drag_start, sizeof(__pyx_k_scroll_drag_start), 0, 0, 1, 0},
  {&__pyx_kp_s_scroll_drag_stop, __pyx_k_scroll_drag_stop, sizeof(__pyx_k_scroll_drag_stop), 0, 0, 1, 0},
  {&__pyx_n_s_scroller_policy_get, __pyx_k_scroller_policy_get, sizeof(__pyx_k_scroller_policy_get), 0, 0, 1, 1},
  {&__pyx_n_s_scroller_policy_set, __pyx_k_scroller_policy_set, sizeof(__pyx_k_scroller_policy_set), 0, 0, 1, 1},
  {&__pyx_n_s_scrollto_type, __pyx_k_scrollto_type, sizeof(__pyx_k_scrollto_type), 0, 0, 1, 1},
  {&__pyx_n_s_selected, __pyx_k_selected, sizeof(__pyx_k_selected), 0, 0, 1, 1},
  {&__pyx_n_s_state_get, __pyx_k_state_get, sizeof(__pyx_k_state_get), 0, 0, 1, 1},
  {&__pyx_n_s_state_get_func, __pyx_k_state_get_func, sizeof(__pyx_k_state_get_func), 0, 0, 1, 1},
  {&__pyx_kp_s_state_get_func_is_not_callable, __pyx_k_state_get_func_is_not_callable, sizeof(__pyx_k_state_get_func_is_not_callable), 0, 0, 1, 0},
  {&__pyx_n_s_test, __pyx_k_test, sizeof(__pyx_k_test), 0, 0, 1, 1},
  {&__pyx_n_s_text_get, __pyx_k_text_get, sizeof(__pyx_k_text_get), 0, 0, 1, 1},
  {&__pyx_n_s_text_get_func, __pyx_k_text_get_func, sizeof(__pyx_k_text_get_func), 0, 0, 1, 1},
  {&__pyx_kp_s_text_get_func_is_not_callable, __pyx_k_text_get_func_is_not_callable, sizeof(__pyx_k_text_get_func_is_not_callable), 0, 0, 1, 0},
  {&__pyx_n_s_traceback, __pyx_k_traceback, sizeof(__pyx_k_traceback), 0, 0, 1, 1},
  {&__pyx_n_s_unfocused, __pyx_k_unfocused, sizeof(__pyx_k_unfocused), 0, 0, 1, 1},
  {&__pyx_n_s_unhighlighted, __pyx_k_unhighlighted, sizeof(__pyx_k_unhighlighted), 0, 0, 1, 1},
  {&__pyx_n_s_unrealized, __pyx_k_unrealized, sizeof(__pyx_k_unrealized), 0, 0, 1, 1},
  {&__pyx_n_s_unselected, __pyx_k_unselected, sizeof(__pyx_k_unselected), 0, 0, 1, 1},
  {&__pyx_n_s_v, __pyx_k_v, sizeof(__pyx_k_v), 0, 0, 1, 1},
  {&__pyx_n_s_w, __pyx_k_w, sizeof(__pyx_k_w), 0, 0, 1, 1},
  {&__pyx_n_s_widget, __pyx_k_widget, sizeof(__pyx_k_widget), 0, 0, 1, 1},
  {&__pyx_n_s_x, __pyx_k_x, sizeof(__pyx_k_x), 0, 0, 1, 1},
  {&__pyx_n_s_y, __pyx_k_y, sizeof(__pyx_k_y), 0, 0, 1, 1},
  {0, 0, 0, 0, 0, 0, 0}
};
static int __Pyx_InitCachedBuiltins(void) {
  __pyx_builtin_Exception = __Pyx_GetBuiltinName(__pyx_n_s_Exception); if (!__pyx_builtin_Exception) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_builtin_TypeError = __Pyx_GetBuiltinName(__pyx_n_s_TypeError); if (!__pyx_builtin_TypeError) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_builtin_AttributeError = __Pyx_GetBuiltinName(__pyx_n_s_AttributeError); if (!__pyx_builtin_AttributeError) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_builtin_RuntimeError = __Pyx_GetBuiltinName(__pyx_n_s_RuntimeError); if (!__pyx_builtin_RuntimeError) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 86; __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/gengrid_item_class.pxi":79
 *                 self._text_get_func = text_get_func
 *             else:
 *                 raise TypeError("text_get_func is not callable!")             # <<<<<<<<<<<<<<
 *         else:
 *             self._text_get_func = self.text_get
 */
  __pyx_tuple_ = PyTuple_Pack(1, __pyx_kp_s_text_get_func_is_not_callable); if (unlikely(!__pyx_tuple_)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple_);
  __Pyx_GIVEREF(__pyx_tuple_);

  /* "efl/elementary/gengrid_item_class.pxi":87
 *                 self._content_get_func = content_get_func
 *             else:
 *                 raise TypeError("content_get_func is not callable!")             # <<<<<<<<<<<<<<
 *         else:
 *             self._content_get_func = self.content_get
 */
  __pyx_tuple__2 = PyTuple_Pack(1, __pyx_kp_s_content_get_func_is_not_callable); if (unlikely(!__pyx_tuple__2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__2);
  __Pyx_GIVEREF(__pyx_tuple__2);

  /* "efl/elementary/gengrid_item_class.pxi":95
 *                 self._state_get_func = state_get_func
 *             else:
 *                 raise TypeError("state_get_func is not callable!")             # <<<<<<<<<<<<<<
 *         else:
 *             self._state_get_func = self.state_get
 */
  __pyx_tuple__3 = PyTuple_Pack(1, __pyx_kp_s_state_get_func_is_not_callable); if (unlikely(!__pyx_tuple__3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__3);
  __Pyx_GIVEREF(__pyx_tuple__3);

  /* "efl/elementary/gengrid_item_class.pxi":103
 *                 self._del_func = del_func
 *             else:
 *                 raise TypeError("del_func is not callable!")             # <<<<<<<<<<<<<<
 *         else:
 *             try:
 */
  __pyx_tuple__4 = PyTuple_Pack(1, __pyx_kp_s_del_func_is_not_callable); if (unlikely(!__pyx_tuple__4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__4);
  __Pyx_GIVEREF(__pyx_tuple__4);

  /* "efl/elementary/gengrid_item_class.pxi":158
 *         """The style of this item class."""
 *         def __get__(self):
 *             return self._item_style.decode("UTF-8")             # <<<<<<<<<<<<<<
 * 
 *         def __set__(self, style):
 */
  __pyx_tuple__5 = PyTuple_Pack(1, __pyx_kp_s_UTF_8); if (unlikely(!__pyx_tuple__5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__5);
  __Pyx_GIVEREF(__pyx_tuple__5);

  /* "efl/elementary/gengrid_item.pxi":48
 *         if func is not None:
 *             if not callable(func):
 *                 raise TypeError("func is not None or callable")             # <<<<<<<<<<<<<<
 * 
 *         self.item_class = item_class
 */
  __pyx_tuple__6 = PyTuple_Pack(1, __pyx_kp_s_func_is_not_None_or_callable); if (unlikely(!__pyx_tuple__6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__6);
  __Pyx_GIVEREF(__pyx_tuple__6);

  /* "efl/elementary/gengrid_item.pxi":86
 * 
 *         if item == NULL:
 *             raise RuntimeError("The item could not be added to the widget.")             # <<<<<<<<<<<<<<
 * 
 *         self._set_obj(item)
 */
  __pyx_tuple__7 = PyTuple_Pack(1, __pyx_kp_s_The_item_could_not_be_added_to_t); if (unlikely(!__pyx_tuple__7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__7);
  __Pyx_GIVEREF(__pyx_tuple__7);

  /* "efl/elementary/gengrid_item.pxi":109
 * 
 *         if item == NULL:
 *             raise RuntimeError("The item could not be added to the widget.")             # <<<<<<<<<<<<<<
 * 
 *         self._set_obj(item)
 */
  __pyx_tuple__8 = PyTuple_Pack(1, __pyx_kp_s_The_item_could_not_be_added_to_t); if (unlikely(!__pyx_tuple__8)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__8);
  __Pyx_GIVEREF(__pyx_tuple__8);

  /* "efl/elementary/gengrid_item.pxi":136
 * 
 *         if item == NULL:
 *             raise RuntimeError("The item could not be added to the widget.")             # <<<<<<<<<<<<<<
 * 
 *         self._set_obj(item)
 */
  __pyx_tuple__9 = PyTuple_Pack(1, __pyx_kp_s_The_item_could_not_be_added_to_t); if (unlikely(!__pyx_tuple__9)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__9);
  __Pyx_GIVEREF(__pyx_tuple__9);

  /* "efl/elementary/gengrid_item.pxi":163
 * 
 *         if item == NULL:
 *             raise RuntimeError("The item could not be added to the widget.")             # <<<<<<<<<<<<<<
 * 
 *         self._set_obj(item)
 */
  __pyx_tuple__10 = PyTuple_Pack(1, __pyx_kp_s_The_item_could_not_be_added_to_t); if (unlikely(!__pyx_tuple__10)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__10);
  __Pyx_GIVEREF(__pyx_tuple__10);

  /* "efl/elementary/gengrid_item.pxi":191
 * 
 *         if item == NULL:
 *             raise RuntimeError("The item could not be added to the widget.")             # <<<<<<<<<<<<<<
 * 
 *         self._set_obj(item)
 */
  __pyx_tuple__11 = PyTuple_Pack(1, __pyx_kp_s_The_item_could_not_be_added_to_t); if (unlikely(!__pyx_tuple__11)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__11);
  __Pyx_GIVEREF(__pyx_tuple__11);

  /* "efl/elementary/gengrid.pyx":365
 * 
 * 
 * def _cb_object_item_conv(uintptr_t addr):             # <<<<<<<<<<<<<<
 *     cdef Elm_Object_Item *it = <Elm_Object_Item *>addr
 *     return _object_item_to_python(it)
 */
  __pyx_tuple__14 = PyTuple_Pack(3, __pyx_n_s_addr, __pyx_n_s_addr, __pyx_n_s_it); if (unlikely(!__pyx_tuple__14)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__14);
  __Pyx_GIVEREF(__pyx_tuple__14);
  __pyx_codeobj__15 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__14, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_dave_e_bindings_python_efl, __pyx_n_s_cb_object_item_conv, 365, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__15)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/gengrid_widget.pxi":1063
 *             self.scroller_policy_set(policy_h, policy_v)
 * 
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")             # <<<<<<<<<<<<<<
 *     def scroller_policy_set(self, policy_h, policy_v):
 *         elm_scroller_policy_set(self.obj, policy_h, policy_v)
 */
  __pyx_tuple__16 = PyTuple_Pack(2, __pyx_kp_s_1_8, __pyx_kp_s_You_should_combine_with_Scrollab); if (unlikely(!__pyx_tuple__16)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__16);
  __Pyx_GIVEREF(__pyx_tuple__16);

  /* "efl/elementary/gengrid_widget.pxi":1066
 *     def scroller_policy_set(self, policy_h, policy_v):
 *         elm_scroller_policy_set(self.obj, policy_h, policy_v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")             # <<<<<<<<<<<<<<
 *     def scroller_policy_get(self):
 *         cdef Elm_Scroller_Policy policy_h, policy_v
 */
  __pyx_tuple__17 = PyTuple_Pack(2, __pyx_kp_s_1_8, __pyx_kp_s_You_should_combine_with_Scrollab); if (unlikely(!__pyx_tuple__17)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1066; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__17);
  __Pyx_GIVEREF(__pyx_tuple__17);

  /* "efl/elementary/gengrid_widget.pxi":1086
 *             self.bounce_set(h, v)
 * 
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")             # <<<<<<<<<<<<<<
 *     def bounce_set(self, h, v):
 *         elm_scroller_bounce_set(self.obj, h, v)
 */
  __pyx_tuple__18 = PyTuple_Pack(2, __pyx_kp_s_1_8, __pyx_kp_s_You_should_combine_with_Scrollab); if (unlikely(!__pyx_tuple__18)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1086; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__18);
  __Pyx_GIVEREF(__pyx_tuple__18);

  /* "efl/elementary/gengrid_widget.pxi":1089
 *     def bounce_set(self, h, v):
 *         elm_scroller_bounce_set(self.obj, h, v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")             # <<<<<<<<<<<<<<
 *     def bounce_get(self):
 *         cdef Eina_Bool h, v
 */
  __pyx_tuple__19 = PyTuple_Pack(2, __pyx_kp_s_1_8, __pyx_kp_s_You_should_combine_with_Scrollab); if (unlikely(!__pyx_tuple__19)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1089; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__19);
  __Pyx_GIVEREF(__pyx_tuple__19);
  __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 initgengrid(void); /*proto*/
PyMODINIT_FUNC initgengrid(void)
#else
PyMODINIT_FUNC PyInit_gengrid(void); /*proto*/
PyMODINIT_FUNC PyInit_gengrid(void)
#endif
{
  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;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = 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_gengrid(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("gengrid", __pyx_methods, __pyx_k_mod_gengrid_Module_image_images, 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__gengrid) {
    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.gengrid")) {
      if (unlikely(PyDict_SetItemString(modules, "efl.elementary.gengrid", __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 ---*/
  __pyx_ptype_3efl_10elementary_6object_Object = __Pyx_ImportType("efl.elementary.object", "Object", sizeof(struct __pyx_obj_3efl_10elementary_6object_Object), 1); if (unlikely(!__pyx_ptype_3efl_10elementary_6object_Object)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_10elementary_6object_Object = (struct __pyx_vtabstruct_3efl_10elementary_6object_Object*)__Pyx_GetVtable(__pyx_ptype_3efl_10elementary_6object_Object->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_10elementary_6object_Object)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_10elementary_7gengrid_Gengrid = &__pyx_vtable_3efl_10elementary_7gengrid_Gengrid;
  __pyx_vtable_3efl_10elementary_7gengrid_Gengrid.__pyx_base = *__pyx_vtabptr_3efl_10elementary_6object_Object;
  __pyx_type_3efl_10elementary_7gengrid_Gengrid.tp_base = __pyx_ptype_3efl_10elementary_6object_Object;
  if (PyType_Ready(&__pyx_type_3efl_10elementary_7gengrid_Gengrid) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 3; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_3efl_10elementary_7gengrid_Gengrid.tp_print = 0;
  #if CYTHON_COMPILING_IN_CPYTHON
  {
    PyObject *wrapper = PyObject_GetAttrString((PyObject *)&__pyx_type_3efl_10elementary_7gengrid_Gengrid, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 3; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
      __pyx_wrapperbase_3efl_10elementary_7gengrid_7Gengrid___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
      __pyx_wrapperbase_3efl_10elementary_7gengrid_7Gengrid___init__.doc = __pyx_doc_3efl_10elementary_7gengrid_7Gengrid___init__;
      ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_3efl_10elementary_7gengrid_7Gengrid___init__;
    }
  }
  #endif
  if (__Pyx_SetVtable(__pyx_type_3efl_10elementary_7gengrid_Gengrid.tp_dict, __pyx_vtabptr_3efl_10elementary_7gengrid_Gengrid) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 3; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyObject_SetAttrString(__pyx_m, "Gengrid", (PyObject *)&__pyx_type_3efl_10elementary_7gengrid_Gengrid) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 3; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_10elementary_7gengrid_Gengrid = &__pyx_type_3efl_10elementary_7gengrid_Gengrid;
  if (PyType_Ready(&__pyx_type_3efl_10elementary_7gengrid_GengridItemClass) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_3efl_10elementary_7gengrid_GengridItemClass.tp_print = 0;
  #if CYTHON_COMPILING_IN_CPYTHON
  {
    PyObject *wrapper = PyObject_GetAttrString((PyObject *)&__pyx_type_3efl_10elementary_7gengrid_GengridItemClass, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
      __pyx_wrapperbase_3efl_10elementary_7gengrid_16GengridItemClass_4__init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
      __pyx_wrapperbase_3efl_10elementary_7gengrid_16GengridItemClass_4__init__.doc = __pyx_doc_3efl_10elementary_7gengrid_16GengridItemClass_4__init__;
      ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_3efl_10elementary_7gengrid_16GengridItemClass_4__init__;
    }
  }
  #endif
  if (PyObject_SetAttrString(__pyx_m, "GengridItemClass", (PyObject *)&__pyx_type_3efl_10elementary_7gengrid_GengridItemClass) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_10elementary_7gengrid_GengridItemClass = &__pyx_type_3efl_10elementary_7gengrid_GengridItemClass;
  __pyx_ptype_3efl_10elementary_11object_item_ObjectItem = __Pyx_ImportType("efl.elementary.object_item", "ObjectItem", sizeof(struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem), 1); if (unlikely(!__pyx_ptype_3efl_10elementary_11object_item_ObjectItem)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_10elementary_11object_item_ObjectItem = (struct __pyx_vtabstruct_3efl_10elementary_11object_item_ObjectItem*)__Pyx_GetVtable(__pyx_ptype_3efl_10elementary_11object_item_ObjectItem->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_10elementary_11object_item_ObjectItem)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_10elementary_7gengrid_GengridItem = &__pyx_vtable_3efl_10elementary_7gengrid_GengridItem;
  __pyx_vtable_3efl_10elementary_7gengrid_GengridItem.__pyx_base = *__pyx_vtabptr_3efl_10elementary_11object_item_ObjectItem;
  __pyx_vtable_3efl_10elementary_7gengrid_GengridItem.__pyx_base._set_obj = (int (*)(struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *, Elm_Object_Item *))__pyx_f_3efl_10elementary_7gengrid_11GengridItem__set_obj;
  __pyx_vtable_3efl_10elementary_7gengrid_GengridItem._unset_obj = (void (*)(struct __pyx_obj_3efl_10elementary_7gengrid_GengridItem *))__pyx_f_3efl_10elementary_7gengrid_11GengridItem__unset_obj;
  __pyx_type_3efl_10elementary_7gengrid_GengridItem.tp_base = __pyx_ptype_3efl_10elementary_11object_item_ObjectItem;
  if (PyType_Ready(&__pyx_type_3efl_10elementary_7gengrid_GengridItem) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_3efl_10elementary_7gengrid_GengridItem.tp_print = 0;
  #if CYTHON_COMPILING_IN_CPYTHON
  {
    PyObject *wrapper = PyObject_GetAttrString((PyObject *)&__pyx_type_3efl_10elementary_7gengrid_GengridItem, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
      __pyx_wrapperbase_3efl_10elementary_7gengrid_11GengridItem___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
      __pyx_wrapperbase_3efl_10elementary_7gengrid_11GengridItem___init__.doc = __pyx_doc_3efl_10elementary_7gengrid_11GengridItem___init__;
      ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_3efl_10elementary_7gengrid_11GengridItem___init__;
    }
  }
  #endif
  if (__Pyx_SetVtable(__pyx_type_3efl_10elementary_7gengrid_GengridItem.tp_dict, __pyx_vtabptr_3efl_10elementary_7gengrid_GengridItem) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyObject_SetAttrString(__pyx_m, "GengridItem", (PyObject *)&__pyx_type_3efl_10elementary_7gengrid_GengridItem) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_10elementary_7gengrid_GengridItem = &__pyx_type_3efl_10elementary_7gengrid_GengridItem;
  /*--- 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[4]; __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[5]; __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[6]; __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[7]; __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[7]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __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[8]; __pyx_lineno = 1361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_Timer = __Pyx_ImportType("efl.ecore", "Timer", sizeof(struct __pyx_obj_3efl_5ecore_Timer), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_Timer)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_Timer = (struct __pyx_vtabstruct_3efl_5ecore_Timer*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_Timer->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_Timer)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_Animator = __Pyx_ImportType("efl.ecore", "Animator", sizeof(struct __pyx_obj_3efl_5ecore_Animator), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_Animator)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_Animator = (struct __pyx_vtabstruct_3efl_5ecore_Animator*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_Animator->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_Animator)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_Poller = __Pyx_ImportType("efl.ecore", "Poller", sizeof(struct __pyx_obj_3efl_5ecore_Poller), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_Poller)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_Poller = (struct __pyx_vtabstruct_3efl_5ecore_Poller*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_Poller->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_Poller)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_Idler = __Pyx_ImportType("efl.ecore", "Idler", sizeof(struct __pyx_obj_3efl_5ecore_Idler), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_Idler)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_Idler = (struct __pyx_vtabstruct_3efl_5ecore_Idler*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_Idler->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_Idler)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_IdleEnterer = __Pyx_ImportType("efl.ecore", "IdleEnterer", sizeof(struct __pyx_obj_3efl_5ecore_IdleEnterer), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_IdleEnterer)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_IdleEnterer = (struct __pyx_vtabstruct_3efl_5ecore_IdleEnterer*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_IdleEnterer->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_IdleEnterer)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_IdleExiter = __Pyx_ImportType("efl.ecore", "IdleExiter", sizeof(struct __pyx_obj_3efl_5ecore_IdleExiter), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_IdleExiter)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_IdleExiter = (struct __pyx_vtabstruct_3efl_5ecore_IdleExiter*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_IdleExiter->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_IdleExiter)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_FdHandler = __Pyx_ImportType("efl.ecore", "FdHandler", sizeof(struct __pyx_obj_3efl_5ecore_FdHandler), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_FdHandler)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_FdHandler = (struct __pyx_vtabstruct_3efl_5ecore_FdHandler*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_FdHandler->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_FdHandler)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_Exe = __Pyx_ImportType("efl.ecore", "Exe", sizeof(struct __pyx_obj_3efl_5ecore_Exe), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_Exe)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_Exe = (struct __pyx_vtabstruct_3efl_5ecore_Exe*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_Exe->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_Exe)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_ExeEventFilter = __Pyx_ImportType("efl.ecore", "ExeEventFilter", sizeof(struct __pyx_obj_3efl_5ecore_ExeEventFilter), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_ExeEventFilter)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 351; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventHandler = __Pyx_ImportType("efl.ecore", "EventHandler", sizeof(struct __pyx_obj_3efl_5ecore_EventHandler), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventHandler)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventHandler = (struct __pyx_vtabstruct_3efl_5ecore_EventHandler*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventHandler->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventHandler)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_Event = __Pyx_ImportType("efl.ecore", "Event", sizeof(struct __pyx_obj_3efl_5ecore_Event), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_Event)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_Event = (struct __pyx_vtabstruct_3efl_5ecore_Event*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_Event->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_Event)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventSignalUser = __Pyx_ImportType("efl.ecore", "EventSignalUser", sizeof(struct __pyx_obj_3efl_5ecore_EventSignalUser), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventSignalUser)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventSignalUser = (struct __pyx_vtabstruct_3efl_5ecore_EventSignalUser*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventSignalUser->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventSignalUser)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventSignalHup = __Pyx_ImportType("efl.ecore", "EventSignalHup", sizeof(struct __pyx_obj_3efl_5ecore_EventSignalHup), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventSignalHup)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventSignalHup = (struct __pyx_vtabstruct_3efl_5ecore_EventSignalHup*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventSignalHup->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventSignalHup)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventSignalExit = __Pyx_ImportType("efl.ecore", "EventSignalExit", sizeof(struct __pyx_obj_3efl_5ecore_EventSignalExit), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventSignalExit)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventSignalExit = (struct __pyx_vtabstruct_3efl_5ecore_EventSignalExit*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventSignalExit->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventSignalExit)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventSignalPower = __Pyx_ImportType("efl.ecore", "EventSignalPower", sizeof(struct __pyx_obj_3efl_5ecore_EventSignalPower), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventSignalPower)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventSignalPower = (struct __pyx_vtabstruct_3efl_5ecore_EventSignalPower*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventSignalPower->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventSignalPower)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_CustomEvent = __Pyx_ImportType("efl.ecore", "CustomEvent", sizeof(struct __pyx_obj_3efl_5ecore_CustomEvent), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_CustomEvent)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_CustomEvent = (struct __pyx_vtabstruct_3efl_5ecore_CustomEvent*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_CustomEvent->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_CustomEvent)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_QueuedEvent = __Pyx_ImportType("efl.ecore", "QueuedEvent", sizeof(struct __pyx_obj_3efl_5ecore_QueuedEvent), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_QueuedEvent)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_QueuedEvent = (struct __pyx_vtabstruct_3efl_5ecore_QueuedEvent*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_QueuedEvent->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_QueuedEvent)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventExeAdd = __Pyx_ImportType("efl.ecore", "EventExeAdd", sizeof(struct __pyx_obj_3efl_5ecore_EventExeAdd), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventExeAdd)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventExeAdd = (struct __pyx_vtabstruct_3efl_5ecore_EventExeAdd*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventExeAdd->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventExeAdd)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventExeDel = __Pyx_ImportType("efl.ecore", "EventExeDel", sizeof(struct __pyx_obj_3efl_5ecore_EventExeDel), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventExeDel)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventExeDel = (struct __pyx_vtabstruct_3efl_5ecore_EventExeDel*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventExeDel->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventExeDel)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_EventExeData = __Pyx_ImportType("efl.ecore", "EventExeData", sizeof(struct __pyx_obj_3efl_5ecore_EventExeData), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_EventExeData)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_EventExeData = (struct __pyx_vtabstruct_3efl_5ecore_EventExeData*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_EventExeData->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_EventExeData)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_FileDownload = __Pyx_ImportType("efl.ecore", "FileDownload", sizeof(struct __pyx_obj_3efl_5ecore_FileDownload), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_FileDownload)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_FileDownload = (struct __pyx_vtabstruct_3efl_5ecore_FileDownload*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_FileDownload->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_FileDownload)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5ecore_FileMonitor = __Pyx_ImportType("efl.ecore", "FileMonitor", sizeof(struct __pyx_obj_3efl_5ecore_FileMonitor), 1); if (unlikely(!__pyx_ptype_3efl_5ecore_FileMonitor)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_5ecore_FileMonitor = (struct __pyx_vtabstruct_3efl_5ecore_FileMonitor*)__Pyx_GetVtable(__pyx_ptype_3efl_5ecore_FileMonitor->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_5ecore_FileMonitor)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_10elementary_6object_Canvas = __Pyx_ImportType("efl.elementary.object", "Canvas", sizeof(struct __pyx_obj_3efl_10elementary_6object_Canvas), 1); if (unlikely(!__pyx_ptype_3efl_10elementary_6object_Canvas)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_10elementary_6object_Canvas = (struct __pyx_vtabstruct_3efl_10elementary_6object_Canvas*)__Pyx_GetVtable(__pyx_ptype_3efl_10elementary_6object_Canvas->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_10elementary_6object_Canvas)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_5utils_10deprecated_DEPRECATED = __Pyx_ImportType("efl.utils.deprecated", "DEPRECATED", sizeof(struct __pyx_obj_3efl_5utils_10deprecated_DEPRECATED), 1); if (unlikely(!__pyx_ptype_3efl_5utils_10deprecated_DEPRECATED)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_3efl_10elementary_8scroller_Scrollable = __Pyx_ImportType("efl.elementary.scroller", "Scrollable", sizeof(struct __pyx_obj_3efl_10elementary_8scroller_Scrollable), 1); if (unlikely(!__pyx_ptype_3efl_10elementary_8scroller_Scrollable)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_3efl_10elementary_8scroller_Scrollable = (struct __pyx_vtabstruct_3efl_10elementary_8scroller_Scrollable*)__Pyx_GetVtable(__pyx_ptype_3efl_10elementary_8scroller_Scrollable->tp_dict); if (unlikely(!__pyx_vtabptr_3efl_10elementary_8scroller_Scrollable)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  /*--- Variable import code ---*/
  __pyx_t_1 = __Pyx_ImportModule("efl.elementary.general"); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "PY_EFL_ELM_LOG_DOMAIN", (void **)&__pyx_vp_3efl_10elementary_7general_PY_EFL_ELM_LOG_DOMAIN, "int") < 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;
  /*--- Function import code ---*/
  __pyx_t_2 = __Pyx_ImportModule("efl.eo"); 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, "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;}
  if (__Pyx_ImportFunction(__pyx_t_2, "_object_mapping_register", (void (**)(void))&__pyx_f_3efl_2eo__object_mapping_register, "void (char *, PyObject *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_2, "object_from_instance", (void (**)(void))&__pyx_f_3efl_2eo_object_from_instance, "PyObject *(Eo *)") < 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;
  __pyx_t_3 = __Pyx_ImportModule("efl.elementary.object_item"); if (!__pyx_t_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_3, "_object_item_to_python", (void (**)(void))&__pyx_f_3efl_10elementary_11object_item__object_item_to_python, "PyObject *(Elm_Object_Item *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_3, "_object_item_from_python", (void (**)(void))&__pyx_f_3efl_10elementary_11object_item__object_item_from_python, "Elm_Object_Item *(struct __pyx_obj_3efl_10elementary_11object_item_ObjectItem *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_3, "_object_item_list_to_python", (void (**)(void))&__pyx_f_3efl_10elementary_11object_item__object_item_list_to_python, "PyObject *(Eina_List const *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_4 = __Pyx_ImportModule("efl.utils.conversions"); if (!__pyx_t_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_4, "_touni", (void (**)(void))&__pyx_f_3efl_5utils_11conversions__touni, "PyObject *(char *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_ImportFunction(__pyx_t_4, "_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;}
  Py_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  /*--- Execution code ---*/

  /* "efl/elementary/gengrid.pyx":358
 *     _object_item_list_to_python, elm_object_item_data_get
 * 
 * import traceback             # <<<<<<<<<<<<<<
 * 
 * from efl.utils.deprecated cimport DEPRECATED
 */
  __pyx_t_5 = __Pyx_Import(__pyx_n_s_traceback, 0, -1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_traceback, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "efl/elementary/gengrid.pyx":365
 * 
 * 
 * def _cb_object_item_conv(uintptr_t addr):             # <<<<<<<<<<<<<<
 *     cdef Elm_Object_Item *it = <Elm_Object_Item *>addr
 *     return _object_item_to_python(it)
 */
  __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_3efl_10elementary_7gengrid_1_cb_object_item_conv, NULL, __pyx_n_s_efl_elementary_gengrid); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_cb_object_item_conv, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "efl/elementary/gengrid_widget.pxi":1063
 *             self.scroller_policy_set(policy_h, policy_v)
 * 
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")             # <<<<<<<<<<<<<<
 *     def scroller_policy_set(self, policy_h, policy_v):
 *         elm_scroller_policy_set(self.obj, policy_h, policy_v)
 */
  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_3efl_5utils_10deprecated_DEPRECATED)), __pyx_tuple__16, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);

  /* "efl/elementary/gengrid_widget.pxi":1064
 * 
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def scroller_policy_set(self, policy_h, policy_v):             # <<<<<<<<<<<<<<
 *         elm_scroller_policy_set(self.obj, policy_h, policy_v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 */
  __pyx_t_7 = __Pyx_GetNameInClass((PyObject *)__pyx_ptype_3efl_10elementary_7gengrid_Gengrid, __pyx_n_s_scroller_policy_set); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1064; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_7);
  __pyx_t_8 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_6))) {
    __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_6);
    if (likely(__pyx_t_8)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
      __Pyx_INCREF(__pyx_t_8);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_6, function);
    }
  }
  if (!__pyx_t_8) {
    __pyx_t_5 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_7); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_GOTREF(__pyx_t_5);
  } else {
    __pyx_t_9 = PyTuple_New(1+1); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_9);
    PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_8); __Pyx_GIVEREF(__pyx_t_8); __pyx_t_8 = NULL;
    PyTuple_SET_ITEM(__pyx_t_9, 0+1, __pyx_t_7);
    __Pyx_GIVEREF(__pyx_t_7);
    __pyx_t_7 = 0;
    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_9, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
  }
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  if (PyDict_SetItem((PyObject *)__pyx_ptype_3efl_10elementary_7gengrid_Gengrid->tp_dict, __pyx_n_s_scroller_policy_set, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1064; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  PyType_Modified(__pyx_ptype_3efl_10elementary_7gengrid_Gengrid);

  /* "efl/elementary/gengrid_widget.pxi":1066
 *     def scroller_policy_set(self, policy_h, policy_v):
 *         elm_scroller_policy_set(self.obj, policy_h, policy_v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")             # <<<<<<<<<<<<<<
 *     def scroller_policy_get(self):
 *         cdef Elm_Scroller_Policy policy_h, policy_v
 */
  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_3efl_5utils_10deprecated_DEPRECATED)), __pyx_tuple__17, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1066; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);

  /* "efl/elementary/gengrid_widget.pxi":1067
 *         elm_scroller_policy_set(self.obj, policy_h, policy_v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def scroller_policy_get(self):             # <<<<<<<<<<<<<<
 *         cdef Elm_Scroller_Policy policy_h, policy_v
 *         elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
 */
  __pyx_t_9 = __Pyx_GetNameInClass((PyObject *)__pyx_ptype_3efl_10elementary_7gengrid_Gengrid, __pyx_n_s_scroller_policy_get); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1067; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_9);
  __pyx_t_7 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_6))) {
    __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_6);
    if (likely(__pyx_t_7)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
      __Pyx_INCREF(__pyx_t_7);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_6, function);
    }
  }
  if (!__pyx_t_7) {
    __pyx_t_5 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_9); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1066; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
    __Pyx_GOTREF(__pyx_t_5);
  } else {
    __pyx_t_8 = PyTuple_New(1+1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1066; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_8);
    PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_7); __Pyx_GIVEREF(__pyx_t_7); __pyx_t_7 = NULL;
    PyTuple_SET_ITEM(__pyx_t_8, 0+1, __pyx_t_9);
    __Pyx_GIVEREF(__pyx_t_9);
    __pyx_t_9 = 0;
    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_8, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1066; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
  }
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  if (PyDict_SetItem((PyObject *)__pyx_ptype_3efl_10elementary_7gengrid_Gengrid->tp_dict, __pyx_n_s_scroller_policy_get, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1067; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  PyType_Modified(__pyx_ptype_3efl_10elementary_7gengrid_Gengrid);

  /* "efl/elementary/gengrid_widget.pxi":1086
 *             self.bounce_set(h, v)
 * 
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")             # <<<<<<<<<<<<<<
 *     def bounce_set(self, h, v):
 *         elm_scroller_bounce_set(self.obj, h, v)
 */
  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_3efl_5utils_10deprecated_DEPRECATED)), __pyx_tuple__18, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1086; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);

  /* "efl/elementary/gengrid_widget.pxi":1087
 * 
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def bounce_set(self, h, v):             # <<<<<<<<<<<<<<
 *         elm_scroller_bounce_set(self.obj, h, v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 */
  __pyx_t_8 = __Pyx_GetNameInClass((PyObject *)__pyx_ptype_3efl_10elementary_7gengrid_Gengrid, __pyx_n_s_bounce_set); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1087; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_8);
  __pyx_t_9 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_6))) {
    __pyx_t_9 = PyMethod_GET_SELF(__pyx_t_6);
    if (likely(__pyx_t_9)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
      __Pyx_INCREF(__pyx_t_9);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_6, function);
    }
  }
  if (!__pyx_t_9) {
    __pyx_t_5 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_8); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1086; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
    __Pyx_GOTREF(__pyx_t_5);
  } else {
    __pyx_t_7 = PyTuple_New(1+1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1086; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_7);
    PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_9); __Pyx_GIVEREF(__pyx_t_9); __pyx_t_9 = NULL;
    PyTuple_SET_ITEM(__pyx_t_7, 0+1, __pyx_t_8);
    __Pyx_GIVEREF(__pyx_t_8);
    __pyx_t_8 = 0;
    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_7, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1086; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
  }
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  if (PyDict_SetItem((PyObject *)__pyx_ptype_3efl_10elementary_7gengrid_Gengrid->tp_dict, __pyx_n_s_bounce_set, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1087; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  PyType_Modified(__pyx_ptype_3efl_10elementary_7gengrid_Gengrid);

  /* "efl/elementary/gengrid_widget.pxi":1089
 *     def bounce_set(self, h, v):
 *         elm_scroller_bounce_set(self.obj, h, v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")             # <<<<<<<<<<<<<<
 *     def bounce_get(self):
 *         cdef Eina_Bool h, v
 */
  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_3efl_5utils_10deprecated_DEPRECATED)), __pyx_tuple__19, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1089; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);

  /* "efl/elementary/gengrid_widget.pxi":1090
 *         elm_scroller_bounce_set(self.obj, h, v)
 *     @DEPRECATED("1.8", "You should combine with Scrollable class instead.")
 *     def bounce_get(self):             # <<<<<<<<<<<<<<
 *         cdef Eina_Bool h, v
 *         elm_scroller_bounce_get(self.obj, &h, &v)
 */
  __pyx_t_7 = __Pyx_GetNameInClass((PyObject *)__pyx_ptype_3efl_10elementary_7gengrid_Gengrid, __pyx_n_s_bounce_get); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1090; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_7);
  __pyx_t_8 = NULL;
  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_6))) {
    __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_6);
    if (likely(__pyx_t_8)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
      __Pyx_INCREF(__pyx_t_8);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_6, function);
    }
  }
  if (!__pyx_t_8) {
    __pyx_t_5 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_7); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1089; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_GOTREF(__pyx_t_5);
  } else {
    __pyx_t_9 = PyTuple_New(1+1); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1089; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_9);
    PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_8); __Pyx_GIVEREF(__pyx_t_8); __pyx_t_8 = NULL;
    PyTuple_SET_ITEM(__pyx_t_9, 0+1, __pyx_t_7);
    __Pyx_GIVEREF(__pyx_t_7);
    __pyx_t_7 = 0;
    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_9, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1089; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
  }
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  if (PyDict_SetItem((PyObject *)__pyx_ptype_3efl_10elementary_7gengrid_Gengrid->tp_dict, __pyx_n_s_bounce_get, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1090; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  PyType_Modified(__pyx_ptype_3efl_10elementary_7gengrid_Gengrid);

  /* "efl/elementary/gengrid_widget.pxi":1095
 *         return (h, v)
 * 
 * _object_mapping_register("Elm_Gengrid", Gengrid)             # <<<<<<<<<<<<<<
 */
  __pyx_f_3efl_2eo__object_mapping_register(__pyx_k_Elm_Gengrid, ((PyObject *)((PyObject*)__pyx_ptype_3efl_10elementary_7gengrid_Gengrid))); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1095; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "efl/elementary/gengrid_item.pxi":264
 *         return bool(elm_gengrid_item_selected_get(self.item))
 * 
 *     def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):             # <<<<<<<<<<<<<<
 *         """This causes gengrid to **redraw** its viewport's contents to the
 *         region containing the given ``item``, if it is not fully
 */
  __pyx_t_5 = PyInt_FromLong(ELM_GENLIST_ITEM_SCROLLTO_IN); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_k__12 = __pyx_t_5;
  __Pyx_GIVEREF(__pyx_t_5);
  __pyx_t_5 = 0;

  /* "efl/elementary/gengrid_item.pxi":276
 *         elm_gengrid_item_show(self.item, scrollto_type)
 * 
 *     def bring_in(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):             # <<<<<<<<<<<<<<
 *         """This causes gengrid to jump to the item and show
 *         it (by scrolling), if it is not fully visible. This will use
 */
  __pyx_t_5 = PyInt_FromLong(ELM_GENLIST_ITEM_SCROLLTO_IN); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_k__13 = __pyx_t_5;
  __Pyx_GIVEREF(__pyx_t_5);
  __pyx_t_5 = 0;

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

  /*--- Wrapped vars code ---*/
  {
    PyObject* wrapped = PyInt_FromLong(ELM_GENLIST_ITEM_SCROLLTO_IN);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 14; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_GENLIST_ITEM_SCROLLTO_IN", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 14; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_OBJECT_SELECT_MODE_NONE);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_OBJECT_SELECT_MODE_NONE", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_GENLIST_ITEM_SCROLLTO_NONE);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_GENLIST_ITEM_SCROLLTO_NONE", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_GENLIST_ITEM_SCROLLTO_TOP);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_GENLIST_ITEM_SCROLLTO_TOP", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_GENGRID_REORDER_TYPE_NORMAL);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_GENGRID_REORDER_TYPE_NORMAL", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_OBJECT_SELECT_MODE_MAX);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_OBJECT_SELECT_MODE_MAX", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_OBJECT_SELECT_MODE_DEFAULT);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_OBJECT_SELECT_MODE_DEFAULT", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_OBJECT_SELECT_MODE_ALWAYS);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_OBJECT_SELECT_MODE_ALWAYS", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_GENLIST_ITEM_SCROLLTO_MIDDLE);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 16; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_GENLIST_ITEM_SCROLLTO_MIDDLE", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 16; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_GENGRID_REORDER_TYPE_SWAP);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_GENGRID_REORDER_TYPE_SWAP", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  {
    PyObject* wrapped = PyInt_FromLong(ELM_OBJECT_MULTI_SELECT_MODE_MAX);
    if (unlikely(!wrapped)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttrString(__pyx_m, "ELM_OBJECT_MULTI_SELECT_MODE_MAX", wrapped) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }

  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);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_9);
  if (__pyx_m) {
    if (__pyx_d) {
      __Pyx_AddTraceback("init efl.elementary.gengrid", __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.gengrid");
  }
  __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;
}

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) {
    PyObject *result;
    ternaryfunc call = func->ob_type->tp_call;
    if (unlikely(!call))
        return PyObject_Call(func, arg, kw);
    if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
        return NULL;
    result = (*call)(func, arg, kw);
    Py_LeaveRecursiveCall();
    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
        PyErr_SetString(
            PyExc_SystemError,
            "NULL result without error in PyObject_Call");
    }
    return result;
}
#endif

static CYTHON_INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyThreadState *tstate = PyThreadState_GET();
    *type = tstate->exc_type;
    *value = tstate->exc_value;
    *tb = tstate->exc_traceback;
    Py_XINCREF(*type);
    Py_XINCREF(*value);
    Py_XINCREF(*tb);
#else
    PyErr_GetExcInfo(type, value, tb);
#endif
}
static void __Pyx_ExceptionReset(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->exc_type;
    tmp_value = tstate->exc_value;
    tmp_tb = tstate->exc_traceback;
    tstate->exc_type = type;
    tstate->exc_value = value;
    tstate->exc_traceback = tb;
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
#else
    PyErr_SetExcInfo(type, value, tb);
#endif
}

static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) {
    PyObject *local_type, *local_value, *local_tb;
#if CYTHON_COMPILING_IN_CPYTHON
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    PyThreadState *tstate = PyThreadState_GET();
    local_type = tstate->curexc_type;
    local_value = tstate->curexc_value;
    local_tb = tstate->curexc_traceback;
    tstate->curexc_type = 0;
    tstate->curexc_value = 0;
    tstate->curexc_traceback = 0;
#else
    PyErr_Fetch(&local_type, &local_value, &local_tb);
#endif
    PyErr_NormalizeException(&local_type, &local_value, &local_tb);
#if CYTHON_COMPILING_IN_CPYTHON
    if (unlikely(tstate->curexc_type))
#else
    if (unlikely(PyErr_Occurred()))
#endif
        goto bad;
    #if PY_MAJOR_VERSION >= 3
    if (local_tb) {
        if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0))
            goto bad;
    }
    #endif
    Py_XINCREF(local_tb);
    Py_XINCREF(local_type);
    Py_XINCREF(local_value);
    *type = local_type;
    *value = local_value;
    *tb = local_tb;
#if CYTHON_COMPILING_IN_CPYTHON
    tmp_type = tstate->exc_type;
    tmp_value = tstate->exc_value;
    tmp_tb = tstate->exc_traceback;
    tstate->exc_type = local_type;
    tstate->exc_value = local_value;
    tstate->exc_traceback = local_tb;
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
#else
    PyErr_SetExcInfo(local_type, local_value, local_tb);
#endif
    return 0;
bad:
    *type = 0;
    *value = 0;
    *tb = 0;
    Py_XDECREF(local_type);
    Py_XDECREF(local_value);
    Py_XDECREF(local_tb);
    return -1;
}

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;
}

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
    PyObject *self, *result;
    PyCFunction cfunc;
    cfunc = PyCFunction_GET_FUNCTION(func);
    self = PyCFunction_GET_SELF(func);
    if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
        return NULL;
    result = cfunc(self, arg);
    Py_LeaveRecursiveCall();
    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
        PyErr_SetString(
            PyExc_SystemError,
            "NULL result without error in PyObject_Call");
    }
    return result;
}
#endif

#if CYTHON_COMPILING_IN_CPYTHON
static PyObject* __Pyx__PyObject_CallOneArg(PyObject *func, PyObject *arg) {
    PyObject *result;
    PyObject *args = PyTuple_New(1);
    if (unlikely(!args)) return NULL;
    Py_INCREF(arg);
    PyTuple_SET_ITEM(args, 0, arg);
    result = __Pyx_PyObject_Call(func, args, NULL);
    Py_DECREF(args);
    return result;
}
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
#ifdef __Pyx_CyFunction_USED
    if (likely(PyCFunction_Check(func) || PyObject_TypeCheck(func, __pyx_CyFunctionType))) {
#else
    if (likely(PyCFunction_Check(func))) {
#endif
        if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
            return __Pyx_PyObject_CallMethO(func, arg);
        }
    }
    return __Pyx__PyObject_CallOneArg(func, arg);
}
#else
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
    PyObject* args = PyTuple_Pack(1, arg);
    return (likely(args)) ? __Pyx_PyObject_Call(func, args, NULL) : NULL;
}
#endif

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
#ifdef __Pyx_CyFunction_USED
    if (likely(PyCFunction_Check(func) || PyObject_TypeCheck(func, __pyx_CyFunctionType))) {
#else
    if (likely(PyCFunction_Check(func))) {
#endif
        if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
            return __Pyx_PyObject_CallMethO(func, NULL);
        }
    }
    return __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL);
}
#endif

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
}

static void __Pyx_WriteUnraisable(const char *name, CYTHON_UNUSED int clineno,
                                  CYTHON_UNUSED int lineno, CYTHON_UNUSED const char *filename,
                                  int full_traceback) {
    PyObject *old_exc, *old_val, *old_tb;
    PyObject *ctx;
    __Pyx_ErrFetch(&old_exc, &old_val, &old_tb);
    if (full_traceback) {
        Py_XINCREF(old_exc);
        Py_XINCREF(old_val);
        Py_XINCREF(old_tb);
        __Pyx_ErrRestore(old_exc, old_val, old_tb);
        PyErr_PrintEx(1);
    }
    #if PY_MAJOR_VERSION < 3
    ctx = PyString_FromString(name);
    #else
    ctx = PyUnicode_FromString(name);
    #endif
    __Pyx_ErrRestore(old_exc, old_val, old_tb);
    if (!ctx) {
        PyErr_WriteUnraisable(Py_None);
    } else {
        PyErr_WriteUnraisable(ctx);
        Py_DECREF(ctx);
    }
}

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_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 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 CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) {
    PyErr_Format(PyExc_ValueError,
                 "too many values to unpack (expected %" CYTHON_FORMAT_SSIZE_T "d)", expected);
}

static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
    PyErr_Format(PyExc_ValueError,
                 "need more than %" CYTHON_FORMAT_SSIZE_T "d value%.1s to unpack",
                 index, (index == 1) ? "" : "s");
}

static CYTHON_INLINE int __Pyx_IterFinish(void) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyThreadState *tstate = PyThreadState_GET();
    PyObject* exc_type = tstate->curexc_type;
    if (unlikely(exc_type)) {
        if (likely(exc_type == PyExc_StopIteration) || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration)) {
            PyObject *exc_value, *exc_tb;
            exc_value = tstate->curexc_value;
            exc_tb = tstate->curexc_traceback;
            tstate->curexc_type = 0;
            tstate->curexc_value = 0;
            tstate->curexc_traceback = 0;
            Py_DECREF(exc_type);
            Py_XDECREF(exc_value);
            Py_XDECREF(exc_tb);
            return 0;
        } else {
            return -1;
        }
    }
    return 0;
#else
    if (unlikely(PyErr_Occurred())) {
        if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) {
            PyErr_Clear();
            return 0;
        } else {
            return -1;
        }
    }
    return 0;
#endif
}

static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) {
    if (unlikely(retval)) {
        Py_DECREF(retval);
        __Pyx_RaiseTooManyValuesError(expected);
        return -1;
    } else {
        return __Pyx_IterFinish();
    }
    return 0;
}

static CYTHON_INLINE int __Pyx_CheckKeywordStrings(
    PyObject *kwdict,
    const char* function_name,
    int kw_allowed)
{
    PyObject* key = 0;
    Py_ssize_t pos = 0;
#if CYTHON_COMPILING_IN_PYPY
    if (!kw_allowed && PyDict_Next(kwdict, &pos, &key, 0))
        goto invalid_keyword;
    return 1;
#else
    while (PyDict_Next(kwdict, &pos, &key, 0)) {
        #if PY_MAJOR_VERSION < 3
        if (unlikely(!PyString_CheckExact(key)) && unlikely(!PyString_Check(key)))
        #endif
            if (unlikely(!PyUnicode_Check(key)))
                goto invalid_keyword_type;
    }
    if ((!kw_allowed) && unlikely(key))
        goto invalid_keyword;
    return 1;
invalid_keyword_type:
    PyErr_Format(PyExc_TypeError,
        "%.200s() keywords must be strings", function_name);
    return 0;
#endif
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
    return 0;
}

#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 void __Pyx_call_next_tp_dealloc(PyObject* obj, destructor current_tp_dealloc) {
    PyTypeObject* type = Py_TYPE(obj);
    while (type && type->tp_dealloc != current_tp_dealloc)
        type = type->tp_base;
    while (type && type->tp_dealloc == current_tp_dealloc)
        type = type->tp_base;
    if (type)
        type->tp_dealloc(obj);
}

static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, traverseproc current_tp_traverse) {
    PyTypeObject* type = Py_TYPE(obj);
    while (type && type->tp_traverse != current_tp_traverse)
        type = type->tp_base;
    while (type && type->tp_traverse == current_tp_traverse)
        type = type->tp_base;
    if (type && type->tp_traverse)
        return type->tp_traverse(obj, v, a);
    return 0;
}

static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear) {
    PyTypeObject* type = Py_TYPE(obj);
    while (type && type->tp_clear != current_tp_clear)
        type = type->tp_base;
    while (type && type->tp_clear == current_tp_clear)
        type = type->tp_base;
    if (type && type->tp_clear)
        type->tp_clear(obj);
}

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 int __Pyx_SetVtable(PyObject *dict, void *vtable) {
#if PY_VERSION_HEX >= 0x02070000
    PyObject *ob = PyCapsule_New(vtable, 0, 0);
#else
    PyObject *ob = PyCObject_FromVoidPtr(vtable, 0);
#endif
    if (!ob)
        goto bad;
    if (PyDict_SetItem(dict, __pyx_n_s_pyx_vtable, ob) < 0)
        goto bad;
    Py_DECREF(ob);
    return 0;
bad:
    Py_XDECREF(ob);
    return -1;
}

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 PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
    PyObject *empty_list = 0;
    PyObject *module = 0;
    PyObject *global_dict = 0;
    PyObject *empty_dict = 0;
    PyObject *list;
    #if PY_VERSION_HEX < 0x03030000
    PyObject *py_import;
    py_import = __Pyx_PyObject_GetAttrStr(__pyx_b, __pyx_n_s_import);
    if (!py_import)
        goto bad;
    #endif
    if (from_list)
        list = from_list;
    else {
        empty_list = PyList_New(0);
        if (!empty_list)
            goto bad;
        list = empty_list;
    }
    global_dict = PyModule_GetDict(__pyx_m);
    if (!global_dict)
        goto bad;
    empty_dict = PyDict_New();
    if (!empty_dict)
        goto bad;
    {
        #if PY_MAJOR_VERSION >= 3
        if (level == -1) {
            if (strchr(__Pyx_MODULE_NAME, '.')) {
                #if PY_VERSION_HEX < 0x03030000
                PyObject *py_level = PyInt_FromLong(1);
                if (!py_level)
                    goto bad;
                module = PyObject_CallFunctionObjArgs(py_import,
                    name, global_dict, empty_dict, list, py_level, NULL);
                Py_DECREF(py_level);
                #else
                module = PyImport_ImportModuleLevelObject(
                    name, global_dict, empty_dict, list, 1);
                #endif
                if (!module) {
                    if (!PyErr_ExceptionMatches(PyExc_ImportError))
                        goto bad;
                    PyErr_Clear();
                }
            }
            level = 0;
        }
        #endif
        if (!module) {
            #if PY_VERSION_HEX < 0x03030000
            PyObject *py_level = PyInt_FromLong(level);
            if (!py_level)
                goto bad;
            module = PyObject_CallFunctionObjArgs(py_import,
                name, global_dict, empty_dict, list, py_level, NULL);
            Py_DECREF(py_level);
            #else
            module = PyImport_ImportModuleLevelObject(
                name, global_dict, empty_dict, list, level);
            #endif
        }
    }
bad:
    #if PY_VERSION_HEX < 0x03030000
    Py_XDECREF(py_import);
    #endif
    Py_XDECREF(empty_list);
    Py_XDECREF(empty_dict);
    return module;
}

#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 size_t __Pyx_PyInt_As_size_t(PyObject *x) {
    const size_t neg_one = (size_t) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(size_t) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(size_t, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (size_t) 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(size_t, digit, ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
            if (sizeof(size_t) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT(size_t, unsigned long, PyLong_AsUnsignedLong(x))
            } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
                __PYX_VERIFY_RETURN_INT(size_t, 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(size_t,  digit, +(((PyLongObject*)x)->ob_digit[0]));
                case -1: __PYX_VERIFY_RETURN_INT(size_t, sdigit, -(sdigit) ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (sizeof(size_t) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT(size_t, long, PyLong_AsLong(x))
            } else if (sizeof(size_t) <= sizeof(long long)) {
                __PYX_VERIFY_RETURN_INT(size_t, 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
            size_t 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 (size_t) -1;
        }
    } else {
        size_t val;
        PyObject *tmp = __Pyx_PyNumber_Int(x);
        if (!tmp) return (size_t) -1;
        val = __Pyx_PyInt_As_size_t(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to size_t");
    return (size_t) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to size_t");
    return (size_t) -1;
}

static CYTHON_INLINE unsigned int __Pyx_PyInt_As_unsigned_int(PyObject *x) {
    const unsigned int neg_one = (unsigned 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(unsigned int) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(unsigned int, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (unsigned 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(unsigned int, digit, ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
            if (sizeof(unsigned int) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT(unsigned int, unsigned long, PyLong_AsUnsignedLong(x))
            } else if (sizeof(unsigned int) <= sizeof(unsigned long long)) {
                __PYX_VERIFY_RETURN_INT(unsigned 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(unsigned int,  digit, +(((PyLongObject*)x)->ob_digit[0]));
                case -1: __PYX_VERIFY_RETURN_INT(unsigned int, sdigit, -(sdigit) ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (sizeof(unsigned int) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT(unsigned int, long, PyLong_AsLong(x))
            } else if (sizeof(unsigned int) <= sizeof(long long)) {
                __PYX_VERIFY_RETURN_INT(unsigned 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
            unsigned 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 (unsigned int) -1;
        }
    } else {
        unsigned int val;
        PyObject *tmp = __Pyx_PyNumber_Int(x);
        if (!tmp) return (unsigned int) -1;
        val = __Pyx_PyInt_As_unsigned_int(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to unsigned int");
    return (unsigned int) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to unsigned int");
    return (unsigned int) -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 CYTHON_INLINE Eina_Bool __Pyx_PyInt_As_Eina_Bool(PyObject *x) {
    const Eina_Bool neg_one = (Eina_Bool) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(Eina_Bool) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(Eina_Bool, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (Eina_Bool) 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(Eina_Bool, digit, ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
            if (sizeof(Eina_Bool) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT(Eina_Bool, unsigned long, PyLong_AsUnsignedLong(x))
            } else if (sizeof(Eina_Bool) <= sizeof(unsigned long long)) {
                __PYX_VERIFY_RETURN_INT(Eina_Bool, 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(Eina_Bool,  digit, +(((PyLongObject*)x)->ob_digit[0]));
                case -1: __PYX_VERIFY_RETURN_INT(Eina_Bool, sdigit, -(sdigit) ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (sizeof(Eina_Bool) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT(Eina_Bool, long, PyLong_AsLong(x))
            } else if (sizeof(Eina_Bool) <= sizeof(long long)) {
                __PYX_VERIFY_RETURN_INT(Eina_Bool, 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
            Eina_Bool 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 (Eina_Bool) -1;
        }
    } else {
        Eina_Bool val;
        PyObject *tmp = __Pyx_PyNumber_Int(x);
        if (!tmp) return (Eina_Bool) -1;
        val = __Pyx_PyInt_As_Eina_Bool(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to Eina_Bool");
    return (Eina_Bool) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to Eina_Bool");
    return (Eina_Bool) -1;
}

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_Eina_Bool(Eina_Bool value) {
    const Eina_Bool neg_one = (Eina_Bool) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(Eina_Bool) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(Eina_Bool) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
        } else if (sizeof(Eina_Bool) <= sizeof(unsigned long long)) {
            return PyLong_FromUnsignedLongLong((unsigned long long) value);
        }
    } else {
        if (sizeof(Eina_Bool) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(Eina_Bool) <= 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(Eina_Bool),
                                     little, !is_unsigned);
    }
}

static CYTHON_INLINE Evas_Coord __Pyx_PyInt_As_Evas_Coord(PyObject *x) {
    const Evas_Coord neg_one = (Evas_Coord) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(Evas_Coord) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(Evas_Coord, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (Evas_Coord) 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(Evas_Coord, digit, ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
            if (sizeof(Evas_Coord) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT(Evas_Coord, unsigned long, PyLong_AsUnsignedLong(x))
            } else if (sizeof(Evas_Coord) <= sizeof(unsigned long long)) {
                __PYX_VERIFY_RETURN_INT(Evas_Coord, 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(Evas_Coord,  digit, +(((PyLongObject*)x)->ob_digit[0]));
                case -1: __PYX_VERIFY_RETURN_INT(Evas_Coord, sdigit, -(sdigit) ((PyLongObject*)x)->ob_digit[0]);
            }
 #endif
#endif
            if (sizeof(Evas_Coord) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT(Evas_Coord, long, PyLong_AsLong(x))
            } else if (sizeof(Evas_Coord) <= sizeof(long long)) {
                __PYX_VERIFY_RETURN_INT(Evas_Coord, 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
            Evas_Coord 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 (Evas_Coord) -1;
        }
    } else {
        Evas_Coord val;
        PyObject *tmp = __Pyx_PyNumber_Int(x);
        if (!tmp) return (Evas_Coord) -1;
        val = __Pyx_PyInt_As_Evas_Coord(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to Evas_Coord");
    return (Evas_Coord) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to Evas_Coord");
    return (Evas_Coord) -1;
}

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_unsigned_int(unsigned int value) {
    const unsigned int neg_one = (unsigned int) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(unsigned int) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(unsigned int) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
        } else if (sizeof(unsigned int) <= sizeof(unsigned long long)) {
            return PyLong_FromUnsignedLongLong((unsigned long long) value);
        }
    } else {
        if (sizeof(unsigned int) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(unsigned 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(unsigned int),
                                     little, !is_unsigned);
    }
}

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_Evas_Coord(Evas_Coord value) {
    const Evas_Coord neg_one = (Evas_Coord) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(Evas_Coord) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(Evas_Coord) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
        } else if (sizeof(Evas_Coord) <= sizeof(unsigned long long)) {
            return PyLong_FromUnsignedLongLong((unsigned long long) value);
        }
    } else {
        if (sizeof(Evas_Coord) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(Evas_Coord) <= 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(Evas_Coord),
                                     little, !is_unsigned);
    }
}

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 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);
    }
}

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 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_ImportVoidPtr
#define __PYX_HAVE_RT_ImportVoidPtr
static int __Pyx_ImportVoidPtr(PyObject *module, const char *name, void **p, const char *sig) {
    PyObject *d = 0;
    PyObject *cobj = 0;
    d = PyObject_GetAttrString(module, (char *)"__pyx_capi__");
    if (!d)
        goto bad;
    cobj = PyDict_GetItemString(d, name);
    if (!cobj) {
        PyErr_Format(PyExc_ImportError,
            "%.200s does not export expected C variable %.200s",
                PyModule_GetName(module), name);
        goto bad;
    }
#if PY_VERSION_HEX >= 0x02070000
    if (!PyCapsule_IsValid(cobj, sig)) {
        PyErr_Format(PyExc_TypeError,
            "C variable %.200s.%.200s has wrong signature (expected %.500s, got %.500s)",
             PyModule_GetName(module), name, sig, PyCapsule_GetName(cobj));
        goto bad;
    }
    *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 variable %.200s.%.200s has wrong signature (expected %.500s, got %.500s)",
             PyModule_GetName(module), name, sig, desc);
        goto bad;
    }
    *p = PyCObject_AsVoidPtr(cobj);}
#endif
    if (!(*p))
        goto bad;
    Py_DECREF(d);
    return 0;
bad:
    Py_XDECREF(d);
    return -1;
}
#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 */
